Re: [Nagios-devel] Request for new on-demand-macros

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] Request for new on-demand-macros

Post by Guest »

Thanks for the suggestion Thomas. I just made some mods to the internal
data structures that will make the calculation of these macros easier.
Patches will be made to the Nagios 3 CVS code that support the following
macros (available on-demand and as standard host macros):

$TOTALHOSTSERVICES$
$TOTALHOSTSERVICESOK$
$TOTALHOSTSERVICESWARNING$
$TOTALHOSTSERVICESUNKNOWN$
$TOTALHOSTSERVICESCRITICAL$


[email protected] wrote:
> Hi
>
> I'm in search of new on demand macros which
>
> - returns the number of total services of a host,
> - returns the number of total ok services of a host,
> - returns the number of total down services of a host,
> - returns the number of total warning services of a host,
> - returns the number of total unknown services of a host,
>
> This would be a very nice to have feature for me!
>
> What do you think about these new macros?
>
> regards,
> Thomas
>


Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked