Page 1 of 1
about Importance (Host)
Posted: Tue Mar 20, 2018 3:00 am
by Olin
hello ,
in the config.php generate reports have Importance (Host) \ Importance (Host + Services) column and values is 0 .
what is Importance (Host) \ Importance (Host + Services) ?
how to change Importance (Host) \ Importance (Host + Services) ?
and what it use to do ?
Re: about Importance (Host)
Posted: Tue Mar 20, 2018 4:07 pm
by cdienger
I'm not sure where you are seeing that. Can you provide a screenshot please?
Re: about Importance (Host)
Posted: Tue Mar 20, 2018 7:33 pm
by Olin
cdienger wrote:I'm not sure where you are seeing that. Can you provide a screenshot please?
hi
@cdienger,
i post the attachments , please have a look.
Re: about Importance (Host)
Posted: Wed Mar 21, 2018 9:27 am
by tmcdonald
The importance settings were introduced in Nagios Core 4 but were never documented. Their basic function is to assign an importance to hosts and services, as well as associated thresholds to contacts, such that the contacts will only be notified if the host or server is "important" enough. This allows some flexibility - a CTO could be notified for business-critical servers only, whereas a first-line sysadmin could be notified for all outages.
Re: about Importance (Host)
Posted: Wed Mar 21, 2018 10:08 pm
by Olin
tmcdonald wrote:The importance settings were introduced in Nagios Core 4 but were never documented. Their basic function is to assign an importance to hosts and services, as well as associated thresholds to contacts, such that the contacts will only be notified if the host or server is "important" enough. This allows some flexibility - a CTO could be notified for business-critical servers only, whereas a first-line sysadmin could be notified for all outages.
can you tell me how to use it ?
thank you !
Re: about Importance (Host)
Posted: Thu Mar 22, 2018 3:12 pm
by tmcdonald
Sure thing.
In the CCM -> Hosts or CCM -> Services page, you can edit a host/service and go to the Misc Settings tab, then click the Manage Free Variables button. From there, you add a new entry with the name of "importance" and the value of a number between 0 and 100, representing how important the server is. Higher values are more important.
Then, in the CCM -> Contacts page, you can edit a contact and go to the Misc Settings tab, then click the Manage Free Variables button. From there, you add a new entry with the name of "minimum_importance" and the value of a number between 0 and 100, representing how important a host or service needs to be in order for this contact to be notified. The value of a host or service must meet or exceed this value, or else a notification will not be triggered.
We'll work on getting this documented properly.
Re: about Importance (Host)
Posted: Mon Mar 26, 2018 4:23 am
by Olin
tmcdonald wrote:Sure thing.
In the CCM -> Hosts or CCM -> Services page, you can edit a host/service and go to the Misc Settings tab, then click the Manage Free Variables button. From there, you add a new entry with the name of "importance" and the value of a number between 0 and 100, representing how important the server is. Higher values are more important.
Then, in the CCM -> Contacts page, you can edit a contact and go to the Misc Settings tab, then click the Manage Free Variables button. From there, you add a new entry with the name of "minimum_importance" and the value of a number between 0 and 100, representing how important a host or service needs to be in order for this contact to be notified. The value of a host or service must meet or exceed this value, or else a notification will not be triggered.
We'll work on getting this documented properly.
thanks a lot.