Problem with Nagios && NRPE solved!

Clemens Sibon c.sibon at triple-it.nl
Thu Sep 20 19:28:49 CEST 2007


Hi all,

I got the solution to my problem within 20 minutes (thans again Janet)!
The IP address in the config file was wrong and the command line tool
uses the hostname so I was checking two different servers!

--
Met vriendelijke groet / with kind regards,

Clemens Sibon

Triple IT
Pettemerstraat 12a
1823 CW Alkmaar

Tel: +31 (0)72 5129516
Fax: +31 (0)72 5129520
Email: c.sibon at triple-it.nl

**********************************************************************
De in dit emailbericht verstrekte informatie is vertrouwelijk en
uitsluitend bestemd voor de geadresseerde. Het kopieren van of
verstrekken aan en gebruik door derden van deze informatie is niet
toegestaan. Door de elektronische verzending van dit bericht kunnen er
geen rechten worden ontleend aan de informatie.


This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify it to
the sender.
********************************************************************** 

> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net 
> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf 
> Of Clemens Sibon
> Sent: Thursday, September 20, 2007 18:07
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Problem with Nagios && NRPE
> 
> Hello all,
> 
> After 3 days of frustrated debugging, I turn to the 
> mailinglist because I don't get it anymore..
> 
> I successfully installed Nagios (first 3.0.3b, later tried the latest
> 2.9 release), nagios-plugins 1.4.9 and nrpe 2.8.1 (with SSL).
> 
> My problem is that I can successfully check all the remote 
> commands I have defined on the remote server in nrpe.cfg from 
> the commandline (check_nrpe -H selene -c check_usr for example).
> 
> Problem is that the results returned and showed in the 
> website for this checks don't match.
> 
> [root at sansha libexec]# ./check_nrpe -H selene -c check_usr 
> DISK OK - free space: /usr 4467 MB (81% inode=97%);|
> /usr=1029MB;5216;5506;0;5796
> 
> and in the webpage it states:
> 
> DISK OK - free space: /usr 4588 MB (83% inode=97%): 
> 
> The difference is not too big but I can't explain it (not a 
> factor 1.024 for example).
> The check for the number of users is totally off, showing 1 
> even when 5 are logged in.
> 
> Besides this problem, I have also defined some other checks, 
> for example
> check_pmon:
> 
> command[check_pmon]=/usr/local/nagios/libexec/check_oracle --db orcl
> 
> When I check this one from the monitoring server on the console I get:
> 
> [root at sansha libexec]# ./check_nrpe -H selene -c check_pmon 
> orcl OK - 1 PMON process(es) running
> 
> Looks fine, but what does the website show me?
> 
> NRPE: Command 'check_pmon' not defined 
> 
> Same happens with some checks I made for specific partitions 
> like /opt/oracle and /opt/oracle/oradata....
> 
> I tried running nrpe with 'debug=1' but it doesn't provide 
> any usefull info in syslog:
> 
> Sep 20 18:01:18 selene xinetd[8511]: START: nrpe pid=15307
> from=192.168.15.5
> Sep 20 18:01:18 selene nrpe[15307]: INFO: SSL/TLS 
> initialized. All network traffic will be encrypted.
> 
> What am I missing here? I don't know anymore....
> 
> --
> Met vriendelijke groet / with kind regards,
> 
> Clemens Sibon
> 
> Triple IT
> Pettemerstraat 12a
> 1823 CW Alkmaar
> 
> Tel: +31 (0)72 5129516
> Fax: +31 (0)72 5129520
> Email: c.sibon at triple-it.nl
> 
> **********************************************************************
> De in dit emailbericht verstrekte informatie is vertrouwelijk 
> en uitsluitend bestemd voor de geadresseerde. Het kopieren 
> van of verstrekken aan en gebruik door derden van deze 
> informatie is niet toegestaan. Door de elektronische 
> verzending van dit bericht kunnen er geen rechten worden 
> ontleend aan de informatie.
> 
> 
> This email and any files transmitted with it are confidential 
> and intended solely for the use of the individual or entity 
> to whom they are addressed. If you have received this email 
> in error please notify it to the sender.
> **********************************************************************
> 
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by: Microsoft Defy all 
> challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS 
> when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list