[Nagios-users] nagios actions

2008-07-15 Thread Melanie Pfefer
Hello, Can nagios trigger an action when an alert is received? For example, if /var is at warning, can nagios execute a script that cleans the logs? thanks __ Not happy with your email address?. Get the one you really want - millio

Re: [Nagios-users] nagios actions

2008-07-15 Thread Sebastian Ries
Hi > Can nagios trigger an action when an alert is received? > > For example, if /var is at warning, can nagios execute a script that cleans > the logs? Yes, have a look at eventhandlers http://nagios.sourceforge.net/docs/3_0/eventhandlers.html Regards Sebastian Ries -- --

[Nagios-users] Alert or notification history refresh in Nagios 3.0.3

2008-07-15 Thread Jose Luis Garcia
Hello, Is there any way to make alert or notification history automatically refresh? Thanks a lot Jose Luis - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applica

Re: [Nagios-users] check-ping

2008-07-15 Thread Andreas Ericsson
Jay R. Ashworth wrote: > On Mon, Jul 14, 2008 at 01:54:03PM +0200, Andreas Ericsson wrote: >> Jeff Koch wrote: >>> Thanks for your help. When we ran ping as nagios it bombed. Permissions on >>> ping needed to be set SUID root so that an ICMP socket could be opened. We >>> had changed that for sec

Re: [Nagios-users] Nagios Plugin for lighttpd

2008-07-15 Thread Hendrik Bäcker
Kaushal Shriyan schrieb: > Hi > > Is there a Nagios Plugin for lighttpd web server. Why should it? Doesn't a lighttpd Server reply in HTTP? (check_http) or isn't it a normal process on the server (check_procs)? Regards, Hendrik

Re: [Nagios-users] Nagios Plugin for lighttpd

2008-07-15 Thread Alex Dehaini
all web servers listen on port 80, so you can use check_tcp. What exactly do you want to monitor? Lex On Tue, Jul 15, 2008 at 10:08 AM, Hendrik Bäcker <[EMAIL PROTECTED]> wrote: > Kaushal Shriyan schrieb: > > Hi > > > > Is there a Nagios Plugin for lighttpd web server. > Why should it? > Doesn't

[Nagios-users] Monitor daemon running on remote linux host

2008-07-15 Thread Mark Elsen
- I need to monitor whether a remote daemon is running on a Linux host and have a NAGIOS alert if it crashes (or disappeared for whatever reason). Is 'check_nrpe' my best option, if so what syntax do I need ? M. - This SF.

Re: [Nagios-users] Monitor daemon running on remote linux host

2008-07-15 Thread Alex Dehaini
can you talk to this daemon using a certain tcp or udp port? On Tue, Jul 15, 2008 at 10:18 AM, Mark Elsen <[EMAIL PROTECTED]> wrote: > - I need to monitor whether a remote daemon is running on a Linux host > and have a NAGIOS alert if it crashes (or disappeared for whatever > reason). > > Is 'c

[Nagios-users] Re : OSPF

2008-07-15 Thread Kermito le kermit
hello all, i configure my cisco router router ospf 1 network 10.1.3.0 0.255.255.255 area 1 when i lunch ./check_ospf.pl 10.1.3.133 nothing work help me please my ospf.pl #!/usr/bin/perl # # SCRIPT TO CH

Re: [Nagios-users] Re : OSPF

2008-07-15 Thread Christian Schneemann
On Tuesday July 15 2008 11:42:04 am Kermito le kermit wrote: > hello all, Hi, > > i configure my cisco router > > router ospf 1 > network 10.1.3.0 0.255.255.255 area 1 > > > when i lunch ./check_ospf.pl 10.1.3.133 nothing work help me please > > > > my ospf.pl Is this the Script you are using? Unco

Re: [Nagios-users] check_freshness detecting staled services in alphabetical order

2008-07-15 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/07/08 04:40 PM, Marcel wrote: > Hey, > > Have any of you have seen anything like this before? > > Nagios 2.9, ndoutils 1.4b4. > > Nagios began to detect staled services in alphabethical order, in > batches of almost 400 hosts at a time. > > c

[Nagios-users] Re : a reboot switch or router

2008-07-15 Thread Kermito le kermit
hello all, DISMAN-EVENT-MIB::sysUpTimeInstance, give time but there are trap snmp to say the system reboot before reboot thanks for your help. - Message d'origine De : Brian A. Seklecki <[EMAIL PROTECTED]> À : Ange AMBEMOU <[EMAIL PROTECTED]> Cc : nagios-users@lists.sourceforge.

Re: [Nagios-users] Alert or notification history refresh in Nagios 3.0.3

2008-07-15 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15/07/08 04:46 AM, Jose Luis Garcia wrote: > Hello, > > Is there any way to make alert or notification history automatically > refresh? There's a "ReloadEvery" extension or something similar for Firefox... The name say it all :) Thomas -BEGIN

