[Nagios-users] check_ad and AD

2008-01-18 Thread javi lopez
I am pluging performed various tests including the network that calls
netdiag(check_ad). I get one event of warning for the miniport Wan.
Is there any way to disable this test to Wan or any solution for not
having the event of the warning?

GetStats failed for 'Paralelo directo'. [ERROR_NOT_SUPPORTED]
GetStats failed for 'Minipuerto WAN (PPTP)'. [ERROR_GEN_FAILURE]
[WARNING] The net card 'Minipuerto WAN (IP)' may not be working
because it has not received any packets.
GetStats failed for 'Minipuerto WAN (L2TP)'. [ERROR_NOT_SUPPORTED]

Or can i disable this test in my pluging???Thanks

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


Re: [Nagios-users] check_smtp issues

2008-01-18 Thread Alex Dehaini
Do a manual telnet on port 25 from the nagios server to the mail server in
connect and see if you can connect.

On Jan 18, 2008 5:38 AM, Julie S. Lin [EMAIL PROTECTED] wrote:

 Hi All

 Sorry for the incomplete info, I do know better, really.  Pls forgive.

 Anyways, below is the result I get when I manually run check_smtp
 from my plugins directory.  This is on a redhat es4 machine running 1.2
 nagios
 (yes, very outdated I know).

 [EMAIL PROTECTED] plugins]# ./check_smtp mail.xxx.com
 Socket timeout after 10 seconds
 [EMAIL PROTECTED] plugins]# ./check_smtp mail.yyy.com
 SMTP OK - 0 second response time

 * so check_smtp fails on one mail server but not the other
 mail.xxx.com is behind the same firewall as the nagios server
 but on a different network
 mail.yyy.com is on another network outside of the firewall
 is there anything I should know about having nagios check_smtp server
 within
 a firewall??

 And of course, mail is working just fine.
  mail -v [EMAIL PROTECTED]
 Subject: foo
 .
 EOT
 Null message body; hope that's ok
 [EMAIL PROTECTED] Connecting to mail.xxx.com. via esmtp...
 220 xxx.com ESMTP
  EHLO anywhere.com
 250-xxx.com Ok.
 250-AUTH PLAIN LOGIN CRAM-MD5
 250-AUTH=PLAIN LOGIN CRAM-MD5 X-NETSCAPE-HAS-BUGS
 250-STARTTLS
 250-XVERP=Courier
 250-XEXDATA
 250-XSECURITY=NONE,STARTTLS
 250-PIPELINING
 250-8BITMIME
 250-SIZE
 250 DSN
  STARTTLS
 220 Ok
  EHLO anywhere.com
 250-xxx.com Ok.
 250-AUTH PLAIN LOGIN CRAM-MD5
 250-AUTH=PLAIN LOGIN CRAM-MD5 X-NETSCAPE-HAS-BUGS
 250-XVERP=Courier
 250-XEXDATA
 250-XSECURITY=NONE,STARTTLS
 250-PIPELINING
 250-8BITMIME
 250-SIZE
 250 DSN
  MAIL From:[EMAIL PROTECTED] SIZE=48
 250 Ok.
  RCPT To:[EMAIL PROTECTED]
 250 Ok.
  DATA
 354 Ok.
  .
 250 Ok. 47903A17.3806
 [EMAIL PROTECTED] Sent (Ok. 47903A17.3806)
 Closing connection to mail.xxx.com.
  QUIT
 221 Bye.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Marc
 Powell
 Sent: Thursday, January 17, 2008 7:33 PM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] check_smtp issues



  -Original Message-
  From: [EMAIL PROTECTED] [mailto:nagios-users-
  [EMAIL PROTECTED] On Behalf Of Julie S. Lin
  Sent: Thursday, January 17, 2008 6:36 PM
  To: nagios-users@lists.sourceforge.net
  Subject: [Nagios-users] check_smtp issues
 
  Hi
 
  I just added a new mail server and am having trouble getting
 check_smtp
  to check it properly.  This mail server is on a different network than
  my nagios server
  HOWEVER, I can telnet to the standard ports ( 25 and 993 just fine)
 
  check_smtp to another mail server on yet another network works.


 You should tell us what the problem is. Be very specific. We can't help
 if we don't know and we aren't going to guess.

 --
 Marc


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


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




-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED]
-
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] compile nagios-plugins-1.4.11

2008-01-18 Thread Gerhard Lausser
Hi,

 --with-ps-command=/usr/bin/ps 
 --with-ps-format=pid,pcpu,vsz,etime
 --with-ps-cols=4 --with-ps-varlist='%d %d.%d %d %d:%d'

i think you mixed up these parameters. Open the file configure.in and search
for ac_cv_ps_command. In the following lines you will find some examples. 
Btw, what happens if you don't use these parameters at all? 

Gerhard 


-
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] Monitoring

2008-01-18 Thread Jeff Addy
Hi List

i'm a newbie with nagios. I've just finished bringing it up on Ubuntu 7.10.
Next thing i want to do is to monitor key hosts on my network. the
documentation i have is silent on adding hosts or any kind of autodiscovery.
How do i go about it? Have i missed something or there is another guide to
do this?

Thanks!

Jaddy
-
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] Bloody selinux on Fedora 8

2008-01-18 Thread mjn
Nagios folks-

Has anyone resolved all of the selinux issues when installing nagios  
on Fedora 8?

Specifically, I am getting these:

