Re: [Nagios-users] Im confused about scheduled downtime and notifications

2009-05-06 Thread Jim Avery
2009/5/5 Frater, Greg J gjfra...@bechtel.com:
 Hi All,

 We've just migrated from Nagios 1 to 3.0.6.  I have a host that was in
 scheduled downtime and turned off.  I turned it back on, while still in
 scheduled downtime, and got a HOST UP alert for it.  Is this expected
 behavior?  Could I have a misconfiguration somewhere, where should I look?
 Has anyone else seen this?

I've occasionally seen notifications for hosts in scheduled downtime,
but only in the few seconds after restarting the Nagios daemon.  I
don't think it's expected behaviour, no.

I've not bothered to find a fix for it, as it happens only rarely and
so long as I don't restart the daemon at three in the morning, it
won't bother anyone.

Cheers,

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] Hosts with dynamic IP addresses

2009-05-06 Thread Jim Avery
2009/5/5 Ken Tang kent...@berkeley.edu:
 I'd like to monitor a few user laptops in our environment.  They use
 wireless so they often get dynamic IP addresses.  Is there a way that
 Nagios can accept any connections, or, a range of addresses for a host?
 I don't have control of the DHCP server so I cannot assign a fixed IP
 address.

I would have the laptops send passive checks back to Nagios.  You can
use nsca if you have your own plugins or use NSClient++ which is also
capable of sending results to Nagios via nsca.

hth,

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] Hosts with dynamic IP addresses

2009-05-06 Thread Andreas Ericsson
Ken Tang wrote:
 I'd like to monitor a few user laptops in our environment.  They use 
 wireless so they often get dynamic IP addresses.  Is there a way that 
 Nagios can accept any connections, or, a range of addresses for a host?  
 I don't have control of the DHCP server so I cannot assign a fixed IP 
 address. 
 

There is no way nagios can accept a range of ip-addresses for a host,
since it wouldn't know which of the presumably multiple hosts in the
range is responding to what.

Since you don't have control over the DHCP server, following Jim Avery's
advice and letting the laptops send passive check-results to your nagios
server is definitely the best solution.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Register now for Nordic Meet on Nagios, June 3-4 in Stockholm
 http://nordicmeetonnagios.op5.org/

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] Hosts with dynamic IP addresses

2009-05-06 Thread Kevin Keane
Does your network use dynamic DNS by any chance? If you do, you could 
use the laptop's DNS name rather than its IP address.

You may also be able to use a script that enumerates all the machines in 
the network. On Windows, look into the commands net view /Domain: 
and nbtstat -c as some starting points (Samba also has similar commands)

Ken Tang wrote:
 I'd like to monitor a few user laptops in our environment.  They use 
 wireless so they often get dynamic IP addresses.  Is there a way that 
 Nagios can accept any connections, or, a range of addresses for a host?  
 I don't have control of the DHCP server so I cannot assign a fixed IP 
 address. 
   
-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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


[Nagios-users] Identical weird data returned by NRPE on eight different hosts?

2009-05-06 Thread Gabriel - IP Guys
Dear All,

I have the following configuration for my hosts, but for some reason, my
hosts are all reporting the same data, even though I'm using NRPE. For
example, swap data, is exactly the same for each host. I have included a
link to a CFG file that I am using, can someone have a look, and make
sure that I've not screwed anything up? :) Thank you

http://pastebin.com/m7745ff63


---
Kind Regards,
Mr Gabriel


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] Only hard status on tactical display?

2009-05-06 Thread Jim Avery
2009/5/6 Divan Santana divan.sant...@gmail.com:
 Hi again...

 Sorry to bother all but surely someone has wanted to get the tactical display
 to only show hard status' and not soft errors.

Yes indeed!

 Has anyone managed to get this to work?

I haven't.  Although the Nagios Checker plugin for Firefox can do
this.  http://code.google.com/p/nagioschecker/


Cheers,

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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


[Nagios-users] NDO Utils Error Support for the specified database server is either not yet supported

2009-05-06 Thread BipinDas-Gmail
Hello Everybody

 

I have setup nagios for the Datacentre. Now I need to setup NDO for database
logging. Setup everything according to the DOC.

I got an error when I tried to start the daemon using à
/usr/local/nagios/bin/ndo2db-3x -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.”

 

What went wrong ? I have followed the official NDO documentation.

Thanks in advance

 

Greetings 

BipinDas

+966543680643

www.samadhanam.co.nr

 

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] checking host alive or service ping check

2009-05-06 Thread Jim Avery
2009/5/6 Felipe Ferreira fferre...@osiatis.es:
 Hello all,
 What is the difference between checking a host is alive with a check in
 the host template (check_command check-host-alive), witch I have defined
 as a PING.
 And creating a ping service applied to the host ? I did a test with both
 configurations, and didn't see a different behavior.
 The only big advantage I have with the Ping is the graphics witch I
 really need, so I am wondering if I could disable host-alive check, and
 make it depend on the ping service check? BTW I use centreon.

 cheers,
 www.felipeferreira.net

Host checks (especially for routers, switches, and other network
nodes) are important in determining reachability.  See
http://nagios.sourceforge.net/docs/3_0/networkreachability.html

If you have no other active checks for that node, then I would
normally recommend configuring ping as both host and service check, as
it just makes it easier to see what's going on in the Nagios cgis.  If
you are already actively monitoring other services (for example FTP)
on the host, then personally I wouldn't bother having ping as a
service check too (I'd just use ping for the host check).

You might want to use different parameters for the host check ping,
for example if you want the host check to send more pings with a
longer timeout than the service checks to make absolutely sure the
host is really 'down'.  On the other hand, you might want to make your
host checks really simple and quick so that Nagios doesn't get bogged
down doing host checks if you have a major network outage affecting a
lot of hosts.

hth,

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] plugins for clustered environment

2009-05-06 Thread Anirudh Srinivasan
Why don't you use check_tcp on tcp port for network service offered by
exchange (smtp25/pop110)?

yes , i am using this right now. Currently the below service check is done
on the clustered node individually .

My question is , is it possible to put it on the  clustered environment
instead of individually  ??

*check_service!Microsoft Exchange Active Directory Topology Service,
Microsoft Exchange Anti-spam Update, Microsoft Exchange EdgeSync, Microsoft
Exchange File Distribution, Microsoft Exchange Information Store, Microsoft
Exchange Mail Submission, Microsoft Exchange Mailbox Assistants, Microsoft
Exchange Replication Service, Microsoft Exchange Search Indexer, Microsoft
Exchange Service Host, Microsoft Exchange System Attendant, Microsoft
Exchange Transport, Microsoft Exchange Transport Log Search
*
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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

[Nagios-users] check_icmp and check_host

2009-05-06 Thread Meyer Jerome
 

Hi

 

I still have many questions about nagios J. 

Yeah, there're many documentations on the Web, but that is not always
obvious to find what I seeks...

 

1)  So, I've create a link for my check_host to check_icmp! But I want
to known what do you think about that, is ok? Or is there a special
plugins for check_host?

2)  Some cgi files doesn't exist under /usr/local/nagios/sbin/ like:
statusmap.cgi, trends.cgi and histogram.cgi! why and where could I find
this files?

