|
From: Marc P. <ma...@en...> - 2005-09-19 14:53:36
|
> -----Original Message----- > From: nag...@li... [mailto:nagios-users- > ad...@li...] On Behalf Of Daniel Bimschas > Sent: Monday, September 19, 2005 8:38 AM > To: nag...@li... > Subject: [Nagios-users] Nagios external command file >=20 > Hi People! >=20 > I'm trying to use failover monitoring and for that i'm > trying to pass commands to the external command file. >=20 > i tried this for example: >=20 > echo "`date +%s` 1;ENABLE_NOTIFICATIONS" >> nagios.cmd >=20 > or simply: >=20 > echo "ENABLE_NOTIFICATIONS" >> nagios.cmd >=20 >=20 > and others, but none seem to work. >=20 >=20 > Can you help me and give an example how to do it right? >=20 http://www.nagios.org/developerinfo/externalcommands/commandlist.php ENABLE_NOTIFICATIONS specifically is at http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?com mand_id=3D8 -- Marc |