type=AVC msg=audit(1200663995.088:64): avc:  denied  { read } for   
pid=3488 comm=ping name=nagios.cmd dev=dm-0 ino=16652317  
scontext=system_u:system_r:ping_t:s0  
tcontext=system_u:object_r:nagios_log_t:s0 tclass=fifo_file

type=AVC msg=audit(1200657768.283:14207): avc:  denied  { read } for   
pid=7676 comm=sendmail name=nagios.cmd dev=dm-0 ino=16652317  
scontext=system_u:system_r:sendmail_t:s0  
tcontext=system_u:object_r:nagios_log_t:s0 tclass=fifo_file

I don't know what effect the ping denies are having but all of my e- 
mail and page alerts are coming across with no content (I know they  
are from nagios because of the from-address but there is no subject or  
body text).

I followed this handy guide: 
http://www.rickwargo.com/2006/10/29/fc6-selinux-and-nagios/

But my problem persists. I've searched around and haven't found much  
that is helpful on the SELinux front as far as taking audit data and  
correcting your policies to allow things.

Has anyone else either had experience with SELinux and can help me  
correct these problems or is there a set of instructions geared more  
toward newer versions of Fedora that would provide the information?

Some system information:
Fedora 8 2.6.21-2952.fc8xen SMP
nagios-2.10-5.fc8
nagios-plugins-*-1.4.8-9.fc8
checkpolicy-2.0.4-1.fc8
policycoreutils-2.0.33-3.fc8
selinux-policy-devel-3.0.8-73.fc8
selinux-policy-targeted-3.0.8-73.fc8
selinux-policy-3.0.8-73.fc8
policycoreutils-gui-2.0.33-3.fc8

Thanks!

-- 

Mike Neuharth [EMAIL PROTECTED]
Server Operations Manager
phn: 612.625.1957
cal: http://tinyurl.com/3jc2v
=
College of Food, Agricultural, and Natural Resource Sciences
University of Minnesota
http://www.cfans.umn.edu/





-
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] ndoutil question

2008-01-18 Thread Alex Dehaini
Hi Everyone,
I installed ndoutil 1.4.7b on my centos server running mysql version 4.1.2.
I am trying the same installation on my debain etch 3.1 with mysql
5.0.32and this is the message I get when I try to start ndo

/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg

Support for the specified database server is either not yet supported, or
was not found on your system.

I have installed the mysql libraries. Does this mean that ndoutil can't
install on mysql 5.0.32?

-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED]
-
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] Monitoring

2008-01-18 Thread Giles Coochey
 
 There's no auto discovery in Nagios.
 

This is indeed the case, while at first it may seem as a major drawback
to the software, given time, you will realise that it's one of its best
features.

The effort you place into making Nagios work for you is the reason for
its value. If you look at other products with 'autodiscovery' features
you will often find that they discover useless hosts and services which
have no real impact in your overall service delivery.

By making you hand-tune your monitoring Nagios ensures that you only
monitor and alarm on what really matters.

Just my gem for a Friday.

Giles

-
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] Mapping options.

2008-01-18 Thread Luis Fernando Lacayo
Good Day to all, 

I finally got my NAGIOS setup pretty much the way that I like it.  I am
monitoring over 1000 devices, and I have 2 questions. 

1. When displaying the host group summary is there a way to group /sub
group the display.  For example at the moment I have 6 different type of
Microsoft 2003 Servers.  I have a group for exchange, a group for AD,
Ishare, etc.  A group of Linux boxes, HPUX, SUN and AIX.  What I would
like to do is to have a summary that would only give me the servers by
type, then a summary of the functions. Has anyone done this or some
thing similar. 

2. The Status Map, for the number of devices that I am monitoring when I
click on the status map, I get a BLOB, icons on top of icons, etc.
Any way to clean this up?

Thanks for all your responses in advance. 

Luis 


-
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] ndoutil question

2008-01-18 Thread Alex Dehaini
Is anyone running ndoutils on Debian etch 3.1 with mysql 5.0.32?


On Jan 18, 2008 3:44 PM, Alex Dehaini [EMAIL PROTECTED] wrote:

 db_servertype=mysql


 On Jan 18, 2008 3:39 PM, Tom Throckmorton [EMAIL PROTECTED] wrote:

  On 01/18/2008 10:26 AM, Alex Dehaini wrote:
   Guys,
   Any other ideas on this. This is the output I get when I try to start
  NDO
  
   snmp:/# /usr/local/nagios/bin/ndo2db -c
  /usr/local/nagios/etc/ndo2db.cfg
   Support for the specified database server is either not yet supported,
  or
   was not found on your system.
 
  Silly question:
 
  What is db_servertype set to in your ndo2db.cfg?  Does it match the name
 
  of the mysql package?
 
  -tt
 
  --
  Tom Throckmorton
  OIT - CSI
  Duke University
 



 --
 Alex Dehaini
 Developer
 Site - www.alexdehaini.com
 Email - [EMAIL PROTECTED]




-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED]
-
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] ndoutil question

2008-01-18 Thread Alex Dehaini
db_servertype=mysql

On Jan 18, 2008 3:39 PM, Tom Throckmorton [EMAIL PROTECTED] wrote:

 On 01/18/2008 10:26 AM, Alex Dehaini wrote:
  Guys,
  Any other ideas on this. This is the output I get when I try to start
 NDO
 
  snmp:/# /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
  Support for the specified database server is either not yet supported,
 or
  was not found on your system.

 Silly question:

 What is db_servertype set to in your ndo2db.cfg?  Does it match the name
 of the mysql package?

 -tt

 --
 Tom Throckmorton
 OIT - CSI
 Duke University




-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED]
-
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] ndoutil question

2008-01-18 Thread Alex Dehaini
The database is running,
snmp:/usr/local/nagios/etc# ps aux | grep mysql
root  9486  0.0  0.0   3660  1292 pts/1S15:30   0:00 /bin/sh
/usr/bin/mysqld_safe --user=mysql
mysql 9525  0.4  0.9 131820 18788 pts/1Sl   15:30   0:00
/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306
--socket=/var/run/mysqld/mysqld.sock
root  9526  0.0  0.0   2744   568 pts/1S15:30   0:00 logger -p
daemon.err -t mysqld_safe -i -t mysqld
root 11917  0.0  0.0   2852   744 pts/1S+   15:32   0:00 grep mysql


Here is the out put of

snmp:/#grep db_ ndo2db.cfg
grep: ndo2db.cfg: No such file or directory




On Jan 18, 2008 3:33 PM, Giles Coochey [EMAIL PROTECTED] wrote:

  It may help to provide some information:



 grep db_ ndo2db.cfg ??



 Can you confirm the database is running?


   --

 *From:* [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] *On Behalf Of *Alex Dehaini
 *Sent:* 18 January 2008 16:26
 *To:* nagios-users@lists.sourceforge.net
 *Subject:* Re: [Nagios-users] ndoutil question



 Guys,



 Any other ideas on this. This is the output I get when I try to start NDO



 snmp:/# /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg

 Support for the specified database server is either not yet supported, or
 was not found on your system.





 On Jan 18, 2008 1:54 PM, Alex Dehaini  [EMAIL PROTECTED] wrote:

 H



 Could it be a debian problem then?





 On Jan 18, 2008 1:53 PM, Giles Coochey  [EMAIL PROTECTED] wrote:

 While not answering your question I have Centos with mysql 5.0.22 running
 ndoutils just fine.


   --

 *From:* [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] *On Behalf Of *Alex Dehaini
 *Sent:* 18 January 2008 14:51
 *To:* nagios-users@lists.sourceforge.net
 *Subject:* [Nagios-users] ndoutil question



 Hi Everyone,



 I installed ndoutil 1.4.7b on my centos server running mysql version 4.1.2.
 I am trying the same installation on my debain etch 3.1 with mysql 5.0.32and 
 this is the message I get when I try to start ndo



 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg



 *Support for the specified database server is either not yet supported, or
 was not found on your system.*



 I have installed the mysql libraries. Does this mean that ndoutil can't
 install on mysql 5.0.32?*
 *
 --
 Alex Dehaini
 Developer
 Site - www.alexdehaini.com
 Email - [EMAIL PROTECTED]




 --
 Alex Dehaini
 Developer
 Site - www.alexdehaini.com
 Email - [EMAIL PROTECTED]




 --
 Alex Dehaini
 Developer
 Site - www.alexdehaini.com
 Email - [EMAIL PROTECTED]




-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED]
-
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] Mapping options.

2008-01-18 Thread Luis Fernando Lacayo
Actually, 

I was thinking of hostgroups that have hostgroups.


Luis
On Fri, 2008-01-18 at 09:17 -0600, Marc Powell wrote:
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:nagios-users-
  [EMAIL PROTECTED] On Behalf Of Luis Fernando Lacayo
  Sent: Friday, January 18, 2008 8:47 AM
  To: Nagios Users
  Subject: [Nagios-users] Mapping options.
  
  Good Day to all,
  
  I finally got my NAGIOS setup pretty much the way that I like it.  I
 am
  monitoring over 1000 devices, and I have 2 questions.
  
  1. When displaying the host group summary is there a way to group /sub
  group the display.  For example at the moment I have 6 different type
 of
  Microsoft 2003 Servers.  I have a group for exchange, a group for AD,
  Ishare, etc.  A group of Linux boxes, HPUX, SUN and AIX.  What I would
  like to do is to have a summary that would only give me the servers by
  type, then a summary of the functions. Has anyone done this or some
  thing similar.
 
 Sounds like hostgroups{} to group by type of box and servicegroups{} to
 group by services provided. There is no 'nesting' capability. Am I
 mis-interpreting?
  
  2. The Status Map, for the number of devices that I am monitoring when
 I
  click on the status map, I get a BLOB, icons on top of icons, etc.
  Any way to clean this up?
 
 Change the layout type or use a custom cords per object (hostextinfo{}).
 With that many hosts though, you'll be challenged. Setting proper
 parent's relationships will help. We have about 3000 devices and there
 just isn't enough useful information in those maps to make that process
 worthwhile for us so I don't have a whole lot of experience with it.
 
 --
 Marc
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue. 
 ::: Messages without supporting info will risk being sent to /dev/null
-- 
Luis Fernando Lacayo
Chicago Public Schools
Senior Unix Administrator
ITS/ UNIX Infrastructure
Office: 773-553-3835
Cell: 773-203-4493


-
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] Mapping options.

2008-01-18 Thread Duncan Ferguson

On 18 Jan 2008, at 16:38, Luis Fernando Lacayo wrote:

 Actually,

 I was thinking of hostgroups that have hostgroups.


Luis,

