some Host to be check at (1,1,1)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

some Host to be check at (1,1,1)

Post by zaji_nms »

Dear Expert

Around 100 Host Alert/Notification working fine (5 , 1 , 5) for our customers but among these hosts some hosts (around 20) to be check as (1 , 1 , 1) and immediate alert to be trigger to our Network Team. How possible?

As all Hosts (100) already added and working fine, we do not want to re-add important (20) hosts with duplicate name and to check at (1 , 1 , 1) manner to generate immediate alert/notification to our Network Team.

Regards
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: some Host to be check at (1,1,1)

Post by npolovenko »

Hello, @zaji_nms. You could use a Bulk Modifications Tool in XI. You can find it in Core Configurations Manager -> Tools -> Bulk Modifications Tool(that's in a left column). Then you'd choose "Change a Single Config Option" option. From there you can select a Notifications Interval, Retry Interval, or Max Check Attempts. Then click on "Select Hosts" and select those 20 hosts. You may press shift to select many hosts at once or CRL. Click on Save Changes, and then Apply Configuration.
Let me know if that helps.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

Re: some Host to be check at (1,1,1)

Post by zaji_nms »

Dear npolovenko

Looks me unable to make you understand....once again

The Hosts (100 hosts) we added are customers hosts, working fine, alert triggering, its great........however among (100) there are 20 hosts which are related to our Top Priority customers, if any of (among these 20) down even for 1 minutes (1 , 1 , 1) email notification to be trigger to our Technical Team only (not to the customer), is there any way?

Email Notification will trigger to customer if there is HARD State, Email Notification will trigger to our Technical Team if its down in SOFT State.

Regards
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: some Host to be check at (1,1,1)

Post by npolovenko »

@zaji_nms, The only way I see to achieve is using an event handler. Take a look at this tutorial explaining how to set one up.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
You'd create a custom event handler script and associate it with the top priority hosts, and have it send an email whenever HOSTSTATETYPE maco gets into a soft state. (Here's a reference to macro's in Nagios: https://assets.nagios.com/downloads/nag ... rolist.htm)

And if you're wondering how to get an event handler script to send emails. You can modify and reuse those standard email commands (notify-host-by-email) from /usr/local/nagios/etc/commands.cfg

Let us know if this helps.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked