Search found 2 matches

by sdf1977
Thu Jul 05, 2012 9:56 am
Forum: Open Source Nagios Projects
Topic: Issue with custom event handler
Replies: 2
Views: 918

Re: Issue with custom event handler

Got it working now: It will make the number of services greater, as it looks like custom variables cant be sent i.e. _PARENT, but this works: define service{ use generic-service host_name Nagios-Slave service_description SSH OK check_command check_nrpe!check_ssh #max_check_attempts 3 event_handler r...
by sdf1977
Wed Jul 04, 2012 6:18 am
Forum: Open Source Nagios Projects
Topic: Issue with custom event handler
Replies: 2
Views: 918

Issue with custom event handler

I have written a script that will check the state of a virtual machine, and if critical will connect to the vsphere server and start the VM. The vsphere side code is: @echo off if "%1" == "QAESX1" set pass=xxx if "%1" == "QAESX2" set pass=xxx if "%1"...