Plugin for exiting an host from maintenance?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
xeon
Posts: 1
Joined: Mon Dec 27, 2010 12:51 pm

Plugin for exiting an host from maintenance?

Post by xeon »

Hello, I'm trying to make a plugin which, in some ways, make an host exit maintenance status.
I've tried sending to the Nagios command pipe the DEL_HOST_DOWNTIME commnand, but it require a downtime id. I would like to have some way to tell Nagios just the hostname, and then have Nagios remove all maintenance for that host.

Some suggestions on how to do this?

Thank you
Locked