It is currently not possible to set up a hierarchy in this way purely  
within Nagios.  If you need this sort of functionality you have to use  
3rd party software such as Opsview (http';//www.opsview.org/)

   Duncs

-- 
Duncan Ferguson
Senior Developer, Altinity Limited

http://www.altinity.com
Tel: +44 (0)870 787 9243
US:  +1 866 879 9184
Fax: +44 (0)845 280 1725
Skype: duncan_j_ferguson
MSN: [EMAIL PROTECTED]

The contents of this email and any files transmitted with it are  
confidential and intended solely for the use of the individuals to  
whom it is addressed.
If you are not the intended recipient or have received this e-mail in  
error please notify the sender and delete this e-mail immediately.
Any unauthorised copying, disclosure or distribution of the material  
in this e-mail is strictly prohibited.

Altinity Limited | 404 Seven Sisters Road | London | N4 2LX | United  
Kingdom
Registered in England and Wales under company number 4743767


-
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] Mapping options.

2008-01-18 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Luis Fernando Lacayo
 Sent: Friday, January 18, 2008 10:39 AM
 To: Marc Powell
 Cc: Nagios Users
 Subject: Re: [Nagios-users] Mapping options.
 
 Actually,
 
 I was thinking of hostgroups that have hostgroups.

Yes, I know. That's why I said there was no nesting capability and
offered alternatives that I know of.

--
Marc


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


Re: [Nagios-users] ndoutil question

2008-01-18 Thread Tom Throckmorton
On 01/18/2008 10:26 AM, Alex Dehaini wrote:
 Guys,
 Any other ideas on this. This is the output I get when I try to start NDO
 
 snmp:/# /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
 Support for the specified database server is either not yet supported, or
 was not found on your system.

Silly question:

What is db_servertype set to in your ndo2db.cfg?  Does it match the name 
of the mysql package?

-tt

-- 
Tom Throckmorton
OIT - CSI
Duke University

-
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] ndoutil question

2008-01-18 Thread Giles Coochey
It may help to provide some information:

 

grep db_ ndo2db.cfg ??

 

Can you confirm the database is running?

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Dehaini
Sent: 18 January 2008 16:26
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] ndoutil question

 

Guys,

 

Any other ideas on this. This is the output I get when I try to start
NDO

 

snmp:/# /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg


Support for the specified database server is either not yet supported,
or was not found on your system.

 

 

On Jan 18, 2008 1:54 PM, Alex Dehaini  [EMAIL PROTECTED] wrote:

H

 

Could it be a debian problem then? 

 

 

On Jan 18, 2008 1:53 PM, Giles Coochey  [EMAIL PROTECTED] wrote:

While not answering your question I have Centos with mysql 5.0.22
running ndoutils just fine.

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Dehaini
Sent: 18 January 2008 14:51
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] ndoutil question

 

Hi Everyone,

 

I installed ndoutil 1.4.7b on my centos server running mysql version
4.1.2. I am trying the same installation on my debain etch 3.1 with
mysql 5.0.32 and this is the message I get when I try to start ndo 

 

/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg

 

Support for the specified database server is either not yet supported,
or was not found on your system.

 

I have installed the mysql libraries. Does this mean that ndoutil can't
install on mysql 5.0.32?

-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED] 




-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED] 




-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED] 

-
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-process with 100% CPU after updatetoNagios-2.10

2008-01-18 Thread Bernd Kuhlen
Sorry I didn't, it just wanted to make sure it's something to do with 6.3.

Bernd

Jonathan Call schrieb:
 Did you try my libmap suggestion? I'd be surprised to learn that
 something in FreeBSD 6.3 breaks Nagios. There just aren't that many
 changes. I'm building 6.3 right now to find out though.

 Jonathan


   
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Michael W. Lucas
 Sent: Thursday, January 17, 2008 3:01 PM
 To: Bernd Kuhlen
 Cc: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] nagios-process with 100% CPU after
 updatetoNagios-2.10

 On Thu, Jan 17, 2008 at 10:52:19PM +0100, Bernd Kuhlen wrote:
 
 Hi Jonathan

 I fixed it by rolling back to FreeBSD6.2, now Nagios is stable
   
 again.
   
 HELLO OUT THERE, PLEASE DO NOT TRY TO UPGRADE TO FREEBSD6.3 IF
   
 YOU'RE
   
 RUNNING NAGIOS! AT LEAST NOT AT THE MOMENT.
 
 Seems to be a serious bug.
   
 I'd definitely bring this up on the freebsd-stable mailing list, then.

 I'm running 2.10 on 6-stable and 8-current, no troubles.

 ==ml

 --
 Michael W. Lucas [EMAIL PROTECTED],
 
 [EMAIL PROTECTED]
   
  http://www.BlackHelicopters.org/~mwlucas/
   Now Shipping: Absolute FreeBSD --
 
 http://www.AbsoluteFreeBSD.com
   
 On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security
 reasons.


 
 
 -
   
 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 email message is intended for the use of the person to whom it has been 
 sent, and may contain information that is confidential or legally protected. 
 If you are not the intended recipient or have received this message in error, 
 you are not authorized to copy, distribute, or otherwise use this message or 
 its attachments. Please notify the sender immediately by return e-mail and 
 permanently delete this message and any attachments. Verio, Inc. makes no 
 warranty that this email is error or virus free.  Thank you.

   



-
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-process with 100% CPU after updatetoNagios-2.10

2008-01-18 Thread Jonathan Call
Did you try my libmap suggestion? I'd be surprised to learn that
something in FreeBSD 6.3 breaks Nagios. There just aren't that many
changes. I'm building 6.3 right now to find out though.

