[Nagios-users] Trouble with Global event handlers in Nag 3 (b7). [SEC=UNCLASSIFIED]

2008-01-04 Thread Stanley.Hopcroft
Dear Folks, I am writing to ask for help with global event handlers in Nagios 3.0 (b7). The handler that worked Ok with Nag 2.9 seems to work erratically (ie only some of the time; more often than not it doesn't do anything) with 3.0. Nag would log (in nagios.log) this message with 2.9 [1186030

Re: [Nagios-users] Acking an alert by replying to an email

2008-01-04 Thread Dave
fetchmail might do the job for you. Because of a particular arrangement of our mail server, I was unable to use procmail for a similar purpose (not nagios but email front-end for rt). It depends on whether notes is willing to speak to a client with a protocol that fetchmail knows. (POP worked for m

Re: [Nagios-users] NRPE Plug-in Development

2008-01-04 Thread Heiko Schlittermann
Carlos Chiriboga Calderon <[EMAIL PROTECTED]> (Fr 04 Jan 2008 23:37:10 CET): > First, i need express my excuses becouse my level of knowledge of english is > very low. > > Now, i'm writing a new plugin for get the bandwith used in a sample time, > the program run fine but i cant make then the nag

Re: [Nagios-users] NRPE Plug-in Development

2008-01-04 Thread Aaron M. Segura
http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOUTPUT On Fri, 2008-01-04 at 17:37 -0500, Carlos Chiriboga Calderon wrote: > First, i need express my excuses becouse my level of knowledge of english is > very low. > > Now, i'm writing a new plugin for get the bandwith used in a s

[Nagios-users] NRPE Plug-in Development

2008-01-04 Thread Carlos Chiriboga Calderon
First, i need express my excuses becouse my level of knowledge of english is very low. Now, i'm writing a new plugin for get the bandwith used in a sample time, the program run fine but i cant make then the nagios read the result correctly. the help of my program is this: **

Re: [Nagios-users] rrd gaps

2008-01-04 Thread Lars Stavholm
Gerd Mueller wrote: > :-) Yes, many thanks to Peter Tuschy, who wrote this patch. > > BTW: Today we put a "current" release on NagiosExchange. Hopefully this > will be the next stable release. Zooming of graphs is the newest feature > in this version. I tried it and it works alright in the sense

Re: [Nagios-users] check_hpasm error

2008-01-04 Thread Gerhard Lausser
Hi Michel, Hi Marcus ;-) now i see what's wrong here: in your sudoers you allow the nagios-user to execute /sbin/hpasmcli with sudo but according to the nrpe.cfg command[check_hpasm]=sudo /usr/local/nagios/libexec/check_hpasm you actually try to execute /usr/local/nagios/libexec/check_hpasm with

Re: [Nagios-users] Acking an alert by replying to an email

2008-01-04 Thread Jim . Melin
It's the procmail part that will be the political hot potato. Thou Shalt Have No Other Email Platform Before Me is the edict from on high, regarding notes. Not withstanding that the nagios server has to have a mailing agent of some sort to work of course. I'll see what I can squeak past the powe

Re: [Nagios-users] check_hpasm error

2008-01-04 Thread Marcus Fleige
Hi again, try to explicitly name your sudo-commands. Name the entry "/usr/local/libexec/check_hpasm *", that should allow your nagios user to run the command with any option without asking for a password. Regards, Marcus Fleige

Re: [Nagios-users] best solution for configuration changes

2008-01-04 Thread Brian Loe
On Jan 3, 2008 2:39 PM, Matthias Flacke <[EMAIL PROTECTED]> wrote: > > I'd like to suggest a completely different approach - again with the > plugin > check_multi (http://my-plugin.de/check_multi) which I yesterday introduced > in > another context. ;-) > > Take the following scenario: you have a

Re: [Nagios-users] rrd gaps

