Page 1 of 1

Host Unreachable

Posted: Wed May 16, 2012 9:55 am
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

Re: Host Unreachable

Posted: Wed May 16, 2012 12:42 pm
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.

Re: Host Unreachable

Posted: Wed May 16, 2012 1:41 pm
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

Re: Host Unreachable

Posted: Wed May 16, 2012 1:58 pm
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

Re: Host Unreachable

Posted: Wed May 16, 2012 2:00 pm
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.

Re: Host Unreachable

Posted: Thu May 17, 2012 2:20 pm
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.

Re: Host Unreachable

Posted: Thu May 17, 2012 3:25 pm
by scottwilkerson
Go to that host in the CCM and next to template name select xiwizard_generic_host
click Insert
Click Save
Apply Configuration

Re: Host Unreachable

Posted: Thu May 17, 2012 5:06 pm
by dmanem
That worked. Thank you.