Nagios XI not saving monitors?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
vornado
Posts: 79
Joined: Wed Jun 13, 2018 9:17 am

Nagios XI not saving monitors?

Post by vornado »

Using Nagios XI 5.4.13 on VMware vSphere.

I used the Website URL configuration wizard to create a monitor. After doing this, I expected the 'Up' count in the Host Status Summary on the Home Dashboard page to increase by 1, just like it did in a youtube video I watched. It did not increment. The Host Status page does not show the host I created the monitor for. What have I missed?

Steve
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI not saving monitors?

Post by scottwilkerson »

Did the configuration apply successfully?

If you had the host already being monitored the host coun't wouldn't increase, just the service count.

Does the new service show up in the Configure -> CCM -> Services ?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
vornado
Posts: 79
Joined: Wed Jun 13, 2018 9:17 am

Re: Nagios XI not saving monitors?

Post by vornado »

I apologize -- when I posted my more detailed message, the forum apparently had logged me out and my message disappeared. My second attempt was kind of a rush job.

When I click 'Finish', I get 'Configuration applied successfully.' and 'Your configuration changes have been successfully applied and the monitoring engine was restarted.' and 'Configuration Request Successful'

When I click 'View Status Details' on the same page, the page it goes to says 'No matching services found - showing matching hosts instead.'

There was only 1 host already being monitored -- localhost -- and that was done by the install, I assume.

I do see the services on the CCM page, but there doesn't seem to be any indication that the monitors are running every 5 minutes as specified -- only a date and time when the entry was modified. Clicking on a service link takes me to a host management page with various settings.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios XI not saving monitors?

Post by scottwilkerson »

Does the new service show up in the Configure -> CCM -> Services ?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
vornado
Posts: 79
Joined: Wed Jun 13, 2018 9:17 am

Re: Nagios XI not saving monitors?

Post by vornado »

Yes, the new services show up in CCM. However, the only services that appear when I click on the number 12 in the Service Status Summary on the home page are services related to localhost. I added the BBMap dashlet to a dashboard but it also only showed localhost.
vornado
Posts: 79
Joined: Wed Jun 13, 2018 9:17 am

Re: Nagios XI not saving monitors?

Post by vornado »

When I clicked on the red indicator on the top status bar, it revealed an error with the backend database. As an online solution suggested, I deleted a file and restarted the ndo2db service and the indicator turned green. After that, there was a change in the summary counts, although it's showing that the new hosts are down when I know they aren't.

I have attached a picture showing the down hosts. Since the status is 'Ok' and there is a response time under Status Information, I'm not sure why they're being shown as down.

What do I have to do to get these hosts out of 'Unhandled'?
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
Contact:

Re: Nagios XI not saving monitors?

Post by scottwilkerson »

Click on one of the hosts so we can see the output for that particular host
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
vornado
Posts: 79
Joined: Wed Jun 13, 2018 9:17 am

Re: Nagios XI not saving monitors?

Post by vornado »

See attached. Service status shows list of 'Down' hosts (all of the new hosts that I added), although status is 'OK'. PING from a Windows command window shows that the hosts are NOT down. However, if I try to ping using the host name, I get name or service not known. If I ping the ip address, ping works fine.

Oddly enough, if I add an entry for this server in /etc/hosts on the nagios server, then it is reported as 'UP'. I don't believe this is how your product is supposed to work, though.

Code: Select all

10.0.11.7   dcoqa.ibsepm.com
Probably a related problem, smtp test email did not work when I used the name of the mail server but it did work with the IP address.
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI not saving monitors?

Post by tgriep »

From what you are describing, it sounds like the Nagios server is not setup to resolve the Hostnames using your DNS servers.
You would have to edit the /etc/resolve.conf file and add your DNS server settings in it and then it should resolve the IP addresses.
See these links for more details if needed.
https://linux.die.net/man/5/resolv.conf
https://www.centos.org/docs/5/html/5.1/ ... files.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
vornado
Posts: 79
Joined: Wed Jun 13, 2018 9:17 am

Re: Nagios XI not saving monitors?

Post by vornado »

Thanks -- I copied resolv.conf from another Linux server and that seemed to allow me to use names instead of IP addresses.

I'm having new issues, but I'll open a new topic for those.

Thanks for your help.

Steve
Locked