Re: [Nagios-users] plugin for monitoring nagios, remembering to turn notifications back on

2011-02-11 Thread Yueh-Hung Liu
enable logging for external commands, won't you find the time about disabling notification of services? On Sat, Feb 12, 2011 at 12:43 AM, Ray Kiddy wrote: > > I could not think of a way to search for this kind of plugin in the usual > places, so I ended up creating a version myself. > > We had

[Nagios-users] nagios start script errors

2011-02-11 Thread Morty
The default nagios start/stop script sends errors to stdout rather than stderr. This isn't proper *nix behavior. It's also not good for scripting around nagios. I.e. I have a script that wants to do /etc/init.d/nagios stop >/dev/null && $other_stuff && /etc/init.d/nagios start >/dev/null && $mor

Re: [Nagios-users] nagios server redundancy

2011-02-11 Thread Morty
On Fri, Feb 11, 2011 at 01:35:26PM -0800, Mike Lindsey wrote: > What I end up doing with my backup master is leave it off, with > frequent rsyncs of both config and the status files in var. Thanks! But I specifically want to leave both running under nominal conditions. This gives me the warm fu

[Nagios-users] Question on setting up a specialized status.cgi page

2011-02-11 Thread steve f
Hello All, I have say 20 hosts that among their checks they each run the same 5 checks on a SCO Unix machine at their location via an rsh script. For example, I rsh to the sco box, do a sar on it and report the results back and determine if the cpu on the sco box is high. These check reports

Re: [Nagios-users] nagios server redundancy

2011-02-11 Thread Mike Lindsey
On 2/11/11 10:26 AM, Morty wrote: > I'm looking to implement redundant nagios servers, with the backup > server in a different location than the prime server. This is nagios > 3.2.3, with the default web interface. I'm synchronizing > configurations by rsyncing /usr/local/nagios/etc/ between syst

Re: [Nagios-users] Check_snmp -d & -s

2011-02-11 Thread Greg Pangrazio
You might think about putting an "else" clause that returns "unknown" just to cover all of your bases. Right now if the line doesn't match the script will not return anything. Greg Pangrazio On Fri, Feb 11, 2011 at 11:57 AM, Tristan Drinkwater wrote: > Hi, > > Just in case anyone wanted to

[Nagios-users] nagios server redundancy

2011-02-11 Thread Morty
I'm looking to implement redundant nagios servers, with the backup server in a different location than the prime server. This is nagios 3.2.3, with the default web interface. I'm synchronizing configurations by rsyncing /usr/local/nagios/etc/ between systems. I'm doing active/active (i.e. I want

Re: [Nagios-users] Check_snmp -d & -s

2011-02-11 Thread Tristan Drinkwater
Hi, Just in case anyone wanted to know.. I resolved my issue my created a wrap script for the check_snmp plugin. Quite simple really :) script #!/bin/bash # Run check_snmp with param check=$(/usr/local/nagios/libexec/check_snmp -H $1 -o $2 -C nas-drive -P 2c) # echo result (testing) #

Re: [Nagios-users] check_openmanage and linebreaks

2011-02-11 Thread Trond Hasle Amundsen
"Bryan O'Shea" writes: > check_openmanage and linebreaks not working in $SERVICEOUTPUT$ emails. > > When using the either of the following options the linebreaks seem to be > broken: > -e or --postmsg > > This is what i get in my service notification emails instead of the > desired output of se

Re: [Nagios-users] plugin for monitoring nagios, remembering to turn notifications back on

2011-02-11 Thread Jim Avery
On 11 February 2011 16:43, Ray Kiddy wrote: > Is there a name for this sort of nagios-monitoring, reflexive plugin? Does > anyone know a key word to search for to find others like this? No, but it looks like a few such plugins and tools are found in the "Others" section in Nagios Exchange - ht

[Nagios-users] plugin for monitoring nagios, remembering to turn notifications back on

