Mass delete of host/service downtimes.

Andreas Ericsson ae at op5.se
Thu Feb 21 12:54:42 CET 2013


On 02/21/2013 12:16 PM, Páll Guðjón Sigurðsson wrote:
> The posts inspired me to write downtime support in pynag command-line
> utility. Works both via livestatus or more traditional writing
> directly to nagios command pipe.
> 

You should avoid writing external commands to livestatus. They get
passed to Nagios from a separate thread and are susceptible to races.
This is true both in Nagios 3 and Nagios 4.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list