Page 2 of 2

Re: nagios xi - NAGIOSQL LOGIN FAILED! NagiosQL import appea

Posted: Mon Nov 21, 2011 1:57 am
by vaibhav beohar
Hi i have installed php-pear-HTML-Template-IT.noarch and its start working thanks alot
we are configuring nagios for some windows client and some dot net client.My firewall port has been desible for all the client
So is there any way to check my clients performance without opening any port.

And also I saw some Plugins in nagios xi document like

NSClient
NRPE...so can you plz .do let me know which one i need to get install in my client systems



Thanks

Re: nagios xi - NAGIOSQL LOGIN FAILED! NagiosQL import appea

Posted: Mon Nov 21, 2011 8:42 am
by vaibhav beohar
One more thing i not getting any mails or notification from nagios ..my send mail is also running fine
Please tel me what should i need to configure to get naotification from nagios.


[root@localhost ~]# service sendmail status
sendmail (pid 14614) is running...
sm-client (pid 14622) is running...


Thanks alot.

Re: nagios xi - NAGIOSQL LOGIN FAILED! NagiosQL import appea

Posted: Mon Nov 21, 2011 11:41 am
by lmiltchev
vaibhav beohar,

Here is the information you requested:

http://assets.nagios.com/downloads/nagi ... _Agent.pdf

http://assets.nagios.com/downloads/nagi ... Client.pdf

Please, read our documentation on troubleshooting Notifications here:

http://support.nagios.com/wiki/index.ph ... n_Problems

Let us know if you have more questions.

Re: nagios xi - NAGIOSQL LOGIN FAILED! NagiosQL import appea

Posted: Tue Nov 22, 2011 5:00 am
by vaibhav beohar
Hi ,

I have made all the changes and still not able to send test alert.
While sending getting following error.

Invalid address: root@localhostInvalid address: root@localhostCould not instantiate mail function.
Close Close
[X]
Notice: This trial copy of Nagios XI will expire in 53 days. Purchase a License Now or Enter your license key.
Test Email Settings

* A test email was sent to [email protected]
* ----
* Mailer said: Could not instantiate mail function. (method=sendmail)
* An error occurred sending a test email!

Use this to test your mail settings.

An email will be sent to: [email protected]

Change your email address

Re: nagios xi - NAGIOSQL LOGIN FAILED! NagiosQL import appea

Posted: Tue Nov 22, 2011 8:04 am
by vaibhav beohar
Hi ,

Now I am able to send test mail from nagios xi while putting in from mail id as [email protected] ..and nagios said mail has been sent
but i am not able to recive any mail.
While checking log found following...

To: [email protected]
Subject: Nagios XI Email Test
X-PHP-Originating-Script: 501:class.phpmailer.php
Date: Tue, 22 Nov 2011 17:46:35 +0530
From: [email protected]
Reply-to: [email protected]
Message-ID: <893111884f67d1aa9f7b2945009a92a5@localhost>
X-Priority: 3
X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_893111884f67d1aa9f7b2945009a92a5"

--b1_893111884f67d1aa9f7b2945009a92a5
Content-Type: text/plain; charset = "iso-8859-1"
Content-Transfer-Encoding: 8bit

This is a test email from Nagios XI



Thanks.

Re: nagios xi - NAGIOSQL LOGIN FAILED! NagiosQL import appea

Posted: Tue Nov 22, 2011 3:18 pm
by lmiltchev
To double check sending, create a simple text file ("test.txt"), let's say in your "/tmp" folder. Then run in terminal:

Code: Select all

# /usr/lib/sendmail -v [email protected] < /tmp/test.txt
In order to troubleshoot Notifications, please read this document first:

http://support.nagios.com/wiki/index.ph ... n_Problems

Hope this helps.

Re: nagios xi - NAGIOSQL LOGIN FAILED! NagiosQL import appea

Posted: Tue Nov 22, 2011 11:41 pm
by vaibhav beohar
[root@localhost ~]# /usr/lib/sendmail -v [email protected] < /tmp/test.txt
[email protected]... Connecting to [127.0.0.1] via relay...
220 localhost.localdomain ESMTP Sendmail 8.14.4/8.14.4; Wed, 23 Nov 2011 10:12:55 +0530
>>> EHLO localhost.localdomain
250-localhost.localdomain Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
>>> MAIL From:<[email protected]> AUTH=[email protected]
250 2.1.0 <[email protected]>... Sender ok
>>> RCPT To:<[email protected]>
>>> DATA
250 2.1.5 <[email protected]>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 pAN4gtp7011884 Message accepted for delivery
[email protected]... Sent (pAN4gtp7011884 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 localhost.localdomain closing connection


But Still I am Not Getting any mail from nagios.


Thanks.

Re: nagios xi - NAGIOSQL LOGIN FAILED! NagiosQL import appea

Posted: Wed Nov 23, 2011 6:01 am
by vaibhav beohar
I have some other question like..

1) My hosts are showing down(Red) but all the status is ok only.... hosts are web urls.
2) If i am deleteing any host the host has been deleted from my nagios core but not in nagios xi
eventhough i have done all the step like ....removed services,removed from host group and from service group..and also clicked on apply configuration...


Thanks..

Re: nagios xi - NAGIOSQL LOGIN FAILED! NagiosQL import appea

Posted: Wed Nov 23, 2011 2:53 pm
by lmiltchev
Notifications issue:

Just to clarify... You were able to send a test message from the command line and I assume you received it successfully. Can you send a test message, when you go to: Configure->More Options->My Account Settings->Notification Options->Send Test Notifications? Can you receive the message that has been sent? If not, what happens when you change the e-mail address by clicking on "Change your email address" under the "Send Test Notifications"?

Your other questions:

1)http://assets.nagios.com/downloads/nagi ... _In_XI.pdf

2) http://support.nagios.com/wiki/index.ph ... lete_Hosts