about Importance (Host)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Olin
Posts: 50
Joined: Tue Dec 26, 2017 1:46 am

about Importance (Host)

Post 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 ?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: about Importance (Host)

Post by cdienger »

I'm not sure where you are seeing that. Can you provide a screenshot please?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Olin
Posts: 50
Joined: Tue Dec 26, 2017 1:46 am

Re: about Importance (Host)

Post 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.
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: about Importance (Host)

Post 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.
Former Nagios employee
Olin
Posts: 50
Joined: Tue Dec 26, 2017 1:46 am

Re: about Importance (Host)

Post 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 !
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: about Importance (Host)

Post 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.
Former Nagios employee
Olin
Posts: 50
Joined: Tue Dec 26, 2017 1:46 am

Re: about Importance (Host)

Post 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.
Locked