[Nagios-devel] New Nagios external commands for downtime deletion
Posted: Thu Mar 24, 2011 3:55 pm
Actually we're doing this now by utilizing livestatus to query for the info=
and then issuing a delete comment that way. This seems easier though.
Dan
-----Original Message-----
From: Ton Voon [mailto:[email protected]]=20
Sent: Thursday, March 24, 2011 11:48 AM
To: Nagios Developers List
Subject: [Nagios-devel] New Nagios external commands for downtime deletion
Hi!
I've just committed into SVN trunk 4 new downtime deletion commands:
* DEL_HOSTGROUP_HOST_DOWNTIME;hostgroupname
* DEL_HOSTGROUP_SVC_DOWNTIME;hostgroupname
* DEL_HOST_SVC_DOWNTIME;hostname
* DEL_DOWNTIME_BY_START_TIME_COMMAND;starttime;comment
This allows downtime deletions to work in a master/slave setup, because the=
current mechanism of deletion by id number doesn't work in a distributed e=
nvironment.
The first three have been in Opsview for years, but the last one is new, so=
we're adding all these into Nagios core today.
There are tests written to process the external command (in test_commands.c=
) and the downtime deletion (in test_downtime.c - which caught two bugs!).
A few questions for Ethan:
* I assume svn trunk is the right place to put this - I note that in bran=
ches/ there a feature branches. Can I suggest that you use trunk for latest=
development and create a stable branch instead. This is what we do for Ops=
view and it works very well (we tried the other way of development branches=
but caused a lot of unnecessary maintenance)
* Where is the documentation to go for new external commands? Google says=
here: http://old.nagios.org/developerinfo/ext ... dlist.php=
but it is broken, and the domain is old.nagios.org
Ton
---------------------------------------------------------------------------=
---
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software=
=20
be a part of the solution? Download the Intel(R) Manageability Checker=20
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Nagios-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/lis ... gios-devel
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: on Voon [mailto:[email protected]]=2
and then issuing a delete comment that way. This seems easier though.
Dan
-----Original Message-----
From: Ton Voon [mailto:[email protected]]=20
Sent: Thursday, March 24, 2011 11:48 AM
To: Nagios Developers List
Subject: [Nagios-devel] New Nagios external commands for downtime deletion
Hi!
I've just committed into SVN trunk 4 new downtime deletion commands:
* DEL_HOSTGROUP_HOST_DOWNTIME;hostgroupname
* DEL_HOSTGROUP_SVC_DOWNTIME;hostgroupname
* DEL_HOST_SVC_DOWNTIME;hostname
* DEL_DOWNTIME_BY_START_TIME_COMMAND;starttime;comment
This allows downtime deletions to work in a master/slave setup, because the=
current mechanism of deletion by id number doesn't work in a distributed e=
nvironment.
The first three have been in Opsview for years, but the last one is new, so=
we're adding all these into Nagios core today.
There are tests written to process the external command (in test_commands.c=
) and the downtime deletion (in test_downtime.c - which caught two bugs!).
A few questions for Ethan:
* I assume svn trunk is the right place to put this - I note that in bran=
ches/ there a feature branches. Can I suggest that you use trunk for latest=
development and create a stable branch instead. This is what we do for Ops=
view and it works very well (we tried the other way of development branches=
but caused a lot of unnecessary maintenance)
* Where is the documentation to go for new external commands? Google says=
here: http://old.nagios.org/developerinfo/ext ... dlist.php=
but it is broken, and the domain is old.nagios.org
Ton
---------------------------------------------------------------------------=
---
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software=
=20
be a part of the solution? Download the Intel(R) Manageability Checker=20
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Nagios-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/lis ... gios-devel
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: on Voon [mailto:[email protected]]=2