[Nagios-users] user specific hosts

2008-02-27 Thread Machiel Richards
Hi everyone

 

 

   I am looking for some info but I am not sure whether this can be
done.

 

We are currently running Nagios 2.10 and are monitoring 52
hosts in our organization.

 

We do however have some clients that is only interested in
seeing their production systems and the rest of the groups' servers.

 

Is there a way to set up a user and give it a specific set
of hosts that it is allowed to see on Nagios.

 

Say for instance we create user test and they log into
Nagios with user test then they should only see the hosts that they are
the owners of and not any other hosts?

 

 

Regards

 



*** Disclaimer ***

The information contained in this e-mail is confidential and legally privileged 
and is intended solely for the addressee and to others who have the authority 
to receive it. Access to this e-mail by anyone else is unauthorized and as 
such, any disclosure, copying, distribution or any action taken or omitted in 
reliance on it is unlawful. If you have received this e-mail in error, please 
notify the sender immediately.

The views expressed in this e-mail are the views of the individual sender and 
should in no way be construed as the views of the Company.

The Company is not liable to ensure that outgoing e-mails are virus-free.

The Company is not liable, should information or data, for whatever reason, be 
corrupted or fail to reach its intended addressee.

The Company is not liable for any loss or damage of whatsoever nature and 
howsoever arising resulting from the opening or the use of the information in 
this e-mail, including its attachments and links.

The sender of this e-mail is subject to and bound by the terms and conditions 
of Company’s Electronic Communications Usage Policy.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Getting ndoutils 1.4b7compiled under freeBSD 6.3 with mysql support

2008-02-27 Thread Denny Schierz
Ton Voon schrieb:
> 
> On 27 Feb 2008, at 08:11, Denny Schierz wrote:
> 
>> i really have problems to get ndoutils compiled under freeBSD 6.3 with
>> mysql support. MySQL headers are under /usr/local/include/mysql and libs
>> are /usr/local/lib/mysql.
>>
>> ./configure --with-mysql-lib=/usr/local
>> --with-mysql-inc=/usr/local/include
>>
>> does not work. (mysql.h not found, lmysqlclient ... no ...)
>>
>> i found a patched tar archive for with 1.4b3 but ...
> 
> I assume you are referring to our patched 1.4b3:
> http://altinity.blogs.com/dotorg/2007/04/better_mysqlcli.html
> 
> Could you try that and see if it does detect mysql correctly?

thanks for that:-) , compiling under freebsd is, ... a bit strange ...
for me as linux user:

./configure --with-mysql-lib=/usr/local/mysql
--with-mysql-inc=/usr/local/include/mysql

was working.

cu denny

-- 
Stoppt den Überwachungswahn - Stoppt den Schäuble Katalog:
http://www.nopsis.de



signature.asc
Description: OpenPGP digital signature
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Very slow startup of Nagios when using NDO

2008-02-27 Thread Patrick Morris
On Wed, 27 Feb 2008, Masopust, Christian wrote:

> my Nagios server's startup with activated NDO is very slow (appr. 2-3 
> minutes)!
> 
> anyone else seeing this behaviour? possibility to speed it up (besides 
> deactivating NDO :-))

Yes -- slow startups with ndoutils enabled are very common.

Things to do to speed it up would include having the database on good,
fast box, limiting the amount of history Nagios keeps in the databases,
and making sure you have a recent version of ndoutils -- it's gotten
faster than it used to be.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] dnx 0.15.1 released

2008-02-27 Thread John Calcote
This note is to announce the release of dnx 0.15.1 - a (very!) short
bug fix release.

I apologize for the short length of time since 0.15 was released, but
I felt it was important to get these few very significant fixes into a
new release as soon as possible. Here are the release notes:


Version 0.15.1:
===
- Bug fixes - mostly related to daemon startup, shutdown and timing.
- Updated INSTALL file to reflect dnx applicability to Nagios 3.0rc3.


I very much appreciate the help I received from the community to get
these issues taken care of.

