Search found 3 matches

by MartinS
Tue Feb 10, 2015 6:03 am
Forum: Open Source Nagios Projects
Topic: EXTERNAL COMMANDS from Script
Replies: 4
Views: 2368

Re: EXTERNAL COMMANDS from Script

Right spotted my error can you see the , rather than the ; in the script... D'oh
by MartinS
Tue Feb 10, 2015 4:09 am
Forum: Open Source Nagios Projects
Topic: EXTERNAL COMMANDS from Script
Replies: 4
Views: 2368

Re: EXTERNAL COMMANDS from Script

I've tested with both contact_name and the alias, and it doesn't seem to make any difference. The contact name also matches the name in the passwd file. define contact{ contact_name martin.stevens use generic-contact alias Martin Stevens(Systems Administrator) email martin.stevens@lloydsonlinedoctor...
by MartinS
Mon Feb 09, 2015 10:32 am
Forum: Open Source Nagios Projects
Topic: EXTERNAL COMMANDS from Script
Replies: 4
Views: 2368

EXTERNAL COMMANDS from Script

Hi, I am having problem getting EXTERNAL COMMAND to work when send the command directly to the nagios.cmd file. When I run from a script all I get in the log file is... From Script [1423495647] EXTERNAL COMMAND: SCHEDULE_HOST_DOWNTIME;Laserjet-3015;1423495646;1423496246;1;0;7200,martin.stevens;test-...