Hello,
Greetings!
Is it possible to check one service for 3 servers together & if same service is down for all 3 servers then it should trigger Critical alert, if its down for 2 servers then it should trigger Warning alert in NagiosXi.
if it is possible, please provide us steps to achieve the above requirement.
Thanks!
Check one service for 3 servers together
Re: Check one service for 3 servers together
What you are asking for should be achieved by using BPI in Nagios XI GUI.
Nagios BPI was created as a way to visualize business
process health by grouping hosts and services together, and
creating rules to discern the true health of the network
infrastructure as it relates to the business.
The following link are the instructions on how to use the BPI component.
https://assets.nagios.com/downloads/nag ... BPI_v2.pdf
With BPI, you can use it to add weight to the checks and have the notifications generated depending on the weights applied to the checks.
Take a look at it and let me know if you have any questions.
Nagios BPI was created as a way to visualize business
process health by grouping hosts and services together, and
creating rules to discern the true health of the network
infrastructure as it relates to the business.
The following link are the instructions on how to use the BPI component.
https://assets.nagios.com/downloads/nag ... BPI_v2.pdf
With BPI, you can use it to add weight to the checks and have the notifications generated depending on the weights applied to the checks.
Take a look at it and let me know if you have any questions.
-
lanxessinfy
- Posts: 68
- Joined: Tue Nov 24, 2020 5:55 am
Re: Check one service for 3 servers together
Hello gsmith,
thanks for the response.
I have configured with BPI.
I have one more query : Can i get host names in the output like host names of services which are in problem ?
I have to trigger email alerts and Tickets(Service Now) with Host names of services .
Currently I am getting only number services which are in problem like below:
Group health below critical threshold of 1% Health is 0% with 3 problem(s).
Group health below warning threshold of 35% Health is 33.3% with 2 problem(s).
Thanks!
thanks for the response.
I have configured with BPI.
I have one more query : Can i get host names in the output like host names of services which are in problem ?
I have to trigger email alerts and Tickets(Service Now) with Host names of services .
Currently I am getting only number services which are in problem like below:
Group health below critical threshold of 1% Health is 0% with 3 problem(s).
Group health below warning threshold of 35% Health is 33.3% with 2 problem(s).
Thanks!
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Check one service for 3 servers together
HI,
However, there are also host alias or host address macros available. These messages can be customized. The process is covered in the guide below. Take a look at let me know if you need any assistance.
How to Configure Email And Text Notifications
Understanding Notification Variables
--Benjamin
Normally, that should be in there by default. Here's the standard service email template.I have one more query : Can i get host names in the output like host names of services which are in problem ?
Code: Select all
***** Nagios XI Alert *****
%alertsummary%
Notification Type: %type%
Service: %service%
Host: %host%
Address: %hostaddress%
State: %servicestate%
Info:
%serviceoutput%
Date/Time: %datetime%
Respond: %responseurl%
Nagios URL: %xiserverurl%
How to Configure Email And Text Notifications
Understanding Notification Variables
--Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
lanxessinfy
- Posts: 68
- Joined: Tue Nov 24, 2020 5:55 am
Re: Check one service for 3 servers together
Hello benjaminsmith,
I am getting only dummy host name in email alert body. please look into the below SS: I Want all the host names and services names in the email alert body and also in the tickets(ServiceNow). Please look into the below SS which contains all hosts and services configured with BPI: Thanks!
I am getting only dummy host name in email alert body. please look into the below SS: I Want all the host names and services names in the email alert body and also in the tickets(ServiceNow). Please look into the below SS which contains all hosts and services configured with BPI: Thanks!
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Check one service for 3 servers together
Hi lanxessinfy,
THE BPI Intelligence Component is a special case when it comes to notifications since it's set up outside of the normal object configurations and that's why it is necessary to run the BPI Configuration Wizard to receive a notification.
When you run the BPI Config Wizard, it's going to set up a 'dummy' host object (itself) to put the service check under since all service checks must have an associated host.
One suggestion would be to put the host names in the BPI group in the service description so that information is passed along to Service Now. Let me know if that would work.
Benjamin
THE BPI Intelligence Component is a special case when it comes to notifications since it's set up outside of the normal object configurations and that's why it is necessary to run the BPI Configuration Wizard to receive a notification.
When you run the BPI Config Wizard, it's going to set up a 'dummy' host object (itself) to put the service check under since all service checks must have an associated host.
One suggestion would be to put the host names in the BPI group in the service description so that information is passed along to Service Now. Let me know if that would work.
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!