Run VBScript in passive monitoring
Posted: Wed Nov 22, 2017 11:52 am
I am new to the Nagios monitoring product and I need some assistance in this one task that I am trying to complete.
Due to some firewall constrains on our network we have a few Windows servers which need to use passive monitor as the Nagios server cannot connect to these servers. I have installed the NSClient++ client on the Windows box and configured the nsclient.ini file used NRDP protocol to send basic server telemetry data to the Nagios server. (ie. Memory usage, disk space, CPU). I can see this information on the Nagios website and in the log file I see the scheduler is obtaining this telemetry data every 5 minutes. I have found a few vbs scripts online which preform deeper checks on the services running on this Windows box. I would like the scheduler to kick off these vbscripts and push the results back to the Nagios server. In reading the documentation I cannot find a way to accomplish this task.
Any help with this problem would greatly be appropriated. Thanks in advance.
Joel
Due to some firewall constrains on our network we have a few Windows servers which need to use passive monitor as the Nagios server cannot connect to these servers. I have installed the NSClient++ client on the Windows box and configured the nsclient.ini file used NRDP protocol to send basic server telemetry data to the Nagios server. (ie. Memory usage, disk space, CPU). I can see this information on the Nagios website and in the log file I see the scheduler is obtaining this telemetry data every 5 minutes. I have found a few vbs scripts online which preform deeper checks on the services running on this Windows box. I would like the scheduler to kick off these vbscripts and push the results back to the Nagios server. In reading the documentation I cannot find a way to accomplish this task.
Any help with this problem would greatly be appropriated. Thanks in advance.
Joel