Re: [Nagios-devel] [Nagios-users] "distributable" downtime delete

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
Guest

Re: [Nagios-devel] [Nagios-users] "distributable" downtime delete

Post by Guest »

Paul Dubuc wrote:
> Paul Dubuc wrote:
>> Among the enhancements listed for Nagios 3.3.1:
>>
>> 3.3.1. - 07/25/2011 ENHANCEMENTS
>>
>> * Downtime delete commands made "distributable" by deleting by host group
>> name, host name or start time/comment (Opsview team)
>>
>> Where are these commands documented? I don't see them in the online
>> documentation:
>>
>> http://old.nagios.org/developerinfo/ext ... mit=Update
>>
>> only lists delete commands that require a downtime ID.
>>
>
> For anyone else who's interested, here are the external command formats for
> these new commands. They're very handy for automating downtime deletion since
> downtime IDs are hard to obtain for that purpose. Values in in brackets are
> optional and serve to make filtering more specific:
>
>
> DEL_DOWNTIME_BY_HOSTGROUP_NAME;;[];[];[];[]
>
> DEL_DOWNTIME_BY_HOST_NAME;;[];[];[]
>
> DEL_DOWNTIME_BY_START_TIME_COMMENT;;[]
>
> DEL_DOWNTIME_BY_START_TIME_COMMENT;

This last one should be:

DEL_DOWNTIME_BY_START_TIME_COMMENT;;

You must have either a , or a , or both with
DEL_DOWNTIME_BY_START_TIME_COMMENT.







This post was automatically imported from historical nagios-devel mailing list archives
Original poster: work@paul.dubuc.org
Locked