Trying to Clean config for check_restart NRPE call
Posted: Fri Sep 19, 2014 12:25 pm
Here, or somewhere, I found some code that would help me monitor a Windows client reboot request in the Windows log files.
I found the attached bits and pieces and have added the servers snippet: here it is:
# Check Required Restart
define service{
use generic-service
host_name windows_ax_servers
service_description Event Log Restart Req
check_command check_restart
}
I also added the command to that config file (attached). And I enabled a bunch of flags in the nsc.ini file on the client servers. I recall adding a command as well, but am not recognizing it now. I am attaching the nsc.ini file
I have attached both of these, and the body of the email I received today (attached); this is after 4 days since I was notified by the vendor who is working on this project let us know about the pending reboots.
The body of this email indicates that the process is working, but obviously not optimally. I believe it is sending the critical notification once it has reached some threshold, although I cannot figure out how to configure that, or the other arguments.
Can anyone point me to a web or book location that will educate me on this? Any answers appreciated.
I found the attached bits and pieces and have added the servers snippet: here it is:
# Check Required Restart
define service{
use generic-service
host_name windows_ax_servers
service_description Event Log Restart Req
check_command check_restart
}
I also added the command to that config file (attached). And I enabled a bunch of flags in the nsc.ini file on the client servers. I recall adding a command as well, but am not recognizing it now. I am attaching the nsc.ini file
I have attached both of these, and the body of the email I received today (attached); this is after 4 days since I was notified by the vendor who is working on this project let us know about the pending reboots.
The body of this email indicates that the process is working, but obviously not optimally. I believe it is sending the critical notification once it has reached some threshold, although I cannot figure out how to configure that, or the other arguments.
Can anyone point me to a web or book location that will educate me on this? Any answers appreciated.