edit /etc/sudoers and comment the below :
#Defaults requiretty
|
||||
edit /etc/sudoers and comment the below : #Defaults requiretty http://nagios.frank4dd.com/howto/nagios-flexible-notifications.htm http://library.nagios.com/library/techtips/257-tech-tip-monitoring-vmware-esx-3x-esxi-vsphere-4-and-vcenter-server http://www.op5.com/how-to/monitoring-vmware-esx-3-x-esxi-vsphere-4-and-vcenter-server/ edit /etc/init.d/nagios, jum to the start) fragment : add chown $NagiosUser:$NagiosGroup $NagiosCommandFile after if [ -d $NagiosLockDir ]; then touch $NagiosLockDir/$NagiosLockFile; fi echo ” done.” check_generic to call custom command on Nagios core. http://www.my-plugin.de/wiki/projects/check_generic/tutorial |