Re: [Nagios-users] Alert or notification history refresh in Nagios 3.0.3

2008-07-15 Thread Jose Luis Garcia
Thank you Thomas, Unfortunately I'm using Mozilla for Solaris, and I haven't found this extension. Why Host overview, for instance, is refreshing and this other options are not? I guess is a cgi option or something like this. Thank you again jose Luis 2008/7/15 Thomas Guyot-Sionnest <[EMAIL PR

[Nagios-users] Stray passive check

2008-07-15 Thread Brian Murphy
Hi List I was demonstrating my Nagios 3.0.3 system today , and all was going very well, until I received a passive check from a source that was not running. I need to do further investigation, but I am wondering has anyone else had any problems with the new method of processing passive checks.

Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services

2008-07-15 Thread Fernando Rocha
Jonathan, make sure that you have the xinetd installed and check if there is the following directory: [EMAIL PROTECTED] ~]# ls /etc/xinetd.d/ chargen-dgram daytime-dgram discard-dgram echo-dgram eklogin gssftp krb5-telnet ktalk rsync time-dgram chargen-stream daytime-stream discard-stream

[Nagios-users] FW: nagios actions

2008-07-15 Thread Wheeler, JF (Jonathan)
-Original Message- From: [EMAIL PROTECTED] On Behalf Of Melanie Pfefer Sent: 15 July 2008 09:04 > Can nagios trigger an action when an alert is received? > > For example, if /var is at warning, can nagios execute a script that cleans the logs? Look at event handlers in the documentation;

[Nagios-users] check_snmp error

2008-07-15 Thread Kermito le kermit
hello , when i use check_snmp i have this mistake: ./check_snmp -H 10.1.5.153 -o 1.3.6.1.2.1.14.10.1.6 -C public SNMP problème - Pas de données reçues de l'hôte Commande: /usr/local/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] 10.1.5.153:161 1.3.6.1.2.1.14.10.1.6 for check OPSF. ___

Re: [Nagios-users] check_snmp error

2008-07-15 Thread Tom DE BLENDE (EECC) (DHL)
Hi, Are you sure that: 1) Your host is allowed SNMP access to the router? 2) Your router uses SNMP version 1? 3) Your community string is still public (if it is: change it)? Can you try a simple snmpwalk to the host? snmpwalk -v2c -c 10.1.5.153 snmpwalk -v1 -c 10.1.5.153 (depending on th

Re: [Nagios-users] Nagios can die and still update the CGI date?

2008-07-15 Thread Jay R. Ashworth
On Mon, Jul 14, 2008 at 04:36:53PM -0500, Marc Powell wrote: > Please start a new e-mail for a new question. This e-mail will > forevermore be associated with the 'check_freshness...' post that you > started with. Yeah, Marc; I know better than to tailgate; I just forgot to delete the IRT head

Re: [Nagios-users] Cannot use some Macros in notification.

2008-07-15 Thread Marc Powell
On Jul 14, 2008, at 11:59 PM, Kasper wrote: > > Hi there. > > I'm trying to get nagios to send sms notofications via my kannel sms > gateway. > > I'm using this command as notify-by-pager: > > /usr/bin/curl -s > "http://10.64.48.154:13013/cgi-bin/sendsms\?username=username > \&password=password\

Re: [Nagios-users] Monitor daemon running on remote linux host

2008-07-15 Thread Marc Powell
On Jul 15, 2008, at 4:18 AM, Mark Elsen wrote: > - I need to monitor whether a remote daemon is running on a Linux host > and have a NAGIOS alert if it crashes (or disappeared for whatever > reason). > > Is 'check_nrpe' my best option, if so what syntax do I need ? Best depends on your enviro

[Nagios-users] OSPF

2008-07-15 Thread Kermito le kermit
hello when i use plugin i have this : ./check_ospf.0.1.pl -H 10.1.5.13 -p 12.10.1.2 CRITICAL - 12.10.1.2 is not in neighbor table. what is -p option a see peer ??? tthanks - Message d'origine De : Alex Dehaini <[EMAIL PROTECTED]> À : Ange AMBEMOU <[EMAIL PROTECTED]>; N

Re: [Nagios-users] check-ping

2008-07-15 Thread Jay R. Ashworth
On Tue, Jul 15, 2008 at 10:51:37AM +0200, Andreas Ericsson wrote: [ me: ] > >I've left Jeff's quote in so you can see, Andreas, that you misread > >him. He didn't say "SUID root". He said sudo -- he plans to set the > >nagios Linux user up so it can sudo to run ping as root. > > Ah, right. Havin

[Nagios-users] Information for MIB

2008-07-15 Thread Stagiaire
Hello, I want to monitor waiters IBM, HP and DELL with Nagios and SNMP but I don't manage to find the MIB corresponding for the state of the RAID, temperature CPU, the disk space available and the memory capacity available. I have already to seek on sites like http://www.oidview.com/mibs or

[Nagios-users] Nagios with NDOUtils producing error - undefined symbol: find_serviceextinfo

2008-07-15 Thread Joseph Symon
Hello, I tried to install the nagios with following option: nagios-3.0.3 ndoutils-1.4b7 nsca-2.7.2 After the installaton and setup of ndoutils-1.4b7 it is producing error: ---

Re: [Nagios-users] Information for MIB

2008-07-15 Thread James Pratt
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stagiaire Sent: Tuesday, July 15, 2008 10:16 AM To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] Information for MIB Hello, I want to monitor waiters IBM, HP and DELL with Nagios and SNMP but I don't manage to find the M

Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services

