Re: [Nagios-users] Disk Usage Report

2013-04-04 Thread Brian A. Seklecki

 Did I myself clear?


Yes; that's a very easy patch for you to apply to check_[fs|disk]_usage.

https://github.com/nagios-plugins/nagios-plugins/blob/master/plugins/check_disk.c


Just look for the sprintf() lines where the report is generated and 
adjust the variables accordingly, then submit diffs back for review.

I doubt there will be objections to disambiguation improvements.

~BAS

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
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] Supervision CRLS PKI

2009-11-03 Thread Brian A. Seklecki
On Fri, 2009-10-16 at 17:51 +0200, ben amar wrote:
 1) the expiry date of CRLS our PKI Root and emmetrices

The English is a bit broken here, but:

1) You can monitor the health of the published CRL by setting up
check_http to monitor the URL of your Active Directory Service
publication point (which is presumably some bullshit IIS plugin?) for
certain metrics (Last updated/Last Modified Date, Minimium size, etc.)

2) Our check_ssl_cert.php can validate the PKI chain is published by
the server (intermediary certs, etc.) and validate expiration date
thresholds.

We could also modify it's SSL Client to support OCSP/CRL validation.
I'll have to look at how OpenSSL does this.

~BAS

 2) accessibility and the presence of our PKI CRLS published in our
 Active
 Directory


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
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] JBOSS

2009-11-03 Thread Brian A. Seklecki
On Wed, 2009-10-28 at 13:43 -0200, Eduardo Barreto wrote:
 Hi All,
 
 How can I monitor a jboss server?

Make sure IBM has your bank account on file.

Make sure you have at least 16GB of swap file in active paging use. ~BAS


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
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] Connection refused question

2009-02-27 Thread Brian A. Seklecki




 My question is where in the nagios configuration do I change the setting
 so nagios knows what ports these two services are listening on?



$ egrep -ir check_(ssh|http) in your {/usr/local,}/etc/nagios config
dir:


$ /usr/local/libexec/nagios/check_http -h|grep -i port
strings and regular expressions, check connection times, and report on
Usage: check_http -H vhost | -I IP-address [-u uri] [-p port]
Append a port to include it in the header (eg: example.com:5000)
 -p, --port=INTEGER
 Port number (default: 80)
   Connect via SSL. Port defaults to 443
   Minimum number of days a certificate has to be valid. Port defaults to
443


$ /usr/local/libexec/nagios/check_ssh -h|grep -i port
Try to connect to an SSH server at specified server and port
Usage:check_ssh [-46] [-t timeout] [-r remote version] [-p port]
host
 -p, --port=INTEGER
Port number (default: 22)


Adjust the templates as nessecary, or customize.

Great books out there, too, eat em up!

~BAS

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] nrpe 2.12 doesn't build in OpenBSD

2009-01-26 Thread Brian A. Seklecki

Also, lets focus on getting local Ports patches fed back upstream.
Speaking of which, I've been meaning to harass the NetBSD/Pkgsrc
maintainer about pkgsrc Makefile hooks for permitting toggling external
command args with $PKG_OPTIONS

OpenBSD local patches:

http://www.openbsd.org/cgi-bin/cvsweb/ports/net/nagios/nrpe/patches/

SSL Thing:

http://www.openbsd.org/cgi-bin/cvsweb/ports/net/nagios/nrpe/patches/patch-configure?rev=1.2

Note OpenBSD explicitly enables:

CONFIGURE_ARGS+=--enable-command-args

~BAS


On Mon, 26 Jan 2009, C. Bensend wrote:


  When trying to build nrpe configure fails because it cannot find the
  ssl libraries. This is preposterous.
 
  The error in ./configure is that is looks for a file called libssl.so
  in $dir, when what it really should test is that gcc test.c -L$dir -lssl

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] problem check_dell plugin

2009-01-15 Thread Brian A. Seklecki

Try:

$ sudo -H -u nagios /usr/bin/perl /usr/local/nagios/libexec/check_dell.pl
--chassis

Otherwise, turn up the debugging in Nagios all the way.

~BAS

On Thu, 15 Jan 2009, Seth Simmons wrote:

 I'm having a problem using the dell plugin (from
 http://www.itefix.no/i2/check_dell, nothing useful in the forum)

 If I run the plugin (as nagios) on the box, it works fine.

 $ perl check_dell.pl --storage
 DELL STORAGE OK - Controller battery 0:ok  Controller perc 5/i
 integrated:ok  Enclosure backplane:ok  virtual disk 0:ok


 However, through nagios, it shows (null) and I can't figure out what I'm
 doing wrong.

 Here are the commands I have:

 define command{
 command_namecheck_chassis
 command_line/usr/bin/perl
 /usr/local/nagios/libexec/check_dell.pl --chassis
 }

 define command{
 command_namecheck_storage
 command_line/usr/bin/perl
 /usr/local/nagios/libexec/check_dell.pl --storage
 }



 --
 This SF.net email is sponsored by:
 SourcForge Community
 SourceForge wants to tell your story.
 http://p.sf.net/sfu/sf-spreadtheword
 ___
 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


l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

Show me a young conservative and I'll show you someone with no heart.
Show me an old liberal and I'll show you someone with no brains.
~ Winston Churchill

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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] Manage Nagios Project from specifications to deployment

2008-12-24 Thread Brian A. Seklecki




 and how much time such project can take...


As long as it takes.

It will probably take you years to become intimately familar with Nagios.

~BAS
--
___
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 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 and Festival

2008-12-16 Thread Brian A. Seklecki
 I have recently upgraded to Fedora10.  It seems every release they
 decide to break something.  Fedora9 was Video.

Actually in FC10 they broke fonts, DRI on the i810, and ACPI.  But that's 
okay, no one puts those chips in laptops.

~BAS

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
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] Distributed monitoring without direct networkconnection

2008-11-28 Thread Brian A. Seklecki


If I get this working I'll treat myself to curry :)



Try a coconut milk + pineapple curry.  Serve with ginger salad.  Little 
closer to heaven.  ~BAS-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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] make-install-init fail

2008-11-19 Thread Brian A. Seklecki

 make install-init
 /usr/bin/install -c -m 755 -d -o root -g root /etc/rc.d/
 install: root: Invalid argument

There is no root group on *BSD and assuming that there is is a fatal 
mistake (this isn't a POSIX requirement).

There should be case/ifdef code in that makefile to check the platform.

The FreeBSD port, which you should consider using, patches this bug.

~BAS

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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 on Solaris 10

2008-10-26 Thread Brian A. Seklecki


A first order of business would be to install Pkgsrc[.org].

Also:

http://ls5-www.cs.uni-dortmund.de/~windmueller/nagios-solaris10.html

On Sun, 26 Oct 2008, adam brooke wrote:


Yes thanks Luc, that would be most helpfull. Any tips and tricks for the 
installation would be very helpful as I am a newbie to Solaris,

Regards,

Adam




Date: Fri, 24 Oct 2008 08:50:58 -0700
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [Nagios-users] Nagios on Solaris 10

Adam,

Do you need the SMF ?
All my Nagios servers runs [Open]Solaris and uses my own SMF.
Let me know and I can help you

-ls

adam brooke [EMAIL PROTECTED]
   wrote at Fri, Oct 24, 2008 at 01:34:18PM +:


Dear All,

Just a short question. Does anyone know if a quick install guide has been 
written for installing Nagios 3.x on Solaris 10?
If so could you please forward me a link?



_
Discover Bird's Eye View now with Multimap from Live Search
http://clk.atdmt.com/UKM/go/111354026/direct/01/


l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

Guilty? Yeah. But he knows it. I mean, you're guilty.
You just don't know it. So who's really in jail?
~Maynard James Keenan
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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_website_fingerprint ?

2008-10-13 Thread Brian A. Seklecki

All:

Anyone have a nice plugin to valid a website's contents against a 
cryptographic fingerprint (e.g., defamation/content manipulation check)?

nagiosexchange.org says no.

I was thinking something simple with PHP+SimpleXML+mhash. Take the 
expected fingerprint as $argv[1] and the URL as $argv[0].

The tricky part is exempting dynamically generated content from the 
checksum.

~BAS

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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_CVSUp / PServer - Nagios Plugins?

2008-10-10 Thread Brian A. Seklecki

Hey all:

One of the big pitfalls of running a public CVS/CVSup/FTP mirror seems to 
be poor reporting on failed updates.

I'd like add some Nagios monitoring to our project.

For FTP and CVSUP rsyncs, I can have my cron(8)'d update scripts touch(1) 
a file if [ $? = 0 ]; then check them with libexec/nagios/check_file_age 
for mtime/utime.

However, I'd also like to monitor the CVSup and PServer services as well 
at the protocol level.

There do not seem to be any plugins in the public domain.

Ideas:

CVSUp:
   - php/perl/python bindings/libraries to talk cvsup protocol and maybe
 query a list of collections, plus the protocol version negotiated?

   - Is there maybe a way to exec() the cvsup(1)/csup(1) client in list
 mode?  Does the protocol have a list operation?

CVS Pserver:
   - Maybe just do a cvs log src/Makefile -- verifies that the protocol
 is active.

SSH:
   - Duh

FTP/RSYNC:
   - Yea


Thougths?  Discussion?

l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

 Guilty? Yeah. But he knows it. I mean, you're guilty.
 You just don't know it. So who's really in jail?
 ~Maynard James Keenan


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] NRPE not display correct results

2008-10-09 Thread Brian A. Seklecki



EZ:

We're going to need to see some config files and example outputs.

~BAS

On Thu, 9 Oct 2008, Edwin Zoeller wrote:


I have just noticed a strange thing and hope that someone out there-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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] monitoring bigip F5

2008-09-30 Thread Brian A. Seklecki



Ask F5 if the unit has a VRRP/HSRP MIB ... and if there's a table in that 
MIB that has all of the VRIDs, priorities, associated IPs, and States 
(init, master, slave).


You should be able to be able to form your SNMP query that way.

In Radware, we have a SOAP-XML interface, so we can do it wicked-quick w/o 
SNMP ~BAS



On Tue, 30 Sep 2008, Kermito le kermit wrote:




hello all,

I want to know if is possible to monitoring the active and standby F5 or know 
the OID to have this information

thanks,

l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

Guilty? Yeah. But he knows it. I mean, you're guilty.
You just don't know it. So who's really in jail?
~Maynard James Keenan
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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] OS Application version information

2008-09-24 Thread Brian A. Seklecki


Yea check_snmp against SNMPv2-MIB::sysDescr.0 (equiv to $ uname -a)

command_namecheck_snmpagent
command_line$USER1$/check_snmp -H $HOSTNAME$ -o 
SNMPv2-MIB::sysDescr.0 -C $ARG1$
}



On Wed, 24 Sep 2008, adam brooke wrote:


 Is is possible to use Nagios to audit server OS and Apllication release 
 versions?

 If so are there plugins already written for this purpose?

 Kind Regards,

 John
 _
 Win New York holidays with Kellogg?s  Live Search
 http://clk.atdmt.com/UKM/go/111354033/direct/01/
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 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


l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

 Guilty? Yeah. But he knows it. I mean, you're guilty.
 You just don't know it. So who's really in jail?
 ~Maynard James Keenan


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Failing event_handlers and ocsp/ochp_command silently fail not logged

2008-08-27 Thread Brian A. Seklecki
From back in January -- there has been other discussion on similar
issues, but no discussion / traction on this bug (and of course, no
medium to report it, track it, document it, submit bugs/patches, etc.)

The problem is that the exact same code forking/exec'ing code is used
for:

 - Service/Host Checks
 - Event Handlers
 - Notify Commands
 - OCHP/OCSP Handler
 - Performance Data Handlers

Result codes are explicitly registered with the API.

