[Nagios-users] error check_snmp for UPS

2009-10-01 Thread nadia kheffache
Hi, I wont to monitor an ups (onduleur),i use a basic nagios plugin_snmp. but i have these error, i can't get any information about this ups. can you help me please? thank you [nag...@nagios01 libexec]$ ./check_snmp -H UPS-onduleur1 -C public - o .1.3.6.1.4.1.4555.1.1.1.1.6.2.1.1.17 .w

[Nagios-users] RE [spam?] error check_snmp for UPS

2009-10-01 Thread frank . bourdeau
Hi, Have you test with snmpwalk to see if you UPS onduleur respond ? Is the UPS mib installed on the nagios server ? Frank email: frank.bourd...@dga.defense.gouv.fr fonction: administrateur systèmes et réseaux tel: 0241936560 fax: 0241936681 ETAS - BP 60036 - route de Laval - 49245 AVRILLE

[Nagios-users] Fw : Re : RE [spam?] error check_snmp for UPS

2009-10-01 Thread nadia kheffache
Hi Franck, I think i have a probleme with my oids, i have the mib file, but i dont'know how to use it to define these oid? i take one in the internet! but how can i use the the mib file? i use this link to monitor my ups: http://wiki.nagios.org/index.php/Howtos:snmp-apc-smart-ups

[Nagios-users] disable all authentication

2009-10-01 Thread Albert Shih
Hi all How can I disable all authentication on Nagios ? (It's not for production, and I known what I'm doing ;-) ) I've put use_authentication=0 default_user_name=guest and put «*» on authorized_for_system_information=* authorized_for_configuration_information=*

Re: [Nagios-users] How to monitor a linux file opened closed status using Nagios

2009-10-01 Thread Selvakumar A
Hi, Thanks for your guidance.I followed your instructions.I installed net_nc in windows-XP and I could only get the file's modified time. I am also interested to know about how to monitor a linux file's status whether it is opened or closed and modified etc.I used chech_file_age plugin

[Nagios-users] Re : RE [spam?] error check_snmp for UPS

2009-10-01 Thread nadia kheffache
Can you help me please? i have the same error when i execute this commande: command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.4.1.3854.1.2.2.1.16.1.3.0 -w $ARG2$:$ARG1$ -c $ARG4$:$ARG3$ -C $ARG5$ -l Temperature -u °C ./check_snmp -H sensorIP -v 1 -o

Re: [Nagios-users] disable all authentication

2009-10-01 Thread Marc Powell
On Oct 1, 2009, at 4:18 AM, Albert Shih wrote: Hi all How can I disable all authentication on Nagios ? (It's not for production, and I known what I'm doing ;-) ) I've put use_authentication=0 default_user_name=guest and put «*» on authorized_for_system_information=*

Re: [Nagios-users] How to monitor a linux file opened closed status using Nagios

2009-10-01 Thread Marc Powell
On Oct 1, 2009, at 6:48 AM, Selvakumar A wrote: Hi, Thanks for your guidance.I followed your instructions.I installed net_nc in windows-XP and I could only get the file's modified time. I am also interested to know about how to monitor a linux file's status whether it is opened or

[Nagios-users] Not sending e-mails

2009-10-01 Thread Scott Miller
I know this has been hit over and over, and I've read literally everything I could find, but to no avail. I have a newly install of Nagios 3.2.0 on a Fedora Core 8 with Postfix/Dovecot. I have a modified script (postfix mail queue monitor I shared a week or so ago). The only thing Nagios is

Re: [Nagios-users] Not sending e-mails

2009-10-01 Thread Morris, Patrick
Scott Miller wrote: I know this has been hit over and over, and I've read literally everything I could find, but to no avail. I have a newly install of Nagios 3.2.0 on a Fedora Core 8 with Postfix/Dovecot. I have a modified script (postfix mail queue monitor I shared a week or so ago). The

[Nagios-users] getting repeat emails

2009-10-01 Thread Kriek Jooste
I am sure I am missing something simple, and would like some extra eyes on this. The effect I'm seeing is that when a service is in a state I want to send notifications (e.g. CRITICAL) for, it seems to keep on sending notifications out, every 20 or 30 minutes or so. For example: 2009-9-29

[Nagios-users] FW: Not sending e-mails

2009-10-01 Thread Scott Miller
Scott Miller wrote: I know this has been hit over and over, and I've read literally everything I could find, but to no avail. I have a newly install of Nagios 3.2.0 on a Fedora Core 8 with Postfix/Dovecot. I have a modified script (postfix mail queue monitor I shared a week or so ago). The

Re: [Nagios-users] FW: Not sending e-mails

2009-10-01 Thread Martin Melin
Try simply copying the command_line for notify-service-by-email and running it in a shell yourself. Or just do: # echo Hello world | /bin/mail -s Test Email r...@localhost On Thu, Oct 1, 2009 at 8:28 PM, Scott Miller srmil...@interbel.net wrote: Scott Miller wrote: I know this has been hit

Re: [Nagios-users] FW: Not sending e-mails

2009-10-01 Thread Michael Saldivar
On Thu, Oct 1, 2009 at 12:28 PM, Scott Miller srmil...@interbel.net wrote: Scott Miller wrote: commands.cfg # 'notify-host-by-email' command definition define command{ command_namenotify-host-by-email command_line/usr/bin/printf %b * Nagios

Re: [Nagios-users] FW: Not sending e-mails

