Re: [Nagios-users] check_snmp_storage.pl - check disk space for /

2009-01-28 Thread Marc Powell
On Jan 28, 2009, at 10:19 PM, Chris wrote: > Is there any way to get it check only the / partition and not the > other ones? > > Here is the commands I tried: > > /usr/lib/nagios/plugins/check_snmp_storage.pl -H server -C foo -m / - > w 20 -c 21 > /usr/lib/nagios/plugins/check_snmp_storage.pl

Re: [Nagios-users] NDOutils and Nagios startup speed

2009-01-28 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/01/09 08:05 PM, Mathieu Gagné wrote: > Hi, > > Marc Powell wrote: >>> Is there a way to speed things up? Any help would be appreciated. >>> Thanks. >> I'm interested in tips as well. >> > > One way to speed up Nagios start when using NDOutils

[Nagios-users] check_snmp_storage.pl - check disk space for /

2009-01-28 Thread Chris
I'm trying to check the disk space for / (I have a partition called / which sits on /dev/sdb1) but check_snmp_storage.pl is giving me information on all the partitions (/, /tmp, /usr, /var) Is there any way to get it check only the / partition and not the other ones? Here is the commands I tried:

Re: [Nagios-users] NDOutils and Nagios startup speed

2009-01-28 Thread Mathieu Gagné
Hi, Marc Powell wrote: > >> Is there a way to speed things up? Any help would be appreciated. >> Thanks. > > I'm interested in tips as well. > One way to speed up Nagios start when using NDOutils is to tweak "event_broker_options". Here is my new configuration, based on constants defined i

Re: [Nagios-users] Ways and tweaks to make nagios more efficient. load average on monitoring host edging up.

2009-01-28 Thread Rahul Nabar
On Wed, Jan 28, 2009 at 5:07 PM, Mathieu Gagné wrote: > >> > According to cpubenchmark.net, my el cheapo CPU is better than yours: > > Intel Xeon 2.80GHz > Score: 495 > Rank: 281 > Link: http://www.cpubenchmark.net/cpu_lookup.php?cpu=Intel+Xeon+2.80GHz > > Intel Core2 4300 @ 1.80GHz > Score: 983

Re: [Nagios-users] NSClient Error Message