For more information and to download this release, please refer to the
dnx web site at http://dnx.sourceforge.net and to the dnx sourceforge
project site at http://www.sourceforge.net/projects/dnx.


Thanks for your patience.

John

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Nagios DB2 plugin problems

2008-02-27 Thread Edson Manners

UPDATE,
The install required me to add a new entry for the lib 
directory (/opt/ibm/db2/V8.1/lib/) to ld.so.conf.d. The I had to update 
the cache for ldconfig by running 'ldconfig'. So it wasn't a nagios 
plugin issue at all. Hopefully IBM can get around to having better 
documentation in the future. I wonder why they hate noobs so much?


Edson Manners wrote:

Hi,
 Has anyone on this list had any luck recently with the nagios DB2 
plugins on these Nagios Exchange pages?


http://www.nagiosexchange.org/DB2.156.0.html?&tx_netnagext_pi1[p_view]=373 

http://www.nagiosexchange.org/DB2.156.0.html?&tx_netnagext_pi1%5bp_view%5d=373> 



I'm having trouble with what seems like the dbd-db2 (DBD::DB2) perl 
module install both from source and "perl -MCPAN -e 'install 
DBD::DB2'" on RHEL5.
Has anyone else had a different or similar experience. I'm heading to 
a PERL forum to see if it is really a module issue also. Thanks.




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/


___
Nagios-users mailing list
Nagios-users@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




smime.p7s
Description: S/MIME Cryptographic Signature
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] Very slow startup of Nagios when using NDO

2008-02-27 Thread Masopust, Christian
Hi all,
 
my Nagios server's startup with activated NDO is very slow (appr. 2-3 minutes)!
 
anyone else seeing this behaviour? possibility to speed it up (besides 
deactivating NDO :-))
 
christian
 

___

Christian Masopust

SIEMENS AG  SIS PSE TMF 
Tel:   +43 (0) 5 1707 26866
E-mail: [EMAIL PROTECTED]
Addr: Austria, 1210 Vienna, Siemensstraße 90-92, B. 33, Rm. 243

Leader of the RUGA  

Firma: Siemens Aktiengesellschaft Österreich, Rechtsform: 
Aktiengesellschaft, 
Sitz: Wien, Firmenbuchnummer: FN 60562 m, 
Firmenbuchgericht: Handelsgericht Wien, DVR 0001708 
___



 
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] Nagios DB2 plugin problems

2008-02-27 Thread Edson Manners

Hi,
 Has anyone on this list had any luck recently with the nagios DB2 
plugins on these Nagios Exchange pages?


http://www.nagiosexchange.org/DB2.156.0.html?&tx_netnagext_pi1[p_view]=373
http://www.nagiosexchange.org/DB2.156.0.html?&tx_netnagext_pi1%5bp_view%5d=373>

I'm having trouble with what seems like the dbd-db2 (DBD::DB2) perl 
module install both from source and "perl -MCPAN -e 'install DBD::DB2'" 
on RHEL5.
Has anyone else had a different or similar experience. I'm heading to a 
PERL forum to see if it is really a module issue also. Thanks.




smime.p7s
Description: S/MIME Cryptographic Signature
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] Tunning Nagios Perfomance

2008-02-27 Thread pra$h Online!!!! !!
Hi,

  I have configured two Nagios Server, One is Primary(A) and Other is
Secondary(B).

  In primary I have Configured 891 active  host check and  8761 active
service check and passive service check 1473.

  In secondary i have configured  271 active host check and 2853 active
service check.



Primary server performance is listed below :

 

   : Time Frame Checks Completed

<= 1 minute: 913 (10.7%)

<= 5 minutes: 4852 (56.9%)

<= 15 minutes: 8521 (100.0%)

<= 1 hour: 8521 (100.0%)

Since program start:   8521 (100.0%)



 Metric Min. Max. Average

Check Execution Time:   0.04 sec 25.92 sec 0.354 sec

Check Latency: 149.17 sec 202.23 sec 172.017 sec

Percent State Change: 0.00% 37.04% 0.06%



Passive Service Checks: Time Frame Checks Completed

<= 1 minute: 228 (18.3%)

<= 5 minutes: 829 (66.4%)

<= 15 minutes: 1136 (91.0%)

<= 1 hour: 1249 (100.0%)

Since program start:   1249 (100.0%)



Active Host Checks: Time Frame Checks Completed

<= 1 minute: 8 (0.9%)

<= 5 minutes: 39 (4.4%)

<= 15 minutes: 63 (7.1%)

<= 1 hour: 74 (8.3%)

Since program start:   74 (8.3%)





Secondary server performance



Checks: Time Frame Checks Completed

<= 1 minute: 379 (13.3%)

<= 5 minutes: 2621 (91.9%)

<= 15 minutes: 2853 (100.0%)

<= 1 hour: 2853 (100.0%)

Since program start:   2853 (100.0%)



 Metric Min. Max. Average

Check Execution Time:   0.01 sec 60.02 sec 0.889 sec

Check Latency: 0.00 sec 3.43 sec 0.440 sec

Percent State Change: 0.00% 0.00% 0.00%



Passive Service Checks: Time Frame Checks Completed

<= 1 minute: 0 (0.0%)

<= 5 minutes: 0 (0.0%)

<= 15 minutes: 0 (0.0%)

<= 1 hour: 0 (0.0%)

Since program start:   0 (0.0%)



 Metric Min. Max. Average

Percent State Change:   0.00% 0.00% 0.00%



 Active Host Checks: Time Frame Checks Completed

<= 1 minute: 5 (1.8%)

<= 5 minutes: 15 (5.5%)

<= 15 minutes: 16 (5.9%)

<= 1 hour: 18 (6.6%)

Since program start:   20 (7.4%)

 

 Can  any body  tell me how to reduce the latency of my primary server
because

 if i restarted a nagios agent in client pc it is taking minimum 15 -20
minutes to come up the service

 to normal state and suggest me  how to  do the Load balance  to get good
performance for both servers.







Thanks in Advance



Regards

Prashanth P nair.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] (no subject)

2008-02-27 Thread Ayotunde Itayemi
Hi, am I right in thinking that you are running your NRPE daemon under
inetd's control?

If yes, try running the NRPE daemon standalone. Then repeat your tests.
Let's know if it works.

For some reason I was never able to run NRPE on AIX under inetd
successfully - I got something 

similar to the error you reported below.

 

$ ps -ef | grep nrpe

  nagios 3027572   1   0   Feb 19  -  0:37 /aixmon/nrpe/bin/nrpe
-d -c /aixmon/nrpe/etc/nrpe.cfg

$

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bhat
nag
Sent: Wednesday, February 27, 2008 2:40 PM
To: Hari Sekhon
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] (no subject)

 

Hi,

I tried with both the option using hostname as well as ip address.

 

Still I am getting the same error.

 

Regds

G Bhat

On Wed, Feb 27, 2008 at 6:16 PM, Hari Sekhon <[EMAIL PROTECTED]>
wrote:

Bhat nag wrote:
> After that I am used the command to check the nrpe, but I am
> getting the error as
>
> root @ isosrvr : /opt/nrpe/bin >./check_nrpe -H localhost -n
> CHECK_NRPE: Response packet had invalid CRC32.

I have found that you cannot use localhost when using nrpe, try the
hostname instead.

-h

--
Hari Sekhon

 

DISCLAIMER: This email and any attachments are confidential and privileged. It 
is intended solely for the addressee. Access to this email by anyone else is 
unauthorized. If received in error, do not open, read, copy, disclose, use or 
store it in any way, or permit others to do so but please notify the sender 
immediately and delete the original email and attachments from your machine. If 
you are not the addressee or the intended recipient, any use, disclosure, 
copying, distribution or action taken in reliance of it, is prohibited and 
unlawful. The information, attachments, opinions or advice contained in this 
email are not necessarily the views or opinions of Celtel Nigeria Limited or 
its affiliates and without more, shall not commit Celtel Nigeria Limited or its 
affiliates. Celtel Nigeria Limited and its affiliates do not accept liability 
for claims, losses, or damages caused by the inaccuracy, incorrectness, or lack 
of integrity of this email or any attachments. 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] auditing Nagios configs