2009-10-01 Thread Morris, Patrick
Scott Miller wrote: Scott Miller wrote: I know this has been hit over and over, and I've read literally everything I could find, but to no avail. I have a newly install of Nagios 3.2.0 on a Fedora Core 8 with Postfix/Dovecot. I have a modified script (postfix mail

[Nagios-users] remote check with no nagios tools at remote node

2009-10-01 Thread G. S. Marzot
Along the lines of probing hosts that may or (more importantly) may not have nagios checks installed... I wonder if there is an ssh (there is often key based logins avail) based check that will run things like 'ps' or 'top' or various shell based commands and parse them to do some sort of

Re: [Nagios-users] getting repeat emails

2009-10-01 Thread Fernando Rocha
Hi Kriek! If you want just to be notified one time, you must set : notification_interval 0 regards -- Fernando Rocha fernando.ro...@opservices.com.br Analista de Suporte - Operação OpServices - Porto Alegre - RS - Brasil +55 51 3275.3588 www.opservices.com.br www.opmon.org - Kriek

Re: [Nagios-users] DHCP hosts

2009-10-01 Thread G. S. Marzot
Hari Sekhon wrote: G. S. Marzot wrote: Does anyone have a good solution for monitoring DHCP hosts which may come and go? I would like to see them in some hostgroup when they are active but not generate any alerts when gone... ideas? I wrote a plugin for dhcpd which lists hosts that

[Nagios-users] Notification period 0

2009-10-01 Thread Kurktchiev, Boris
Ok so I set all my notification periods to 0 (in both services and hosts) and now I am getting a whole bunch of errors: Error: Notification period '0' specified for service 'ADVAPPS SSH' on host 'advapps.blah' is not defined anywhere! As far as I understood the documentation setting the period to

Re: [Nagios-users] Notification period 0

2009-10-01 Thread Kurktchiev, Boris
Aaaand I am an idiot... Disregard this. On 10/1/09 2:12 PM, Kurktchiev, Boris bo...@unt.edu wrote: Ok so I set all my notification periods to 0 (in both services and hosts) and now I am getting a whole bunch of errors: Error: Notification period '0' specified for service 'ADVAPPS SSH' on

Re: [Nagios-users] remote check with no nagios tools at remote node

2009-10-01 Thread Mathew Walker
i think the plugin you're looking for is CHECK_BY_SSH -- Mat W. - http://www.techadre.com Date: Thu, 1 Oct 2009 14:29:08 -0400 From: gmar...@marzot.net To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] remote check with no nagios tools at remote node Along the lines

Re: [Nagios-users] Notification period 0

2009-10-01 Thread Mathieu Gagné
On 10/1/09 3:12 PM, Kurktchiev, Boris wrote: Ok so I set all my notification periods to 0 (in both services and hosts) and now I am getting a whole bunch of errors: Error: Notification period '0' specified for service 'ADVAPPS SSH' on host 'advapps.blah' is not defined anywhere! As far as I

Re: [Nagios-users] FW: Not sending e-mails

2009-10-01 Thread Scott Miller
[r...@mail4 ~]# echo Hello world | /bin/mail -s Test Email r...@localhost [r...@mail4 ~]# /etc/mail/sendmail.cf: line 0: cannot open: No such file or directory [r...@mail4 ~]# I'm running postfix - not sure why it's looking for sendmail. From: Martin Melin [mailto:mme...@gmail.com]

Re: [Nagios-users] FW: Not sending e-mails

2009-10-01 Thread Marc Powell
On Oct 1, 2009, at 3:23 PM, Scott Miller wrote: [r...@mail4 ~]# echo Hello world | /bin/mail -s Test Email r...@localhost [r...@mail4 ~]# /etc/mail/sendmail.cf: line 0: cannot open: No such file or directory [r...@mail4 ~]# I’m running postfix – not sure why it’s looking for sendmail.

Re: [Nagios-users] FW: Not sending e-mails

2009-10-01 Thread Scott Miller
I agree - I've found a few other oddities while messing around with Postfix. Gotta fix those first. Thanks, Scott From: Martin Melin [mailto:mme...@gmail.com] Sent: Thursday, October 01, 2009 12:58 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] FW: Not sending

Re: [Nagios-users] FW: Not sending e-mails

2009-10-01 Thread Michael Saldivar
Did you try the two notification mail commands I sent over? Postfix uses different syntax than what comes in the default Nagios config, and the ones I'm using are from a functional Ubuntu/Postfix setup. It uses Postfix's alias to sendmail instead of the mail command, which doesn't work with

Re: [Nagios-users] FW: Not sending e-mails

2009-10-01 Thread Scott Miller
I actually go it to work using your suggestion - I double checked it, and misspelled one word - fixed it, lowered the threshold to alarm, and restarted - got a notification within about 5 min. # NEW 'notify-host-by-email' command definition define command{ command_name

Re: [Nagios-users] DHCP hosts

2009-10-01 Thread Morris, Patrick
G. S. Marzot wrote: Thank you for the pointer to this cool plugin... Unfortunately no solutions to date really fill the bill as the leases are allocated by a router that does not publish them in a way I know how to get... nor can I put anything on the DHCP hosts... they are not under my

Re: [Nagios-users] remote check with no nagios tools at remote node

2009-10-01 Thread G. S. Marzot
Mathew Walker wrote: i think the plugin you're looking for is CHECK_BY_SSH aybe... except the man page for this shows downloading plugins to be run on the remote host... I am looking for almost zero footprint there or leveraging am ssh login that already exists... the plugin I have in mind