We have a backup process that needs us to schedule a maintenance for one of our DB Servers MYSQL checks daily. I wrote a bash script that echo's the following into the CMD Pipe and I have ensured that processing of external commands is on.
The script sends the following DATA formatted in the way Nagios should expect it.
db2.cm;MYSQL;1304708948;1304716148;1;0;7200;Chris;Testing
and I see the following in the Nagios Log.
EXTERNAL COMMAND: SCHEDULE_SVC_DOWNTIME;db2.cm;MYSQL;1304708948;1304716148;1;0;7200;Chris;Testing
In the GUI the service has a comment that says "This service has been scheduled for fixed downtime ..."
but when the service goes CRITICAL (hard) it still pages. Am I formatting something incorrectly above? or is there additional places beyond the CMD PIPE I need to change to schedule a daily maintenance window. Or Ultimately is there an easier way to do this in XI vs Core.
How to schedule reoccuring maintenance in Nagios XI via cron
Re: How to schedule reoccuring maintenance in Nagios XI via
There is a page in XI that allows you to schedule recurring downtime. In the Home->Incident Management->Recurring Downtime page, you can set up schedules for host and service downtime.