Page 2 of 4
Re: Host Is showing down in nagios xi
Posted: Mon Dec 05, 2011 1:54 am
by vaibhav beohar
Port 80 has been stopped but we are comunication threw port 8090.
Re: Host Is showing down in nagios xi
Posted: Tue Dec 06, 2011 12:33 pm
by mguthrie
Ok, the port number will need to be specified manually for that check then. It defaults to port 80. For this host, change the check_command to "check_http", and then add '-p 8090' (in single quotes) to the $ARG1$ field.
Re: Host Is showing down in nagios xi
Posted: Wed Dec 07, 2011 12:39 am
by vaibhav beohar
Hi,
My Web url is working now.
Thank you very much for your help..we will going to take licence version in next 15 days.
And one more question..
I am adding MSSQl server and having same problem ...Status is all ok but host is showing down.
same configuration i need to do ?
Re: Host Is showing down in nagios xi
Posted: Wed Dec 07, 2011 5:10 pm
by mguthrie
I would suggest changing the host check command to match a working service for the one of the MSSQL services you have running. Have the check command, and $ARGx$ fields be the same.
Re: Host Is showing down in nagios xi
Posted: Thu Dec 08, 2011 11:57 pm
by vaibhav beohar
Hi I am using following services and those services will not be in host service command..
What should i do?
MSSQL Active Transactions
MSSQL Connection Time
MSSQL Log Cache Hit Rate
MSSQL Log Growths
MSSQL Log Shrinks
MSSQL Log File Usage
MSSQL Log Truncations
mssql.JPG
Re: Host Is showing down in nagios xi
Posted: Mon Dec 12, 2011 1:14 pm
by mguthrie
An easier solution would be to just open the port for ping checks. Is that an option for your environment? That would actually be a much better check to see if the host is actually up or not. Otherwise the SQL process might be down, but the host is up, and Nagios will read it as down or unreachable.
Re: Host Is showing down in nagios xi
Posted: Wed Dec 14, 2011 5:08 am
by vaibhav beohar
I Can open only one port 1433 , cant i do ping with the port 1433 and make it up???
Re: Host Is showing down in nagios xi
Posted: Wed Dec 14, 2011 1:00 pm
by scottwilkerson
Go to: Core Config Manager->Monitoring->Hosts and click on the "Modify" Action button next to the host that is showing down.
In the "Check command" drop-down menu, is there something displayed? If so you should select the blank (empty) option.
If you leave this argument blank, the host will not be actively checked. Thus, Nagios will likely always assume the host is up (it may show up as being in a "PENDING" state in the web interface). This is useful if you are monitoring printers or other devices that are frequently turned off. The maximum amount of time that the notification command can run is controlled by the host_check_timeout option.
Re: Host Is showing down in nagios xi
Posted: Thu Dec 15, 2011 7:17 am
by vaibhav beohar
I made as a blank also but still my mssql is showing down and status is all ok.
What should i need to do now.
Thanks
nagi.JPG
Re: Host Is showing down in nagios xi
Posted: Thu Dec 15, 2011 10:20 am
by scottwilkerson
Another option would be to Disable Active Checks of the host and just monitor the services.
To do this go to
Host Detail -> Select Host -> Advanced Tab -> click X next to "Active Checks"
Then, you can make is show UP (green) by doing the following
Host Detail -> Select Host -> Advanced Tab -> Submit passive check result
Check Result: UP
Check Output: UP
Clearly this is just a band-aid to make the host show up. The best solution as presented by mguthrie would be to be able to allow ping checks on the host.