Jonathan


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Michael W. Lucas
 Sent: Thursday, January 17, 2008 3:01 PM
 To: Bernd Kuhlen
 Cc: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] nagios-process with 100% CPU after
 updatetoNagios-2.10
 
 On Thu, Jan 17, 2008 at 10:52:19PM +0100, Bernd Kuhlen wrote:
  Hi Jonathan
 
  I fixed it by rolling back to FreeBSD6.2, now Nagios is stable
again.
 
  HELLO OUT THERE, PLEASE DO NOT TRY TO UPGRADE TO FREEBSD6.3 IF
YOU'RE
 RUNNING NAGIOS! AT LEAST NOT AT THE MOMENT.
 
  Seems to be a serious bug.
 
 I'd definitely bring this up on the freebsd-stable mailing list, then.
 
 I'm running 2.10 on 6-stable and 8-current, no troubles.
 
 ==ml
 
 --
 Michael W. Lucas  [EMAIL PROTECTED],
[EMAIL PROTECTED]
   http://www.BlackHelicopters.org/~mwlucas/
   Now Shipping: Absolute FreeBSD --
http://www.AbsoluteFreeBSD.com
 On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security
 reasons.
 


-
 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 email message is intended for the use of the person to whom it has been 
sent, and may contain information that is confidential or legally protected. If 
you are not the intended recipient or have received this message in error, you 
are not authorized to copy, distribute, or otherwise use this message or its 
attachments. Please notify the sender immediately by return e-mail and 
permanently delete this message and any attachments. Verio, Inc. makes no 
warranty that this email is error or virus free.  Thank you.

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


Re: [Nagios-users] check_snmp_storage.pl returns Put snmp login info!

2008-01-18 Thread Tom Throckmorton
On 01/18/2008 04:24 PM, Bret Goodfellow wrote:
 I have the snmpd running on a client box.  I have nagois monitoring this
 box without any issues.  I decided to implement a new plugin I found,
 check_snmp_storage.pl.  From the nagios server I can issue this
 command to the client box, and I get a valid response, e.g.
  
  ...
 My command is defined as:
  
 define command{
 command_namecheck_snmp_storage
 command_line$USER$/check_snmp_storage.pl -H $HOSTADDRESS$ $ARG1$

$USER$ won't get you much, I don't think.  Maybe you meant $USER1$ ?

-tt

-- 
Tom Throckmorton
OIT - CSI
Duke University

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


Re: [Nagios-users] check_snmp_storage.pl returns Put snmp login info!

2008-01-18 Thread Tom Throckmorton
On 01/18/2008 05:39 PM, Bret Goodfellow wrote:
 Here's what I get:
 ./check_snmp_storage.pl -H somehost -C community -m /tmp -w 95 -c 98 -f
 -v
 Alarm at 15
 SNMP v1 login
 Filter : /tmp
  .
  .
  .
 /tmp: 6%used(221MB/3937MB) (95%) : OK

Reading the check_snmp_storage code again, I see that you'll get that error if
you haven't specified a community.  Looking at your check_command in the
service definition:

 check_commandcheck_snmp_storage!-C public -m /temp -w 95 -c 98 
 -f!

...you have an unnecessary trailing '!' on the check_command, which I think
will be silently ignored, based on your command_line def), but I can't recall
whether or not spaces in the ARGn macros are legal (I think not, but the docs
don't specify and I haven't tested).

The usual form is something like:

In your checkcommand def:

..
command_name  check_foo
command_line  $USERn$/check_foo.pl -H $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$
...

In your service def:

...
host_name   somehost
check_command  check_foo!arg1value!arg2value!arg3value
...

Can you try formatting your commands as such?

-tt


-- 
Tom Throckmorton
OIT - CSI
Duke University

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


Re: [Nagios-users] check_snmp_storage.pl returns Put snmp login info!

2008-01-18 Thread Bret Goodfellow
Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom
Throckmorton
Sent: Friday, January 18, 2008 3:30 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] check_snmp_storage.pl returns Put snmp
login info!

On 01/18/2008 05:07 PM, Bret Goodfellow wrote:
 It actually is $USER1$.  I just typed it incorrectly in this email.
 Thanks

OK.  That error looks vaguely like an SNMPv3 login failure.

What do you see when you run the plugin from the command-line with a
'-v' at the end?  It should show you the SNMP version:

 ./check_snmp_storage.pl -H somehost -C community -m /foo -w 95 -c 98 
 -f -v Alarm at 15 SNMP v1 login Filter : /foo OID : 
 1.3.6.1.2.1.25.2.3.1.3.3, Desc : Swap Space OID : 
 1.3.6.1.2.1.25.2.3.1.3.8, Desc : /proc/sys/fs/binfmt_misc OID : 
 1.3.6.1.2.1.25.2.3.1.3.2, Desc : Real Memory ... etc.

-tt


--
Tom Throckmorton
OIT - CSI
Duke University

Here's what I get:
./check_snmp_storage.pl -H somehost -C community -m /tmp -w 95 -c 98 -f
-v
Alarm at 15
SNMP v1 login
Filter : /tmp
 .
 .
 .
/tmp: 6%used(221MB/3937MB) (95%) : OK


-
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] NDO Troubles

2008-01-18 Thread svalding
List, 


Today our NDOUtils broker...broke. I'm not entirely sure what happened,
but I can tell you what is going on and what I've done...
Nagios 2.10, 1.4.10 plugs on Ubuntu 7.10

This has been fine for about 3 months now. 

