Adaptive Monitoring How-to
Posted: Wed May 10, 2017 6:44 pm
Good time of day,
Our currently design for server monitoring is as follows:
A Service config template has several NRPE-based services with FreeVariables passed as a Warning/Critical values
This config template is a assigned to appropriate HostGroup
HostGroup contains several servers of similar type
the values for Free Variables are declared on each host (thusly alerts can be tuned uniquely based on volume/size of each server without re-configuring the whole hostgroup)
We are looking for a way to add time schedules to alerting variables.
For example,
if we monitor the concurrent call usage on asterisk. Currently, a free variable associated with Warning value set to value of 200 statically(24x7 schedule), so if over 200 calls found, Warning is given. This value is good fit for alert during business hours, however during the off-peak, we would like to trigger the Warning on value of 5 concurrent calls instead of a 200 on the same host..
Our pre-sales team recommended looking into Adaptive Monitoring:
https://assets.nagios.com/downloads/nag ... ptive.html
CHANGE_CUSTOM_HOST_VAR external command seems to be a good fit for the above functionality;
however the documentation listed does not really describe on steps required to implement adaptive monitoring in Nagios XI.
Would you be able to advise to what exactly we need to do to active this external command?
How do we then attach this external command to pre-configured schedule etc...
Thank you in advance.
Our currently design for server monitoring is as follows:
A Service config template has several NRPE-based services with FreeVariables passed as a Warning/Critical values
This config template is a assigned to appropriate HostGroup
HostGroup contains several servers of similar type
the values for Free Variables are declared on each host (thusly alerts can be tuned uniquely based on volume/size of each server without re-configuring the whole hostgroup)
We are looking for a way to add time schedules to alerting variables.
For example,
if we monitor the concurrent call usage on asterisk. Currently, a free variable associated with Warning value set to value of 200 statically(24x7 schedule), so if over 200 calls found, Warning is given. This value is good fit for alert during business hours, however during the off-peak, we would like to trigger the Warning on value of 5 concurrent calls instead of a 200 on the same host..
Our pre-sales team recommended looking into Adaptive Monitoring:
https://assets.nagios.com/downloads/nag ... ptive.html
CHANGE_CUSTOM_HOST_VAR external command seems to be a good fit for the above functionality;
however the documentation listed does not really describe on steps required to implement adaptive monitoring in Nagios XI.
Would you be able to advise to what exactly we need to do to active this external command?
How do we then attach this external command to pre-configured schedule etc...
Thank you in advance.