126 and 127 are also checked for explicitly and warned/logged (but only
in recent versions).  Of course 0,1,2,3 are evaluated as Service/Host
check API values.

  568   /* check for possibly missing scripts/binaries/etc */
  569   if(result==126 || result==127){

The problem is that 0,1,2,3 and != 126/127 can have different
connotations and for non host-service check forks, but the
method/function called, my_system(), doesn't have a way of
distinguishing the calling method to change logging behavior, which it
should.

The problem is further complicated by rampant use of pipes and other
exotic Bourne-style expressions being used in command_line variables
withing Nagios (one book in particular set this in motion), which,
depending oh how compliant a Bourne-shell is, can behave differently on
various systems.  Examples below, and, by no means, are they mean to be
definitive, as how bash(1) forks may behave entirely different than
exec().

Embedded perl could also further complicate things (but of course)

Solution 1:
  - Teach my_system() to behave different for non-healthcheck forks

Solution 2:
  - Call a shell script wrapper for OCSP/OCSP/Pref/Event/Notify  

Solution 3 (added begrudgingly):
  - Tell send_nsca and other builtins to use error codes  3,  4-125
and 129-231 are available, but this doesn't fix the problems 
with pipes outlined below.


~BAS


$ echo test | /doesntexist
-bash: /doesntexist: No such file or directory
$ echo $?
127


$ /doesntexist | echo foo
foo
-bash: /doesntexist: No such file or directory
$ echo $?
0


$ echo  test.sh
$ chmod -x test.sh
$ /home/seklecki/test.sh
-bash: /home/seklecki/test.sh: Permission denied
$ echo $?
126


$ echo test | ./test.sh
-bash: ./test.sh: Permission denied
$ echo $?
126

$ ./test.sh | echo foo
-bash: ./test.sh: Permission denied
foo
$ echo $?
0

$ echo fuck shit ass | /usr/local/sbin/send_nsca -H cock.gobbling.asshat
Could not open config file 'send_nsca.cfg' for reading.
Error: Config file 'send_nsca.cfg' contained errors...
$ echo $?
2




On Wed, 2008-01-02 at 15:06 -0500, Brian A. Seklecki wrote:
 What happens if ocsp/ohcp commands return non-zero status?
 
 # send_nsca -H doesnt.fucking.exist -c foo/etc/nagios/send_nsca.cfg
 Invalid host name 'doesnt.fucking.exist'
 Error: Could not connect to host doesnt.fucking.exist on port 5667
 # echo $?
 2
 
 When this happens, its a very serious problem.  Nothing is logged. This
 results in a silent failure. 
 
 Obviously, send_nsca should transmit to a hostname in hosts(5) and/or to
 an IP address that is highly available resolving any dependency on DNS. 
 
 But even with that in mind, this exec()/fork() model behavior is
 pragmatically incorrect.
 
 The code should be checking result code for return values != 0, and
 printing a critical error to the logs.
 
 Moreover, even with debug_level=99
 
 No warning / error / notice occurs:
 
 
 [1199302511.076169] [001.0] [pid=75615] handle_host_state()
 [1199302511.076189] [001.0] [pid=75615]
 obsessive_compulsive_host_check_processor()
 [1199302511.076229] [001.0] [pid=75615] get_raw_command_line()
 [1199302511.076261] [2320.2] [pid=75615] Raw Command Input: /bin/echo
 $HOSTNAME$//$HOSTSTATEID$//'$HOSTOUTPUT$' | /usr/local/sbin/send_nsca -H
 fbsd01.cfi.biz -c /usr/local/etc/nagios/send_nsca.cfg -d //
 [1199302511.076284] [2320.2] [pid=75615] Expanded Command
 Output: /bin/echo $HOSTNAME$//$HOSTSTATEID$//'$HOSTOUTPUT$'
 | /usr/local/sbin/send_nsca -H fbsd01.cfi.biz
 -c /usr/local/etc/nagios/send_nsca.cfg -d //
 [1199302511.076289] [016.2] [pid=75615] Raw obsessive compulsive host
 processor command line: /bin/echo $HOSTNAME$//$HOSTSTATEID
 $//'$HOSTOUTPUT$' | /usr/local/sbin/send_nsca -H fbsd01.cfi.biz
 -c /usr/local/etc/nagios/send_nsca.cfg -d //
 [1199302511.076664] [001.0] [pid=75615] process_macros()
 [1199302511.076683] [2048.1] [pid=75615]  BEGIN MACRO PROCESSING
 ***
 [1199302511.076700] [2048.1] [pid=75615] Processing: '/bin/echo
 $HOSTNAME$//$HOSTSTATEID$//'$HOSTOUTPUT$' | /usr/local/sbin/send_nsca -H
 fbsd01.cfi.biz -c /usr/local/etc/nagios/send_nsca.cfg -d //'
 [1199302511.076720] [2048.2] [pid=75615]   Processing part: '/bin/echo '
 [1199302511.076739] [2048.2] [pid=75615]   Not currently in macro.
 Running output (10): '/bin/echo '
 [1199302511.076758] [2048.2] [pid=75615]   Processing part: 'HOSTNAME'
 [1199302511.076780] [2048.2] [pid=75615]   Uncleaned macro.  Running
 output (16): '/bin/echo fbsd01'
 [1199302511.077138] [2048.2] [pid=75615]   Just finished

Re: [Nagios-users] Failing event_handlers and ocsp/ochp_command silently fail gged

2008-08-27 Thread Brian A. Seklecki

 There's no problem with pipes. You may not agree with the standard, but
 that's not a problem with pipes. It's a problem with you.

AE: No need to make it personal.

The problem is not pipes, the POSIX standard, or adherence to standards 
(*).  It's how _pipes can obfuscate the problem_, and how letting 
handlers contain them can lead to to:
  - Obfuscation
  - Problems with escaping
  - Syntax problems
  ... calling a wrapper or moving the code inside would solve some of this.

 Rather; Create a simple API that runs a process, storing everything
 interesting in a publicly declared data structure and calls a
 handler when the command is done executing.
 Preferrably the API should have a shortcut to let in-core code feed
 continuous input to it.

Sounds fine.  Or your other suggestion: Don't crunch 0,1,2,3 as 
health check results when not execing a healthcheck.


~BAS

Although its not quite noon yet on the East coast yet, so I'll take a 
moment to bash on GNU/Linux and ignoring standards:

   My current favorite is GNU libc and fclose(3) will let you fclose() a
   null  file pointer without error/warning (segfault is the expected result)




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Any plugin for a TroubleTicketing System for Nagios??

2008-08-10 Thread Brian A. Seklecki
On Sun, 2008-08-10 at 13:31 -0400, Thomas Guyot-Sionnest wrote:
 FYI in my setups Nagios have it own SMTP server so that if the mail

SMTP sounds nice, except in general it really isnt :)

You'll need a discriminating logic check to selectively generate tickets
for hosts/service status changes.  For example, the health check on your
CMS system probably shouldn't try to generate a CMS ticket.

Maybe a special contact group and/or regex matching in your
notify_command.

 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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 freshness checks randomly think check results are from 1973.

2008-08-10 Thread Brian A. Seklecki
On Sun, 2008-08-10 at 10:46 -0400, fevin Kagen wrote:
 I'm having this exact same issue on two different Nagios servers.  One
 running Fedora and one running Ubuntu.  It is

You're running the amd64/x86_64 kernel/userland on these platforms,
right?

~BAS


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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_ssl_cert w/ PKI / X.509 Chain Validation

2008-08-06 Thread Brian A. Seklecki

Two new notes:


   1) Extracting the root CA cert DB from FF3 manually (GUI + Select all)
 to PEM works fine with c_rehas.pl
$ openssl s_client -verify 4 -connect www.gmail.com:443 2 1 | egrep \
Verify\ return\ code
 Verify return code: 0 (ok)


   2) I'm unable to find the file system database that contains the root
 CA, otherwise the process could be automated:

 $ for a in $(certutil -L  -d ~/.mozilla/firefox/3u995ypq.default/ |
   egrep -v Nickname | cut -f1 -d ' ' -s ); do certutil -L  -d
   ~/.mozilla/firefox/3u995ypq.default/ -a -n $a  /tmp/$a.pem; done


 However:

  1) certutil(8) is awful and doesn't escape the DB nick column with
 quotes, making it impossible to regex out the cert name.
  2) In FC9 and FBSD7, neither /etc/pki/nssdb/ or
 /usr/{local/share|lib64)/firefox-3.0.1 has the the certutil
 format'd DB to automate the extract process from.

Anyway, the root CA DB doesn't change very often, so code can be written 
around this for now.

~BAS



On Wed, 11 Apr 2007, Brian A. Seklecki wrote:


 These scripts are great thank you very much to all involved who contributed 
 (no e-mail address for 'mastrboy'). .  I'm considering spending some time 
 adding additional functionality:

 --

 In addition to simply parsing the date and comparing the date/time, I'd like 
 to test the validity of the X.509 Cert against it's PKI infrastructure using 
 the OpenSSL routines.

 I'm pretty sure that this can be accomplished by checking the result code of 
 openssl 's_client' or 'verify'; both permit for -CApath and -CAfile.

 For internal PKI, this is pretty straightforward; just specify your 
 organization's Root CA Cert.

 For public cert verification; it gets tricky because you have to take a 
 certificate store like the Mozilla NSS/NSPR default and convert it into 
 OpenSSL c_rehash format -- taking ideas on that here.

 http://lxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt

 Thoughts?

 l8*
   -lava (Brian A. Seklecki - Pittsburgh, PA, USA)
  http://www.spiritual-machines.org/


l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

 Guilty? Yeah. But he knows it. I mean, you're guilty.
 You just don't know it. So who's really in jail?
 ~Maynard James Keenan


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] SVN Nagios compiling problem on NetBSD

2008-08-05 Thread Brian A. Seklecki
On Thu, 2008-07-31 at 20:44 -0300, Marcel wrote:
 Did any of NetBSD sysadmins out-there knows of any way to get svn
 nagios compiled on NetBSD 2.1?

_2.1_ Um.  2.x is EOL a long time ago.  

Those functions are available in NetBSD 3.x:

bash-3.1$ grep -ir pthread__cleanup_push /usr/include/*
/usr/include/pthread.h: pthread__cleanup_push((routine),(arg),
__store);
/usr/include/pthread.h:void pthread__cleanup_push(void (*)(void *),
void *, void *);


~BAS


-- 

~BAS



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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 and AIX compatibility question

2008-08-05 Thread Brian A. Seklecki
On Wed, 2008-07-30 at 15:33 -0400, Jennifer L Wicker wrote:
 Does anyone know for certain if Nagios is compatible running on AIX
 6.1? We currently have Nagios 2.8 on AIX 5.3 wtih no issues - thank
 you!

You could send the developers some reference platform hardware and copy
of the OS with a full toolchain.

~BAS



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] dell printer server

2008-07-27 Thread Brian A. Seklecki


On Tue, 22 Jul 2008, Kermito le kermit wrote:

 hello all,
 
 I want to know if there are a plugin for check the dell printer spool 
 cartouche


Check to see if it support SNMP.  Dell OEMs Lexmark, IIRC, and that 
support SNMP.

~BAS

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] a reboot switch or router

2008-07-11 Thread Brian A. Seklecki



On Fri, 11 Jul 2008, Ange AMBEMOU wrote:



 helo,

how know switch or router are reboot and  send notifiction.



Use the check_snmp check on DISMAN-EVENT-MIB::sysUpTimeInstance

$ snmpwalk -v2c -c foo hv00 |more

SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (32732343) 3 days, 
18:55:23.43


~BAS


i explain  if  in config of my router check period is 10mn  and between to 
check the router be  down after up the next check see only the router is up. 
how make alert to say the
router down immediatly

sorry for my bad english :)

thanks. 



_
Envoyé avec Yahoo! Mail.
Une boite mail plus intelligente.
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
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] NRPE-2.12 on VMWare ESX Server 3.5

2008-07-03 Thread Brian A. Seklecki
On Thu, 3 Jul 2008, Lorand S. D'Caltan wrote:

 I did the ldd and copied the files but the missing stuff still shows as 
 missing, it's stuff from the GLIBC package so I suspect it was 
 deliberately left out of ESX.

Jesus ! -- how bad could it be?

trust:$ ldd /usr/local/sbin/nrpe2

  /usr/local/sbin/nrpe2:
 libssl.so.4 = /usr/lib/libssl.so.4 (0x800638000)
 libcrypto.so.4 = /lib/libcrypto.so.4 (0x80077)
 libwrap.so.4 = /usr/lib/libwrap.so.4 (0x8009b7000)
 libc.so.6 = /lib/libc.so.6 (0x800abf000)

Well, you paid for it -- you need to crawl up VMWare's ass and stay there 
until they fix this.

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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] NRPE-2.12 on VMWare ESX Server 3.5

2008-07-02 Thread Brian A. Seklecki
On Wed, 2008-07-02 at 14:38 -0400, James Pratt wrote:
  
 
 Hi.  have you tried Dag’s RHEL3 rpm’s?  … Personally, I would just use
 SNMP, as  ESX doesn’t like 3rd party agents/software, and neither does


Its just one binary and an RC script -- you can probably safely cross
build it.

~BAS

  vmware support… :\  
 
  
 
 Regards,
 
 jamie
 
  
 
 From:[EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Lorand S. D'Caltan
 Sent: Wednesday, July 02, 2008 2:24 PM
 To: 'nagios-users@lists.sourceforge.net'
 Subject: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5
 
 
  
 
 I’ve been beating on this for a while now and I can’t get around this
 particular error in the NRPE configuration stage:
 
 
  
 
 
 checking for type of socket size... size_t
 
 
 checking for SSL headers... SSL headers found in /usr/local/ssl/
 
 
 checking for SSL libraries... configure: error: Cannot find ssl
 libraries
 
 
  
 
 
 I’ve installed OpenSSL-0.9.8h and OpenSSL-devel-0.8.9h-1 and neither
 of them apparently contain the correct libs.
 
 
  
 
 
 This is ESX, so it’s a very stripped down Linux and I don’t have RPM
 abilities so I can’t install the libopenssl RPM package.
 
 
  
 
 
 Any suggestions?
 
 
  
 
 
 Thanks
 
 
  
 
 
  
 
 
 Lorand S. D'Caltan
 
 
 Systems Engineer
 
 
 iSystems LLC
 
 
 (802) 655-8347 x157
 
 
 
 CONFIDENTIALITY: The information contained in this message may be
 privileged and confidential and protected from disclosure. No
 confidentiality or privilege is waived or lost by any mistransmission.
 If the reader of this message is not the intended recipient, or an
 employee or agent responsible for delivering this message to the
 intended recipient, you are hereby notified that any dissemination,
 distribution or copying of this communication is strictly prohibited.
 Please immediately delete it and all copies of it from your system,
 destroy any hard copies of it and notify the sender. Thank you.
 
 
  
 
 
  
 
 
  
 
 
 -
 Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
 Studies have shown that voting for your favorite open source project,
 along with a healthy diet, reduces your potential for chronic lameness
 and boredom. Vote Now at http://www.sourceforge.net/community/cca08
 ___ 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


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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] FreeBSD Nagios 2.12

2008-07-02 Thread Brian A. Seklecki
On Thu, 2008-07-03 at 00:25 +0930, Andrew D wrote:
 a 5.x box I upgraded to 6.3 (on my todo list anyway) and bingo away
 it 

5.x is EOL anyway.

This is one of those outstanding bugs that would be prime Wiki/FAQ
material.

~BAS


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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 2.12 author format

2008-06-28 Thread Brian A. Seklecki

On Thu, 2008-06-26 at 10:04 -0400, Kent Saunders wrote:
 I have just upgraded from Nagios 2.10 to 2.12 on Red Hat Enterprise 
 Linux 4, update 6.
 
 I am now seeing a formatting issue with pre-populated user names in 
 comments and downtime.  Examples, John Doe displays as John+Doe, and 
 [EMAIL PROTECTED] shows as jdoe%40here.com.

Check the mtime on notifycommands.cfg.

notify-by-email specfically.

Did oyu say that you udated RHEL?  Did postfix get upgraded?  It sounds
like an MTA rewrite.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] creating a nagios cluster

2008-06-28 Thread Brian A. Seklecki

On Fri, 2008-06-27 at 13:59 +, Assaf Flatto wrote:
 Hello 
 
 I want to setup a nagios cluster that will be in active/passive (using
 heartbeat).
 I want to be able to disable notifications from the passive server and
 have it go to passive mode , 

No tools or projects exist yet specifically for setting up nagios
clusters, we're hoping to change that, but your configuration is pretty
generic.

~BAS


 (so when it does come up it will not take a long time to present the
 display).
 I need the failover to be able to preform these changes .
 Has anyone build such a cluster before ? 
 what pitfalls have you encountered on this ?
 
 Thanks
 
 Assaf 
 
 



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] [Fwd: Bug Reporting / Issue Tracking System ?]

2008-06-28 Thread Brian A. Seklecki

 
 There are tons of reasons not to use the SF bugtracker (it sucks). I

Of course.  Need get one of the big shops to volunteer some hardware and
facilities to host a real one.  Maybe the IBM/HP/Cisco guys can ante up
and make a donation?  We'll (Collaborative Fusion, Inc.) host it if need
be.  Its a minor logistical problem.

 The problem with a) is that the data in the tracker quickly gets a
 very poor signal-to-noise ratio, where people post RTFM issues, minor
 annoyances and duplicate bug reports (these things happen because
 most people are lazy retards). The use of the tracker quickly

Right -- you close those tickets as wont fix or not a bug.  Just
don't do it for real bugs -- like the PHP people do.

 deteriorates to the point where some people moan about there being
 issues in the tracker that are 2+ years old and nobody cares about
 them.
 
 The problem with b) is that it requires additional effort from
 the developer(s) (one extra place to check for bugs) and, if such

Assign a steward.  Generate weekly reports.  I'll be the whipping boy
for the first 6-9 months.

 a one is present, the tracker manager. Otherwise it's devs again.
 
 You'll still have to have the mailing list for pooling ideas and
 random chitchat, so everything that should have gone to the tracker

Just like every other project, if people _really_ want a bug fixed, they
will take the time to submit the PR with all of the details.  You get
out what you put in.

 list any old way he wants. I'm guessing he's not willing to change
 his workflow without some significant benefit for himself, such as

Safe to postulate.

 a second developer, or a group of developers, asking for a tracker
 so they can coordinate their work.

That's an overall project organization issue that is beyond my mandate
to comment on.  If more developers are needed, a call for developers
should me made publicly.  

I can tell you that a PR system will certainly appeal to potential
developers.  It adds structure and credibility .. panache :)

 Personally, I wouldn't care very much for users wanting a bugtracker,
 because they wouldn't be the ones using it (except to report bugs,
 but on average people do that so poorly they might as well not
 bother).

Wow. Well.  Its a bit different in a small business.  I call them
customers.  But I generally agree with your assessment.  I'm what
Barrack calls A bitter Pennsylvanian

 I *would* care if some proven developers stepped up and said
 hey, we've got x active bugs and y feature-requests, but we have no
 idea of knowing who's doing what without constantly talking to each
 other. I've set up this tracker here and added all the current issues
 to it, and I'm gonna be using that, so check there if you want to
 know what you can leave for me. It's the difference between saving
 time and wasting it.

Right.  I agree.

So we might as well give it a shot? Set it up for 6-8 months, evaluate
the progress and based the impact and results of releases during that
period.

As a trial run, for initial population, your best resources would be the
Ports/Package maintainers at the various projects (*BSD, Debian, Gentoo,
Fedora, OpenSolaris, Fink, etc.).  Have them feed any outstanding
patches back upstream.  I think that you'll find that group be
disciplined in the practice of using a PR/ITS properly to their
advantage.

~BAS


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] AIX install

2008-06-26 Thread Brian A. Seklecki
On Thu, 2008-06-26 at 11:39 +0200, Oliver Devoogdt wrote:
 Hi,
 
 
 I can't find a way to complete the compilation for the latest version
 of Nagios on my AIX 5.3 machine.

Oh man...AIX.

Best bet is to install the linux compat packages and try to get
Pkgsrc[.org] to build.

~BAS


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] Populate switches and routers

2008-06-26 Thread Brian A. Seklecki
On Thu, 2008-06-26 at 11:36 +0200, Tom DE BLENDE (EECC) (DHL) wrote:
 Hi list,
  
 Has anyone any experience with using cdp or another discovery method
 to automate the process of setting up your network layout in Nagios? I
 have to roll out Nagios in a network with hundreds of (Cisco) switches

You could use perl/php to do this in about 20 lines by parsing sh bgp
neighbors or show cdp *

It depends on how many interfaces on every router that you'd like to
monitor, and whether they have proper reverse/forward DNS for every
interface.

~BAS



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] [Fwd: Bug Reporting / Issue Tracking System ?]

2008-06-25 Thread Brian A. Seklecki
On Wed, 2008-06-25 at 14:14 -0400, Jay R. Ashworth wrote:
 And if other people work the tickets.

I'll volunteer to have my team manage tickets and generate reports.  

Its just a reality of work-flow management in F/OSS projects.

Consider at Net-SNMP, one of the most active projects on sf.net (*),
tracker stats -- only 7 active developers and:

 Bugs   ( 294 open / 1960 total )
 Feature Requests   ( 95 open / 160 total )
 Official Patches   ( 11 open / 46 total )
 Patches   ( 37 open / 915 total )

~BAS

* http://www.net-snmp.org/about/history.html


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] [Fwd: Bug Reporting / Issue Tracking System ?]

2008-06-25 Thread Brian A. Seklecki

 Yes, precisely my point.  If no developers are closing tickets, having
 a tracking system is somewhat beside the point.  

My opinion is that Net-SNMP actually doing a suburb job.

Good enough that vendors are shipping it embedded (a la OpenSSH into
Cisco and HFUX)

Moreover, even if tickets cannot be immediately solved/closed, they
should still be documented to eliminate unnecessary duplication of
reporting / coding / testing efforts.

Having a 15% open bug ticket rate does in no way reflect poorly upon a
project.

Conversely, having a 60% NFR ticket rate reflects favorably upon a
project -- representing tangible interest in future development efforts
and illustrating the need for additional developer human resources.

All of that is abstracted from the actuality of developers writing /
testing / documenting code -- the code will be written regardless -- but
1) the chances of 3rd parties contributing patches back in and 2) the
RD overhead of the development process, which the ticketing system only
serve to simplify.

~BAS

 Cheers,
 -- jra


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] [Fwd: Bug Reporting / Issue Tracking System ?]

2008-06-25 Thread Brian A. Seklecki

On Wed, 2008-06-25 at 16:14 -0400, Jay R. Ashworth wrote:
 admit I'm not familiar with their ticket universe, so I retract the
 judgement.

And I would concede that there are certain scenarios where it can be
especially tricky, in terms of conflict of interest, for example when an
F/OSS project is released by a commercial entity marketing a
service/product (who may maintain an internal CMS system).

I'm not implying that that's the case with Nagios, but that was
certainly perfectly valid concern with syslog-ng and public ticket (much
less actually getting public access to SVN/CVS outside of tarballs)

Anyway, this conversation is healthy and productive.

~BAS



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] Forcing a check on a Desginated Slave from cmd.cgi?

2008-06-25 Thread Brian A. Seklecki
On Tue, 24 Jun 2008, Marcel wrote:

 have you looked at DNX? I think it's the way to solve your problem.


I talked to the DNX people about some contract work to develop a 
slave-specific meta-data structure -- none exists -- DNX's decision making 
is based on load distribution metrics.

As for determining which slave to exec a check on using cmd.cgi hack, at 
least for our config, you you could use regexp match against the 
service/host hostname or notes fields to make the decision.

The offer is still on the table for anyone who wants to tackle it.

~BAS

 On Tue, Jun 24, 2008 at 2:06 PM, Brian A. Seklecki 
 [EMAIL PROTECTED] wrote:

 All:


 In the el-generic Master w/NSCA distributed configuration, has anyone
 developed a hack to have cmd.cgi pass a SCHEDULE_FORCED_HOST_CHECK or
 SCHEDULE_FORCED_SVC_CHECK received by the master instance, onto a
 designated slave?

 We have a config where our slaves are in remote facilities and the
 master can only rely on passive checks -- attempting to force an active
 check on the master is a no-go due to network ACLs and other
 limitations.

 It would be nice to only need one web interface on the master NSCA
 receiver.

 The problem is two-fold (and this gets into the whole inter-component
 architecture discussion) --

 1) Even with a cmd.cgi hack, there is no native meta-data within Nagios
   to associate a host/service with a designated slave.

 2) There is no clean communications channel other than a shell script
   wrapper (ssh and keys, etc. that stdout's to the slave's nagios.cmd
   -- this could get ugly...fast)

 ~BAS


 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 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



l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

 Guilty? Yeah. But he knows it. I mean, you're guilty.
 You just don't know it. So who's really in jail?
 ~Maynard James Keenan


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] [Fwd: Bug Reporting / Issue Tracking System ?]

2008-06-24 Thread Brian A. Seklecki
All:

Its been about six months since we've talked about a bug tracking system
(and other F/OSS project components).  I was just reading Mitchell
Baker's essay in Open Sources 2.0 about the success of the Mozilla
project, and was reminded of the previous thread -- perhaps this a good
time to revisit it?

Since December, there has been a lot of progress, including:

 - The 3.x release (congrats)
 - Dual branch releng process
 - NagiosExchange.org relaunch
 - Additional Forums/Blogs/Wikis

This might be a good opportunity fill in the missing link -- a bug
public tracker.  Certainly beneficial to all parties, even if just for
the formality of filing and tracking bug reports.  It seems to be a
major component of successful F/OSS projects.  Certainly a requirement
to help manage increased user support volume as project momentum and
userbase volume grows.

If we cant get the official SF.net system, then I recommend the
community members address the issue.  Even if its just just an informal
use of a table on a wiki page.

given enough eyeballs, all bugs are shallow -- Eric S. Raymond
-- But only if someone writes them down :)

Thoughts?

~BAS

 Forwarded Message 
 From: Brian A. Seklecki [EMAIL PROTECTED]
 To: nagios-users nagios-users@lists.sourceforge.net
 Cc: Nagios Developers List [EMAIL PROTECTED]
 Subject: Bug Reporting / Issue Tracking System ?
 Date: Thu, 06 Dec 2007 11:19:08 -0500
 
 Am I going crazy or is there no public system for formally tracking bug
 reports / feature requests?
 
 Its disabled on sf.net and the Wiki lacks any such feature.
 
 ~BAS
-- 
Brian A. Seklecki [EMAIL PROTECTED]
Collaborative Fusion, Inc.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] Forcing a check on a Desginated Slave from cmd.cgi?

2008-06-24 Thread Brian A. Seklecki
All:


In the el-generic Master w/NSCA distributed configuration, has anyone
developed a hack to have cmd.cgi pass a SCHEDULE_FORCED_HOST_CHECK or
SCHEDULE_FORCED_SVC_CHECK received by the master instance, onto a
designated slave?

We have a config where our slaves are in remote facilities and the
master can only rely on passive checks -- attempting to force an active
check on the master is a no-go due to network ACLs and other
limitations.

It would be nice to only need one web interface on the master NSCA
receiver.

The problem is two-fold (and this gets into the whole inter-component
architecture discussion) -- 

1) Even with a cmd.cgi hack, there is no native meta-data within Nagios
   to associate a host/service with a designated slave.

2) There is no clean communications channel other than a shell script
   wrapper (ssh and keys, etc. that stdout's to the slave's nagios.cmd
   -- this could get ugly...fast) 

~BAS


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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 VM

2008-06-14 Thread Brian A. Seklecki

On Mon, 2008-06-09 at 14:31 +0200, Andreas Ericsson wrote:
 Besides the clock issue, would you *really* want to monitor your
 VMWare server from within the VMWare server itself? 

Virtualization is a requirement in many environments.

High Availability / Multi-Facility redundancy is a requirement in those
facilities as well.  

A properly deployed Nagios will have a self-promoting standby slave that
in another facility that will take over the notification role and inform
contacts about a failed master VM / Hypervisor.  ~BAS


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] Mixed Nagios versions in a Distributed setup?

2008-06-14 Thread Brian A. Seklecki
On Thu, 2008-06-05 at 14:08 -0700, Ray Keaveney wrote:
 Central server and Nagios 2.x on the Distributed servers.

More-specifically?

Are you notifying from your central and forwarding / submitting passive
checks from your slave?  Does your slave self promote?

Are you running a centralized config file system?

Are your nagios-plugins version different?

~BAS



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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 and SOAP

2008-05-28 Thread Brian A. Seklecki

On Mon, 2008-05-19 at 07:07 +, Nair wrote:
 Any one tried SOAP request integration with Nagios?


A SOAP-XML interface (for say, perhaps, inter-component protocol
communication with NRPE, NSCA, DNX, active-standby promotion) would be
so fucking hawtte ..

~BAS

 
 Thank you,
 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] Nagios 3.0.1 + OpenBSD 4.3 = segfault (core dumped)

2008-05-16 Thread Brian A. Seklecki

Looking for BT output like at the bottom of:
  http://bugs.php.net/bugs-generating-backtrace.php

~BAS


On Fri, 16 May 2008, nuffnough wrote:

 2008/5/16 Brian A. Seklecki [EMAIL PROTECTED]:
 gdb `which nagios` /path/to/core.file

 gdb bt

 Paste results here

 ~BAS


 GNU gdb 6.3
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you are
 welcome to change it and/or distribute copies of it under certain conditions.
 Type show copying to see the conditions.
 There is absolutely no warranty for GDB.  Type show warranty for details.
 This GDB was configured as i386-unknown-openbsd4.3...(no debugging
 symbols found)

 Core was generated by `nagios'.
 Program terminated with signal 11, Segmentation fault.
 Reading symbols from /usr/lib/libpthread.so.9.0...done.
 Loaded symbols for /usr/lib/libpthread.so.9.0
 Reading symbols from /usr/lib/libm.so.2.3...done.
 Loaded symbols for /usr/lib/libm.so.2.3
 Symbols already loaded for /usr/lib/libpthread.so.9.0
 Reading symbols from /usr/lib/libc.so.43.0...done.
 Loaded symbols for /usr/lib/libc.so.43.0
 Reading symbols from /usr/libexec/ld.so...done.
 Loaded symbols for /usr/libexec/ld.so
 #0  0x1c030f83 in mmap_fgets_multiline ()
 (gdb)


 Thanks for your help.  B)

 nuffi


l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

 Guilty? Yeah. But he knows it. I mean, you're guilty.
 You just don't know it. So who's really in jail?
 ~Maynard James Keenan


-
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 3.0.1 + OpenBSD 4.3 = segfault (core dumped)

2008-05-15 Thread Brian A. Seklecki

On Fri, 2008-05-16 at 09:26 +1000, nuffnough wrote:
 hi...
 
 I have been running nagios for quite a long time now.  Never really
 had any problems with it.  But my recent upgrade doesn't seem to be
 going well.


Rebuild it with debugging symbols and run it with ktrace(8) as needed.
~BAS

 After I figured out the differences between 2.10 and 3.0 I thought it
 would be smooth sailing.  Sadly I was wrong.  When I try to run a
 verification now, I get the following output:
 
 
 
 MelMon01:nagios:~/binnagios -v ../etc/nagios.cfg
 
 Nagios 3.0.1
 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
 Last Modified: 04-01-2008
 License: GPL
 
 Reading configuration data...
 
 Segmentation fault (core dumped)
 
 
 
 I am running this on an OpenBSD 4.3 server.  The core dump isn't huge.
  Is there anyone who would like to take a look at it for me?  Where
 should I send it?
 
 TIA
 
 Nuffi
 
 -
 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] Nagios 3.0.1 + OpenBSD 4.3 = segfault (core dumped)

2008-05-15 Thread Brian A. Seklecki
On Fri, 16 May 2008, nuffnough wrote:

 2008/5/16 Brian A. Seklecki [EMAIL PROTECTED]:

 On Fri, 2008-05-16 at 09:26 +1000, nuffnough wrote:
 hi...

 I have been running nagios for quite a long time now.  Never really

if the GNU configure script doesnt have a --with-debugging, export 
CFLAGS=-g and export COPTs=-g

~BAS

 had any problems with it.  But my recent upgrade doesn't seem to be
 going well.


 Rebuild it with debugging symbols and run it with ktrace(8) as needed.


 Thanks for the awesomely quick response, BAS.

 I checked the archives, the faqs,  yahoo.  I even poked around in the
 configure file.  I failed.

 How do I build nagios with the debugging symbols?

 Thanks!

 nuffi


l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

 Guilty? Yeah. But he knows it. I mean, you're guilty.
 You just don't know it. So who's really in jail?
 ~Maynard James Keenan


-
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 3.0.1 + OpenBSD 4.3 = segfault (core dumped)

2008-05-15 Thread Brian A. Seklecki

Does it leave a core file?


On Fri, 16 May 2008, nuffnough wrote:

 2008/5/16 Brian A. Seklecki [EMAIL PROTECTED]:
 On Fri, 16 May 2008, nuffnough wrote:

 2008/5/16 Brian A. Seklecki [EMAIL PROTECTED]:

 On Fri, 2008-05-16 at 09:26 +1000, nuffnough wrote:

 hi...

 I have been running nagios for quite a long time now.  Never really

 if the GNU configure script doesnt have a --with-debugging, export CFLAGS=-g
 and export COPTs=-g


 Thanks for that.  Did as you suggest.  Tailing kdump shows:

 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x3c022000,0x1000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x3c022000,0x1000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 18223 nagios   RET   mmap -2129010688/0x8119e000
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 18223 nagios   RET   mmap -2007908352/0x8851c000
 18223 nagios   CALL  munmap(0x85522000,0x80e)
 18223 nagios   RET   munmap 0
 18223 nagios   CALL  fstat(0x6,0xcfbc9ef0)
 18223 nagios   RET   fstat 0
 18223 nagios   CALL  fcntl(0x6,0x3,0)
 18223 nagios   RET   fcntl 4
 18223 nagios   CALL  fcntl(0x6,0x4,0)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  close(0x6)
 18223 nagios   RET   close 0
 18223 nagios   CALL  open(0x893d2e00,0,0)
 18223 nagios   NAMI  /usr/local/nagios/etc/objects/hostgroups.cfg
 18223 nagios   RET   open 6
 18223 nagios   CALL  fcntl(0x6,0x3,0)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  fcntl(0x6,0x4,0x4)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  fstat(0x6,0xcfbc9f60)
 18223 nagios   RET   fstat 0
 18223 nagios   CALL  mmap(0,0x578,0x1,0x2,0x6,0,0,0)
 18223 nagios   RET   mmap -2067492864/0x84c49000
 18223 nagios   CALL  munmap(0x84c49000,0x578)
 18223 nagios   RET   munmap 0
 18223 nagios   CALL  fstat(0x6,0xcfbc9ef0)
 18223 nagios   RET   fstat 0
 18223 nagios   CALL  fcntl(0x6,0x3,0)
 18223 nagios   RET   fcntl 4
 18223 nagios   CALL  fcntl(0x6,0x4,0)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  close(0x6)
 18223 nagios   RET   close 0
 18223 nagios   CALL  open(0x893d2f80,0,0)
 18223 nagios   NAMI  /usr/local/nagios/etc/objects/services.cfg
 18223 nagios   RET   open 6
 18223 nagios   CALL  fcntl(0x6,0x3,0)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  fcntl(0x6,0x4,0x4)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  fstat(0x6,0xcfbc9f60)
 18223 nagios   RET   fstat 0
 18223 nagios   CALL  mmap(0,0x13338,0x1,0x2,0x6,0,0,0)
 18223 nagios   RET   mmap -1952940032/0x8b988000
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 18223 nagios   RET   mmap 2081120256/0x7c0b6000
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 18223 nagios   RET   mmap -2096656384

Re: [Nagios-users] Nagios 3.0.1 + OpenBSD 4.3 = segfault (core dumped)

2008-05-15 Thread Brian A. Seklecki
gdb `which nagios` /path/to/core.file

gdb bt

Paste results here

~BAS


On Fri, 16 May 2008, nuffnough wrote:

 2008/5/16 Brian A. Seklecki [EMAIL PROTECTED]:
 On Fri, 16 May 2008, nuffnough wrote:

 2008/5/16 Brian A. Seklecki [EMAIL PROTECTED]:

 On Fri, 2008-05-16 at 09:26 +1000, nuffnough wrote:

 hi...

 I have been running nagios for quite a long time now.  Never really

 if the GNU configure script doesnt have a --with-debugging, export CFLAGS=-g
 and export COPTs=-g


 Thanks for that.  Did as you suggest.  Tailing kdump shows:

 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x3c022000,0x1000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x3c022000,0x1000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  sigprocmask(0x1,0x)
 18223 nagios   RET   sigprocmask 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x3)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  mprotect(0x20e95000,0x2000,0x1)
 18223 nagios   RET   mprotect 0
 18223 nagios   CALL  sigprocmask(0x3,0)
 18223 nagios   RET   sigprocmask -65793/0xfffefeff
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 18223 nagios   RET   mmap -2129010688/0x8119e000
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 18223 nagios   RET   mmap -2007908352/0x8851c000
 18223 nagios   CALL  munmap(0x85522000,0x80e)
 18223 nagios   RET   munmap 0
 18223 nagios   CALL  fstat(0x6,0xcfbc9ef0)
 18223 nagios   RET   fstat 0
 18223 nagios   CALL  fcntl(0x6,0x3,0)
 18223 nagios   RET   fcntl 4
 18223 nagios   CALL  fcntl(0x6,0x4,0)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  close(0x6)
 18223 nagios   RET   close 0
 18223 nagios   CALL  open(0x893d2e00,0,0)
 18223 nagios   NAMI  /usr/local/nagios/etc/objects/hostgroups.cfg
 18223 nagios   RET   open 6
 18223 nagios   CALL  fcntl(0x6,0x3,0)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  fcntl(0x6,0x4,0x4)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  fstat(0x6,0xcfbc9f60)
 18223 nagios   RET   fstat 0
 18223 nagios   CALL  mmap(0,0x578,0x1,0x2,0x6,0,0,0)
 18223 nagios   RET   mmap -2067492864/0x84c49000
 18223 nagios   CALL  munmap(0x84c49000,0x578)
 18223 nagios   RET   munmap 0
 18223 nagios   CALL  fstat(0x6,0xcfbc9ef0)
 18223 nagios   RET   fstat 0
 18223 nagios   CALL  fcntl(0x6,0x3,0)
 18223 nagios   RET   fcntl 4
 18223 nagios   CALL  fcntl(0x6,0x4,0)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  close(0x6)
 18223 nagios   RET   close 0
 18223 nagios   CALL  open(0x893d2f80,0,0)
 18223 nagios   NAMI  /usr/local/nagios/etc/objects/services.cfg
 18223 nagios   RET   open 6
 18223 nagios   CALL  fcntl(0x6,0x3,0)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  fcntl(0x6,0x4,0x4)
 18223 nagios   RET   fcntl 0
 18223 nagios   CALL  fstat(0x6,0xcfbc9f60)
 18223 nagios   RET   fstat 0
 18223 nagios   CALL  mmap(0,0x13338,0x1,0x2,0x6,0,0,0)
 18223 nagios   RET   mmap -1952940032/0x8b988000
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0)
 18223 nagios   RET   mmap 2081120256/0x7c0b6000
 18223 nagios   CALL  mmap(0,0x1000,0x3,0x1002,0x,0,0,0

[Nagios-users] checkcommands.conf templates for check_postgres.pl

2008-04-07 Thread Brian A. Seklecki

[may be more nagiosplug-devel@ related, but hey!]


It probably wouldn't be a bad idea to include some checkcommands.conf
templates and example service or hostgroup examples.  See below.



 Templates 


define command {
command_namecheck_postgres_size
command_line$USER2$/check_postgres.pl -H $HOSTADDRESS$ -u
pgsql -db postgres --action database_size -w $ARG1$ -c $ARG2$
}

define command {
command_namecheck_postgres_time
command_line$USER2$/check_postgres.pl -H $HOSTADDRESS$ -u
pgsql -db postgres --action timesync -w $ARG1$ -c $ARG2$
}

define command {
command_namecheck_postgres_backends
command_line$USER2$/check_postgres.pl -H $HOSTADDRESS$ -u
pgsql -db postgres --action backends -w $ARG1$ -c $ARG2$
}

define command {
command_namecheck_postgres_last_vacuum
command_line$USER2$/check_postgres.pl -H $HOSTADDRESS$ -u
pgsql -db postgres --action last_vacuum -w $ARG1$ -c $ARG2$
}

define command {
command_namecheck_postgres_bloat
command_line$USER2$/check_postgres.pl -H $HOSTADDRESS$ -u
pgsql -db postgres --action bloat -w $ARG1$ -c $ARG2$
}

define command {
command_namecheck_postgres_settings_checksum
command_line$USER2$/check_postgres.pl -H $HOSTADDRESS$ -u
pgsql -db postgres --action settings_checksum -c $ARG1$
}


define command {
command_namecheck_postgres_locks
command_line$USER2$/check_postgres.pl -H $HOSTADDRESS$ -u
pgsql -db postgres --action locks -w $ARG1$ -c $ARG2$
}





 Service Check Examples 






[Host Definition]


define service{
use generic-other
host_name   dbhost.gtld
service_description dbhost PostgreSQL Service
Database Usage Size
check_command   check_postgres_size!25600!
51200
}

define service{
use generic-other
host_name   dbhost.gtld
service_description dbhost PostgreSQL Service
Database Locks
check_command   check_postgres_locks!2!3
}


define service{
use generic-other
host_name   dbhost.gtld
service_description dbhost PostgreSQL Service Last
Vacuum
check_command   check_postgres_last_vacuum!600!
900
}

define service{
use generic-other
host_name   dbhost.gtld
service_description dbhost PostgreSQL Service
Database Configuration Checksum
check_command
check_postgres_settings_checksum!654104dd9397d7032c275a165c33d6e0
}

define service{
use generic-other
host_name   dbhost.gtld
service_description dbhost PostgreSQL Service
Database Bloat
check_command   check_postgres_bloat!300!
900
}

define service{
use generic-other
host_name   dbhost.gtld
service_description dbhost PostgreSQL Service Active
Backend Threads
check_command   check_postgres_backends!40!60
}

define service{
use generic-other
host_name   dbhost.gtld
service_description dbhost PostgreSQL Service NTP
Jitter
check_command   check_postgres_time!1!2
}



-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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] smart monitoring and Dell PERC RAID?

2008-04-06 Thread Brian A. Seklecki
On 
 OMSA contains a program for monitoring PERC controllers.  It shouldn't
 be hard to wrap a nagio check around it.  In fact, there's a number of

OMSA just wraps around megacli(8), megarc(8), and IPMI.  Check nagios
exchange for usage there.

~BAS

 user contributed checks already at:
 
 http://new.nagiosexchange.org/cgi-bin/page.cgi?g=Imported_projects%2FCheck_Plugins%2FHardware%2FDELL_Server%2Findex.html;d=1
 


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
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] best way to monitor 2nd nic and vlan IP

2008-04-04 Thread Brian A. Seklecki

On Fri, 2008-04-04 at 15:11 +0200, Heiko wrote:
 Hello,
 
 I have some servers that use 2 Network Cards and also have some VLAN
 tagged on these devices,

That is the universal connumdrum of the nagios data structures revolving
around hosts.

If you were monitoring a router, you would indeed monitor ever
interface.

I would designate a administrative interface, by which you can check
the status of the other interfaces on the system using NRPE remote
checks and/or check_snmp on the interface MIBs.

There's a thousand different ways that you can do it.

~BAS

 How can I configure nagios to check these without having to add a
 seperate host for each interface, vlan.
 I would like to click on the host and see all the info at once.
 
 
 thx and greetings
 
 
 Heiko
 
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 ___
 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


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] nrpe oddity

2008-03-04 Thread Brian A. Seklecki

On Mon, 2008-03-03 at 15:52 -0500, Ugo Bellavance wrote:
 su - nagios
 
  Is your  environment clean?
 
 Hum, how woudl I check that?
 

su - user should clean your enviromnent out.  try export or set in
the new shell

  
  Try ktrace(8)/strace(8) for a good time.
 
 How would I use strace? strace -p $PIDofNRPE?

Yea, sudo -H -u nagios [ktrace|strace] nrpe [flags]

If you're using ktrace, you can get the output using kdump 
~/kdump_log.txt




-
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] Cisco Call Manager Monitoring

2008-03-02 Thread Brian A. Seklecki

On Mon, 2008-02-04 at 21:50 +0100, zack kenton wrote:
 Hi list
 
 does anyone know of a way to monitor cisco call manager? its on an HP
 server

Did you look for a MIB file?  Did you SNMP Walk it?

Likely it runs Windows NT and has customizations to the built-in agent.

~BAS


 
 
 - zack kenton (zkenton)
 
 ---
 The mailing list archive is found here:
 http://www.nagiosexchange.org/nagios-users.34.0.html
   
 
 -
 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] Cisco Call Manager Monitoring

2008-03-02 Thread Brian A. Seklecki

On Mon, 2008-02-04 at 20:17 +0100, zack kenton wrote:
 Hi list
 
 does anyone know of a way to monitor cisco call manager? its on an HP
 server

It probably runs NT from what I recall during CCNP.  Port scan it and
share your results.  Likely monitor it via the SNMP agent.

~BAS

 
 
 - zack kenton (zkenton)
 
 ---
 The mailing list archive is found here:
 http://www.nagiosexchange.org/nagios-users.34.0.html
   
 
 -
 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] [Mediawiki-l] Checking MediaWiki Health with Nagios?

2008-02-28 Thread Brian A. Seklecki
On Sat, 2008-01-12 at 23:17 -0600, Gabriel Millerd wrote:
 On Jan 12, 2008 10:27 PM, Brian A. Seklecki (Mobile)
 [EMAIL PROTECTED] 
  Does anyone have a MW addon or Nagios Check (maybe utilizes the SOAP XML

Gabriel et al.:

  API) that queries the application-level health of MediaWiki.

I've finally found time to write a small nagios plugin.  Here's an
example screen shot.  It just consumes api.php using SimpleXML's PHP5
bindings.

http://people.collaborativefusion.com/~seklecki/images/cf_mediaWiki_NagHC_ex0.png

I'll clean it up and post it to nagiosexchange.org just as soon as I
have a moment to clean up the code.  I may need some advice on getting
SimpleXML's simplexml_load_file() in combination with PHP's URI black
magic to work with Mediawiki api.php authentication cookies.  

The underlying library may or may not support cookies
(curl/wget/openssl).

~BAS

 I would hit Special:Statistics, perhaps grabbing the The job queue
 length is (\d+). for giggles or similar.
 
-- 
Brian A. Seklecki [EMAIL PROTECTED]
Collaborative Fusion, Inc.


-
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] FW: I can't get my event handler to fire!

2008-02-22 Thread Brian A. Seklecki

Nagios doesn't check exec() error code results on event handlers.
non-zero return codes should be logged as critical errors.  

It's a known bug.  I reported it a while ago.

~BAS

On Wed, 2008-02-20 at 13:21 -0500, D'Ausilio, John wrote:
 Searching the archives I found where to look in debug .. it appears that
 Nagios thinks it's running my event handler. Macro expansion looks fine.
 Problem is .. it's not actually running it! Still lost ...
 
 -Original Message-
 From: D'Ausilio, John 
 Sent: Wednesday, February 20, 2008 11:45 AM
 To: 'Marc Powell'; nagios-users@lists.sourceforge.net
 Subject: RE: [Nagios-users] I can't get my event handler to fire!
 
 Well, I added event_handler_enabled configuration and still I'm not
 getting my event handler fired. I've tried both for the service (PING)
 and for the host, individually and in combination. I don't see anything
 in the debug logs that would indicate that an event handler should have
 fired (even with the filter set to -1). The script is executable by the
 nagios user (logged in as that user, execute same commandline as in
 command def, no problem).
 
 1. What/where should I be able to see in terms of event handlers firing
 in the logs?
 
 2. Are event handlers affected by notification settings (I'm assuming
 not)?
 
 3. What the heck am I doing wrong? This looks like it should be
 straightforward!
 
 john d
 
 
 But not in the service{} definition unless it's referenced in the
 template. In addition to the program-wide setting, it must also be
 specifically enabled on a per-service basis.
 
 
 ##
 The information contained in this communication is confidential and
 may contain information that is privileged or exempt from disclosure
 under applicable law. If you are not a named addressee, please notify
 the sender immediately and delete this email from your system.
 If you have received this communication, and are not a named
 recipient, you are hereby notified that any dissemination,
 distribution or copying of this communication is strictly prohibited.
 ##
 
 -
 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] nagios.cmd over nfs

2008-01-22 Thread Brian A. Seklecki
On Tue, 2008-01-22 at 13:09 -0500, Kyle O'Donnell wrote:
 Hi,
 
 I've migrated the nagios web interface onto a different physical
 server, nfs mounting the nagios directory from the actual nagios
 server.
 
 Only snag I'm running into right now is trying to access the
 nagios.cmd pipe over nfs.  When trying to schedule downtime, disable
 notifications etc... the web interface just spins. I see cmd.cgi is
 being executed, but nothing happens.

Is NFS rpc.lockd running?  Try mount_nfs(8) with '-L'

 -L  Do not forward fcntl(2) locks over the wire.  All locks will be
 local and not seen by the server and likewise not seen by other
 NFS clients.  This removes the need to run the rpcbind(8) service
 and the rpc.statd(8) and rpc.lockd(8) servers on the client.
 Note that this option will only be honored when performing the
 initial mount, it will be silently ignored if used while updating
 the mount options.

~BAS

 Both servers have the same uid/gids for nagios, webserver is even
 running as nagios user.
 
 I know a 'work-around' is to ssh+keysnagios.cmd pipe, but this isn't an 
 option.
 
 Any ideas?
 
 Kyle
 
 -
 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
 
 
 
 
 
 
-- 
Brian A. Seklecki [EMAIL PROTECTED]
Collaborative Fusion, Inc.


-
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] Pre-build binaries on OpenSolaris

2008-01-19 Thread Brian A. Seklecki

On Sat, 2008-01-19 at 18:51 +0530, Ameya Agnihotri wrote:
 Hi All,
 
 I new to nagios and its installation.
 I have following queries:
 1. Are nagios and nagios-plugins pre-build binaries for OpenSolaris
 available on the net?

Install Pkgsrc (www.pkgsrc.org) and report build problems to
pkgsrc-users.

~BAS


-
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 bind to specific ip

2008-01-19 Thread Brian A. Seklecki
On Fri, 2008-01-18 at 19:17 -0800, Nelson Serafica wrote:
 Can I configure nagios to bind to specific ip address? I have 2 ips
 10.0.1.14 and 10.4.0.65. 10.0.1.14 is NAT to the gateway. while
 10.4.0.65 is for the network 10.4.0.0/24. 

The CGI module is just an Apache/HTTPD addon code module, and Apache can
be easily bound to single IP on a multi-homed system using VirtualHost
containers.

As for the HC modules, the ad-hoc child process fork()/exec() model
makes it difficult, but I would assert that the lack of a standard
argument model for binding/sourcing check traffic is a serious design
flaw.

Actually I would do it using exported environmental variables.

Best solution I imagine (but haven't tested) is to run Nagios inside a
FreeBSD jail.

~BAS



-
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] Problem with some NSCA packets getting corrupted on 64-bit SLES 10

2008-01-19 Thread Brian A. Seklecki
MF:

Show us your ocsp_command and ochp_command mappings.  Are you calling a
piped command from checkcommands.cfg or calling an external shell
script?

I guarantee you the comma (,) in results is being mapped into a field
delimiter, which confuses nscad(8).

~~BAS 

On Thu, 2008-01-17 at 10:37 -0500, Frost, Mark {PBG} wrote:
 I've recently begun an effort to move our Nagios installation to a
 distributed architecture from a centralized one.  I had previous used
 NSCA only for a very few passive checks and it works fine on a 32-bit
 Red Hat AS 3 platform (the centralized server).
 
 In testing on a distributed architecture (which is 64-bit Suse Linux
 Enterprise Server (SLES) 10), I seem to have a problem with NSCA.  (Note
 that all Nagios and NSCA binaries and libraries were recompiled on the
 64-bit platform).
 
 After I broke out all the checks to have 2 separate distributed nodes
 send to a central server, I saw a few messages like this one in the
 nagios.log file:
 
 [1200583727] Warning:  Passive check result was received for service '0'
 on host 'HOSTXXX', but the service could not be found!
 
 but only about every 1 out of 10 or maybe 20 results was doing this.
 That is, the rest of the results were being correctly shown as EXTERNAL
 COMMAND and all expected NSCA fields came up correctly (hostname,
 service desc, check result, text output).
 
 I started having the send_nsca script from the distbributed nodes log
 what they were sending to a file.  When I correlate what they're sending
 with what the NSCA daemon thinks it's receiving, the client is still
 sending the correct 4 fields, but it's as if the NSCA daemon is dropping
 the 2nd field (service desc) and replacing it with the check result
 field.  So ultimately, it thinks the service name is '0'.
 
 I can't see that this matches a pattern (i.e. always on the same hosts
 or same service checks).  All I've seen so far is that it happens
 whether I run NSCA as --single or --daemon.  It also happens even if I
 turn off one of the distributed nodes (that is, I can't see it being
 volume related).
 
 I have turned on debugging in the NSCA daemon to see what it thinks it's
 getting and it echoes what the nagios.log shows:
 
 SERVICE CHECK - Host Name: 'HOSTXXX', Service Description: '0', Return
 Code: '0', Output: ' rta=0.14 ms)'
 
 Again, maybe only 1 out of 10.  Ultimately, this causes the server to
 run an active check as it thinks it never got a result from the
 distbributed node.
 
 I'm still trying to dig deeper, but it seems to me that this is
 increasingly pointing to some issue with 64-bit SLES.  Or perhaps some
 variable type in NSCA daemon that's not quite right for 64-bit.  It's
 hard to tell with its intermittent nature and the fact that I have yet
 to discover a pattern.
 
 Has anyone seen anything like this before?
 
 Thanks
 
 Mark
 
 -
 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_hparray hpacucli w/ sudo on debian/win2k (WAS: Re: Plugin help)

2008-01-19 Thread Brian A. Seklecki
First of all, let's set a real topic that will get people's attentions

Second, you mention wanting to check win2k RAID array status, but you
also mention VMWare and Debian.

Are you running Debian in a VMWare guest VM?  What OS is the Hypervisor
running? 

Do you want to _remotely_ check win2k HP raid arrays? 

As far as debian goes, you will only be able to run Debian as the
Hypervisor OS and check the HP RAID array of the hypervisor _locally_.

You want to check HP raid array using hpacucli? 

I imagine this is one of the black magic binaries like Dell / AMI / LSI
Logic megacli/megarc that will only work with special kernel hacks and
modules, and of course, proper sudo permissions.

~BAS




On Mon, 2008-01-14 at 14:58 -0800, Steve Amat wrote:
 Hi all,
 I need some help installing plugins for monitoring HP arrays.  I'm a
 Linux/nagios newbie so please bear with me. 
  
 I'm using nagios on vmware (Debian OS).  When I try and use some HP
 monitoring plugins I have been getting permissions errors.  I haven't
 been able to set my permissions correctly to fix the problem.  One of
 the plugins states that the sudoers file needs to be edited so that
 hpacucli has admin permissions.  I don't have that file and even when
 I create it the plugin still doesn't work.   Here's the error:
 /usr/local/nagios/libexec/check_hparray
 Usage: check_hparray -s Usage: check_hparray [-h | --help] Usage:
 check_hparray [-V | --version] NOTE: HPACUCLI needs administrator
 rights. add this line to /etc/sudoers nagios
 ALL=NOPASSWD: /usr/sbin/hpacucli 
  
 The plugin instructions also state:  In your nrpe.cfg add for
 example:
 command[check_hpraid_slot1]=/opt/nrpe/libexec/check_hparray -s 1
 command[check_hpraid_slot2]=/opt/nrpe/libexec/check_hparray -s 2
 Will be look something like this in Nagios Status information:
 ---snipp---
 RAID OK - (Smart Array P400 in Slot 1 array A logicaldrive 1 (68.3 GB,
 RAID 1+0, OK) array B logicaldrive 2 (68.3 GB, RAID 1+0, OK)) 
 ---snipp---
 I haven't messed with this so maybe that is also part of the issue.
  
 Here's the plugin that I've been trying to use.
 http://www.nagiosexchange.org/RAID_Controller.58.0.html?tx_netnagext_pi1[p_view]=961tx_netnagext_pi1[page]=10%3A10
   (Although I've tried all the ones that say HP on them from this site).  
  
 I think I have hpacucli successfully installed but I'm not so sure
 since plugin still won't work.
 Can anyone suggest a good HP plugin or some things that I can try to
 get the ones I have to work?  I'm trying to monitor Windows servers.
 Mainly dl360, 370 and 380's.
  
 Thanks for your help!
 Steve
 
 
 __
 Looking for last minute shopping deals? Find them fast with Yahoo!
 Search. 
 
 
 
 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 ___ 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] nrpe documentation

2008-01-19 Thread Brian A. Seklecki

On Tue, 2008-01-15 at 19:02 +0100, Domenico Dig wrote:
 If nrpe isn't a good solution for this check suggest me other things.

For WinNT, best to install Net-SNMP agent daemon.  The HOST-RESOURCES
MIB will mostly be mapped.   Check things with check_snmp*.

~BAS


-
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] Checking MediaWiki Health?

2008-01-13 Thread Brian A. Seklecki


On Tue, 8 Jan 2008, Petersen, Mark wrote:

 I'd just use webinject to login, check whatever (query?) and logout.
 http://www.webinject.org/

 You could also write a little PHP page/script on that server that puts
 the status of everything and do a check_http on that page, looking for
 Everything OK or similar text on the page.

Yep, you could use check_http regex matching.  I also just read that 
mediawiki has an XML interface -- not quite SOAP, but still parseable 
(maybe use php-xml and libxml)

~BAS

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] NRPE Logging. Documentation?

2008-01-02 Thread Brian A. Seklecki

On Wed, 2008-01-02 at 16:14 +, Hari Sekhon wrote:
 I want to log every nrpe call that is made including the command it ran, 
 source, username the command is running as etc so I have a more full 
 audit trail.
 
 I have googled and read http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf 
 but this seems very basic, for beginners really.
 There is only a brief mention of nrpe.cfg and how to added a remote check.
 What I 

Set values:

debug=1 in nrpe.conf


As for logging, it logs to static facility hard-coded into the code
(which you cannot change during runtime -- this is a NFS/Bug issue).
Google: nagios+seklecki+nrpe+nsca+syslog

You can work around it by routing message to a custom destination in
syslog-ng(8) using a program{} filter.


~BAS

Here's an example output on a client system:

2008 Jan  2 13:59:50 +00:00 bdb00 [nrpe][13202] [daemon] [debug] nrpe[13202]: 
Connection from 192.168.x.x port 53479
2008 Jan  2 13:59:50 +00:00 bdb00 [nrpe][13202] [daemon] [debug] nrpe[13202]: 
Host address is in allowed_hosts
2008 Jan  2 13:59:50 +00:00 bdb00 [nrpe][13202] [daemon] [debug] nrpe[13202]: 
Handling the connection...
2008 Jan  2 13:59:50 +00:00 hostname [nrpe][13202] [daemon] [debug] 
nrpe[13202]: Host is asking for command 'check_bsdlabel' to be run...
2008 Jan  2 13:59:50 +00:00 hostname [nrpe][13202] [daemon] [debug] 
nrpe[13202]: Running command: /usr/local/bin/sudo 
/usr/local/libexec/nagios/check_file_age -w 175000 -c 35 
/var/backups/disklabel.mfid0s1.bak
2008 Jan  2 13:59:50 +00:00 hostname [nrpe][13202] [daemon] [debug] 
nrpe[13202]: Command completed with return code 0 and output: FILE_AGE OK: 
/var/backups/disklabel.mfid0s1.bak is 39527 seconds old and 496 bytes
2008 Jan  2 13:59:50 +00:00 hostname [nrpe][13202] [daemon] [debug] 
nrpe[13202]: Return Code: 0, Output: FILE_AGE OK: 
/var/backups/disklabel.mfid0s1.bak is 39527 seconds old and 496 bytes
2008 Jan  2 13:59:50 +00:00 hostname [nrpe][13202] [daemon] [debug] 
nrpe[13202]: Connection from 192.168.x.x closed.




 want is a complete nrpe.cfg reference, I found a site one but 
 there was no mention of any logging facility, I suspect there is none.
 I was hoping that there was a config file parameter to activate some 
 kind of logging but I cannot find anything like this.
 
 I am calling nrpe through xinetd to get host restrictions. Does anyone 
 know of any workarounds or if I am just missing something?
 
 -h



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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] NRPE Logging. Documentation?

2008-01-02 Thread Brian A. Seklecki
On Wed, 2 Jan 2008, Hari Sekhon wrote:
 properly within nrpe, or until I get some time to try to do this and submit a 
 patch (which will definitely not be any time soon).


Do you propose an intermediary log level that, on a single line, logs the 
remote host, command executed, and result code w/o displaying all of 
stdout/stderr?

~BAS

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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] Checks arent frequent enough

2007-12-28 Thread Brian A. Seklecki

On Fri, 2007-12-28 at 17:51 +0100, zack kenton wrote:
 What does the notification_interval control. mine is set to 3000 which
 seems extremely high

Re-notification interval, if its enabled.

Grab a Nagios book at Amazon.com -- hopefully some will be updated for
3.0 soon, but that kind of stuff hasn't changed.



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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] Linux Software Raid Plugin Recommendation?

2007-12-17 Thread Brian A. Seklecki

On Mon, 2007-12-17 at 10:35 -0500, Jake Solid wrote:
 need to use a plugin that will check the status of the raid. Anyone

RAID? LVM2, Soft-Raid, or Hardware?

~BAS



-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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 to monitor svn repositories

2007-12-16 Thread Brian A. Seklecki

On Sun, 2007-12-16 at 08:28 -0500, Jim Perrin wrote:
 On Dec 16, 2007 4:17 AM, ankush grover [EMAIL PROTECTED] wrote:
  Hi Friends,

Or check_ssh.

Remote access options for SVN/Subversion are Webdav and SSH.  There's
also the custom svnserver svn:// protocol that no one uses.

You could do file:// protocol access checks if you use NRPE.

If you want to do deep aggressive checking on the health of a
repository, you should parse svn status or svn info, and validate
that your can successfully check out a copy of the repository.

~BS


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] cannot configure nagios-plugins

2007-12-16 Thread Brian A. Seklecki


On Fri, 2007-12-14 at 21:57 +, Rick Dettwyler wrote:
 RHEL5 on x86
 
 It fails at 
 
 checking for socklen_t... no
 checking for socklen_t equivalent... configure: error: Cannot find a type to 
 use in place of socklen_t

We need to see your config.log.  Post it somewhere?

~BAS

 thanks in advance,
 Rick
 
 
 -
 SF.Net email is sponsored by:
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services
 for just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 ___
 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
 
 
 
 
 
 


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] Script to prove service status in Nagios

2007-12-13 Thread Brian A. Seklecki

On Thu, 2007-12-13 at 17:21 +, Miah, W (Wadud) wrote:
 Is there a script that I can use to probe Nagios to determine the state
 of a service/host? 
 

There are probably some libraries out there that you can use to query 

/var/spool/nagios/status.dat

Based on a substring search parameter or what not.  If not, easy to
write one.  Its not quiet an RDBMS back-end.

~BAS


 Thanks in advance.
 
 
 Wadud Miah
 Scientific Computing Systems Support
 High Performance Computing Services Group, e-Science, RAL
 01235 446 794
 
 
 
 -
 SF.Net email is sponsored by:
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services
 for just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 ___
 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
 
 
 
 
 



-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] AIX log monitoring with check_log

2007-12-11 Thread Brian A. Seklecki

On Tue, 2007-12-11 at 13:49 -0800, Roger wrote:
 I'm looking for other AIX log monitoring recipes and am hoping someone
 here might be able to point me in the right direction. I see (sorta)

Why don't you post us some examples?  We'll throw some ideas out.  

~BAS

  how AIX creates logs and am wondering if anyone here has specific
 AIX-ish queries that they run with Nagios' check_log plugin. 


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] Bug Reporting / Issue Tracking System ?

2007-12-06 Thread Brian A. Seklecki
Am I going crazy or is there no public system for formally tracking bug
reports / feature requests?

Its disabled on sf.net and the Wiki lacks any such feature.

~BAS


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
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] beta7 kse_wakeup / kse_release

2007-12-04 Thread Brian A. Seklecki

I can post config.log and parts of nagios.cfg if needed.  The same b5 
binary with same configure options doesn't behave this way.

Between b5 and b7, something changed with threading?

   70872 nagios   1 1250  2464K  1784K RUN  1:07 99.14% nagios

ktrace(8) kdump(8) output (thousand of these):


  70871 nagios   RET   read 0
  70871 nagios   CALL  kse_release(0x80d5f4c)
  70871 nagios   RET   kse_release 0
  70871 nagios   CALL  sigtimedwait(0xbf9fed90,0xbf9fee30,0xbf9fed88)
  70871 nagios   RET   kse_release 0
  70871 nagios   CALL  kse_release(0x80d5edc)
  70871 nagios   RET   sigtimedwait -1 errno 35 Resource temporarily 
unavailable
  70871 nagios   CALL  kse_wakeup(0x80cf40c)
  70871 nagios   RET   kse_wakeup 0
  70871 nagios   RET   kse_release 0
  70871 nagios   CALL  read(0x4,0x80e1000,0x1000)
  70871 nagios   GIO   fd 4 read 0 bytes

  70871 nagios   RET   read 0
  70871 nagios   CALL  kse_release(0x80d5f4c)
  70871 nagios   CALL  kse_release(0xbf9fef58)
  70871 nagios   RET   kse_release 0
  70871 nagios   CALL  sigtimedwait(0xbf9fed90,0xbf9fee30,0xbf9fed88)
  70871 nagios   RET   sigtimedwait -1 errno 35 Resource temporarily 
unavailable
  70871 nagios   CALL  kse_release(0xbf9fef58)
  70871 nagios   RET   kse_release 0
  70871 nagios   CALL  kse_release(0xbf9fef58)
  70871 nagios   RET   kse_release 0
  70871 nagios   CALL  read(0x4,0x80e1000,0x1000)
  70871 nagios   GIO   fd 4 read 0 bytes


 On 29/11/2007, at 6:14 AM, Brian A. Seklecki wrote:
 Plus there was a crazy threading issue with B7.  I'll submit details in
 a second.  ~BAS

 Brian.  I have updated the PR to bump the port to 3.0.b7 once the ports 
 freeze is over.  If there are issues with the newer (or older?) versions, i'd 
 be interested to hear about them and am happy to investigate further.

 Jarrod.

l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

 Guilty? Yeah. But he knows it. I mean, you're guilty.
 You just don't know it. So who's really in jail?
 ~Maynard James Keenan


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
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] Monitoring IIS Windows 2003 Server

2007-12-02 Thread Brian A. Seklecki

On Mon, 2007-12-03 at 09:48 +0900, [EMAIL PROTECTED] wrote:
 Greeting all
 
 Excuss the noobie post but I've just new to Nagios and have setup my
 first server running on Ubuntu Server 6.606.

Grab a book on Nagios and read about check_http.  Check Amazon.com
~BAS


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
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] NSCA Confusing host check results as service checks

2007-11-28 Thread Brian A. Seklecki

Original msg:

 Warning:  Passive check result was received for service '0' on host 
 'server1', but the service could not be found!

NSCA daemon makes the host/service check determination based simply on the 
number of arguments.

If you take a remote nagios instance which is reporting passive 
host/service checks, you can bump the debugging_level=384 and see 
something like this:

[1196258852.155446] [256.1] [pid=20619] Running command 
'/usr/local/libexec/nagios/send_host_check fbsd05 0 'PING OK - Packet loss 
= 0%, RTA = 0.67 ms''...

In this case, there are the proper number of arguments: 3

But NSCA recieving this msg is seeing 4 arguments.

A closer look at /usr/local/libexec/nagios/send_host_check reveals why:

   #!/bin/sh

   /bin/echo $1,$2,$3 | /usr/local/sbin/send_nsca -H master.tld \ -c
   /usr/local/etc/nagios/send_nsca.cfg -d ,


This means that depending on how shit is escaped within:
   - Nagios on remote node
   - /bin/sh
   - send_nsca binary

Therefore, a $3 value of:  'PING OK - Packet loss = 0%, RTA = 0.67 ms'

May or may not be truncated into three values.  I'm going to track it down 
further.

~BAS

-- Forwarded message --
Date: Mon, 19 Nov 2007 13:52:21 -0500 (EST)
From: Brian A. Seklecki [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: nagios-users@lists.sourceforge.net, [EMAIL PROTECTED]
Subject: RE: [Nagios-users] nsca PROCESS_HOST_CHECK_RESULT problem


Bratislav:

Did you ever resolve these bizaare PROCESS_HOST_CHECK_RESULT / 
PROCESS_SERVICE_CHECK_RESULT errors?

I'm having trouble debugging them as well

~BAS


 If I simulate host down I got HOST_CHECK from nagios.log on remote host:

 EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;server1;1;PING CRITICAL - Packet 
 loss = 100%

 but regularly, it is triggered like it is service check, and 
 PROCESS_HOST_CHECK_RESULT is not performed at all.

 [1175605177] EXTERNAL COMMAND:
  PROCESS_SERVICE_CHECK_RESULT;server1;0;0; RTA = 0.18 ms [1175605177] 
 Warning:  Passive check result was received for service '0' on host 
 'server1', but the service could not be found!


l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

 Guilty? Yeah. But he knows it. I mean, you're guilty.
 You just don't know it. So who's really in jail?
 ~Maynard James Keenan


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
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] NSCA Confusing host check results as service checks

2007-11-28 Thread Brian A. Seklecki
On Wed, 28 Nov 2007, Sloane, Robert Raymond wrote:

 It looks like the problem is caused by using , as the delimiter.
 There is a , in the status string PING OK... which would provide

Well, yea, but the question is how to address it.

It really seems like /usr/local/libexec/nagios/send_{host,service}_check 
is superfluous.

Its a lot of extra forking and pipeing on an already deadly inefficient 
system.

Of course, one cheap hack deserves another and for the time being it seems 
that:

/bin/echo $1//$2//$3 | /usr/local/sbin/send_nsca -H master \
 -c /usr/local/etc/nagios/send_nsca.cfg -d //

Using // as a delimeter is not likely to show up in any macro of plugin 
output (Except for maybe Samba? fuck screw that)

~BAS

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
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] NSCA Confusing host check results as service checks

2007-11-28 Thread Brian A. Seklecki
 Where did you get a send_nsca that expects comma-delimited input? The
 standard send_nsca expects tab-delimited input so this problem doesn't
 arise. 
 

Chris Haulmark can provide the ISBN and revision of the book in which
the example code was taken.

Its his project -- I just get involved for the goofy stuff.

~BAS


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
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] nsca PROCESS_HOST_CHECK_RESULT problem

2007-11-19 Thread Brian A. Seklecki

Bratislav:

Did you ever resolve these bizaare PROCESS_HOST_CHECK_RESULT / 
PROCESS_SERVICE_CHECK_RESULT errors?

I'm having trouble debugging them as well

~BAS


 If I simulate host down I got HOST_CHECK from nagios.log on remote host:

 EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;server1;1;PING CRITICAL - 
 Packet loss = 100%

 but regularly, it is triggered like it is service check, and 
 PROCESS_HOST_CHECK_RESULT is not performed at all.

 [1175605177] EXTERNAL COMMAND:
  PROCESS_SERVICE_CHECK_RESULT;server1;0;0; RTA = 0.18 ms [1175605177] 
 Warning:  Passive check result was received for service '0' on host 
 'server1', but the service could not be found!


l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

 Guilty? Yeah. But he knows it. I mean, you're guilty.
 You just don't know it. So who's really in jail?
 ~Maynard James Keenan


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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 for monitoring FreeBSD for updates (like check_apt)?

2007-11-13 Thread Brian A. Seklecki

On Mon, 2007-11-12 at 16:42 +0100, Matthias Kellermann wrote:
 Hi list,
 
 anyone knows of a Nagios plugin to check the FreeBSD ports and base
 system for updates? I'm searching for something like check_apt for
 Debian/Ubuntu.

All that you need to do is exec portaudit and trap the output.  However,
mapping this into warn/crit status will get tricky.

Most big shops have software release engineer processes that prevent
them from, as a NetBSD friend of mine calls it, implementing massive
rolling in-place binary upgrades.

In the hope that security will somehow be derived from that (Linux
credo, I suppose).  I like the idea ether way.  Let me know if you need
help testing/coding.

~BAS

$ pkg_version -vL =
 apache-2.2.4_2  needs updating (port has 2.2.6_2)
 apr-nothr-db4-1.0.1_1   needs updating (port has 1.2.8_2)
 arj-3.10.22 needs updating (port has 3.10.22_1)
 autoconf-2.59_3 needs updating (port has 2.61_2)
 autoconf-wrapper-20070404   needs updating (port has 20071109)

$ sudo portaudit
 Affected package: perl-5.8.8
 Type of problem: perl -- regular expressions unicode data buffer  
 overflow. Reference:   http://www.FreeBSD.org/ ...

 Affected package: nagios-plugins-1.4.9,1
 Type of problem: nagios-plugins -- Long Location Header Buffer
 Overflow Vulnerability.

~BAS

 
 One important thing is that I also want to monitor all the FreeBSD jails
 for updates, too. Any help/hint appreciated :)
 
 Matthias
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 ___
 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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Riddle with nrpe

2007-11-07 Thread Brian A. Seklecki

Yea each user gets thier equiv of ~/.ssh/know_hosts crammed into thier 
local registry.

It's a feature(R).  That way, seek() and read() operations in the registry 
goes slower and slower with each click of your mouse.

Microsft++

~BAS

On Wed, 7 Nov 2007, Jevos, Peter wrote:

 Dear Brian

 Yes, that was a problem. I didn't check it cause I thought that nrpe_nt
 services is running under local admin but it was a local account. I
 checked it again ad I've fixed it

 Thanks

 Br

 pet

 -Original Message-
 From: Brian A. Seklecki [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, November 07, 2007 4:03 PM
 To: Jevos, Peter
 Cc: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Riddle with nrpe

 On Wed, 2007-11-07 at 12:39 +0100, Jevos, Peter wrote:
 Hi
 I have a damned problem with nrpe under windows Everythink works
 without any problem but one command can't work.
 Probably it's issue with syntax but after couple of days I
 gave it up.
 In my nrpe.cfg is command:
 command[check_cmd]=c:\test.cmd

 In the test.cmd is:

 @echo off

 If your script runs as a different user than the successful
 interactive run, then pscp.exe is most likely stuck at stdin
 wait loop prompting to accept the RSA key from the linux
 server before continuing.


 Try logging in as the user you're running the script as (or
 more accurately, you're running the nrpe_nt service as)

 ~BAS




l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

 Guilty? Yeah. But he knows it. I mean, you're guilty.
 You just don't know it. So who's really in jail?
 ~Maynard James Keenan


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Riddle with nrpe

2007-11-07 Thread Brian A. Seklecki
On Wed, 2007-11-07 at 12:39 +0100, Jevos, Peter wrote:
 Hi 
 I have a damned problem with nrpe under windows
 Everythink works without any problem but one command can't work.
 Probably it's issue with syntax but after couple of days I gave it up.
 In my nrpe.cfg is command:
 command[check_cmd]=c:\test.cmd
 
 In the test.cmd is:
 
 @echo off

If your script runs as a different user than the successful interactive
run, then pscp.exe is most likely stuck at stdin wait loop prompting to
accept the RSA key from the linux server before continuing.


Try logging in as the user you're running the script as (or more
accurately, you're running the nrpe_nt service as)

~BAS


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] Alteon/Nortel Switches

2007-10-23 Thread Brian A. Seklecki
On Tue, 2007-10-23 at 15:14 +1300, Mike Hawley wrote:
 Hi, does anyone have a check command for the Alteon/Nortel platforms???
 
 All the best - Mike

What do you want to check?  VRRP status?  State table size?  Farm
servers?  VIPs?  Temperature  environmental thresholds?

~BASd


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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 3.0b4 crashing

2007-10-07 Thread Brian A. Seklecki
On Sun, 2007-10-07 at 16:00 +0100, [EMAIL PROTECTED]
wrote:
 Hi
 I thought originally it was because the server was running low on available

You'll want to compile the binary with debugging symbols so that you can
trace core dumps.  You'll also want to run the daemon in the foreground
under strace(8)/ktrace(8) with debugging output.

~BAS

 memory (as it had ~11MB free), but now, it's got 134MB free, and when you
 run Nagios, it'll verify the configs fine, then when you start it up, it



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
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] NetApps Monitoring

2007-10-02 Thread Brian A. Seklecki


On Mon, 2007-10-01 at 10:14 -0400, Robert Ferguson wrote:
 Good Morning,  
 
  
 
 I need some beginner help please with monitoring NetApps.  I have
 downloaded the check_netapp2 plugin however, don’t see how to fire it

Is this on nagiosexchange?  Ask the committer/project maintainer to
include some example config files in the header of the code and/or as a
README file in addition to the check code.

~BAS

  off.  Nagios is reporting that the two heads are there but no
 services are associated with it.  I guess that I really just need to
 define a service to fire off the plugin, but I am at a loss.
 
  
 
 Nagios Version 3.0a4
 
  
 
 Thanks for your help
 
  
 
 Robert Ferguson
 
 
 
 
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 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 2005.
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] (Return code of 9 is out of bounds)

2007-09-29 Thread Brian A. Seklecki
Does your code return anything other than 1 or 0?  Error code 9 may be
being returned by the interpreter instead of your code.   Try running
the code as the nagios user and then echo $? to check the result code

$ sudo -H -u nagios /path/to/pl
$ echo $?

~BAS

On Fri, 2007-09-28 at 19:27 +0200, zack kenton wrote:
 Hi list
 
 Does anyone have an idea why I would get (Return code of 9 is out of bounds) 
 with my perl plugin. I know of 123 and 127 numbers, but why would a 9 return?
 
 - zack kenton (zkenton)
 
 ---
 The mailing list archive is found here:
 http://www.nagiosexchange.org/nagios-users.34.0.html
   
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 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 2005.
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] Ndomod v1.4 b4 - no worky

2007-09-27 Thread Brian A. Seklecki
On Fri, 2007-08-10 at 15:51 +1000, Matthew Joyce wrote:
 

  - /usr/local/nagios/bin/ndomod.o: cannot open shared object file: No
 such file or directory

You should begin to associate this error with missing shared libraries
(and thus missing dependencies in your package system).

Check out the ldd(1) command in you system for example.  It is helpful
for understanding the concept:

$ ldd /usr/bin/smbclient 
linux-gate.so.1 =  (0x0012d000)
libreadline.so.5 = /usr/lib/libreadline.so.5 (0x0012e000)
libncurses.so.5 = /lib/libncurses.so.5 (0x00163000)
libcrypt.so.1 = /lib/libcrypt.so.1 (0x00183000)
libresolv.so.2 = /lib/libresolv.so.2 (0x001b1000)
libnsl.so.1 = /lib/libnsl.so.1 (0x001c5000)
libdl.so.2 = /lib/libdl.so.2 (0x001de000)
libpopt.so.0 = /usr/lib/libpopt.so.0 (0x001e3000)
libgssapi_krb5.so.2 = /usr/lib/libgssapi_krb5.so.2 (0x001eb000)
libkrb5.so.3 = /usr/lib/libkrb5.so.3 (0x00219000)
libk5crypto.so.3 = /usr/lib/libk5crypto.so.3 (0x002ac000)
libcom_err.so.2 = /lib/libcom_err.so.2 (0x002d2000)
libldap-2.3.so.0 = /usr/lib/libldap-2.3.so.0 (0x002d5000)
liblber-2.3.so.0 = /usr/lib/liblber-2.3.so.0 (0x0030f000)
libc.so.6 = /lib/libc.so.6 (0x0031d000)
libtinfo.so.5 = /lib/libtinfo.so.5 (0x00471000)
/lib/ld-linux.so.2 (0x0011)
libkrb5support.so.0 = /usr/lib/libkrb5support.so.0 (0x00489000)
libkeyutils.so.1 = /lib/libkeyutils.so.1 (0x00491000)
libsasl2.so.2 = /usr/lib/libsasl2.so.2 (0x00494000)
libssl.so.6 = /lib/libssl.so.6 (0x004ad000)
libcrypto.so.6 = /lib/libcrypto.so.6 (0x004f2000)
libz.so.1 = /lib/libz.so.1 (0x00625000)



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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_clamav and nrpe

2007-09-27 Thread Brian A. Seklecki
Best to run nrpe(8) as some unpriv'd user and setup granular access
using sudo(8), group permission, or if your system supports POSIX ACLs,
use those.

~BAS

On Mon, 2007-08-20 at 11:32 +0200, Nicole Hähnel wrote:
 Kalidindi, Vijay schrieb:
  Hi Nicole,
 
  Check the permissions of check_clamav plugin whether the nrpe user can 
  execute it.  Just give 777 permission to check_clamav and see if it works. 
  Once it works you can change the permission accordingly.
 
  Thanks,
  Vijay
 
 
 

 Oh yes, I missed read permissions for others. :-[
 
 Thanks!!!
 
 Nicole
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 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 2005.
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] Can Nagios update configs by SQL from another server?

2007-09-27 Thread Brian A. Seklecki
When you say SQL Server, we'll assume that you mean MS-SQL.

You should be able to periodically dynamically generate your config
using a small PHP script that uses the MDB(sp?) module.  Check out the
include_dir and include_file statement documentation for the nagios.cfg.

~BAS 

On Wed, 2007-06-27 at 12:44 +0400, magic_rooter wrote:
 Hello everybody!
 
 We have server with sql base where there is data for Nagios. I will explain.
 There is dynamically updated database with servers and routers. The
 structure is simple:name and ip.
 And I have server with Nagios (v.2.5)
 I saw some addons and plugins for Nagios that store nagios configs in
 mysql database: NDOutils, loadconfig.pl and so on...
 Can these or maybe other programms go to SQL server, pull data with
 the names and ip of servers and routers and insert it to nagios
 configs (which are in sql or in .cfg files)?
 
 Thank you in advance for assistance!
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 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 2005.
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] Nagios2 and Apache2

2007-09-27 Thread Brian A. Seklecki
Samples of your apache error log would be useful!

~BAS

On Wed, 2007-06-27 at 10:58 -0400, Steve Gregory wrote:
 I am running etch and am have a little problem configuring nagios2. The 
 program is working fine and giving the correct alerts, but the cgi's are 
 not working with apache2. The calls are bing made to the cgi programs, 
 but they are not displaying. I'm using the packages that are in the 
 stable distribution of Debian. Has anyone else encountered this problem?
 
 Steve
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 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 2005.
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] Monitoring Entrust IdentityGuard

2007-08-15 Thread Brian A. Seklecki
Has anyone written a SOAP-XML client to check the health of the Entrust
IdentityGuard SOAP-XML Services?

Google says my chances are grim.

Thanks,
~BAS


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] Monitoring Entrust IdentityGuard

2007-08-15 Thread Brian A. Seklecki
Yep! -- I'll share on NagiosExcahnge.org when I'm done.

~BAS

On Wed, 2007-08-15 at 21:45 +0200, Hugo van der Kooij wrote:
 On Wed, 15 Aug 2007, Brian A. Seklecki wrote:
 
  Has anyone written a SOAP-XML client to check the health of the Entrust
  IdentityGuard SOAP-XML Services?
 
  Google says my chances are grim.
 
 Google is an optmist ;-)
 
 But if you speak SOAP-XML fluently you might start by cloning something 
 allready doing parts of the stuff and add your own creative programming to 
 finish it.
 
 This pretty much depends on your exact skills and how much you can find to 
 give you a head start.
 
 Hugo.



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] Configuration Errors

2007-08-08 Thread Brian A. Seklecki
Maybe one .cfg file is recursively including itself or another file that
has a cfg_dir or cfg_file directive.  Some kind of recursion?

~~BAS

On Wed, 2007-08-08 at 16:07 -0700, Nick Hayward wrote:
 Hi, any help you can give would be greatly appreciated.
 
 I receive this output:
 [EMAIL PROTECTED]:/usr/local/nagios/bin# ./nagios
 -v /usr/local/nagios/etc/nagios.cfg
 
 Nagios 2.9
 Copyright (c) 1999-2007 Ethan Galstad ( http://www.nagios.org)
 Last Modified: 04-10-2007
 License: GPL
 
 Reading configuration data...
 
 Warning: Duplicate definition found for host 'generic-host' (config
 file '/usr/local/nagios/etc/hosts.cfg', starting on line 140) 
 Warning: Duplicate definition found for host 'linux-server' (config
 file '/usr/local/nagios/etc/hosts.cfg', starting on line 156)
 Warning: Duplicate definition found for service
 'generic-service' (config file '/usr/local/nagios/etc/hosts.cfg',
 starting on line 215) 
 Warning: Duplicate definition found for service
 'local-service' (config file '/usr/local/nagios/etc/hosts.cfg',
 starting on line 236)
 Error: Timeperiod '24x7' has already been defined
 Error: Could not register timeperiod (config file
 '/usr/local/nagios/etc/hosts.cfg', starting on line 24) 
 
 I assumed there was anther configuration file somewhere that defined
 the 24x7 time period, but:
 [EMAIL PROTECTED]:/usr/local/nagios# grep -r timeperiod_name 24x7
 *
 etc/hosts.cfg: timeperiod_name 24x7 
 I am only finding the one file. Oddly if I comment out the 24x7
 timeperiod segment it then complains about this time period not being
 defined. I am not sure where to go from here. This is on a slack 10
 system with a newer kernel and packages pretty much the same as slack
 11. let me know if you need any additional info. 
 
 
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___ 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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
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] using Nagios to detect rogue DHCP servers?

2007-07-10 Thread Brian A. Seklecki
Going out and DHCREQUEST'ing and validating may be intermittent in
accuracy; you'd be best off with a SPAN port, tcpdump watching all DHCP
Client and DHCP Server traffic.

DHC-Offers should match a source MAC address(es) you certify.
Otherwise, ask your switching fabric to shutdown the port matching the
CAM table entry with the rouge MAC address.

~BAS

On Tue, 2007-07-10 at 10:45 +0100, Hari Sekhon wrote:
 yes I've done this, by writing a bash script to wrap the check_dhcp 
 plugin and change the status code and output if more than the right 
 number of dhcp servers responded (also, you make sure the dhcp server 
 that responded is the right one using the check_dhcp plugin option.)
 
 -h
 
 Hari Sekhon
 
 
 
 Rogelio Bastardo wrote:
  Has anyone used Nagios to detect rogue DHCP severs?
 
  I've got a complicated campus environment where people do things such as 
  plug in Linksys routers (the wrong way) and hand out DHCP addresses.
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  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 DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] using Nagios to detect rogue DHCP servers?

2007-07-10 Thread Brian A. Seklecki
 What about writing a custom plugin that uses this GPL prog to return the
 warning/critical/ok/pending values?

That sounds very reasonable; there's always the possibility that you won't 
see, within your run time threshold, offers from a rouge server due to 
race conditions or other crud (slow networks, etc.).

Of course, then you have a lot of proactive bogus DHCP Client activity 
coming from your Nagios system.

The best solution of course, but not always the most feasible, is a SPAN 
port in your core:

Simply:

$ sudo tcpdump -n -e -vvv 'src port bootps  !ether src 0:50:da:28:37:62'

Replace the MAC with your know DHCP server.  Matches are rouge.  If you 
see them, get out the jumper cables.

~BAS


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] how to configure notification in Nagios

2007-06-13 Thread Brian A. Seklecki
On Wed, 2007-06-13 at 16:01 +0530, Arun Sharma wrote:
 some more settings shold be there , how nagios will send mail
 automatically to a mail id.

It's pretty simple:

Host Notifications---\
 -Contact Groups - Contacts - MiscCmds (sendmail)
Service Notifications/

Check out the variety of Nagios books as well.

~BAS

  please help me what is the procedure to configuring Nagios to send
 mail to a


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Monitoring a Terminal Server Licensing Server?

2007-06-13 Thread Brian A. Seklecki
check_tcp![##] will let you know if the port is open.  A more
aggressive-check might use rdesktop(1) to try to connect somewhere to
validate.

On Wed, 2007-06-13 at 15:46 +0100, Hari Sekhon wrote:
 Hi,
 
Anybody know how to monitor a terminal server licensing server with 
 windows 2003?
 
 I'm just wondering if there is a realistic way of checking that is it 
 serving licenses.
 
 -h



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] AIX NRPE v2.5.1

2007-06-13 Thread Brian A. Seklecki
How about s/--inetd/-i/g in the command line?

Clearly it's sending the stdout from the command line flag syntax usage
error to the socket output of the client.

Also, why run it out of inetd?  It has a built in daemon mode.

There's a pattern here:

inetd  floppy drives  parallel ports  uucp  sendmail


~BAS

On Tue, 2007-06-12 at 19:34 -0400, Steven Fishback wrote:
 Nagios v2.5 with NRPE plug-in v2.5.1 on AIX v5.3 (ppc 64 processor)
 
 I've seen this thread before concerning AIX and NRPE but no resolution 
 or good suggestions as to what's going on.
 
 If I compile with openssl 0.9.7l-1 I get the SSL handshaking error.
 If I compile without openssl enabled I get the Response packet had 
 invalid CRC32 error.
 I've done all the normal FAQ checks.
 
 My /etc/services I have:
nrpe5666/tcp# NRPE
 My /etc/inetd.conf I have:
   nrpestream  tcp nowait  nagios /usr/sbin/nrpe -c /etc/nrpe.cfg 
 --inetd
 
 For testing purposes I have no tcp wrappers and SSL is not enabled.
 
 Logged into the local host:
 
 $ /usr/bin/telnet localhost 5666
 Trying...
 Connected to localhost.localdomain.
 Escape character is '^]'.
 
 NRPE - Nagios Remote Plugin Executor
 Copyright (c) 1999-2006 Ethan Galstad ([EMAIL PROTECTED])
 Version: 2.5.1
 Last Modified: 04-09-2006
 License: GPL v2 with exemptions (-l for more info)
 
 ***
 ** POSSIBLE SECURITY RISK - TCP WRAPPERS ARE NOT AVAILABLE!  **
 **  Read the NRPE SECURITY file for more information **
 ***
 
 Usage: nrpe [-n] -c config_file mode
 
 Options:
 -n= Do not use SSL
 config_file = Name of config file to use
 mode= One of the following two operating modes:
   -i  =Run as a service under inetd or xinetd
   -d  =Run as a standalone daemon
 
 Connection closed.
 
 $ /opt/local/bin/check_nrpe -H localhost
 CHECK_NRPE: Response packet had invalid CRC32.
 
 $ /opt/local/bin/check_nrpe -H localhost -p 5666 -n
 CHECK_NRPE: Response packet had invalid CRC32.
 
 Any idea as to the problem?



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Debugging Nagios?

2007-06-13 Thread Brian A. Seklecki
What a great question! Well there's nagios.log in /var/spool/nagios,



use_syslog=1


log_event_handlers=1
log_initial_states=1
log_external_commands=1
log_passive_checks=1
log_notifications=1
log_service_retries=1

But getting debug out the schedule probably requires a debug build of
the binary.  

~~BAS

PS It could be worse, you could be trying to debug a plugin/module.


On Tue, 2007-06-12 at 18:57 -0400, Bonaparte, Klaus wrote:
 ou debug Nagios to determine why it is no longer running any checks?
 
 I see checks scheduled in the queue, but then time passes and they get
 removed from the top of the queue as if they were run but their status
 never changes, nothing is logged in nagios.log or syslogs, and once in
 a while you can see nagios processes running?
 
  
 
 Any help? Debug flags or common things to look for?
 
-- 
Brian A. Seklecki [EMAIL PROTECTED]
Collaborative Fusion, Inc.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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] Good front end tool for Nagios

2007-06-13 Thread Brian A. Seklecki
If you network has 2500 monitors, you can probably budget a developer to
write/develop a front-end that doesn't use PHP+MySQL, which are probably
the cause of your scalability issues.

Check out PosgreSQL.

~BAS

On Tue, 2007-06-12 at 13:27 -0400, Andrey Dmitriev wrote:
 All,
 
 Is there are a good front end tool for Nagios that can 
 A) have profiles that we can apply to multiple hosts
 B) ideally stores in MySQL db (well, this is not really a requirement, 
 as apparently there are perl modules that can potentially load a mysql 
 db).
 
 Please don't recommend Fruity/GroundWork, as apparently it pukes on 
 2500+ monitors, or a certain number of hosts (at least GroundWork did 
 for us in version 4.51, which is why we plan to ditch it)
 
 Thanks,
 Andrey
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 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
-- 
Brian A. Seklecki [EMAIL PROTECTED]
Collaborative Fusion, Inc.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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_ssl_cert w/ PKI / X.509 Chain Validation

2007-04-11 Thread Brian A. Seklecki

These scripts are great thank you very much to all involved who 
contributed (no e-mail address for 'mastrboy'). .  I'm considering 
spending some time adding additional functionality:

--

In addition to simply parsing the date and comparing the date/time, I'd 
like to test the validity of the X.509 Cert against it's PKI 
infrastructure using the OpenSSL routines.

I'm pretty sure that this can be accomplished by checking the result code 
of openssl 's_client' or 'verify'; both permit for -CApath and -CAfile.

For internal PKI, this is pretty straightforward; just specify your 
organization's Root CA Cert.

For public cert verification; it gets tricky because you have to take a 
certificate store like the Mozilla NSS/NSPR default and convert it into 
OpenSSL c_rehash format -- taking ideas on that here.

http://lxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt

Thoughts?

l8*
-lava (Brian A. Seklecki - Pittsburgh, PA, USA)
   http://www.spiritual-machines.org/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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] Naigos-Plugins 1.4.6 check_by_ssh

2007-03-17 Thread Brian A. Seklecki
I would check the changelog for the nagiosplug project.

~BAS

On Fri, 2007-03-16 at 16:03 -0600, Danny Russell wrote:
 e check_by_ssh on my system. The current version of plugins I have
 installed does not have it (nagios-plugins-1.4.5-1.el4.rf). Wh
-- 
Brian A. Seklecki [EMAIL PROTECTED]
Collaborative Fusion, Inc.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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


  1   2   >