question regarding nagios.cmd
enediel gonzalez
enediel at hotmail.com
Mon Dec 5 22:52:36 CET 2005
Hello
I'm using nagios Nagios 2.0b3 on debian sarge
Reviewing the scripts for recurrent downtime available on
www.nagiosexchange.org I could insert some schedule downtime on nagios.
But even when I declared downtimes on the near future, let's say in 2
hours, I executed the scripts (manually), I checked on the nagios interface
and I saw the new entries on nagios !perfect!,
I deleted all entries on the nagios interface after, and (for testing
purposes) I tried to execute the same process several times (in the same
order described, inserting, deleting).
Nagios never had duplicated entries for scheduled downtimes, but came the
moment when the same script used in my test did not modify the nagios
configuration anymore.
specifically I was trying to execute downtime_job.pl available on
http://www.nagiosexchange.org/Downtimes.38.0.html?&tx_netnagext_pi1[p_view]=363
and properly configured
the script didn't returned me any error, no logs,neither nagios.
I checked the file permissions for nagios.cmd,
I executed the script using the root's account,
also
chmod 777 /usr/local/nagios/var/rw (for testing purposes)
?Is something specific on nagios that doesn't allow me test this way?
I'll appreciate any answer
Thanks in advance
Enediel
Linux user 398956
Debian GNU/Linux
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
More information about the Developers
mailing list