2008-07-15 Thread Jonathan Williams
That worked great. All you guys have been invaluable! Thanks again, Jon From: Fernando Rocha [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2008 4:38 AM To: Jonathan Williams Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unab

Re: [Nagios-users] OSPF

2008-07-15 Thread Larry Low
It is the address of the neighbor. If you did a show ip ospf neighbor on a Cisco router it would be the “Address” field. Larry Low 9237 E Via de Ventura, Ste 250 Scottsdale, AZ 85258 Office: 480.385.7045 E-mail: [EMAIL PROTECTED]' Telesphere Networks, Inc From:

Re: [Nagios-users] Re : a reboot switch or router

2008-07-15 Thread Larry Low
There is a Cisco proprietary trap that comes in as cisco.0.0 which indicates a reload has been initiated. There are also the warmStart and coldStart traps that indicate the snmp engine has restarted. Again with Cisco there is a proprietary whyReload portion of these traps that indicate why the

[Nagios-users] plugin neede to monitor file changes on Linux

2008-07-15 Thread L . Scheepers
Good day I've been searching hi and low, but I just cannot find a plug that can warn me if a file date changed. There are a few plugins that will monitor if a file date does not change and warn me, but they don't seem to have the functionality to do the opposite. I'm basically trying to monitor a

[Nagios-users] Received stray passive check result

2008-07-15 Thread Brian Murphy
Hi List I was demonstrating my Nagios 3.0.3 system today , and all was going very well, until Nagios processed a passive check from a source that was not running. I need to do further investigation, but I am wondering has anyone else had any problems with the new method of processing passive ch

Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services

2008-07-15 Thread Jonathan Williams
I feel like I am back at square one. It seems like a simple task to get Nagios to restart a service. I have NRPE now running on the server under xinedt, and switched the client back to NSClient++ from OpMon Agent. Both support NRPE. I am not sure if I am supposed to get a service restarted w

Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services

2008-07-15 Thread Fernando Rocha
Jonathan, The client installed on the host doesn't matter if both of them have support to nrpe. They will have a configuration file where you'll define the commands to run over check_nrpe. NSClient++ uses NSC.ini OpMonAgent uses opmonagent.ini But to make it easy, the OpMonAgent has a comm

Re: [Nagios-users] plugin neede to monitor file changes on Linux

2008-07-15 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 L.Scheepers wrote: | Good day | | I've been searching hi and low, but I just cannot find a plug that can | warn me if a file date changed. | There are a few plugins that will monitor if a file date does not change | and warn me, but they don't seem to

Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services

2008-07-15 Thread Jonathan Williams
/usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start That is exactly the syntax I am using and it did not work with OpMon agent. Perhaps I had a bad opmonagent.ini file. Here is all it has: [OPMONAGENT] enable=1 password=None port=124

Re: [Nagios-users] check_freshness detecting staled services in alphabetical order

2008-07-15 Thread Marcel
On Tue, Jul 15, 2008 at 7:15 AM, Thomas Guyot-Sionnest <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 14/07/08 04:40 PM, Marcel wrote: > > Hey, > > > > Have any of you have seen anything like this before? > > > > Nagios 2.9, ndoutils 1.4b4. > > > > Nagios began

Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services

2008-07-15 Thread Jonathan Williams
OK, after some searching I found another download of OpMonAgent and it has a lot more in it. The previous one had 3 files whereas this one has numerous .bat files and others. However the ini is still in Spanish. [NRPECOMMAND] ;Usado para testar se está funcionando o agente test=c:\opmon\

Re: [Nagios-users] check_freshness detecting staled services in alphabetical order

2008-07-15 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15/07/08 06:16 PM, Marcel wrote: > On Tue, Jul 15, 2008 at 7:15 AM, Thomas Guyot-Sionnest <[EMAIL PROTECTED] > > wrote: > >> So unless you have external processes updating these services (people >> usually use nsca to perf

[Nagios-users] Bug? Contact ADDRESS Macros index out of step

2008-07-15 Thread Matthew Jurgens
If I define a contact with the following attributes: define contact { --- other attributes skipped - address1 1 address2 2 address3 3 address4 4 address5 5