Today however, we started seeing some issues with the daemon. In the
event log of the nagios web interface it shows successful connections,
as does the nagios/mysql logs. Only problem is that in the Nagvis
interface it is showing that NDO is reporting Nagios as closed, or no
updates in more that 100 seconds. I'm leaning more towards a broken
Nagvis at the moment. I am the only person touching the Nagios box and
nothing has changed. I did try to add Bacula to this box, but have since
removed all relative packages that I installed. Has anyone
seen/experienced a similar issue with NDO? It's really frustrating, as
we have an IT auditor here today, and this is a big part of our audit
this year!!!

Stephen 
begin:vcard
n:VALDINGER;STEPHEN
fn:STEPHEN VALDINGER
tel;cell:740-491-0958
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard

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

Re: [Nagios-users] check_snmp_storage.pl returns Put snmp login info!

2008-01-18 Thread Tom Throckmorton
On 01/18/2008 05:07 PM, Bret Goodfellow wrote:
 It actually is $USER1$.  I just typed it incorrectly in this email.
 Thanks 

OK.  That error looks vaguely like an SNMPv3 login failure.

What do you see when you run the plugin from the command-line with a 
'-v' at the end?  It should show you the SNMP version:

 ./check_snmp_storage.pl -H somehost -C community -m /foo -w 95 -c 98 -f -v
 Alarm at 15
 SNMP v1 login
 Filter : /foo
 OID : 1.3.6.1.2.1.25.2.3.1.3.3, Desc : Swap Space
 OID : 1.3.6.1.2.1.25.2.3.1.3.8, Desc : /proc/sys/fs/binfmt_misc
 OID : 1.3.6.1.2.1.25.2.3.1.3.2, Desc : Real Memory
 ... etc.

-tt


-- 
Tom Throckmorton
OIT - CSI
Duke University

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


Re: [Nagios-users] check_snmp_storage.pl returns Put snmp login info!

2008-01-18 Thread Bret Goodfellow
It actually is $USER1$.  I just typed it incorrectly in this email.
Thanks 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tom
Throckmorton
Sent: Friday, January 18, 2008 2:41 PM
To: Bret Goodfellow
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] check_snmp_storage.pl returns Put snmp
login info!

On 01/18/2008 04:24 PM, Bret Goodfellow wrote:
 I have the snmpd running on a client box.  I have nagois monitoring 
 this box without any issues.  I decided to implement a new plugin I 
 found, check_snmp_storage.pl.  From the nagios server I can issue 
 this command to the client box, and I get a valid response, e.g.
  
  ...
 My command is defined as:
  
 define command{
 command_namecheck_snmp_storage
 command_line$USER$/check_snmp_storage.pl -H $HOSTADDRESS$
$ARG1$

$USER$ won't get you much, I don't think.  Maybe you meant $USER1$ ?

-tt

--
Tom Throckmorton
OIT - CSI
Duke University


-
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] check_smtp issues

2008-01-18 Thread Julie S. Lin
Hi All

it turned out to be a simple firewall issue.  the new mailserver was not 
allowed
to respond to the nagios checks.  what are the ports used by 
check_smtp ? 
i'm using whatever version of check_smtp  came with the install of 
nagios 1.2

J


Alex Dehaini wrote:

 Do a manual telnet on port 25 from the nagios server to the mail 
 server in connect and see if you can connect.

 On Jan 18, 2008 5:38 AM, Julie S. Lin [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Hi All

 Sorry for the incomplete info, I do know better, really.  Pls forgive.

 Anyways, below is the result I get when I manually run check_smtp
 from my plugins directory.  This is on a redhat es4 machine
 running 1.2
 nagios
 (yes, very outdated I know).

 [EMAIL PROTECTED] plugins]# ./check_smtp mail.xxx.com 
 http://mail.xxx.com
 Socket timeout after 10 seconds
 [EMAIL PROTECTED] plugins]# ./check_smtp mail.yyy.com 
 http://mail.yyy.com
 SMTP OK - 0 second response time

 * so check_smtp fails on one mail server but not the other
 mail.xxx.com http://mail.xxx.com is behind the same firewall as
 the nagios server
 but on a different network
 mail.yyy.com http://mail.yyy.com is on another network outside
 of the firewall
 is there anything I should know about having nagios check_smtp
 server within
 a firewall??

 And of course, mail is working just fine.
  mail -v [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Subject: foo
 .
 EOT
 Null message body; hope that's ok
 [EMAIL PROTECTED] Connecting to mail.xxx.com
 http://mail.xxx.com. via esmtp...
 220 xxx.com http://xxx.com ESMTP
  EHLO anywhere.com http://anywhere.com
 250-xxx.com http://250-xxx.com Ok.
 250-AUTH PLAIN LOGIN CRAM-MD5
 250-AUTH=PLAIN LOGIN CRAM-MD5 X-NETSCAPE-HAS-BUGS
 250-STARTTLS
 250-XVERP=Courier
 250-XEXDATA
 250-XSECURITY=NONE,STARTTLS
 250-PIPELINING
 250-8BITMIME
 250-SIZE
 250 DSN
  STARTTLS
 220 Ok
  EHLO anywhere.com http://anywhere.com
 250-xxx.com http://250-xxx.com Ok.
 250-AUTH PLAIN LOGIN CRAM-MD5
 250-AUTH=PLAIN LOGIN CRAM-MD5 X-NETSCAPE-HAS-BUGS
 250-XVERP=Courier
 250-XEXDATA
 250-XSECURITY=NONE,STARTTLS
 250-PIPELINING
 250-8BITMIME
 250-SIZE
 250 DSN
  MAIL From:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] SIZE=48
 250 Ok.
  RCPT To: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 250 Ok.
  DATA
 354 Ok.
  .
 250 Ok. 47903A17.3806
 [EMAIL PROTECTED] Sent (Ok. 47903A17.3806)
 Closing connection to mail.xxx.com http://mail.xxx.com.
  QUIT
 221 Bye.

 -Original Message-
 From: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]] On Behalf Of
 Marc Powell
 Sent: Thursday, January 17, 2008 7:33 PM
 To: nagios-users@lists.sourceforge.net
 mailto:nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] check_smtp issues



  -Original Message-
  From: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
 [mailto:nagios-users- mailto:nagios-users-
  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]] On Behalf Of Julie S. Lin
  Sent: Thursday, January 17, 2008 6:36 PM
  To: nagios-users@lists.sourceforge.net
 mailto:nagios-users@lists.sourceforge.net
  Subject: [Nagios-users] check_smtp issues
 
  Hi
 
  I just added a new mail server and am having trouble getting
 check_smtp
  to check it properly.  This mail server is on a different
 network than
  my nagios server
  HOWEVER, I can telnet to the standard ports ( 25 and 993 just fine)
 
  check_smtp to another mail server on yet another network works.


 You should tell us what the problem is. Be very specific. We can't
 help
 if we don't know and we aren't going to guess.

 --
 Marc


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

