Page 1 of 1

[Nagios-devel] Adding a new command to Nagios? (problem solved)

Posted: Thu Oct 01, 2009 5:24 pm
by Guest
So it turns out that the reason I couldn't get my statement to work was two=
fold, first off apparently it needed a time stamp, and secondly it really =
needed a carriage return on the end.
So the command really looks like...
/usr/bin/printf "[%lu] DISABLE_PROFILER;ALL\n" $now > $commandfile

I was able to find this out by looking through the old.nagios site, sorry f=
or confusion.

For the record I can now toggle the profilers on and off :)

Sincerely,
Steve


NOTICE: This email message is for the sole use of the intended recipient(s=
) and may contain confidential and privileged information. Any unauthorized=
review, use, disclosure or distribution is prohibited. If you are not the =
intended recipient, please contact the sender by reply email and destroy al=
l copies of the original message.







This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]