2011-02-11 Thread Ray Kiddy
I could not think of a way to search for this kind of plugin in the usual places, so I ended up creating a version myself. We had a service and had turned off notifications a bit ago and forgot to turn them back on once the problem was fixed. So, now I have a service which checks the services

Re: [Nagios-users] Notification by Email

2011-02-11 Thread mail
Sorry for top posting... What command are you using for the notification? / How are you sending these mails? We originally used a simple one like this... which just 'echos' text in to the mail command = # 'notify-by-email' command definition define comm

Re: [Nagios-users] Hope this useful : a dashboard management toolfor Nagios

2011-02-11 Thread Engelmann, Austin
Yes, thank you for sharing that! It got me searching the net for other possibilities which led me to Icinga (http://www.icinga.org). Anyone have any experience with this? What is attractive for my department is the reporting functionality. Austin From: Tntteam [mailto:tntt...@free.fr]

Re: [Nagios-users] Hope this useful : a dashboard management tool for Nagios

2011-02-11 Thread Marc Deop
On Friday 11 February 2011 15:37:20 Roch Akanor wrote: > Hello everyone,I just found ngrt4n (http://www.ngrt4n.com), a nice dashboard > management tool for Nagios. I have thought that it could be useful to share > the link with you.Kind regards--Roch A. > Thanks for sharing. I'll have a look a

Re: [Nagios-users] Hope this useful : a dashboard management tool for Nagios

2011-02-11 Thread Tntteam
Thanks for sharing 2011/2/11 Roch Akanor > Hello everyone, > I just found ngrt4n (http://www.ngrt4n.com), a nice dashboard management > tool for Nagios. > I have thought that it could be useful to share the link with you. > Kind regards > -- > Roch A. > > > -

[Nagios-users] check_openmanage and linebreaks

2011-02-11 Thread Bryan O'Shea
check_openmanage and linebreaks not working in $SERVICEOUTPUT$ emails. When using the either of the following options the linebreaks seem to be broken: -e or --postmsg This is what i get in my service notification emails instead of the desired output of seperate lines. "Power Supply 1 [AC] need

[Nagios-users] Hope this useful : a dashboard management tool for Nagios

2011-02-11 Thread Roch Akanor
Hello everyone,I just found ngrt4n (http://www.ngrt4n.com), a nice dashboard management tool for Nagios. I have thought that it could be useful to share the link with you.Kind regards--Roch A. --

Re: [Nagios-users] Uptime Calculation Question

2011-02-11 Thread Breandan Dezendorf
On Fri, Feb 11, 2011 at 7:03 AM, Kevin Keane wrote: > The trick is to carefully select what you are actually checking. You > probably don't want to run 5000 checks every five minutes, but you really > only need to have one check, or a few at most, per server that will tell you > whether or not wha

Re: [Nagios-users] Uptime Calculation Question

2011-02-11 Thread Kevin Keane
The trick is to carefully select what you are actually checking. You probably don't want to run 5000 checks every five minutes, but you really only need to have one check, or a few at most, per server that will tell you whether or not whatever you are monitoring is up; that should be enough for

Re: [Nagios-users] Notification by Email

2011-02-11 Thread Andre Kruger
I have tried replacing my "&" with %26 , but that does not work. The %26 shows in my Notification email but then the link does not work as expected. Next I tried the \ escape character, but then when I receive the notification email the "b" of "...&body=..." is gone. I am not sure about the e

[Nagios-users] import historical data from old nagios to new

2011-02-11 Thread Mario Garcia Ortiz
Hello all we have upgraded nagios from version 3.0.3 to the latest version, all the config was upgraded and it's nicely in production but the historical data and availability reports from the old nagios are not in the new; how can i migrate the data from the old nagis and integrate it in the new

Re: [Nagios-users] Check_snmp -d & -s

2011-02-11 Thread Tristan Drinkwater
Interesting. How do I go about a wrap script then? I take it I call the script from the command_check line? Anything special about outputting the result so Nagios can see it? thanks -Original Message- From: Yueh-Hung Liu [mailto:yuehung@gmail.com] Sent: 11 February 2011 11:24

Re: [Nagios-users] Check_snmp -d & -s

2011-02-11 Thread Tristan Drinkwater
Hi, I have just tried that not but dice. :( -Original Message- From: Giles Coochey [mailto:gi...@coochey.net] Sent: 11 February 2011 11:25 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Check_snmp -d & -s On 11/02/2011 12:08, Tristan Drinkwater wrote: > > Morning all,

Re: [Nagios-users] Check_snmp -d & -s

2011-02-11 Thread Giles Coochey
On 11/02/2011 12:08, Tristan Drinkwater wrote: Morning all, I’m trying to refine a few snmp checks I do. My command looks like this; ./check_snmp –H xx.xx.xx.xx –o READyNAS-MIB::diskState.1 –C nas-drive –P 2c –v This produces the following; /usr/bin/snmpget –t 1 –r 5 –m ALL –v 2c [authpri

Re: [Nagios-users] Check_snmp -d & -s

2011-02-11 Thread Yueh-Hung Liu
you can write a wrap script, which would be the check command, to deal the return string and report correct status to Nagios. of course this script will use check_snmp in it. On Fri, Feb 11, 2011 at 7:08 PM, Tristan Drinkwater wrote: > Morning all, > > > > I’m trying to refine a few snmp checks

Re: [Nagios-users] Notification by Email

2011-02-11 Thread Yueh-Hung Liu
maybe "escape_html_tags" in CGI configuration file? On Fri, Feb 11, 2011 at 6:56 PM, Andre Kruger wrote: > I would try an escape key if I knew what it was. Any idea? > > It just seems strange to me that from Nagois on the way to Postfix the "&" > is dumped somewhere along the way. > 2011/0

[Nagios-users] Check_snmp -d & -s

2011-02-11 Thread Tristan Drinkwater
Morning all, I'm trying to refine a few snmp checks I do. My command looks like this; ./check_snmp -H xx.xx.xx.xx -o READyNAS-MIB::diskState.1 -C nas-drive -P 2c -v This produces the following; /usr/bin/snmpget -t 1 -r 5 -m ALL -v 2c [authpriv] xx.xx.xx.xx READYNAS-MIB::diskState.1 READYNAS-

Re: [Nagios-users] Notification by Email

2011-02-11 Thread Andre Kruger
I would try an escape key if I knew what it was. Any idea? It just seems strange to me that from Nagois on the way to Postfix the "&" is dumped somewhere along the way. >>> 2011/02/11 12:35 >>> On Fri, Feb 11, 2011 at 9:33 AM, Andre Kruger wrote: > Hi > > I have a problem getting my status de

Re: [Nagios-users] Notification by Email

2011-02-11 Thread mail
On Fri, Feb 11, 2011 at 9:33 AM, Andre Kruger wrote: > Hi > > I have a problem getting my status detail sent (correctly) via email. Let me > explain. If I look at Nagios self and I look at the status detail for a > printer that I monitor I see the following, which is correct BTW: > > serv...@kyoce

[Nagios-users] Notification by Email

2011-02-11 Thread Andre Kruger
Hi I have a problem getting my status detail sent (correctly) via email. Let me explain. If I look at Nagios self and I look at the status detail for a printer that I monitor I see the following, which is correct BTW: serv...@kyocera.co.za?subject=Toner%20Order&body=Hi%20Nadia%0A%0AModel:%20K

Re: [Nagios-users] first_notification_delay problem

2011-02-11 Thread Jim Avery
On 10 February 2011 17:24 I wrote: > Hi, > > I'm having a problem with using first_notification_delay.  I'm not > sure if it's a bug or just that I don't understand how it's supposed > to work. ... I believe I found the answer here: http://git.nagiosprojects.org/?p=nagios.git;a=commit;h=d34d13f