3)  I want to have some graphs for by example the availability! Has
someone ideas where I can find documentation about that? It's easy to
implement??? 

 

Thanks 

 

Regards

jerome

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] check_icmp and check_host

2009-05-06 Thread MAD
Sorry, just realizing The reason you don't have statusmap.cgi, trends.cgi 
and histogram.cgi is may be becaus you don't have one of the graphic library 
installed on your server. Check if you have libjpeg-devel, libgd-devel and 
libpng-devel installed on your server (if your running under Debian, it should 
be libjpeg62-dev, libpng12-dev and libgd2-xpm-dev or libgd2-noxpm-dev).

Marc-André

- Mail Original -
De: Meyer Jerome jerome.me...@baldata.ch
À: Nagios-users@lists.sourceforge.net
Envoyé: Mercredi 6 Mai 2009 15h23:27 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: [Nagios-users] check_icmp and check_host







Hi 



I still have many questions about nagios J . 

Yeah, there’re many documentations on the Web, but that is not always obvious 
to find what I seeks… 



1) So, I’ve create a link for my check_host to check_icmp! But I want to known 
what do you think about that, is ok? Or is there a special plugins for 
check_host? 

2) Some cgi files doesn’t exist under /usr/local/nagios/sbin/ like: 
statusmap.cgi, trends.cgi and histogram.cgi! why and where could I find this 
files? 

3) I want to have some graphs for by example the availability! Has someone 
ideas where I can find documentation about that? It’s easy to implement??? 



Thanks 



Regards 

jerome 
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] check_icmp and check_host

2009-05-06 Thread Meyer Jerome
Hi Marc-André

Thanks for your answers!
Here are the installed librairies on my RedHat Server :

# rpm -qa|grep libjpeg
libjpeg-6b-37
libjpeg-6b-37
# rpm -qa|grep libpng
libpng-1.2.10-7.1.el5_3.2
libpng-1.2.10-7.1.el5_3.2
# rpm -qa|grep gd
gd-2.0.33-9.4.el5_1.1

Is Ok??
And here're the procedure :

./configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include 
--enable-embedded-perl --with-perlcache --prefix=/usr/local/nagios 
--sysconfdir=/etc/nagios --localstatedir=/var/nagios --with-nagios-user=nagios 
--with-nagios-group=/nagios --with-command-group=/nagcmd
make install-init
make install-commandmode
make install-config


Ok, On the left side, there is a column with reporting and availability. Then I 
must to selected Hosts,services, etc... then create availability report the 
results appears in a table with all the value in % but without graphs

jerome
 -Ursprüngliche Nachricht-
 Von: MAD [mailto:sri.lu...@free.fr]
 Gesendet: Mittwoch, 6. Mai 2009 16:14
 An: Meyer Jerome
 Cc: Nagios-users@lists.sourceforge.net
 Betreff: Re: [Nagios-users] check_icmp and check_host
 
 Sorry, just realizing The reason you don't have statusmap.cgi, trends.cgi
 and histogram.cgi is may be becaus you don't have one of the graphic library
 installed on your server. Check if you have libjpeg-devel, libgd-devel and
 libpng-devel installed on your server (if your running under Debian, it
 should be libjpeg62-dev, libpng12-dev and libgd2-xpm-dev or libgd2-noxpm-
 dev).
 
 Marc-André
 
 - Mail Original -
 De: Meyer Jerome jerome.me...@baldata.ch
 À: Nagios-users@lists.sourceforge.net
 Envoyé: Mercredi 6 Mai 2009 15h23:27 GMT +01:00 Amsterdam / Berlin / Berne /
 Rome / Stockholm / Vienne
 Objet: [Nagios-users] check_icmp and check_host
 
 
 
 
 
 
 
 Hi
 
 
 
 I still have many questions about nagios J .
 
 Yeah, there’re many documentations on the Web, but that is not always obvious
 to find what I seeks…
 
 
 
 1) So, I’ve create a link for my check_host to check_icmp! But I want to
 known what do you think about that, is ok? Or is there a special plugins for
 check_host?
 
 2) Some cgi files doesn’t exist under /usr/local/nagios/sbin/ like:
 statusmap.cgi, trends.cgi and histogram.cgi! why and where could I find this
 files?
 
 3) I want to have some graphs for by example the availability! Has someone
 ideas where I can find documentation about that? It’s easy to implement???
 
 
 
 Thanks
 
 
 
 Regards
 
 jerome
 -
 -
 The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
 production scanning environment may not be a perfect world - but thanks to
 Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
 Series Scanner you'll get full speed at 300 dpi even with all image
 processing features enabled. http://p.sf.net/sfu/kodak-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
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] check_icmp and check_host

2009-05-06 Thread Andreas Ericsson
Meyer Jerome wrote:
  
 
 Hi
 
  
 
 I still have many questions about nagios J. 
 
 Yeah, there're many documentations on the Web, but that is not always
 obvious to find what I seeks...
 
  
 
 1)  So, I've create a link for my check_host to check_icmp! But I want
 to known what do you think about that, is ok? Or is there a special
 plugins for check_host?
 

Linking check_icmp to check_host is, generally, a Good Thing(tm). I
assume we're talking filesystem links here btw. This is so because
check_icmp does some special magic if it's called by the name
check_host which can tremendously speed things up when services go
haywire but the host is still up and running just fine.

 2)  Some cgi files doesn't exist under /usr/local/nagios/sbin/ like:
 statusmap.cgi, trends.cgi and histogram.cgi! why and where could I find
 this files?
 

make install-cgis

should build and install the cgi's for you.

 3)  I want to have some graphs for by example the availability! Has
 someone ideas where I can find documentation about that? It's easy to
 implement??? 
 

It's far from easy to implement, and especially so if you want to get
all the corner-cases right. Fortunately though, there are solutions
ready-made for this, although I don't know how most of them work.

There's one at http://www.op5.org (check under code library, I think)
that's a bit of a challenge to set up unless you're using RPM-based
system, but it's just pure awesome when it's actually up and running.

HTH

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Register now for Nordic Meet on Nagios, June 3-4 in Stockholm
 http://nordicmeetonnagios.op5.org/

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] check_icmp and check_host

2009-05-06 Thread Meyer Jerome
Thanks for your help!

 
  Hi
 
  I still have many questions about nagios J.
  Yeah, there're many documentations on the Web, but that is not
  always obvious to find what I seeks...
 
  1)  So, I've create a link for my check_host to check_icmp! But I
  want to known what do you think about that, is ok? Or is there a
  special plugins for check_host?
 
 You don't need a special plugin. Anything that will return a non-OK
 state when the host is down is fine. A ping/icmp check is most common
 for this purpose and check_icmp will work fine.
 
  2)  Some cgi files doesn't exist under /usr/local/nagios/sbin/ like:
  statusmap.cgi, trends.cgi and histogram.cgi! why and where could I
  find this files?
 
 This is in the FAQ. The GD libs are not installed or were not found at
 compile time. The output of ./configure will likely contain references
 to this as well.

I've installed somes packages : 

# rpm -qa|grep libjpeg
libjpeg-6b-37
libjpeg-6b-37
# rpm -qa|grep libpng
libpng-1.2.10-7.1.el5_3.2
libpng-1.2.10-7.1.el5_3.2
# rpm -qa|grep gd
gd-2.0.33-9.4.el5_1.1

 
  3)  I want to have some graphs for by example the availability!
  Has someone ideas where I can find documentation about that? It's
  easy to implement???
 
 Nagios has integrated availability reporting via the Availability menu
 option(s) though I wouldn't necessarily call it a graph. I think what
 you're looking for is the histogram mentioned above...

Do you means that the graphs will be on the Alert Histogram reports??


Jerome



 
 --
 Marc
 
 


-
 -
 The NEW KODAK i700 Series Scanners deliver under ANY circumstances!
Your
 production scanning environment may not be a perfect world - but
thanks to
 Kodak, there's a perfect scanner to get the job done! With the NEW
KODAK i700
 Series Scanner you'll get full speed at 300 dpi even with all image
 processing features enabled. http://p.sf.net/sfu/kodak-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

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] check_icmp and check_host

2009-05-06 Thread jmoseley
As per Marc, you need the 'devel' packages installed as well.  Did you
install Nagios via RPM or compile from source?  If the latter, I would
suggest you install Nagios from RH's yum repository, thay way, all the
library dependencies will be installed as well.


James Moseley




Meyer Jerome jerome.me...@baldata.ch  wrote:

Hi Marc-André

Thanks for your answers!
Here are the installed librairies on my RedHat Server :

# rpm -qa|grep libjpeg
libjpeg-6b-37
libjpeg-6b-37
# rpm -qa|grep libpng
libpng-1.2.10-7.1.el5_3.2
libpng-1.2.10-7.1.el5_3.2
# rpm -qa|grep gd
gd-2.0.33-9.4.el5_1.1



--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] check_icmp and check_host

2009-05-06 Thread Meyer Jerome

Hi

 
 Meyer Jerome wrote:
 
 
  Hi
 
 
 
  I still have many questions about nagios J.
 
  Yeah, there're many documentations on the Web, but that is not
always
  obvious to find what I seeks...
 
 
 
  1)  So, I've create a link for my check_host to check_icmp! But I
want
  to known what do you think about that, is ok? Or is there a special
  plugins for check_host?
 
 
 Linking check_icmp to check_host is, generally, a Good Thing(tm). I
 assume we're talking filesystem links here btw. This is so because
 check_icmp does some special magic if it's called by the name
 check_host which can tremendously speed things up when services go
 haywire but the host is still up and running just fine.

Yes, it's a filesystem links!
 
  2)  Some cgi files doesn't exist under /usr/local/nagios/sbin/ like:
  statusmap.cgi, trends.cgi and histogram.cgi! why and where could I
find
  this files?
 
 
 make install-cgis

So, that's was my way :
./configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include
--enable-embedded-perl --with-perlcache --prefix=/usr/local/nagios
--sysconfdir=/etc/nagios --localstatedir=/var/nagios
--with-nagios-user=nagios --with-nagios-group=/nagios
--with-command-group=/nagcmd 
make install-init 
make install-commandmode 
make install-config

Could I just make install-cgi now, it's not to late

 
 should build and install the cgi's for you.
 
  3)  I want to have some graphs for by example the availability!
Has
  someone ideas where I can find documentation about that? It's easy
to
  implement???
 
 
 It's far from easy to implement, and especially so if you want to get
 all the corner-cases right. Fortunately though, there are solutions
 ready-made for this, although I don't know how most of them work.
 
 There's one at http://www.op5.org (check under code library, I think)
 that's a bit of a challenge to set up unless you're using RPM-based
 system, but it's just pure awesome when it's actually up and running.

Do you means that the aren't graphs by default?

Thanks 
jerome 


 HTH
 
 --
 Andreas Ericsson   andreas.erics...@op5.se
 OP5 AB www.op5.se
 Tel: +46 8-230225  Fax: +46 8-230231
 
 Register now for Nordic Meet on Nagios, June 3-4 in Stockholm
  http://nordicmeetonnagios.op5.org/
 
 Considering the successes of the wars on alcohol, poverty, drugs and
 terror, I think we should give some serious thought to declaring war
 on peace.

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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


[Nagios-users] PNP swap template HOWTO

2009-05-06 Thread Ayotunde Itayemi
Hi All,
By default I have nothing in the templates directory of my PNP
installation so all my graphs use the Default Template.
I noticed that this inverts the SWAP utilization graph i.e., the red and
yellow lines (warning/critical) are very close to the bottom of the
graph while the utilization shows as almost 100% (close to the top)
instead of very low is it actually is.
I have copied the check_swap.php from the templates.dist directory into
the templates directory, deleted all the existing swap.xml and swap.rrd
files, and restarted the npcd daemon.
I have also tried renaming check_swap.php to swap.php.
I noticed also that all my graphs use the Default Template and the XML
files for all of them have TEMPLATEcheck_nrpe/TEMPLATE. As these
files are generated automatically, how do I get the SWAP graph to use
the SWAP template?
What else do I need to do?
I am using PNP version 0.4.13
Thanks. 

This mail is from a Gimper


-Original Message-
From: Ed Donahue [mailto:libera...@gmail.com] 
Sent: Thursday, April 30, 2009 5:13 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] [nagios] Trigger alert via email

Is it possible to trigger an alert by sending an email to nagios
(passive check)?
I'm guessing it isn't a straight forward as that, just wonder if it is
doable,
and any links to examples would be cool too.

Thanks in advance
Ed


--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
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

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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


[Nagios-users] check_snmp - warning numbers

2009-05-06 Thread Matias Blanco
Hi, I am using the check_snmp nagios`s plugin. And when we check the
ports status of a 3com Baseline 2250 Plus, we recibe many ports results:

SNMP OK – 0
SNMP WARNING - *1*
SNMP WARNING - *84*
SNMP WARNING - *2*
SNMP WARNING - *2*
SNMP WARNING - *4*

The question is, what´s the meaning of the warning numbers?


Other information:
--

# 'check_snmp' command definition
define command{
command_namecheck_snmp
command_line$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
}

Example of service
---

define service {
use service-15x3x5-switchs
host_name   3COM2250P
service_description Port 03 [In Errors]
check_command   check_snmp!-C public -o ifInErrors.3 -w
0 -m RFC1213-MIB
notifications_enabled   0
}



THANKS...
Matías Blanco.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] check_snmp - warning numbers

2009-05-06 Thread Marc Powell
Comments below --

On May 6, 2009, at 10:49 AM, Matias Blanco wrote:

 Hi, I am using the check_snmp nagios`s plugin. And when we check the
 ports status of a 3com Baseline 2250 Plus, we recibe many ports  
 results:

 SNMP OK – 0
 SNMP WARNING - *1*
 SNMP WARNING - *84*
 SNMP WARNING - *2*
 SNMP WARNING - *2*
 SNMP WARNING - *4*

 The question is, what´s the meaning of the warning numbers?


Depends on what you're checking...

[snip]

 Example of service
 ---

 define service {
   use service-15x3x5-switchs
   host_name   3COM2250P
   service_description Port 03 [In Errors]
   check_command   check_snmp!-C public -o ifInErrors.3 -w
 0 -m RFC1213-MIB
   notifications_enabled   0
   }

Assuming the numbers above are related to this service --

 From the RFC1213-MIB --

ifInErrors OBJECT-TYPE
 SYNTAX  Counter
 ACCESS  read-only
 STATUS  mandatory
 DESCRIPTION
 The number of inbound packets that contained
 errors preventing them from being deliverable to a
 higher-layer protocol.
 ::= { ifEntry 14 }

For this example service, the number being returned is the number of  
input errors since last counter reset, roll or device restart for the  
interface with SNMP index 3. Note that this does not necessarily  
correspond to Port 3 thanks to the joys of various SNMP  
implementations and device types. You can identify the specific  
interface that currently has an index of 3 using 'snmpwalk -C public - 
v1 ip of device ifDescr'. You may need to substitute '-v2c' for '- 
v1' if you're using SNMP version 2.

--
Marc


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] check_icmp and check_host

2009-05-06 Thread Marc Powell

On May 6, 2009, at 11:03 AM, Meyer Jerome wrote:

 P.S.- Anyway! As someone still install Nagios from scratch

Yes, absolutely, even on Redhat/clone systems. I happen to believe  
it's the best way to learn it and things are put in the 'right' places  
as far as the documentation, addons and our general expectations...  
Using packages created and modified by someone else else can lead to  
confusion and other issues.

--
Marc


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] check_snmp - warning numbers

2009-05-06 Thread Alejandro Sánchez Meroño
Hola Matías... :-) and hola everyone...

There exists a magical website where to identify every OID you can check with 
SNMP, the link is: 

http://support.ipmonitor.com/mibs_byoidtree.aspx

For your particular issue, if you type RFC1213-MIB at the Search for: form, 
click the result given (RFC1213-MIB), and then View: Oid-tree, you'll be 
able to locate ifInErrors(14) at the tree shown, and clicking it you'll find 
its Description, which reads literally:

The number of inbound packets that contained errors preventing them from being 
deliverable to a higher-layer protocol.

That's the answer to your question!!

Now some other questions appear...

Wouldn't it be nicer to know what exactly are you monitoring before you monitor 
it, so you could properly interpret the results?

Is that parameter (number of inbound packets that contained errors and blah 
blah blah...) significant enough to determine if a port is working properly or 
not? 

Hope this helps...

Best regards, 

 Alejandro

==
Alejandro Sanchez Merono
Area de Informatica y Comunicaciones
Instituto de Tecnologia Electrica - http://www.ite.es
Valencia - Spain


 

-Mensaje original-
De: Matias Blanco [mailto:mat...@valastro.com.ar] 
Enviado el: miércoles, 06 de mayo de 2009 17:49
Para: Nagios-users@lists.sourceforge.net
Asunto: [Nagios-users] check_snmp - warning numbers

Hi, I am using the check_snmp nagios`s plugin. And when we check the ports 
status of a 3com Baseline 2250 Plus, we recibe many ports results:

SNMP OK - 0
SNMP WARNING - *1*
SNMP WARNING - *84*
SNMP WARNING - *2*
SNMP WARNING - *2*
SNMP WARNING - *4*

The question is, what´s the meaning of the warning numbers?


Other information:
--

# 'check_snmp' command definition
define command{
command_namecheck_snmp
command_line$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
}

Example of service
---

define service {
use service-15x3x5-switchs
host_name   3COM2250P
service_description Port 03 [In Errors]
check_command   check_snmp!-C public -o ifInErrors.3 -w
0 -m RFC1213-MIB
notifications_enabled   0
}



THANKS...
Matías Blanco.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your 
production scanning environment may not be a perfect world - but thanks to 
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 
Series Scanner you'll get full speed at 300 dpi even with all image processing 
features enabled. http://p.sf.net/sfu/kodak-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


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] PNP swap template HOWTO

2009-05-06 Thread MAD
You could use a template I developped some weeks ago. It works pretty well. 
Just copy it into the templates directory


Marc-André

- Original Message - 
From: Ayotunde Itayemi ayotunde.itay...@zain.com

To: nagios-users@lists.sourceforge.net
Sent: Wednesday, May 06, 2009 5:09 PM
Subject: [Nagios-users] PNP swap template HOWTO



Hi All,
By default I have nothing in the templates directory of my PNP
installation so all my graphs use the Default Template.
I noticed that this inverts the SWAP utilization graph i.e., the red and
yellow lines (warning/critical) are very close to the bottom of the
graph while the utilization shows as almost 100% (close to the top)
instead of very low is it actually is.
I have copied the check_swap.php from the templates.dist directory into
the templates directory, deleted all the existing swap.xml and swap.rrd
files, and restarted the npcd daemon.
I have also tried renaming check_swap.php to swap.php.
I noticed also that all my graphs use the Default Template and the XML
files for all of them have TEMPLATEcheck_nrpe/TEMPLATE. As these
files are generated automatically, how do I get the SWAP graph to use
the SWAP template?
What else do I need to do?
I am using PNP version 0.4.13
Thanks.

This mail is from a Gimper


-Original Message-
From: Ed Donahue [mailto:libera...@gmail.com]
Sent: Thursday, April 30, 2009 5:13 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] [nagios] Trigger alert via email

Is it possible to trigger an alert by sending an email to nagios
(passive check)?
I'm guessing it isn't a straight forward as that, just wonder if it is
doable,
and any links to examples would be cool too.

Thanks in advance
Ed


--
Register Now  Save for Velocity, the Web Performance  Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance  Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
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

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK 
i700

Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-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 
attachment: check_swap.php
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] Centreon

2009-05-06 Thread Bruce Reed
Interesting thread on Centreon. I evaluated it when it was Oreon 4 years ago
and it was horrid then, difficult to install, unpredictable and had very
little English information available. Looks like it has come a long way. Is
the English conversant community as large as the French now?

Has anyone compared Centreon to Groundwork Open Source? We are currently
using the Groundwork community edition and have considered going to the
Professional edition to gain log processing based alerts and dashboards. I
know Centreon has a dashboard, but I don't know if it's static or
customizable and I don't see any indication Centreon has the ability to
monitor and process log information. Groundwork is quite pricey for what
they offer, has its share of bugs, and frankly doesn't present information
as well as Centreon from what I can see in its screenshots. The Groundwork
status/action screens are NOT an improvement over base Nagios.

Bruce


On 4/9/09 6:22 AM, Christopher McAtackney crist...@gmail.com wrote:

 2009/4/9 James Pratt jpr...@norwich.edu:
 
 
 -Original Message-
 From: Christopher McAtackney [mailto:crist...@gmail.com]
 Sent: Thursday, April 09, 2009 8:59 AM
 To: Nagios Users
 Subject: [Nagios-users] Centreon
 
 Hi all,
 
 Does anyone have any experience using Centreon?
 http://www.centreon.com/
 
 It seems like a really nice front-end to Nagios, but I'd like to hear
 of other people's experiences using it before installing and setting
 it up.
 
 Cheers,
 Chris
 
 
 Hi, if you search the archives, this was actually discussed fairly
 recently:
 
 
 http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg24257.
 html
 
 
 regards,
 jamie
 
 
 Hm, doesn't sound too promising. That's a shame, because it looks
 great from the description and screen shots.
 
 Chris
 
 --
 This SF.net email is sponsored by:
 High Quality Requirements in a Collaborative Environment.
 Download a free trial of Rational Requirements Composer Now!
 http://p.sf.net/sfu/www-ibm-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

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] check_snmp - warning numbers

2009-05-06 Thread Matias Blanco
Hola Alejandro,

Ahora otra cosa:

De que manera crees que pueda chequear los puertos de mi switch con
nagios para tener una idea más clara de lo que está sucediendo?
Porque esos paquetes entrantes con errores no se si son por causa de la
PC o de los puerto del switch...

Muchas Gracias...

Cristian






Hola Matías... :-) and hola everyone...

There exists a magical website where to identify every OID you can check
with SNMP, the link is: 

http://support.ipmonitor.com/mibs_byoidtree.aspx

For your particular issue, if you type RFC1213-MIB at the Search
for: form, click the result given (RFC1213-MIB), and then View:
Oid-tree, you'll be able to locate ifInErrors(14) at the tree shown,
and clicking it you'll find its Description, which reads literally:

The number of inbound packets that contained errors preventing them
from being deliverable to a higher-layer protocol.

That's the answer to your question!!

Now some other questions appear...

Wouldn't it be nicer to know what exactly are you monitoring before you
monitor it, so you could properly interpret the results?

Is that parameter (number of inbound packets that contained errors and
blah blah blah...) significant enough to determine if a port is working
properly or not? 

Hope this helps...

Best regards, 

 Alejandro

==
Alejandro Sanchez Merono
Area de Informatica y Comunicaciones
Instituto de Tecnologia Electrica - http://www.ite.es
Valencia - Spain


 

-Mensaje original-
De: Matias Blanco [mailto:mat...@valastro.com.ar] 
Enviado el: miércoles, 06 de mayo de 2009 17:49
Para: Nagios-users@lists.sourceforge.net
Asunto: [Nagios-users] check_snmp - warning numbers

Hi, I am using the check_snmp nagios`s plugin. And when we check the
ports status of a 3com Baseline 2250 Plus, we recibe many ports results:

SNMP OK - 0
SNMP WARNING - *1*
SNMP WARNING - *84*
SNMP WARNING - *2*
SNMP WARNING - *2*
SNMP WARNING - *4*

The question is, what´s the meaning of the warning numbers?


Other information:
--

# 'check_snmp' command definition
define command{
command_namecheck_snmp
command_line$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
}

Example of service
---

define service {
use service-15x3x5-switchs
host_name   3COM2250P
service_description Port 03 [In Errors]
check_command   check_snmp!-C public -o ifInErrors.3 -w
0 -m RFC1213-MIB
notifications_enabled   0
}



THANKS...
Matías Blanco.




--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] PNP swap template HOWTO

2009-05-06 Thread Jim Avery
2009/5/6 Ayotunde Itayemi ayotunde.itay...@zain.com:
 I noticed also that all my graphs use the Default Template and the XML
 files for all of them have TEMPLATEcheck_nrpe/TEMPLATE. As these
 files are generated automatically, how do I get the SWAP graph to use
 the SWAP template?

You'll notice that the graph produced by the default template tells
you what check command is being run (in the bottom right hand corner
of the graphic).  This is the name you need to use for your template,
so in your case you will need to name your new template file
check_nrpe.php.

It's not quite as simple as that though, because if you set up a
check_nrpe.php template which makes your swap graphs look lovely, it
might make all the other checks you run using check_nrpe look awful!
You might need to consider setting up a separate command definition in
Nagios just for your swap checks.  Make it the same as check_nrpe but
call it something a little different, for example check_nrpe-swap.
Of course you'll need also to change your swap service definition to
use this command.  You can then rename your check_nrpe.pnp template to
check_nrpe-swap.pnp and it won't mess up all your other nrpe checks.

It's not necessary to remove .rrd or .xml files when you tinker with
the templates - just hit refresh in your browser when viewing the
graphs in PNP to see if the template is working.

hth,

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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


[Nagios-users] NSclient++ Performance Counters Help ??

2009-05-06 Thread Mirza Dedic
Hello,

I am trying to use NSClient++ to monitor performance counters; previously I 
only used it to check disk space etc, but I am trying to make sure of the -v 
COUNTER -l switch more now as it is very powerful.

In my config I have:

define command{
command_name check_nt_exchange_messages_delivered_per_min
command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v COUNTER 
-l MSExchangeIS Mailbox(_Total)\\Messages Delivered/min -w 25 -c 120
}

However, when I try to test this from my box with:

./check_nt -H van-mail01 -s xr1p71c -p 12779 -v COUNTER -l  MSExchangeIS 
Mailbox(_Total)\\Messages Delivered/min -w 25 -c 120

I get:

bash: syntax error near unexpected token `('

Also, on Nagios it reports as null; which I would assume is because of the 
above syntax issue.

How can I fix this?

The source I got my counter from is:
http://www.hackmyidea.com/wordpress/2007/11/14/misc-windows-checks-for-nagios/

Also, I noticed in my NSClient++ installation in the windows box (Exchange 
2005/Win2003) there is a counters.defs file, should I be making use of that and 
entering the counters in there as opposed to calling them from commands.cfg ? 
If so, how could I use the ./check_nt to call a performance counter defined in 
counters.defs ? (assuming this is what its for?).

Thanks.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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


[Nagios-users] check_disk and CD/DVD in Solaris

2009-05-06 Thread Andrew Davis
I have check_disk setup to do monitor all local disks so that I don't 
have to make edits everytime I add a new filesystem or mount point. 
Unfortunately, on Solaris, mounted CD's and DVD's show as local volumes 
and as 100% full. Unfortunately, check_disk (the stock one) is not a 
simple shell script that I can edit to throw in a grep -v cdrom line. 
I'm curious how you guys are handling this? Do you define all your 
filesystems manually for Solaris hosts? Are you using an alternate test? 
Any suggestions would be much appreciated...


--


 A. Davis
 Email: ncc...@gmail.com

 There is no limit to what a man can accomplish
  if he doesn't care who gets the credit. - Ronald Reagan

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] NSclient++ Performance Counters Help ??

2009-05-06 Thread Mirza Dedic
After some more trial and error, I got the command check fixed but there is 
still an issue.

The command I am sending is:

r...@van-nagios:/usr/local/nagios/libexec# ./check_nt -H van-mail01 -s xr1p71c 
-p 12779 -v COUNTER -l  MSExchangeIS Mailbox(_Total)\\Messages Delivered/min 
-w 25 -c 120

The output is: 0

When I check nsclient.log; here is what I have:

2009-05-06 11:09:18: debug:.\NSClientListener.cpp:146: Data: 
xr1p71c8“MSExchangeISConnection
2009-05-06 11:09:18: debug:.\NSClientListener.cpp:171: Data: 
“MSExchangeISConnection
2009-05-06 11:09:18: debug:.\NSClient++.cpp:910: Injecting: checkCounter: 
Counter=“MSExchangeISConnection, nsclient
2009-05-06 11:09:18: error:.\CheckSystem.cpp:1019: ERROR: Counter not found: 
“MSExchangeISConnection: The counter path string could not be parsed.
2009-05-06 11:09:18: error:.\CheckSystem.cpp:1021: ERROR: Counter not found: 
“MSExchangeISConnection: The counter path string could not be parsed.
2009-05-06 11:09:18: error:.\CheckSystem.cpp:1050: ERROR: 
“MSExchangeISConnection: PdhAddCounter failed: -1073738816: Unable to parse 
the counter path. Check the format and syntax of the
specified path.
 (“MSExchangeISConnection|“MSExchangeISConnection)

Where is “ coming from??

-Original Message-
From: Mirza Dedic [mailto:mi...@oppy.com]
Sent: May/06/2009 10:32 AM
To: 'nagios-users@lists.sourceforge.net'
Subject: [Nagios-users] NSclient++ Performance Counters Help ??

Hello,

I am trying to use NSClient++ to monitor performance counters; previously I 
only used it to check disk space etc, but I am trying to make sure of the -v 
COUNTER -l switch more now as it is very powerful.

In my config I have:

define command{
command_name check_nt_exchange_messages_delivered_per_min
command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v COUNTER 
-l MSExchangeIS Mailbox(_Total)\\Messages Delivered/min -w 25 -c 120
}

However, when I try to test this from my box with:

./check_nt -H van-mail01 -s xr1p71c -p 12779 -v COUNTER -l  MSExchangeIS 
Mailbox(_Total)\\Messages Delivered/min -w 25 -c 120

I get:

bash: syntax error near unexpected token `('

Also, on Nagios it reports as null; which I would assume is because of the 
above syntax issue.

How can I fix this?

The source I got my counter from is:
http://www.hackmyidea.com/wordpress/2007/11/14/misc-windows-checks-for-nagios/

Also, I noticed in my NSClient++ installation in the windows box (Exchange 
2005/Win2003) there is a counters.defs file, should I be making use of that and 
entering the counters in there as opposed to calling them from commands.cfg ? 
If so, how could I use the ./check_nt to call a performance counter defined in 
counters.defs ? (assuming this is what its for?).

Thanks.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-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

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] PNP swap template HOWTO

