Host Unreachable

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Host Unreachable

Post by dmanem »

Hi,

I have recently run the monitoring wizard to monitor my exchange server. After applying the configuration, it shows that the node is unreachable. The following error shows up when I click on the host "check_ping: %s: Warning threshold must be integer or percentage!". Could you please let me know how I can fix this.

Thank you
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Host Unreachable

Post by lmiltchev »

It seems like you are having an issue with the warning threshold value. Go to the Core Config Manager->Monitoring->Services, find your service, click on "Modify" and see what values you have in the $ARG...$ fields. If you don't have anything defined there, see what is the template that you are using and then check these values in the template (Core Config Manager->Templates->Service Templates). You should have something like this:

Code: Select all

$ARG1$   3000.0
$ARG2$   80%
$ARG3$   5000.0
$ARG4$   100%
Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Re: Host Unreachable

Post by dmanem »

Hi,

Attached is a screen shot of the template with its arguments. The arguments are defined as you have mentioned in your earlier post.

Thanks,
Deepika
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Host Unreachable

Post by lmiltchev »

Can you try the following command in terminal and show us the output?

Code: Select all

# cd /usr/local/nagios/libexec
# ./check_icmp -H <IP_address> -w 3000.0,80% -c 5000.0,100% -p 5
Be sure to check out our Knowledgebase for helpful articles and solutions!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Host Unreachable

Post by scottwilkerson »

Deepeka,

Can you send me a screen shot of the host config
Core Config Manager->Monitoring->Hosts->Exchange Host -> Modify

I am guessing that "check_ping" is selected under "Check command" and it should be blank.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Re: Host Unreachable

Post by dmanem »

Hi,

Attached is a screen shot of the host's settings, the output from the server for the below command and a graph tat shows ping rta. There is a switch that is showing the same error. I added these nodes using Monitoring wizards and could that have been a reason for them not being configured properly.

Thanks.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Host Unreachable

Post by scottwilkerson »

Go to that host in the CCM and next to template name select xiwizard_generic_host
click Insert
Click Save
Apply Configuration
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
dmanem
Posts: 83
Joined: Fri Apr 13, 2012 10:27 am

Re: Host Unreachable

Post by dmanem »

That worked. Thank you.