Page 1 of 1

Monitoring Engine is not ruuning

Posted: Thu May 03, 2012 12:02 pm
by gucci
Hello Everyone,

I just installed Nagios XI via VM.

i'm trying to get the email to works. I'm a totally newbie when it comes to linux:-)

i have been trying to get the email to worls via smtp or sendmail without any luck.
when i set it up as smtp, I gue the following errors:
A test email was sent to [email protected]
----
Mailer said: SMTP Error: Could not connect to SMTP host. (method=smtp;host= xx.xx.xx.xx;port=25;security=none)
An error occurred sending a test email!


If I set it up as send mail i get the following message:

A test email was sent to [email protected]----
Mailer said: Message sent! (method=sendmail)

but i never get the messages.

I have tried from ssh command line the following:
[root@localhost libexec]# ./check_smtp -H 172.26.xx.xx -p 25
SMTP OK - 0.336 sec. response time|time=0.336460s;;;0.000000

Right now the "monitoring engine" is not running and when I try to start it I get this error:
an error ocurred processing your request

Any help please.

thanks


Nelson R.

Re: Monitoring Engine is not ruuning

Posted: Thu May 03, 2012 4:01 pm
by scottwilkerson
From the command prompt if your XI server run the following

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
If

Code: Select all

Total Errors:   0
Run

Code: Select all

service nagios stop
killall nagios -9
service nagios start