I need to monitor a windows host using command line in Nagios.
As we can monitor Remote Linux host by NRPE (
check_nrpe)using command line as :
/usr/local/nagios/check_nrpe -H localhost -c somecommand -t 30
What is the command in Linux to monitor windows host using
check_nt plugin? I can monitor successfully by graphical method given in Nagios Core Documentation, but I want to parse its output to some code for further processing.
I have written a simple shell script to monitor by nagios for those Linux systems. Now I have given this script to the developer who can use this script in his QT C++ code and produced output in format suggested to him.
But now we can only monitor Linux systems as we haven't found any command yet to append in the script, so that we can process in our code to produce output as we want.