notification separation and hostgroup view problem

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
junkertf
Posts: 119
Joined: Tue Aug 08, 2017 1:52 am

notification separation and hostgroup view problem

Post by junkertf »

Hello,

In our environment we have test and prod and cluster servers and we want to separate the notification method to email and sms way.
Some of our prod server we not want become only email alerts.
HG_TEST
HG_PROD
HG_CLUSTERS


So for these pourpose we created 2 contact group:
SRV_SMS-ALERT
SRV_EMAIL-ALERT

We populated the EMAIL-ALERT with our ldap configured users, and the SMS-ALERT group with locally created users with same name as ldap-account but with "sms"-tag at the end. The email- and sms-sending test are fully functional for every users.

We have our default host template (Host_TEMP_GENERIC) to has specific ping setting.
We also create two other template to put in the specified CG to them
Host_TEMP_SMS
Host_TEMP_EMAIL

These template also use some Hostgroup to shows us which servers is in which ALERT method (1:1 connection made as below)
Host_TEMP_SMS - HG_SMS
Host_TEMP_EMAIL - HG_EMAIL

We have currently no one server object, only the host- and contact-groups and the templates.

We create a server object with GENERIC, EMAIL and SMS template, and also put that server into its server-type hostgroup PROD and CLUSTERS.
So the server object will have 3 templates and 2 hostgroup.

Problems:
1, The server object shows itself not in Hostgroup overwiev, only just in HG defined at its creation as Hostgroup, and in the template defined Hostgroups not.
2, If we make a passive-check-result to critical, or shut down any monitored service on that host to become Critical state, then we become only EMAIL alert and SMS not. We become in that case SMS only if we set the notfication setting for the user used in EMAIL alerts.


Profile created, i can send it with more specific details if possible.
Any help, manual or knowledgebase also, to solve the problems will be verry appreciated.


Thank you, best regards,

Ferenc
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: notification separation and hostgroup view problem

Post by scottwilkerson »

When you add the hostgroups to the template you need to click the + at the bottom of the view.

Same thing would apply to adding the contact groups to the template.

the + will make them additive so that the next template applied will add the hostgroup/contactgroup instead of overwriting it.

More on this topic
https://assets.nagios.com/downloads/nag ... add_string
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
junkertf
Posts: 119
Joined: Tue Aug 08, 2017 1:52 am

Re: notification separation and hostgroup view problem

Post by junkertf »

Thank you for the link and assist!
Working like a charm :)

Solved,

Best regards,

Ferenc
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: notification separation and hostgroup view problem

Post by scottwilkerson »

junkertf wrote:Thank you for the link and assist!
Working like a charm :)

Solved,

Best regards,

Ferenc
excellent!

Locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked