We help IT Professionals succeed at work.

Not getting nagios notifications

Medium Priority
690 Views
Last Modified: 2012-08-13
I am running Nagios 2.10, new to this product. I have noticed we are not getting email or text notifications for events.

Can someone point me to where i can check to see if things are configured properly. I only have admin access to the web interface at this point, we are trying to find the linux logon info...

It used to work, stopped in last few weeks.
Comment
Watch Question

c0s

Commented:
the emails might get stuck on your relay server, it would help if you could get the logs on the nagios server to see if the relay server accepts them

Author

Commented:
I found out that the nagios service has stopped.

attempts to start it get this:

Starting network monitor: nagiosCONFIG ERROR!  Start aborted.  Check your Nagios configuration.

I checked & we did have someone go in & delete 3 servers from the hosts.cfg file that no longer existed.

I am not sure if there was somewhere else this person should have eidted but the end result is that now Nagios will not start...

Please help very limited Nagios experience.

Author

Commented:
Since nagios is down I do not have web access to it at this point just able to putty into Nagios server.
c0s

Commented:
there should me a little more information to that check in to what line is in error

Author

Commented:
Not seeing anything else besides the error message. looking at the nagios.log file it has no errors just a metion that the server was shutting down (I did a reboot)

Where else can i look?
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Got a bunch of warnings & 1 error.

The error:

Service 'icmp_ping_alive' on host AVIGILON specified in extended service information is not defined anywhere!




Will check that file.
c0s

Commented:
yep you could get away by disabling that service for a start

Commented:
you have to define this 'icmp_ping_alive'-service in your command.cfg file (or whereever you define commands).

should be something like this:

define command{
        command_name    icmp_ping_alive
        command_line    /usr/lib/nagios/plugins/check_ping -H '$HOSTADDRESS$' -w '$ARG1$' -c '$ARG2$'
        }

c0s

Commented:
were you able to fix your problems?

Author

Commented:
I am now getting notiifcations, I just now have a number of hosts that are not checking in with Nagios.

I will open a new question for those issues.

Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.