2008-02-27 Thread Roger
On 2/26/08, Mark L Potter <[EMAIL PROTECTED]> wrote:
>
>
> On Mon, 2008-02-25 at 16:20 -0800, Roger wrote:
> > Does anyone have any tools or tips on auditing Nagios configs when
> > you're consolidating boxes?
> >
> >
> I would be pretty easy to do with a little sed and awk or grep and cut
> script. If you want to describe your config a little more I might could
> throw something together for you. I would need to know if you are using
> single file configs or if you are using multiple files and if those
> files are all in the same dir and so on. I think it would be under 20
> lines total to get what you want.



So, for example, say ou have servers 1, 2, 3. And they have services ABC,
ABXYZ, and AWC respectively.

Say I know server 1 and 3 should be the same in terms of service checks, so
now I have to go and add services B to server 3 and service W to server 1 so
that they both have ABCW as services.  Right now, I'm doing all of this
manually, and am looking for quick(er) ways to do so.

Many environments grow organically and people just slam in checks without
thinking about what other servers might need that same check, and then at
the end of the day when one person has to make sense of it all, manually
sifting through everything can get time consuming.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] check disk_write?

2008-02-27 Thread Hari Sekhon
Oliver Klein wrote:
> Hi
>
> perfect this is exactly what iŽm looking for but I load the script on the 
> remote server and define command I the nrpe.cfg on the remote host.
> On the nagios server I define the disk_checkrw in commands.cfg and also in 
> the host.cfg .
>
>
> # 'check_diskrw' commands.cfg definition
> define command{
> command_namecheck_diskrw
> command_line$USER1$/check_diskrw
> }
>
> # command definition in nrpe.cfg
> command[check_diskrw]=/usr/local/nagios/libexec/check_diskrw
>
> I use the the command on console it wrote "OK" in the nagios webinterface I 
> got "write error on" 
> What I had missing? maybe I have to touch a file? sorry but iŽm a little bit 
> confused today.
>   
You're probably trying it on the command line as root and nrpe is 
running it as a regular user that may not have permission to write that 
location

Either that or your nrpe.cfg is wrong.

-h

-- 
Hari Sekhon


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] check disk_write?

2008-02-27 Thread Oliver Klein
Hi

perfect this is exactly what i´m looking for but I load the script on the 
remote server and define command I the nrpe.cfg on the remote host.
On the nagios server I define the disk_checkrw in commands.cfg and also in the 
host.cfg .


# 'check_diskrw' commands.cfg definition
define command{
command_namecheck_diskrw
command_line$USER1$/check_diskrw
}

# command definition in nrpe.cfg
command[check_diskrw]=/usr/local/nagios/libexec/check_diskrw

I use the the command on console it wrote "OK" in the nagios webinterface I got 
"write error on" 
What I had missing? maybe I have to touch a file? sorry but i´m a little bit 
confused today.



Best regards

Oliver Klein 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell
Sent: Wednesday, February 27, 2008 2:10 PM
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] check disk_write?


On Feb 27, 2008, at 6:51 AM, Oliver Klein wrote:

> Hi
>
> I have a problem with monitoring a mountpoint / disk on one of our  
> servers,  this server collect the traffic in our network. For a few  
> days the server crashed and after reboot the filesystem was mounted  
> read only and so no traffic data could be written on the disk. That 
> ´s very bad and know i´m looking for a solution to monitor the disk  
> to prevent data lost. But I have no idea how to realize that??  
> Anyone can help me?
>

http://www.nagiosexchange.org/Linux.55.0.html? 
&tx_netnagext_pi1[p_view]=1014 looks like it'll suit your needs.

--
Marc
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Getting ndoutils 1.4b7compiled under freeBSD 6.3 with mysql support

2008-02-27 Thread Ton Voon

On 27 Feb 2008, at 08:11, Denny Schierz wrote:

> i really have problems to get ndoutils compiled under freeBSD 6.3 with
> mysql support. MySQL headers are under /usr/local/include/mysql and  
> libs
> are /usr/local/lib/mysql.
>
> ./configure --with-mysql-lib=/usr/local --with-mysql-inc=/usr/local/ 
> include
>
> does not work. (mysql.h not found, lmysqlclient ... no ...)
>
> i found a patched tar archive for with 1.4b3 but ...

I assume you are referring to our patched 1.4b3: 
http://altinity.blogs.com/dotorg/2007/04/better_mysqlcli.html

Could you try that and see if it does detect mysql correctly?

Ethan appears to have committed our suggested patch for mysql  
detection, but is only in CVS at the moment and not released as a new  
version yet.

Ton

http://www.altinity.com
UK: +44 (0)870 787 9243
US: +1 866 879 9184
Fax: +44 (0)845 280 1725
Skype: tonvoon


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] (no subject)

2008-02-27 Thread Giles Coochey
G,

 

When I installed NRPE recently I used the xinetd installation, whereas
it looks like you're utilising the nrpe in daemon mode.

 

Therefore I may not be of as much help here, but I would check things
such as SeLinux configuration (try putting it in warn mode and see
whether you still get this error) and iptables configuration on the box.

 

When I performed this test, I actually only did it from the Nagios
monitoring hosts (as that was indicative of my requirements), you might
want to check that test as well.

 

Thanks

 

Giles

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bhat
nag
Sent: 27 February 2008 14:40
To: Hari Sekhon
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] (no subject)

 

Hi,

I tried with both the option using hostname as well as ip address.

 

Still I am getting the same error.

 

Regds

G Bhat

On Wed, Feb 27, 2008 at 6:16 PM, Hari Sekhon <[EMAIL PROTECTED]>
wrote:

Bhat nag wrote:
> After that I am used the command to check the nrpe, but I am
> getting the error as
>
> root @ isosrvr : /opt/nrpe/bin >./check_nrpe -H localhost -n
> CHECK_NRPE: Response packet had invalid CRC32.

I have found that you cannot use localhost when using nrpe, try the
hostname instead.

-h

--
Hari Sekhon

 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Plugin Output Standardization (was JMX plugin thread)

2008-02-27 Thread Hari Sekhon
Marc Powell wrote:
>> Yes quite right, but standardization of output is nice for coherence  
>> and
>> to give a more professional unified feel.
>> 
>
> Yup, that's why guidelines exist.
>
>   
>> Do you have any preference between the two? There seems to  
>> unfortunately
>> be a mix between the two styles.
>> 
>
>   
>> I'd vote for the "SERVICENAME SERVICESTATUS: Informational text"  
>> format
>> like "DISK OK: / is 50% full" ...
>> 
>
> I use this format in plugins I write

I'm glad to hear that, I too write my plugins this way. I prefer this 
format as it's very clear and most of the plugins that I use from the 
std distribution seem to do this.

I was thinking that a switch on each plugin to change the prefix on the 
output depending on your preferences might be the best thing to satisfy 
all, that way you can adjust all plugins to match one way or the other. 
You could use this to specify "" to change it to have no prefix if needed.

-h

-- 
Hari Sekhon


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] (no subject)

2008-02-27 Thread Bhat nag
Hi,
I tried with both the option using hostname as well as ip address.

Still I am getting the same error.

Regds
G Bhat

On Wed, Feb 27, 2008 at 6:16 PM, Hari Sekhon <[EMAIL PROTECTED]>
wrote:

> Bhat nag wrote:
> > After that I am used the command to check the nrpe, but I am
> > getting the error as
> >
> > root @ isosrvr : /opt/nrpe/bin >./check_nrpe -H localhost -n
> > CHECK_NRPE: Response packet had invalid CRC32.
> I have found that you cannot use localhost when using nrpe, try the
> hostname instead.
>
> -h
>
> --
> Hari Sekhon
>
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Plugin Output Standardization (was JMX plugin thread)

2008-02-27 Thread Marc Powell

On Feb 27, 2008, at 3:45 AM, Hari Sekhon wrote:

> Marc Powell wrote:
>> The plugin output text is completely arbitrary. Nagios only really  
>> cares
>> about the exit code and that there's only one line of plugin output,
>> whatever it is
> Yes quite right, but standardization of output is nice for coherence  
> and
> to give a more professional unified feel.

Yup, that's why guidelines exist.

> Do you have any preference between the two? There seems to  
> unfortunately
> be a mix between the two styles.

> I'd vote for the "SERVICENAME SERVICESTATUS: Informational text"  
> format
> like "DISK OK: / is 50% full" ...

I use this format in plugins I write.

--
Marc

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Plugin Output Standardization (was JMX plugin thread)

2008-02-27 Thread Marc Powell

On Feb 27, 2008, at 6:58 AM, [EMAIL PROTECTED] wrote:

> My $0.02:
>
> plug-in output isn't completely arbitrary if you plan on processing
> performance data.

Sure, and there are other caveats as well but they weren't germane to  
the original context that I replied to.

> considering that a single defined command can be turned into multiple
> services (assuming you use $ARG$ variables) I don't think printing the
> servicename would be helpful.  The servicename is already available in
> both the web and notification output too.

The service_description and service the plugin is checking can be  
completely different. Both are useful information.

--
Marc

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Plugin Output Standardization

2008-02-27 Thread Holger Weiss
* [EMAIL PROTECTED] [2008-02-27 07:58]:
> I don't think printing the servicename would be helpful.  The
> servicename is already available in both the web and notification
> output too.

I agree, see the thread I started on this topic some time ago in
nagiosplug-devel@:

http://thread.gmane.org/gmane.network.nagios.plugins.devel/5155

While I'd also omit the status from the output, others would rather keep
that or prefer to also keep the service name.  So, we thought the best
solution would be to make the output format configurable at build time,
which I've implemented[*] but not yet committed.

Holger

[*] http://article.gmane.org/gmane.network.nagios.plugins.devel/5179

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] check disk_write?

2008-02-27 Thread Marc Powell

On Feb 27, 2008, at 6:51 AM, Oliver Klein wrote:

> Hi
>
> I have a problem with monitoring a mountpoint / disk on one of our  
> servers,  this server collect the traffic in our network. For a few  
> days the server crashed and after reboot the filesystem was mounted  
> read only and so no traffic data could be written on the disk. That 
> ´s very bad and know i´m looking for a solution to monitor the disk  
> to prevent data lost. But I have no idea how to realize that??  
> Anyone can help me?
>

http://www.nagiosexchange.org/Linux.55.0.html? 
&tx_netnagext_pi1[p_view]=1014 looks like it'll suit your needs.

--
Marc
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Plugin Output Standardization (was JMX plugin thread)

2008-02-27 Thread kyle . odonnell
My $0.02:

plug-in output isn't completely arbitrary if you plan on processing
performance data.

considering that a single defined command can be turned into multiple
services (assuming you use $ARG$ variables) I don't think printing the
servicename would be helpful.  The servicename is already available in
both the web and notification output too.

-Kyle

On 2/27/08, Hari Sekhon <[EMAIL PROTECTED]> wrote:
> Marc Powell wrote:
> > The plugin output text is completely arbitrary. Nagios only really cares
> > about the exit code and that there's only one line of plugin output,
> > whatever it is
> Yes quite right, but standardization of output is nice for coherence and
> to give a more professional unified feel.
>
> Do you have any preference between the two? There seems to unfortunately
> be a mix between the two styles.
>
> Perhaps the official development guidelines could be adjusted to steel
> people towards one standard output format on this?
>
> I'd vote for the "SERVICENAME SERVICESTATUS: Informational text" format
> like "DISK OK: / is 50% full" ...
>
> -h
>
> --
> Hari Sekhon
>
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Nagios-users mailing list
> Nagios-users@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 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] check disk_write?

2008-02-27 Thread Oliver Klein
Hi

 