Re: [Nagios-users] ndoutil question

2008-01-18 Thread Alex Dehaini
Guys,
Any other ideas on this. This is the output I get when I try to start NDO

snmp:/# /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
Support for the specified database server is either not yet supported, or
was not found on your system.


On Jan 18, 2008 1:54 PM, Alex Dehaini [EMAIL PROTECTED] wrote:

 H
 Could it be a debian problem then?



 On Jan 18, 2008 1:53 PM, Giles Coochey  [EMAIL PROTECTED] wrote:

   While not answering your question I have Centos with mysql 5.0.22running 
  ndoutils just fine.
 
 
--
 
  *From:* [EMAIL PROTECTED] [mailto:
  [EMAIL PROTECTED] *On Behalf Of *Alex Dehaini
  *Sent:* 18 January 2008 14:51
  *To:* nagios-users@lists.sourceforge.net
  *Subject:* [Nagios-users] ndoutil question
 
 
 
  Hi Everyone,
 
 
 
  I installed ndoutil 1.4.7b on my centos server running mysql version
  4.1.2. I am trying the same installation on my debain etch 3.1 with
  mysql 5.0.32 and this is the message I get when I try to start ndo
 
 
 
  /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
 
 
 
  *Support for the specified database server is either not yet supported,
  or was not found on your system.*
 
 
 
  I have installed the mysql libraries. Does this mean that ndoutil can't
  install on mysql 5.0.32?*
  *
  --
  Alex Dehaini
  Developer
  Site - www.alexdehaini.com
  Email - [EMAIL PROTECTED]
 



 --
 Alex Dehaini
 Developer
 Site - www.alexdehaini.com
 Email - [EMAIL PROTECTED]




-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED]
-
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] ndoutil question

2008-01-18 Thread Giles Coochey
While not answering your question I have Centos with mysql 5.0.22
running ndoutils just fine.

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Dehaini
Sent: 18 January 2008 14:51
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] ndoutil question

 

Hi Everyone,

 

I installed ndoutil 1.4.7b on my centos server running mysql version
4.1.2. I am trying the same installation on my debain etch 3.1 with
mysql 5.0.32 and this is the message I get when I try to start ndo 

 

/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg

 

Support for the specified database server is either not yet supported,
or was not found on your system.

 

I have installed the mysql libraries. Does this mean that ndoutil can't
install on mysql 5.0.32?

-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED] 

-
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] Bloody selinux on Fedora 8

2008-01-18 Thread Ian Lists

- mjn [EMAIL PROTECTED] wrote:

 Nagios folks-
 
 Has anyone resolved all of the selinux issues when installing nagios 
 
 on Fedora 8?
 
 Specifically, I am getting these:
 
 type=AVC msg=audit(1200663995.088:64): avc:  denied  { read } for   
 pid=3488 comm=ping name=nagios.cmd dev=dm-0 ino=16652317  
 scontext=system_u:system_r:ping_t:s0  
 tcontext=system_u:object_r:nagios_log_t:s0 tclass=fifo_file
 
 type=AVC msg=audit(1200657768.283:14207): avc:  denied  { read } for  
 
 pid=7676 comm=sendmail name=nagios.cmd dev=dm-0 ino=16652317  
 scontext=system_u:system_r:sendmail_t:s0  
 tcontext=system_u:object_r:nagios_log_t:s0 tclass=fifo_file
 
 I don't know what effect the ping denies are having but all of my e- 
 mail and page alerts are coming across with no content (I know they  
 are from nagios because of the from-address but there is no subject or
  
 body text).
 
 I followed this handy guide:
 http://www.rickwargo.com/2006/10/29/fc6-selinux-and-nagios/
 
 But my problem persists. I've searched around and haven't found much 
 
 that is helpful on the SELinux front as far as taking audit data and 
 
 correcting your policies to allow things.
 
 Has anyone else either had experience with SELinux and can help me  
 correct these problems or is there a set of instructions geared more 
 
 toward newer versions of Fedora that would provide the information?
 
 Some system information:
 Fedora 8 2.6.21-2952.fc8xen SMP
 nagios-2.10-5.fc8
 nagios-plugins-*-1.4.8-9.fc8
 checkpolicy-2.0.4-1.fc8
 policycoreutils-2.0.33-3.fc8
 selinux-policy-devel-3.0.8-73.fc8
 selinux-policy-targeted-3.0.8-73.fc8
 selinux-policy-3.0.8-73.fc8
 policycoreutils-gui-2.0.33-3.fc8
 
 Thanks!

It looks like you need to add the following exceptions to your policy.

#= ping_t ==
allow ping_t nagios_log_t:fifo_file read;

#= sendmail_t ==
allow sendmail_t nagios_log_t:fifo_file read;

The easiest way would be to use audit2allow.  Try this.

ausearch -m AVC | audit2allow  -M nagios
semodule -i nagios.pp

 
 -- 
 
 Mike Neuharth [EMAIL PROTECTED]
 Server Operations Manager
 phn: 612.625.1957
 cal: http://tinyurl.com/3jc2v
 =
 College of Food, Agricultural, and Natural Resource Sciences
 University of Minnesota
 http://www.cfans.umn.edu/
 
 
 
 
 
 -
 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] check_smtp issues

2008-01-18 Thread Marc Powell

On Jan 17, 2008, at 11:38 PM, Julie S. Lin wrote:

 Hi All

 Sorry for the incomplete info, I do know better, really.  Pls forgive.

 Anyways, below is the result I get when I manually run check_smtp
 from my plugins directory.  This is on a redhat es4 machine running  
 1.2
 nagios
 (yes, very outdated I know).

 [EMAIL PROTECTED] plugins]# ./check_smtp mail.xxx.com
 Socket timeout after 10 seconds

Try running with verbose output. You should also perform the test as  
the nagios user. --

check_smtp -H mail.xxx.com -v

What version of the plugins are you using? There were a number of  
issues with check_smtp in old releases that have since been fixed.  
There was a problem similar to this with Exchange; it wouldn't QUIT  
properly or something like that. If you're using an older version and  
the verbose output above doesn't show anything interesting, try  
upgrading to the latest plugins or at least the latest check_smtp.

--
Marc

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


[Nagios-users] nagios bind to specific ip

2008-01-18 Thread Nelson Serafica
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. 

If 10.4.0.65 is up, I can see an error in my logs in 10.4.0.0/24 network cause 
only allowed to run this plugins is from 10.0.1.14.
This plugins is to check if radius is running or not.

Can I bind in nagios that all plugins will run on 10.0.1.14 ip?
  





  
 
Tired of spam? Yahoo! Mail has the best spam protection around 
http://ph.mail.yahoo.com -
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] Mapping options.

2008-01-18 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Luis Fernando Lacayo
 Sent: Friday, January 18, 2008 8:47 AM
 To: Nagios Users
 Subject: [Nagios-users] Mapping options.
 
 Good Day to all,
 
 I finally got my NAGIOS setup pretty much the way that I like it.  I
am
 monitoring over 1000 devices, and I have 2 questions.
 
 1. When displaying the host group summary is there a way to group /sub
 group the display.  For example at the moment I have 6 different type
of
 Microsoft 2003 Servers.  I have a group for exchange, a group for AD,
 Ishare, etc.  A group of Linux boxes, HPUX, SUN and AIX.  What I would
 like to do is to have a summary that would only give me the servers by
 type, then a summary of the functions. Has anyone done this or some
 thing similar.

Sounds like hostgroups{} to group by type of box and servicegroups{} to
group by services provided. There is no 'nesting' capability. Am I
mis-interpreting?
 
 2. The Status Map, for the number of devices that I am monitoring when
I
 click on the status map, I get a BLOB, icons on top of icons, etc.
 Any way to clean this up?

Change the layout type or use a custom cords per object (hostextinfo{}).
With that many hosts though, you'll be challenged. Setting proper
parent's relationships will help. We have about 3000 devices and there
just isn't enough useful information in those maps to make that process
worthwhile for us so I don't have a whole lot of experience with it.

--
Marc


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


[Nagios-users] check_snmp_storage.pl returns Put snmp login info!

2008-01-18 Thread Bret Goodfellow
I have the snmpd running on a client box.  I have nagois monitoring this
box without any issues.  I decided to implement a new plugin I found,
check_snmp_storage.pl.  From the nagios server I can issue this
command to the client box, and I get a valid response, e.g.
 
[EMAIL PROTECTED] ]# su - nagois
-sh-3.00$cd /usr/lib64/nagios/plugins
-sh-3.00$./check_snmp_storage.pl -H star -C public -m /temp -w 95 -c
98 -f
/temp: 2%used(35MB/1984MB) (95%) : OK | '/temp'=35MB;1885;1945:0:1984
-sh-3.00$
 
But, when I implement this plugin in Nagios, I get the following
response:  Put snmp login info!
Why does the plugin work from the shell prompt, but fails when run from
Nagios?
 
My service is defined as:
 
define service{
usegeneric-service
host_namestar
service_descriptionsnmp /temp Free Space
is_volatile0
check_period24x7
max_check_attempts3
normal_check_interval5
retry_check_interval1
contact_groupslinux-admins
notification_interval1440
notification_period24x7
notification_optionsw,u,c,r
check_commandcheck_snmp_storage!-C public -m /temp -w 95 -c
98 -f!
}
 
My command is defined as:
 
define command{
command_namecheck_snmp_storage
command_line$USER$/check_snmp_storage.pl -H $HOSTADDRESS$ $ARG1$
}
 
Can anyone help me here?
 
 
-
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