2009-01-28 Thread Kahlon, Robby
Thanks Tony. I will try it again after upgrading the NSClient. There is one more error message in the logs: The description for Event ID ( 1 ) in Source ( pNSClient.exe ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display mess

Re: [Nagios-users] Ways and tweaks to make nagios more efficient. load average on monitoring host edging up.

2009-01-28 Thread Mathieu Gagné
Hi, Rahul Nabar wrote: > > > On Wed, Jan 28, 2009 at 4:34 PM, Marc Powell > wrote: > > > On Jan 28, 2009, at 2:21 PM, Rahul Nabar wrote: > > > Intel(R) Xeon(TM) CPU 2.80GHz dual core. 2 GB RAM > > Its about 5 years old now I think. > > > A minor correctio

Re: [Nagios-users] Ways and tweaks to make nagios more efficient. load average on monitoring host edging up.

2009-01-28 Thread Rahul Nabar
On Wed, Jan 28, 2009 at 4:34 PM, Marc Powell wrote: > > On Jan 28, 2009, at 2:21 PM, Rahul Nabar wrote: > > > Intel(R) Xeon(TM) CPU 2.80GHz dual core. 2 GB RAM > > Its about 5 years old now I think. > A minor correction. Mine is just a "hyperthreaded" machine. I don't think it is two real cores.

Re: [Nagios-users] check_snmp: monitor a process

2009-01-28 Thread Marc Powell
On Jan 28, 2009, at 4:19 PM, Chris wrote: > How do I monitor if this process is running via my Nagios server's > check_snmp plugin? My nagios version is 3.0.6 and check_snmp version > is 2021. You can't (to the best of my knowledge). It's not meant for that but rather for checking values of sp

Re: [Nagios-users] Ways and tweaks to make nagios more efficient. load average on monitoring host edging up.

2009-01-28 Thread Marc Powell
On Jan 28, 2009, at 2:21 PM, Rahul Nabar wrote: > Intel(R) Xeon(TM) CPU 2.80GHz dual core. 2 GB RAM > Its about 5 years old now I think. For comparison, my most heavily loaded data collector is a 2x Dual Core AMD Opteron(tm) Processor 275 (2.1Ghz), 2GB RAM. It is running -- - Nagios 2

[Nagios-users] check_snmp: monitor a process

2009-01-28 Thread Chris
I want to monitor the process ID of portsentry (a program I'm running in one of my Linux servers) via SNMP. If I do snmpwalk -c -v1 server | grep "portsentry" I get: HOST-RESOURCES-MIB::hrSWRunPath.30605 = STRING: "/usr/local/psionic/portsentry/portsentry" where 30605 is the process ID and which w

Re: [Nagios-users] Problems Compile Nagios Plugin 1.4.13

2009-01-28 Thread Fernando Rocha
Hello Felipe! To compile MySQLPerf plugin i just did it: - compile the nagios plugins $ tar -zxvf nagios-plugins-1.4.13.tar.gz $ cd nagios-plugins-1.4.13 $ ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-cgiurl=/nagios/cgi-bin $pwd /usr/local/s

Re: [Nagios-users] Ways and tweaks to make nagios more efficient. load average on monitoring host edging up.

2009-01-28 Thread Kyle O'Donnell
no active host checks just active service checks (few passive too) To disable change the host definition/template option active_checks_enabled 0 Host checks are done on demand when any service returns a critical state (maybe a non-OK state I can't remember). This is default nagios functionality

[Nagios-users] Hostgroups and contact_groups...

2009-01-28 Thread Matt Nelson
I am rolling out a new nagios 3.x server and it looks like they changed the ability to add contact_groups to hostgroup definitions. Is this correct? If so is there any other way to assign contact_groups, other then to hosts, or services, or their respective templates. -

Re: [Nagios-users] Ways and tweaks to make nagios more efficient. load average on monitoring host edging up.

2009-01-28 Thread Rahul Nabar
On Wed, Jan 28, 2009 at 12:32 PM, Marc Powell wrote: > > > Just out of curiosity, what is the magnitude of the 'edging upwards' > that you are seeing? Its not bad right now .But the trend is what I am wary about. My load factors are around 3. But I am still planning on adding more hosts and se

Re: [Nagios-users] Ways and tweaks to make nagios more efficient. load average on monitoring host edging up.

2009-01-28 Thread Rahul Nabar
On Tue, Jan 27, 2009 at 6:04 PM, Mathieu Gagné wrote: > We have +2000 hosts and +4700 services configured on one of our Nagios > instance. Load average is between 1.3 an 2.0 which I find acceptable. Wow. That's way bigger than what I have. Mine's a cluster of 256 machines and around 6 services

[Nagios-users] Problems Compile Nagios Plugin 1.4.13

2009-01-28 Thread Felipe Ferreira
Problems Compile Nagios Plugin 1.4.13 All this big mess started because I need the MySQLPerf plugin, whitch is a really cool plugin, but it needs the source of the official plugin. The version I am compiling is the 1.4.13 and by running the config I got quite a few (WARNINGS): configure:22140

Re: [Nagios-users] Ways and tweaks to make nagios more efficient. load average on monitoring host edging up.

2009-01-28 Thread Marc Powell
On Jan 27, 2009, at 5:20 PM, Rahul Nabar wrote: > I set up my nagios system to monitor 256 odd nodes each with about 6 > services (direct and NRPE). It is working fine but my load averages > have started edging upwards. Not critical yet but I wanted some tips > to make things more efficient

Re: [Nagios-users] debug notifications

2009-01-28 Thread Nicolas Laurance
> > You have no notification_options specified for this service. Nagios > will not notify for it. > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service > I found this following the hint of reading the .dat files ! yes, I was missing the options notification_options

Re: [Nagios-users] Ways and tweaks to make nagios more efficient. load average on monitoring host edging up.

2009-01-28 Thread Rahul Nabar
On Wed, Jan 28, 2009 at 1:32 AM, Kyle O'Donnell wrote: > I use service deps. Most of my services are nrpe checks and I create > a dep on nrpe. If a check comes back critical (or which ever state > you choose to execute the dep) it does an nrpe check, if nrpe returns > critical (or whichever sta

Re: [Nagios-users] debug notifications

2009-01-28 Thread Marc Powell
On Jan 28, 2009, at 11:36 AM, Nicolas Laurance wrote: > I have sent the config used as a first reply Yup, I missed it -- > define service{ > namegeneric-service > active_checks_enabled 1 > passive_checks_enabled 1 >

Re: [Nagios-users] Ways and tweaks to make nagios more efficient. load average on monitoring host edging up.

2009-01-28 Thread Rahul Nabar
On Tue, Jan 27, 2009 at 5:58 PM, Jake wrote: > > > I use ping as both a service check and a host check because i want to ping > all of the time to measure latency, etc. I wouldn't think so much about > eliminating service checks that aren't directly redundant as much as making > sure the checks yo

Re: [Nagios-users] perl external command example

2009-01-28 Thread Marc Powell
On Jan 28, 2009, at 11:22 AM, shadih rahman wrote: > Can someone please give me an example how to submit external command > using perl script. I am trying to do this and its now working. The > command I am passing to named pipe is something like this. Thanks > } > sub send_to_named_pipe {

Re: [Nagios-users] debug notifications

2009-01-28 Thread Nicolas Laurance
Marc Powell a ecrit: First thank you for your answer > > Nagios doesn't believe it's supposed to send notifications. Either the > notification_options for the host/service or contact don't include the > notification type you are trying to send, their notification period > doesn't include t

[Nagios-users] ExtInfo for Hostgroup display

2009-01-28 Thread Simon Kainz
Hi list ! Could somebody give me a clue as how to achieve some kind of "extinfo" for the hostgroup display ? I would need the possibility to add an external link to the hostgroup display, with hostgroup-specific parameters. TIA, -- Simon Kainz, BSc Graz, University of Technology Department Compu

[Nagios-users] perl external command example

2009-01-28 Thread shadih rahman
Can someone please give me an example how to submit external command using perl script. I am trying to do this and its now working. The command I am passing to named pipe is something like this. Thanks "ACKNOWLEDGE_HOST_PROBLEM;hostname;1;1;1;1;sr2690;testing "1233162775 my code is like this.

[Nagios-users] Nagios command line interface

2009-01-28 Thread shadih rahman
All, Just wanted to know if there is any project going on for nagios command line interface? What is the process to request something like that. I would like to actively participate in a project like that. I know there is "cnagios" and also there are external command macros. However, I am pr

Re: [Nagios-users] service notfication problems

2009-01-28 Thread Assaf Flatto
On Wednesday 28 January 2009 12:06:53 Nicole Hähnel wrote: > Hi, > > we have about 20 servers with up to 25 service checks on each server. > The services are running directly on a vpn gateway. > If the connection dies, I get emails from all services because i cannot > implement a hierachy. You wan

Re: [Nagios-users] Mail Notifications by external SMTP

2009-01-28 Thread Marc Powell
On Jan 28, 2009, at 4:37 AM, Jaume Soler i Mir - A.D.S. S.L. wrote: > Hi people! > > I'm just configuring the nagios3 and I have some trouble about the > notifications by email. > I don't want to use a local smtp server (defined on the > commands.cfg) I > want to use a external smtp server to s

Re: [Nagios-users] debug notifications

2009-01-28 Thread Marc Powell
On Jan 28, 2009, at 5:24 AM, Nicolas LAURANCE wrote: > hello all, > > I'm using nagios 2.11 on fedora > > I think I configured correctly (but obviously not) the notification > for the host, service and contacts > > in the web interface Notifications : ENABLED Is this the global setting or the

[Nagios-users] notifications not triggered

2009-01-28 Thread Nicolas Laurance
hello all, I'm using nagios 2.11 on fedora I think I configured correctly (but obviously not) the notification for the host, service and contacts in the web interface Notifications : ENABLED however notifications never trigger I configured to have notifications logged, but I don't see any in

Re: [Nagios-users] debug notifications

2009-01-28 Thread Nicolas Laurance
nagios.cfg log_notifications=1 notification_timeout=30 enable_notifications=1 service : define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:0

Re: [Nagios-users] Define notification contacts based on hostgroup

2009-01-28 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/01/09 05:16 AM, Kenneth Holter wrote: > Hi. > > > Is there a way to configure Nagios to define contacts based on > hostgroups? In other words: I'd like to send all notifications for a > hostgroup A to the contact X. Is this possible? I use h

[Nagios-users] service notfication problems

2009-01-28 Thread Nicole Hähnel
Hi, we have about 20 servers with up to 25 service checks on each server. The services are running directly on a vpn gateway. If the connection dies, I get emails from all services because i cannot implement a hierachy. How can I enhance the configuration of nagios to prevent me from beeing flo

[Nagios-users] Antwort: Mail Notifications by external SMTP

2009-01-28 Thread Sascha . Runschke
"Jaume Soler i Mir - A.D.S. S.L." schrieb am 28.01.2009 11:37:03: > I'm just configuring the nagios3 and I have some trouble about the > notifications by email. > I don't want to use a local smtp server (defined on the commands.cfg) I > want to use a external smtp server to send the notificati

[Nagios-users] debug notifications

2009-01-28 Thread Nicolas LAURANCE
hello all, I'm using nagios 2.11 on fedora I think I configured correctly (but obviously not) the notification for the host, service and contacts in the web interface Notifications : ENABLED however notifications never trigger I configured to have notifications logged, but I don't see any i

Re: [Nagios-users] Mail Notifications by external SMTP

2009-01-28 Thread Jaume Soler i Mir - A.D.S. S.L.
I define some more the problem: I see the commands.cfg and I will write a new command or modify the notify-host-by-email by using some external packet like msmtp. I tryed this and I have no success. Anyone with this problem? Is msmtp the best way? It's possible with mutt with an e-mail account

[Nagios-users] Mail Notifications by external SMTP

2009-01-28 Thread Jaume Soler i Mir - A.D.S. S.L.
Hi people! I'm just configuring the nagios3 and I have some trouble about the notifications by email. I don't want to use a local smtp server (defined on the commands.cfg) I want to use a external smtp server to send the notifications e-mails. Is this possible? Is some packet to do this? Thanks

[Nagios-users] Define notification contacts based on hostgroup

2009-01-28 Thread Kenneth Holter
Hi. Is there a way to configure Nagios to define contacts based on hostgroups? In other words: I'd like to send all notifications for a hostgroup A to the contact X. Is this possible? Regards, kenneho -- This SF.net emai

Re: [Nagios-users] check_snmp - sendmail on localhost

2009-01-28 Thread Chris
On Tue, Jan 27, 2009 at 10:26 PM, Ian Masters wrote: >> I'm trying to monitor if sendmail is running on localhost for one of >> my servers via Nagios. > > Is there a reason you don't want to use check_smtp? check_smtp doesn't work when SMTP is listening on 127.0.0.1 on a remote server. -