2009-05-06 Thread Ayotunde Itayemi
Hi All/Jim/Marc-Andre,
Thanks for the response. I was actually able to figure it out while waiting - I 
didn't RTFM - not all at first :-)

Here is what I did in case someone else finds it useful (and if possible 
correct me if I am wrong):

# cd /usr/local/nagios/etc/pnp/check_commands
# cp -a check_nwstat.cfg-sample check_nrpe.cfg
# grep CUSTOM_TEMPLATE check_nrpe.cfg
CUSTOM_TEMPLATE = 0,1

# cd /usr/local/nagios/share/pnp
# cp -a templates.dist/check_swap.php templates/check_nrpe_check_dsk_swap.php
# /etc/init.d/npcd restart


Jim: The SWAP graph looks OK and I haven't noticed any changes in the other 
graphs (CPU, RAM, filesystems, PING, etc) - possibly because the check_nrpe 
defaults are the same as in the nwstat.cfg-sample file I created the 
check_nrpe.cfg from, and the check_nrpe_check_dsk_swap.php is only used for the 
SWAP graph while the default check_nrpe settings continues to be used for the 
other graphs?

Marc-Andre: I assume apart from just placing your SWAP template in the 
templates directory, I still need to create the check_nrpe.cfg and 
check_nrpe_check_dsk_swap.php files as I did above? Will try your template in a 
minute ...

Ach! I lost all my SWAP history by deleting the RRDs!

Thanks again.
Regards.
This mail is from a Gimper


-Original Message-
From: MAD [mailto:sri.lu...@free.fr] 
Sent: Wednesday, May 06, 2009 5:55 PM
To: Ayotunde Itayemi; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] PNP swap template HOWTO

You could use a template I developped some weeks ago. It works pretty well. 
Just copy it into the templates directory

Marc-André

- Original Message - 
From: Ayotunde Itayemi ayotunde.itay...@zain.com
To: nagios-users@lists.sourceforge.net
Sent: Wednesday, May 06, 2009 5:09 PM
Subject: [Nagios-users] PNP swap template HOWTO


 Hi All,
 By default I have nothing in the templates directory of my PNP
 installation so all my graphs use the Default Template.
 I noticed that this inverts the SWAP utilization graph i.e., the red and
 yellow lines (warning/critical) are very close to the bottom of the
 graph while the utilization shows as almost 100% (close to the top)
 instead of very low is it actually is.
 I have copied the check_swap.php from the templates.dist directory into
 the templates directory, deleted all the existing swap.xml and swap.rrd
 files, and restarted the npcd daemon.
 I have also tried renaming check_swap.php to swap.php.
 I noticed also that all my graphs use the Default Template and the XML
 files for all of them have TEMPLATEcheck_nrpe/TEMPLATE. As these
 files are generated automatically, how do I get the SWAP graph to use
 the SWAP template?
 What else do I need to do?
 I am using PNP version 0.4.13
 Thanks.

 This mail is from a Gimper


 -Original Message-
 From: Ed Donahue [mailto:libera...@gmail.com]
 Sent: Thursday, April 30, 2009 5:13 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] [nagios] Trigger alert via email

 Is it possible to trigger an alert by sending an email to nagios
 (passive check)?
 I'm guessing it isn't a straight forward as that, just wonder if it is
 doable,
 and any links to examples would be cool too.

 Thanks in advance
 Ed

 
 --
 Register Now  Save for Velocity, the Web Performance  Operations
 Conference from O'Reilly Media. Velocity features a full day of
 expert-led, hands-on workshops and two days of sessions from industry
 leaders in dedicated Performance  Operations tracks. Use code vel09scf
 and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
 ___
 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

 --
 The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
 production scanning environment may not be a perfect world - but thanks to
 Kodak, there's a perfect scanner to get the job done! With the NEW KODAK 
 i700
 Series Scanner you'll get full speed at 300 dpi even with all image
 processing features enabled. http://p.sf.net/sfu/kodak-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 

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, 

Re: [Nagios-users] NSclient++ Performance Counters Help ??

2009-05-06 Thread Jim Avery
2009/5/6 Mirza Dedic mi...@oppy.com:
 After some more trial and error, I got the command check fixed but there is 
 still an issue.

 The command I am sending is:

 r...@van-nagios:/usr/local/nagios/libexec# ./check_nt -H van-mail01 -s 
 xr1p71c -p 12779 -v COUNTER -l  MSExchangeIS Mailbox(_Total)\\Messages 
 Delivered/min -w 25 -c 120

 The output is: 0

 When I check nsclient.log; here is what I have:

 2009-05-06 11:09:18: debug:.\NSClientListener.cpp:146: Data: 
 xr1p71c8“MSExchangeISConnection
 2009-05-06 11:09:18: debug:.\NSClientListener.cpp:171: Data: 
 “MSExchangeISConnection
 2009-05-06 11:09:18: debug:.\NSClient++.cpp:910: Injecting: checkCounter: 
 Counter=“MSExchangeISConnection, nsclient
 2009-05-06 11:09:18: error:.\CheckSystem.cpp:1019: ERROR: Counter not found: 
 “MSExchangeISConnection: The counter path string could not be parsed.
 2009-05-06 11:09:18: error:.\CheckSystem.cpp:1021: ERROR: Counter not found: 
 “MSExchangeISConnection: The counter path string could not be parsed.
 2009-05-06 11:09:18: error:.\CheckSystem.cpp:1050: ERROR: 
 “MSExchangeISConnection: PdhAddCounter failed: -1073738816: Unable to parse 
 the counter path. Check the format and syntax of the
 specified path.
  (“MSExchangeISConnection|“MSExchangeISConnection)

 Where is “ coming from??

I think for some reason you think you have an ordinary double-quote
there but it's been replaced with some strange character which looks
like one but isn't.  I'd delete that section in you configuration file
and re-type it, maybe using a different editor.  If you're using a
word-processor of some sort to edit your config files, it might be
trying to insert left and right double-quotes rather than the
bog-standard ordinary straight-up ones.

Other than that, I can't see a problem with what you've put there
(although you might need another \ or two to escape the backslash -
I don't have my Nagios system to hand so can't check for sure.

Cheers,

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] check_disk and CD/DVD in Solaris

2009-05-06 Thread Jim Avery
2009/5/6 Andrew Davis ncc...@gmail.com:
 I have check_disk setup to do monitor all local disks so that I don't have
 to make edits everytime I add a new filesystem or mount point.
 Unfortunately, on Solaris, mounted CD's and DVD's show as local volumes and
 as 100% full. Unfortunately, check_disk (the stock one) is not a simple
 shell script that I can edit to throw in a grep -v cdrom line. I'm curious
 how you guys are handling this? Do you define all your filesystems manually
 for Solaris hosts? Are you using an alternate test? Any suggestions would be
 much appreciated...

I use check_snmp_storage.pl from http://nagios.manubulon.com/ to
monitor Solaris (and various other) filesystems.  I usually monitor
each filesystem individually but sometimes use the regular expression
matching to bundle similar filesystems together.

I would love to be able automatically to pick up new filesystems as
you say (and it's possible using this plugin), but firstly it would
break the pnp4nagios graphing and secondly our Unix admins frequently
mount filesystems for test restores and suchlike and I really don't
want to be bothered with those.

That's my 2p worth.  There are lots of ways to skin this metaphorical cat.

Cheers,

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] PNP swap template HOWTO

2009-05-06 Thread Jim Avery
2009/5/6 Ayotunde Itayemi ayotunde.itay...@zain.com:
 Jim: The SWAP graph looks OK and I haven't noticed any changes in the other 
 graphs (CPU, RAM, filesystems, PING, etc) - possibly because the check_nrpe 
 defaults are the same as in the nwstat.cfg-sample file I created the 
 check_nrpe.cfg from, and the check_nrpe_check_dsk_swap.php is only used for 
 the SWAP graph while the default check_nrpe settings continues to be used for 
 the other graphs?

I believe so.  Yes.

 Ach! I lost all my SWAP history by deleting the RRDs!

Bad luck!

Cheers,

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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


[Nagios-users] service escalation problems

2009-05-06 Thread Bruce Thayre
Hello,
I'm not new to nagios, however his is the first nagios installation i 
have done with nagios 3.x.  I've set up several service escalations in 
my services.cfg, they are being recognized and registered with nagios, 
however they are not actually doing anything.  Despite the escalations 
being there, i see each of my services spamming notifications every 30 
minutes.  Is there any additional options i need to enable in Nagios 
3.0.4 to get make the escalations effective.  Or is there any reason 
that when i run nagios -v nagios.cfg and i get this as output:

Nagios 3.0.4
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 10-15-2008
License: GPL

Reading configuration data...

Running pre-flight check on configuration data...

Checking services...
Checked 338 services.
Checking hosts...
Checked 112 hosts.
Checking host groups...
Checked 5 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 973 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 25 commands.
Checking time periods...
Checked 5 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0


So nagios clearly can see the 973 service escalations, they just don't 
seem to be working.  So it would seem my syntax is correct, so an 
example of one of my service escalations (they're all more or less 
identical for different services):

define serviceescalation{
host_name*,!Rambo, !localhost, !nagios, !t2gw04, !uaf-3
service_descriptioncondor_master_alive
first_notification1
last_notification2
notification_interval180
contact_groupsadmins
}


define serviceescalation{
host_name*,!Rambo, !localhost, !nagios, !t2gw04, !uaf-3
service_descriptioncondor_master_alive
first_notification3
last_notification4
notification_interval1440
contact_groupsadmins
}


define serviceescalation{
host_name*,!Rambo, !localhost, !nagios, !t2gw04, !uaf-3
service_descriptioncondor_master_alive
first_notification5
last_notification6
notification_interval0
contact_groupsadmins
}


Any help/input/ridicule would be greatly appreciated.  Thanks!

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] PNP swap template HOWTO

2009-05-06 Thread Tobias Klausmann
Hi! 

On Wed, 06 May 2009, Jim Avery wrote:
 It's not quite as simple as that though, because if you set up
 a check_nrpe.php template which makes your swap graphs look
 lovely, it might make all the other checks you run using
 check_nrpe look awful! You might need to consider setting up a
 separate command definition in Nagios just for your swap
 checks.  Make it the same as check_nrpe but call it something a
 little different, for example check_nrpe-swap. Of course
 you'll need also to change your swap service definition to use
 this command.  You can then rename your check_nrpe.pnp template
 to check_nrpe-swap.pnp and it won't mess up all your other nrpe
 checks.

I did something else: I patched PNP so that it removes the
check_nrpe! prefix if it's there, then does processing as usual.
I've sent this (trival, four-line) patch to the PNP maintainer
but never got an answer :/

Regards,
Tobias

-- 
The only problem with troubleshooting is that sometimes,
trouble shoots back.

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] PNP swap template HOWTO

2009-05-06 Thread Jim Avery
2009/5/6 Tobias Klausmann klaus...@schwarzvogel.de:
 I did something else: I patched PNP so that it removes the
 check_nrpe! prefix if it's there, then does processing as usual.
 I've sent this (trival, four-line) patch to the PNP maintainer
 but never got an answer :/

Where would you stop though?  Would you also remove check_nt and
check_snmp prefixes?  I appreciate you may find the patch useful and
forgive me if I've misunderstood, but I'm not convinced it's
necessary.

Cheers,

Jim

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] PNP swap template HOWTO

2009-05-06 Thread Tobias Klausmann
Hi! 

On Wed, 06 May 2009, Jim Avery wrote:
 2009/5/6 Tobias Klausmann klaus...@schwarzvogel.de:
  I did something else: I patched PNP so that it removes the
  check_nrpe! prefix if it's there, then does processing as usual.
  I've sent this (trival, four-line) patch to the PNP maintainer
  but never got an answer :/
 
 Where would you stop though?  Would you also remove check_nt and
 check_snmp prefixes?  I appreciate you may find the patch useful and
 forgive me if I've misunderstood, but I'm not convinced it's
 necessary.

It is most useful to me, no doubt. Still I would have expected
that the original author noticed this issue. I suspect 90% of
Nagios users have *way* more usefully graphable NRPE/NSCP/SNMP
checks than plain ones.

Regards,
Tobias

-- 
The only problem with troubleshooting is that sometimes,
trouble shoots back.

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] nag2ast

2009-05-06 Thread Aaron Segura
There's a discussion on the groundwork forums about it... 

http://www.groundworkopensource.com/community/forums/viewtopic.php?f=23t=1152

YMMV

-Original Message-
From: cr...@hooters-uk.com [mailto:cr...@hooters-uk.com] 
Sent: Wednesday, May 06, 2009 2:25 AM
To: shadhi...@gmail.com
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] nag2ast

No I did not find any English documentation, further to that one of the links 
in the instructions 
no longer works. http://tcts.fpms.ac.be/synthesis/mbrola.html

Does anybody else have any suggestions on how I can achieve Voice notification.

Thanks

Craig



--- Original Message ---
From: shadih rahman[mailto:shadhi...@gmail.com]
Sent: 05/05/2009 17:25:54
To  : cr...@hooters-uk.com
Cc  : nagios-users@lists.sourceforge.net
Subject : RE: Re: [Nagios-users] nag2ast

 Did you find any English documentation on nag2ast?  Please advise on this.   
Thanks

On Tue, May 5, 2009 at 11:12 AM, cr...@hooters-uk.com cr...@hooters-uk.com 
wrote:

Hi All I'm about to venture into Asterisk so I can use nag2ask, but before I go 
and install


Asterisk has anybody got nag2ask working with Trixbox at all, just seems a 
simpler router for us

to use instead of trying to teach our guys Asterisk then can you Trixbox's GUI



Thanks all



Craig





--

The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your

production scanning environment may not be a perfect world - but thanks to

Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700

Series Scanner you'll get full speed at 300 dpi even with all image

processing features enabled. http://p.sf.net/sfu/kodak-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



-- 
Cordially,
Shadhin Rahman




--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] nag2ast

2009-05-06 Thread Martyn
Yep that is me and I'm willing to pay for any help on getting this function
working. 

-Original Message-
From: Aaron Segura [mailto:aaron.seg...@cabelas.com] 
Sent: 06 May 2009 22:48
To: cr...@hooters-uk.com
Cc: nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] nag2ast

There's a discussion on the groundwork forums about it... 

http://www.groundworkopensource.com/community/forums/viewtopic.php?f=23t=11
52

YMMV

-Original Message-
From: cr...@hooters-uk.com [mailto:cr...@hooters-uk.com]
Sent: Wednesday, May 06, 2009 2:25 AM
To: shadhi...@gmail.com
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] nag2ast

No I did not find any English documentation, further to that one of the
links in the instructions no longer works.
http://tcts.fpms.ac.be/synthesis/mbrola.html

Does anybody else have any suggestions on how I can achieve Voice
notification.

Thanks

Craig



--- Original Message ---
From: shadih rahman[mailto:shadhi...@gmail.com]
Sent: 05/05/2009 17:25:54
To  : cr...@hooters-uk.com
Cc  : nagios-users@lists.sourceforge.net
Subject : RE: Re: [Nagios-users] nag2ast

 Did you find any English documentation on nag2ast?  Please advise on
this.   Thanks

On Tue, May 5, 2009 at 11:12 AM, cr...@hooters-uk.com cr...@hooters-uk.com
wrote:

Hi All I'm about to venture into Asterisk so I can use nag2ask, but before I
go and install


Asterisk has anybody got nag2ask working with Trixbox at all, just seems a
simpler router for us

to use instead of trying to teach our guys Asterisk then can you Trixbox's
GUI



Thanks all



Craig






--

The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your

production scanning environment may not be a perfect world - but thanks to

Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700

Series Scanner you'll get full speed at 300 dpi even with all image

processing features enabled. http://p.sf.net/sfu/kodak-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



--
Cordially,
Shadhin Rahman





--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] service escalation problems

2009-05-06 Thread Bruce Thayre
Hi,
Thanks for the idea, i gave it a shot and it does not seem to be of any 
help.  I was under the impresion that service escalations were for 
taking the nag out of nagios by curbing its tendency to spam admins with 
notifications for large networks, or for specific services.  More 
specifically, if say i don't address a critical state because it's not 
important to me, i don't want to get hourly notifications.  I want a 
reminder after say three hours, maybe another after another three hours, 
and then i want all subsequent reminders to take longer and longer.  Now 
i set this up last time with nagios 2, and had zero issues.  I'm 
wondering if something has changed in nagios 3, or if there is some 
essential step i'm forgetting/missing.  If this continues not working, 
i'll just have to try host escalations, and see if i can do anything 
with those. 
Thanks,
Bruce

Jim Avery wrote:
 2009/5/6 Bruce Thayre btha...@physics.ucsd.edu:

   
 define serviceescalation{
host_name*,!Rambo, !localhost, !nagios, !t2gw04, !uaf-3
service_descriptioncondor_master_alive
first_notification1
last_notification2
notification_interval180
contact_groupsadmins
}
 

 Hmmm.  I don't know if it's the cause of your problem, and I could be
 completely wrong (sorry can't test because I'm at home) but the
 purpose of an escalation is surely to notify an alternative recipient
 if the first (ordinary) notification fails?  I would think if this
 were so then having first_notification = 1 wouldn't make sense.  I'd
 configure the service itself to send the first notification and only
 use escalations for the 2nd or subsequent notifications.

 Other than that I can't see any particular problem with your syntax.
 I would however try setting the escalation_options directive
 explicitly just in case.

 I don't know if, in the absence of an escalation_option directive the
 notification options would be inherited from the service definition.
 A common problem with those is accidentally to include the n option
 which means send no notifications.

 hth,

 Jim

   


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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


[Nagios-users] Nagios Service Dependencies

2009-05-06 Thread Dei Bertine
Basic question guys: 

Which file do you normally place your service dependencies in? 

It stated here: http://nagios.sourceforge.net/docs/2_0/dependencies.html
to place in objects cfg file which I thought placing it in my nagios.cfg

But when I did, it complained about this error after running -v:
Error in configuration file 'nagios.cfg' - Line 2859 (NULL value)


Here's a sample of my definition:
define servicedependency{
   host_name   ciscoasa-router
   service_description PING
   dependent_host_name ciscosw-router
   dependent_service_description   PING
   execution_failure_criteria  o
   notification_failure_criteria   w,u
   }

Please advise. 

Thank you! 
DB



  --
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] Centreon

2009-05-06 Thread Simon Finch


Hi Chris,

First does the file /etc/centreon/conf.pm exist ?
It should have the database hostname, dbname, dbuser and dbpassword in it.

Who owns the /var/lib/centreon directory structure ?
The apache user that centreon runs as needs full rights to this directory and the directories below it.

These dirs should have been created by the centreon install, what version on centreon did you install and did the install run smoothly ?

Thanks,
Simon



Simon Finch|ESMSpecialist
Ground Floor, 4-16 Montgomery St, Kogarah NSW 2217
(+61 29952 25747+61412 256814
Email: fin...@stgeorge.com.auwww.stgeorge.com.au__St.George Bank IT - Good with people. Good with monitoring.


binRNncc5CXFc.bin
Description: applicaton/octect-stream
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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