Search found 7 matches
- Wed Apr 27, 2022 3:30 pm
- Forum: Open Source Nagios Projects
- Topic: Unable to monitor esxi hosts
- Replies: 1
- Views: 370
Unable to monitor esxi hosts
I deployed the latest Nagios ova into my VMware environment so I can test it using the 30 day trial license. So far monitoring web sites and windows machines works fine. But I've been unable to add my ESXi hosts into Nagios. I've installed the latest Perl SDK from VMware and I've tried added the hos...
- Tue Dec 13, 2016 2:22 pm
- Forum: Nagios XI
- Topic: Monitoring Time of Windows Servers
- Replies: 1
- Views: 308
Monitoring Time of Windows Servers
I need to the monitor the time on Windows servers and make sure the clock is not drifting. I was trying to figure out how to do monitor the time of the server but all I found was this https://exchange.nagios.org/directory/Plugins/Network-Protocols/NTP-and-Time. Is this script the only way of monitor...
- Mon Jun 27, 2016 8:42 am
- Forum: Nagios XI
- Topic: Window's Service Restart
- Replies: 9
- Views: 1253
Re: Window's Service Restart
I'm using an unaltered script that I downloaded from Nagios's site. I'm fairly certain that the issue lies with the fact that the server name has spaces in it. Also, if I run this command manually (./check_nrpe -H "192.168.1.41" -p 5666 -c runcmd -a "Vendor Service Manager") the ...
- Thu Jun 23, 2016 4:15 pm
- Forum: Nagios XI
- Topic: Window's Service Restart
- Replies: 9
- Views: 1253
Re: Window's Service Restart
Ok, I modified the servicerestart.sh script and when I checked the log it showed "I ran" for each of the failed check attempts. The service_restart command is setup with this Command line. $USER1$/servicerestart.sh $SERVICESTATE$ $HOSTADDRESS$ $_SERVICESERVICE$ If I login as the service ac...
- Thu Jun 23, 2016 3:41 pm
- Forum: Nagios XI
- Topic: Window's Service Restart
- Replies: 9
- Views: 1253
Re: Window's Service Restart
I start with everything in a good state, green across the board. I manually shut down the service I'm monitoring. In Nagios I see that the service goes into a red (Critical) state and then nothing happens. From what I can tell it never fires off the event handler. I have "Event Handler Enabled&...
- Thu Jun 23, 2016 1:54 pm
- Forum: Nagios XI
- Topic: Window's Service Restart
- Replies: 9
- Views: 1253
Re: Window's Service Restart
Thanks, I found that if I change the "%1" variable in the runcmd.bat to "%*" it works. I can run the script manually and everything works. The only issue I have now is that for some reason when the service goes critical in Nagios the service_restart event handler does not appear ...
- Wed Jun 22, 2016 3:30 pm
- Forum: Nagios XI
- Topic: Window's Service Restart
- Replies: 9
- Views: 1253
Window's Service Restart
I am working on having our Nagios install restart Windows Services automatically. I have it working but I've run into a minor issue. Some services have breaks in the name. For example, instead of just something like "DNSCache" or "Netlogon" the service is named "Vendor Servi...