I have a problem with monitoring a mountpoint / disk on one of our servers,  
this server collect the traffic in our network. For a few days the server 
crashed and after reboot the filesystem was mounted read only and so no traffic 
data could be written on the disk. That´s very bad and know i´m looking for a 
solution to monitor the disk to prevent data lost. But I have no idea how to 
realize that?? Anyone can help me?

 

Best regards

 

Oliver Klein

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] (no subject)

2008-02-27 Thread Hari Sekhon
Bhat nag wrote:
> After that I am used the command to check the nrpe, but I am 
> getting the error as
>  
> root @ isosrvr : /opt/nrpe/bin >./check_nrpe -H localhost -n
> CHECK_NRPE: Response packet had invalid CRC32.
I have found that you cannot use localhost when using nrpe, try the 
hostname instead.

-h

-- 
Hari Sekhon


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] (no subject)

2008-02-27 Thread Bhat nag
Thanks Giles,

I followed the instruction  as given in the doc
http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf.

Accordingly I have started the deamon
using the command
#opt/nrpe/bin/nrpe -c /opt/nrpe/nrpe.cfg -d
and checked its listinig or not using the command

#netstat -a|grep nrpe

tcp 0 0 *.nrpe *.*
LISTEN

After that I am used the command to check the nrpe, but I am getting the
error as

root @ isosrvr : /opt/nrpe/bin >./check_nrpe -H localhost -n
CHECK_NRPE: Response packet had invalid CRC32.

I am not understanding that where i went wrong.

Please help

Best Regds
G Bhat




On Wed, Feb 27, 2008 at 4:29 PM, Bhat nag <[EMAIL PROTECTED]> wrote:

> Dear All,
>
> Can anyone help in confguting nrpe on HP-UX ver:B11.11
> I am using the nagios version 3.0rc2
>
>
> Thanks in advance
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Nagios-users mailing list
> Nagios-users@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 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] (no subject)

2008-02-27 Thread Giles Coochey
Bhat,

 

Can we suggest that you try following the instructions found under
http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf

 

And then return to us with a specific query as to any problem that you
may encounter?

 

Otherwise, your request is very vague and is more likened to a request
for Nagios consultancy, which you might find as a paid service on
Sourceforge or www.nagios.com  

 

Best Regards,

 

Giles

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bhat
nag
Sent: 27 February 2008 11:59
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] (no subject)

 

Dear All,

 

Can anyone help in confguting nrpe on HP-UX ver:B11.11

I am using the nagios version 3.0rc2

 

 

Thanks in advance

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] (no subject)

2008-02-27 Thread Bhat nag
Dear All,

Can anyone help in confguting nrpe on HP-UX ver:B11.11
I am using the nagios version 3.0rc2


Thanks in advance
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] Plugin Output Standardization (was JMX plugin thread)

2008-02-27 Thread Hari Sekhon
Marc Powell wrote:
> The plugin output text is completely arbitrary. Nagios only really cares
> about the exit code and that there's only one line of plugin output,
> whatever it is
Yes quite right, but standardization of output is nice for coherence and 
to give a more professional unified feel.

Do you have any preference between the two? There seems to unfortunately 
be a mix between the two styles.

Perhaps the official development guidelines could be adjusted to steel 
people towards one standard output format on this?

I'd vote for the "SERVICENAME SERVICESTATUS: Informational text" format 
like "DISK OK: / is 50% full" ...

-h

-- 
Hari Sekhon


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] Getting ndoutils 1.4b7compiled under freeBSD 6.3 with mysql support

2008-02-27 Thread Denny Schierz
hi,

i really have problems to get ndoutils compiled under freeBSD 6.3 with
mysql support. MySQL headers are under /usr/local/include/mysql and libs
are /usr/local/lib/mysql.

./configure --with-mysql-lib=/usr/local --with-mysql-inc=/usr/local/include

does not work. (mysql.h not found, lmysqlclient ... no ...)

i found a patched tar archive for with 1.4b3 but ...

so, what i have to do?

cu denny

-- 
Stoppt den Überwachungswahn - Stoppt den Schäuble Katalog:
http://www.nopsis.de



signature.asc
Description: OpenPGP digital signature
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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