2008-01-04 Thread Gerd Mueller
:-) Yes, many thanks to Peter Tuschy, who wrote this patch. BTW: Today we put a "current" release on NagiosExchange. Hopefully this will be the next stable release. Zooming of graphs is the newest feature in this version. Cheers, Gerd Am Donnerstag, den 03.01.2008, 16:47 -0700 schrieb Brock Kuhs

Re: [Nagios-users] Acking an alert by replying to an email

2008-01-04 Thread Petersen, Mark
I think the easiest solution would be to have Lotus Notes forward mail for [EMAIL PROTECTED] (or whatever from address you use) to [EMAIL PROTECTED] and run procmail on the nagios server. Is this compatible with your setup? I don't really know much about Notes, but I assume it's not running it on

Re: [Nagios-users] check_hpasm error

2008-01-04 Thread PO Michel
Hi Gerhard I cannot get things to work. I currently have : nagios ALL=NOPASSWD: /sbin/hpasmcli, /opt/compaq/utils/*, /sbin/hplog, /usr/sbin/hpacucli, /opt/compaq/acucli, /usr/local/nagios/libexec/* in my /etc/sudoers file. What can I try more ? I would really like

Re: [Nagios-users] SMS gateway

2008-01-04 Thread Mad Unix
can you send me how did you configure the GSM modem (Serial Port) under linux, and the smstools configuration and also how did you add the sms to your nagios config, would be really appreciated Thanks On 1/4/08, Dennis Hünseler <[EMAIL PROTECTED]> wrote: > > Hello Mad Unix, > > I use smstools to

Re: [Nagios-users] SMS gateway

2008-01-04 Thread Dennis Hünseler
Hello Mad Unix, I use smstools to send the sms through gsm modem. Kind regards, Dennis Mad Unix schrieb: > which tools do you use to send sms through GSM modem (connected via > COM) through nagios: > smstools, kanal, or smsclient > > > On 1/3/08, *Dennis Hünseler* <[EMAIL PROTECTED] >

Re: [Nagios-users] SMS gateway

2008-01-04 Thread Mad Unix
which tools do you use to send sms through GSM modem (connected via COM) through nagios: smstools, kanal, or smsclient On 1/3/08, Dennis Hünseler <[EMAIL PROTECTED]> wrote: > > Hi, > > please take a look at this postings first: > > > http://sourceforge.net/mailarchive/forum.php?thread_name=iSeXz

Re: [Nagios-users] Acking an alert by replying to an email

2008-01-04 Thread Jim . Melin
Anyone aware of a how-to on this? I'd need to be able to adapt lotus notes to do the necessary. "Petersen, Mark" <[EMAIL PROTECTED

Re: [Nagios-users] check_hpasm error

2008-01-04 Thread Gerhard Lausser
Hi Michel, > Should I uncomment the commad_prefix option in the nrpe.cfg > config file ? you would do that, if you want to run _all_ of your commands with sudo, which is a crazy thing to do under normal circumstances. Another usage may be something like command_prefix=PATH="$PATH:/some/special/

Re: [Nagios-users] check_hpasm error

2008-01-04 Thread PO Michel
Hi Gerhard Should I uncomment the commad_prefix option in the nrpe.cfg config file ? For the time being it is not used and my other NRPE checks (Disk, CPU, Swap) work... - PO Michel (misterpo) --- This thread is located in the archive at this

Re: [Nagios-users] check_hpasm error

2008-01-04 Thread Gerhard Lausser
> running NRPE under xinetd could raise problems ? I don't think so. At least i never read about anyone having problems. Gerhard - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Stud

Re: [Nagios-users] Plugins for IBM Storage DS4000 et Netapp FAS2xxx

2008-01-04 Thread Sander Klein
Hey, Thierry VALLIER wrote: > > Hi all > > I’m searching plugins for monitoring my storage IBM DS4000 and NetApp > FAS2020. > Did you bother to look at http://www.nagiosexchange.org? Or even type something like 'nagios netapp' in google? It gives millions of hits Greets, Sander --

[Nagios-users] Plugins for IBM Storage DS4000 et Netapp FAS2xxx

2008-01-04 Thread Thierry VALLIER
Hi all I'm searching plugins for monitoring my storage IBM DS4000 and NetApp FAS2020. Can someone help me please ? Thanx in advance Bien cordialement, Best regards Thierry VALLIER GROUPE D.FI * : 01 58 87 32 65 * : 06 03 17 07 44 * : [EMAIL PROTECTED]

Re: [Nagios-users] check_hpasm error

2008-01-04 Thread PO Michel
Hi Gerhard I have already tried that and it works. Do you think that running NRPE under xinetd could raise problems ? - PO Michel (misterpo) --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0

Re: [Nagios-users] check_hpasm error

2008-01-04 Thread Gerhard Lausser
> Yes, the sudo /sbin/hpasmcli -s help works run as nagios. I > get the following output : > CLEAR DISABLE ENABLE EXIT HELP QUIT SET SHOW That's perfect so far. I think you even don't need the sudoers entry for /opt/compaq/utils/hpasmcli any more. What's the output if you call check_hpasm

Re: [Nagios-users] check_hpasm error

2008-01-04 Thread PO Michel
Hi Gerhard Thanks a lot for you reply. Yes, the sudo /sbin/hpasmcli -s help works run as nagios. I get the following output : CLEAR DISABLE ENABLE EXIT HELP QUIT SET SHOW /sbin/hpasmcli is a link to /opt/compaq/utils/hpasmcli which has appropriate Linux

Re: [Nagios-users] check_hpasm error

2008-01-04 Thread PO Michel
Hi Gerhard Thanks a lot for you reply. Yes, the sudo /sbin/hpasmcli -s help works run as nagios. I get the following output : CLEAR DISABLE ENABLE EXIT HELP QUIT SET SHOW /sbin/hpasmcli is a link to /opt/compaq/utils/hpasmcli which has appropriate Linux

Re: [Nagios-users] check_hpasm error

2008-01-04 Thread Gerhard Lausser
Hi, can you please login as the nagios user on host miysis and execute sudo /sbin/hpasmcli -s help If you are asked for a password there, then maybe your sudo-configuration only allows you to call the bare command without any additional command line options. man sudoers says: A simple fil

[Nagios-users] check_hparray Error

2008-01-04 Thread PO Michel
Hi list I try to use the check_hparray plugin through NRPE on the RHEL 5.0 Linux box running Nagios. I get the following error message : "check_hparray Error." Here are my config files : * /etc/sudoers nagios ALL=NOPASSWD: /sbin/hpasmcli, /opt/compaq/utils/hpasmcli, /sbin/hplog, /usr/sbin/hp

Re: [Nagios-users] check_hpasm error

2008-01-04 Thread PO Michel
Hi Marcus Thanks a lot for your quick and precious help. My purpose is also to make check_hpasm work through NRPE. But I get an "NRPE. Unable to read output" message. Here is my services.cfg file : define service { host_name miysis use template-services service_d

Re: [Nagios-users] check_hpasm error

2008-01-04 Thread PO Michel
Hi Marcus Thanks a lot for your quick and precious help. My purpose is also to make check_hpasm work through NRPE. But I get an "NRPE. Unable to read output" message. Here is my services.cfg file : define service { host_name miysis use template-services service_d

Re: [Nagios-users] check_hpasm error

2008-01-04 Thread Marcus Fleige
Hello there, PO Michel schrieb am 04.01.2008 09:17 Uhr: > Hi list > > I try to use the check_hpasm plugin on the RH 5.0 Linux box running Nagios. > > I get the following error : "UNKNOWN - insufficient rights to call sudo > /sbin/hpasmcli " > > [...] Actually, i got exactly the same problem

[Nagios-users] check_hpasm error

2008-01-04 Thread PO Michel
Hi list I try to use the check_hpasm plugin on the RH 5.0 Linux box running Nagios. I get the following error : "UNKNOWN - insufficient rights to call sudo /sbin/hpasmcli " * Content of etc/commands.cfg : # 'check_hpasm' command definition define command{ command_namecheck_hpasm