Host Is showing down in nagios xi

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
vaibhav beohar
Posts: 47
Joined: Tue Nov 15, 2011 7:17 am

Re: Host Is showing down in nagios xi

Post by vaibhav beohar »

Port 80 has been stopped but we are comunication threw port 8090.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Host Is showing down in nagios xi

Post 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.
vaibhav beohar
Posts: 47
Joined: Tue Nov 15, 2011 7:17 am

Re: Host Is showing down in nagios xi

Post 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 ?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Host Is showing down in nagios xi

Post 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.
vaibhav beohar
Posts: 47
Joined: Tue Nov 15, 2011 7:17 am

Re: Host Is showing down in nagios xi

Post 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
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Host Is showing down in nagios xi

Post 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.
vaibhav beohar
Posts: 47
Joined: Tue Nov 15, 2011 7:17 am

Re: Host Is showing down in nagios xi

Post by vaibhav beohar »

I Can open only one port 1433 , cant i do ping with the port 1433 and make it up???
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Host Is showing down in nagios xi

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
vaibhav beohar
Posts: 47
Joined: Tue Nov 15, 2011 7:17 am

Re: Host Is showing down in nagios xi

Post 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
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 Is showing down in nagios xi

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart