From ugob at camo-route.com Sun Oct 1 16:36:11 2006 From: ugob at camo-route.com (Ugo Bellavance) Date: Sun, 01 Oct 2006 10:36:11 -0400 Subject: RES: Nagios On VMWare machines In-Reply-To: <38BACA175342954EB7D59A9060316CD1025DC038@MAILBX03.telemar.corp.net> References: <38BACA175342954EB7D59A9060316CD1025DC037@MAILBX03.telemar.corp.net> <38BACA175342954EB7D59A9060316CD1025DC038@MAILBX03.telemar.corp.net> Message-ID: Thales Maia Chagas wrote: > Nagios seems to be not parallelizing. What tells you that? How many checks do you do? try nagios -s /config/file/path It will give you, among other info Inter-check delay: 1.67 sec If the checks themselves are not taking more than 1.67 sec, you won't see 2 check processes active at the same time. Well, give us more info if you need help. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Mon Oct 2 04:08:37 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 2 Oct 2006 15:08:37 +1300 Subject: Nagios On VMWare machines In-Reply-To: <38BACA175342954EB7D59A9060316CD1025DC036@MAILBX03.telemar.corp.net> References: <38BACA175342954EB7D59A9060316CD1025DC036@MAILBX03.telemar.corp.net> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A234A512@UXCHANGE3.UoA.auckland.ac.nz> We use Nagios to monitor the service console (via check_esx2, from nagiosexchange) and the standard host MIB checks. Then we use NRPE or pNSclient on the guests to monitor them (but not CPU, memory or network IO). check_esx2 takes care of CPU use, readytime, and memory use checks. Works fine here. Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Thales Maia Chagas Sent: Saturday, 30 September 2006 9:47 a.m. To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios On VMWare machines Does anybody running nagios on VMWare machines? Experiencing any problem? Esta mensagem, incluindo seus anexos, pode conter informa??es privilegiadas e/ou de car?ter confidencial, n?o podendo ser retransmitida sem autoriza??o do remetente. Se voc? n?o ? o destinat?rio ou pessoa autorizada a receb?-la, informamos que o seu uso, divulga??o, c?pia ou arquivamento s?o proibidos. Portanto, se voc? recebeu esta mensagem por engano, por favor, nos informe respondendo imediatamente a este e-mail e em seguida apague-a. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gctech at gmail.com Mon Oct 2 03:46:58 2006 From: gctech at gmail.com (Timothy Lane) Date: Sun, 1 Oct 2006 20:46:58 -0500 Subject: yum install nagios Message-ID: <238d88e30610011846j6a4aa8d9wa7b2f61dcece0fa5@mail.gmail.com> When I do the yum install nagios. it seems to download and install for me, but I can't start the service Fedora Core 4 nagios-2.5-2.fc4 i386 -- Timothy Lane www.gcztech.com "I haven't lost my mind; I have a tape backup somewhere." -Author Unknown -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Oct 2 11:39:06 2006 From: ae at op5.se (Andreas Ericsson) Date: Mon, 02 Oct 2006 11:39:06 +0200 Subject: simple chech using snmp In-Reply-To: <451D6059.1030006@ng23.net> References: <451D1B3E.4010006@ng23.net> <52016C03-5D5A-4C16-8A6C-FD8F14AA684E@kilala.nl> <451D3742.3040305@ng23.net> <451D40BD.3060604@ng23.net> <451D45A6.4070705@op5.se> <451D4A73.3060900@ng23.net> <451D5017.1090709@op5.se> <451D6059.1030006@ng23.net> Message-ID: <4520DE3A.3070808@op5.se> Tom Brown wrote: > >> >> Add the following lines before the "echo $OUTPUT" line: >> >> if [ $EXITCODE -eq 0 ]; then >> echo "$OUTPUT" | grep -v CRITICAL >> [ $? -eq 1 ] && EXITCODE=2 >> fi >> >> Totally untested, but should work just dandy. >> >> I'm off to drink an awe inspiring amount of beer and other >> alcohol-based beverages now, so won't see any replies until monday. >> > > bha! end of the script now looks like this > > ### FINALLY... RETRIEVING THE VALUES ### > > EXITCODE=`$SNMPWALK -v 1 -c $COMMUNITY $HOST $STATUS` > [ $DEBUG -gt 0 ] && echo "Retrieve exit code is $EXITCODE" >> $DEBUGFILE > > OUTPUT=`$SNMPWALK -Ovq -v 1 -c $COMMUNITY $HOST $STRING` > [ $DEBUG -gt 0 ] && echo "Retrieve status message is: $OUTPUT" >> > $DEBUGFILE > > if [ $EXITCODE -eq 0 ]; then > echo "$OUTPUT" | grep -v CRITICAL > [ $? -eq 1 ] && EXITCODE=2 > fi > > echo $OUTPUT > exit $EXITCODE > > but when it runs i get this > > ../libexec/retrieve_custom_snmp: line 84: [: -eq: unary operator expected > "CRITICAL emcpowera has 2 dead, 2 alive" > Urgh. My bad. What does EXITCODE contain when you run it in debug mode? (on a side-note, whoever names a variable containing textual output "EXITCODE" should be shot) > ho hum - enjoy the beer > Good plan. Working on it ;-) -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Mon Oct 2 11:39:36 2006 From: m.borsani at it.net (Marco Borsani) Date: Mon, 2 Oct 2006 11:39:36 +0200 Subject: R: R: Installing problem In-Reply-To: <451D3D3F.7060104@op5.se> References: <451D3D3F.7060104@op5.se> Message-ID: <094401c6e606$ac97f570$0900d40a@intranet.it.net> 1) I have not yum on my system, usually use rpm. Performing a rpm -qa | grep gd , I obtain: gdbm-devel-1.8.0-24 gdbm-1.8.0-24 sysklogd-1.4.1-26_EL gd-2.0.28-4 gdm-2.6.0.5-6 gdb-6.1post-1.20040607.62 gdk-pixbuf-0.22.0-15.1 Do I need to install another library? 2) I set SELinux to permissive, but I still receive the message: ./status.cgi getcgivars(): Unsupported REQUEST_METHOD -> '' I'm guessing you're trying to execute the CGI from a command line. In order to do that, you need to set the REQUEST_METHOD environment variable to either "GET", "HEAD", or "POST". When using the GET and HEAD methods, arguments can be passed to the CGI by setting the "QUERY_STRING" environment variable. If you're using the POST method, data is read from standard input. Also of note: if you've enabled authentication in the CGIs, you must set the "REMOTE_USER" environment variable to be the name of the user you're "authenticated" as. I have not errors when I go into the directories. Is it normal? When I installed Nagios on Red Hat Enterprise 3 I had not these problems!! Marco -}-----Messaggio originale----- -}Da: Andreas Ericsson [mailto:ae at op5.se] -}Inviato: venerd? 29 settembre 2006 17.35 -}A: Marco Borsani -}Cc: 'Nagios Users Mailinglist' -}Oggetto: Re: R: [Nagios-users] Installing problem -} -}Marco Borsani wrote: -}> Well, -}> -}> 1) On HP-UX nagios is running correctly, all the libraries were -}> installed before install it. -}> -}> I am not expert on Linux so I don't understand when you write: -}> "..but for RedHat you *should* get everything needed by the simple -}> expedient of -}> -}> yum install gd-devel" -}> What do you mean? -}> -} -}I mean you should type (as root) -} -}yum install gd-devel -} -}on your system to get the libraries you need to build the -}cgi-programs that didn't execute properly. -} -}> -}> 2) I performed: -}> su apache -}> cd /usr/local/ -}> cd nagios -}> cd sbin -}> ./status.gci -}> getcgivars(): Unsupported REQUEST_METHOD -> '' -}> -}> I'm guessing you're trying to execute the CGI from a command line. -}> In order to do that, you need to set the REQUEST_METHOD environment -}> variable to either "GET", "HEAD", or "POST". When using -}the GET and -}> HEAD methods, arguments can be passed to the CGI by setting the -}> "QUERY_STRING" environment variable. If you're using the -}POST method, -}> data is read from standard input. Also of -}> note: if you've enabled authentication in the CGIs, you -}must set the -}> "REMOTE_USER" environment variable to be the name of the -}user you're -}> "authenticated" as. -}> -}> What does it mean? -}> -}> I am sorry, I am working with nagios from 2 year, but I meet these -}> error for the first time now! -}> -} -} -}This is odd. Do you have SELinux turned on? If so, turn it -}off and try accessing the page through the web again. Try -}Google or the RedHat user forums for info on how to do that, -}cause I have absolutely no idea. -} -}As a side note, I expected you to get errors several times -}when cd'ing to the directory, as well as when trying to -}execute the cgi program. -} -}-- -}Andreas Ericsson andreas.ericsson at op5.se -}OP5 AB www.op5.se -}Tel: +46 8-230225 Fax: +46 8-230231 -} ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Mon Oct 2 11:44:26 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 2 Oct 2006 11:44:26 +0200 Subject: yum install nagios In-Reply-To: <238d88e30610011846j6a4aa8d9wa7b2f61dcece0fa5@mail.gmail.com> References: <238d88e30610011846j6a4aa8d9wa7b2f61dcece0fa5@mail.gmail.com> Message-ID: On 2 Oct, 2006, at 3:46, Timothy Lane wrote: > When I do the yum install nagios. it seems to download and install > for me, > but I can't start the service > > Fedora Core 4 > nagios-2.5-2.fc4 i386 Uhm, yeah... A few additional details -would- come in handy, thank you... This is like saying: "I got this new car and I sat in the driver's seat, but it won't go." So, could you give us some stuff like: * the start command you're using * the error message it returns * some details on your nagios config * have you verified your nagios config (using "nagios -v" and so on)? Cheers! Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Mon Oct 2 11:58:06 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 2 Oct 2006 11:58:06 +0200 Subject: simple chech using snmp In-Reply-To: <4520DE3A.3070808@op5.se> References: <451D1B3E.4010006@ng23.net> <52016C03-5D5A-4C16-8A6C-FD8F14AA684E@kilala.nl> <451D3742.3040305@ng23.net> <451D40BD.3060604@ng23.net> <451D45A6.4070705@op5.se> <451D4A73.3060900@ng23.net> <451D5017.1090709@op5.se> <451D6059.1030006@ng23.net> <4520DE3A.3070808@op5.se> Message-ID: Yay, debugging! \o/ Could be handy if we move this off-list, unless no-one objects to us handling this through the list. >> bha! end of the script now looks like this >> >> ### FINALLY... RETRIEVING THE VALUES ### >> >> EXITCODE=`$SNMPWALK -v 1 -c $COMMUNITY $HOST $STATUS` >> [ $DEBUG -gt 0 ] && echo "Retrieve exit code is $EXITCODE" >> >> $DEBUGFILE >> >> OUTPUT=`$SNMPWALK -Ovq -v 1 -c $COMMUNITY $HOST $STRING` >> [ $DEBUG -gt 0 ] && echo "Retrieve status message is: $OUTPUT" >> >> $DEBUGFILE >> >> if [ $EXITCODE -eq 0 ]; then >> echo "$OUTPUT" | grep -v CRITICAL >> [ $? -eq 1 ] && EXITCODE=2 >> fi >> >> echo $OUTPUT >> exit $EXITCODE >> >> but when it runs i get this >> >> ../libexec/retrieve_custom_snmp: line 84: [: -eq: unary operator >> expected >> "CRITICAL emcpowera has 2 dead, 2 alive" >> > > Urgh. My bad. What does EXITCODE contain when you run it in debug > mode? It should contain the exact same value it contains when not running in debug mode: the exit code for the Nagios script being run through SNMP exec. Could you tell me what exactly is contained on line 84 in your case? Because in the version of the script up on my website, line 84 is part of the Nagios "help" text. I think I -should- look into the whole "-Ovq" bit a little bit though. I think the $EXITCODE may benefit from this as well... If I find some time this afternoon, I'll start digging... > (on a side-note, whoever names a variable containing textual output > "EXITCODE" should be shot) Yes, that would be me thank you... What kind of gun would you prefer? I would like to smoke a pipe before being executed, though. Mind? But before you pull that trigger, would you please go back just a wee a bit and read my docu on what $EXITCODE contains? Why yes, it -does- in fact contain the exit code of the Nagios script that was run on the client side! OMG! Let me quote the bit in question: # Output: # The exit code is the exit code retrieved from OID.100.0. # The output string is the string retrieved from OID.101.1. /me puts on a blind fold. Any suggestions for a variable name change are more than welcome. And I guess I -could- elaborate the docu a bit more. Expect a newer version, some time this afternoon. >> ho hum - enjoy the beer >> > Good plan. Working on it ;-) Right about now, I'm wishing I had a nice, cold bottle of "Lambiek Kriek" in my desk drawer. Cheers, Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Oct 2 12:15:02 2006 From: ae at op5.se (Andreas Ericsson) Date: Mon, 02 Oct 2006 12:15:02 +0200 Subject: simple chech using snmp In-Reply-To: References: <451D1B3E.4010006@ng23.net> <52016C03-5D5A-4C16-8A6C-FD8F14AA684E@kilala.nl> <451D3742.3040305@ng23.net> <451D40BD.3060604@ng23.net> <451D45A6.4070705@op5.se> <451D4A73.3060900@ng23.net> <451D5017.1090709@op5.se> <451D6059.1030006@ng23.net> <4520DE3A.3070808@op5.se> Message-ID: <4520E6A6.90403@op5.se> Thomas Sluyter wrote: > Yay, debugging! \o/ > > Could be handy if we move this off-list, unless no-one objects to us > handling this through the list. > > >>> bha! end of the script now looks like this >>> >>> ### FINALLY... RETRIEVING THE VALUES ### >>> >>> EXITCODE=`$SNMPWALK -v 1 -c $COMMUNITY $HOST $STATUS` >>> [ $DEBUG -gt 0 ] && echo "Retrieve exit code is $EXITCODE" >> >>> $DEBUGFILE >>> >>> OUTPUT=`$SNMPWALK -Ovq -v 1 -c $COMMUNITY $HOST $STRING` >>> [ $DEBUG -gt 0 ] && echo "Retrieve status message is: $OUTPUT" >> >>> $DEBUGFILE >>> >>> if [ $EXITCODE -eq 0 ]; then >>> echo "$OUTPUT" | grep -v CRITICAL >>> [ $? -eq 1 ] && EXITCODE=2 >>> fi >>> >>> echo $OUTPUT >>> exit $EXITCODE >>> >>> but when it runs i get this >>> >>> ../libexec/retrieve_custom_snmp: line 84: [: -eq: unary operator >>> expected >>> "CRITICAL emcpowera has 2 dead, 2 alive" >>> >> Urgh. My bad. What does EXITCODE contain when you run it in debug >> mode? > > It should contain the exact same value it contains when not running > in debug mode: the exit code for the Nagios script being run through > SNMP exec. > Yes, ofc, or we'd have a Heisenbug :) What I meant was that it doesn't seem to be a numerical value. If I look at it I can see that it may very well be a textual representation, so perhaps we just have a clash in nomenclature. > Could you tell me what exactly is contained on line 84 in your case? > Because in the version of the script up on my website, line 84 is > part of the Nagios "help" text. > > I think I -should- look into the whole "-Ovq" bit a little bit > though. I think the $EXITCODE may benefit from this as well... > Ah, that'd be it. I'm guessing the current output is expected to look something like this: oid.some.more.of.the.oid = INTEGER: $REAL_EXITCODE which is indeed numerical, but with a lot of junk in front of it. -Ovq would indeed help for this. > If I find some time this afternoon, I'll start digging... > > >> (on a side-note, whoever names a variable containing textual output >> "EXITCODE" should be shot) > > Yes, that would be me thank you... What kind of gun would you prefer? > I would like to smoke a pipe before being executed, though. Mind? > Not at all. If you come to sweden I'll buy you a whiskey to go along with that smoke. A water squirt gun to put it out when you're done sounds about right ;-) > But before you pull that trigger, would you please go back just a wee > a bit and read my docu on what $EXITCODE contains? Why yes, it -does- > in fact contain the exit code of the Nagios script that was run on > the client side! OMG! Let me quote the bit in question: > > # Output: > # The exit code is the exit code retrieved from OID.100.0. > # The output string is the string retrieved from OID.101.1. > > /me puts on a blind fold. > > Any suggestions for a variable name change are more than welcome. And > I guess I -could- elaborate the docu a bit more. Expect a newer > version, some time this afternoon. > EXITCODE works fine for me. As for the docu-change, it shouldn't be necessary assuming either -Ovq or some sed magic removes all the cruft that's *not*, in fact, the exit-code. >>> ho hum - enjoy the beer >>> >> Good plan. Working on it ;-) > > Right about now, I'm wishing I had a nice, cold bottle of "Lambiek > Kriek" in my desk drawer. > Never tried that. Where's it from? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Oct 2 12:18:05 2006 From: ae at op5.se (Andreas Ericsson) Date: Mon, 02 Oct 2006 12:18:05 +0200 Subject: R: R: Installing problem In-Reply-To: <094401c6e606$ac97f570$0900d40a@intranet.it.net> References: <094401c6e606$ac97f570$0900d40a@intranet.it.net> Message-ID: <4520E75D.1090108@op5.se> Marco Borsani wrote: > 1) I have not yum on my system, usually use rpm. > Performing a rpm -qa | grep gd , I obtain: > gdbm-devel-1.8.0-24 > gdbm-1.8.0-24 > sysklogd-1.4.1-26_EL > gd-2.0.28-4 > gdm-2.6.0.5-6 > gdb-6.1post-1.20040607.62 > gdk-pixbuf-0.22.0-15.1 > Do I need to install another library? > > 2) I set SELinux to permissive, but I still receive the message: > ./status.cgi > getcgivars(): Unsupported REQUEST_METHOD -> '' > > I'm guessing you're trying to execute the CGI from a command line. > In order to do that, you need to set the REQUEST_METHOD environment > variable to either "GET", "HEAD", or "POST". When using the > GET and HEAD methods, arguments can be passed to the CGI > by setting the "QUERY_STRING" environment variable. If you're > using the POST method, data is read from standard input. Also of > note: if you've enabled authentication in the CGIs, you must set the > "REMOTE_USER" environment variable to be the name of the user you're > "authenticated" as. > > I have not errors when I go into the directories. Is it normal? > Yes. The reason I asked you to turn of SELinux entirely is that I want to make sure that it's not interfering with apache's abilities of running programs locally, since the regular unix permissions allow you to. The error message you're seeing comes from certain environment variables are missing, which is indeed expected. > When I installed Nagios on Red Hat Enterprise 3 I had not these problems!! > Was SELinux enabled on that server? What was its exact settings compared to the settings on this system? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Oct 2 12:50:43 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 2 Oct 2006 12:50:43 +0200 (CEST) Subject: R: R: Installing problem In-Reply-To: <4520E75D.1090108@op5.se> References: <094401c6e606$ac97f570$0900d40a@intranet.it.net> <4520E75D.1090108@op5.se> Message-ID: On Mon, 2 Oct 2006, Andreas Ericsson wrote: > Marco Borsani wrote: > > > When I installed Nagios on Red Hat Enterprise 3 I had not these problems!! > > Was SELinux enabled on that server? What was its exact settings compared > to the settings on this system? RHEL3 does not have SELINUX. (Saves time trying to compare apples to /dev/null ;-) Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Oct 2 14:09:24 2006 From: ae at op5.se (Andreas Ericsson) Date: Mon, 02 Oct 2006 14:09:24 +0200 Subject: R: R: Installing problem In-Reply-To: References: <094401c6e606$ac97f570$0900d40a@intranet.it.net> <4520E75D.1090108@op5.se> Message-ID: <45210174.1030204@op5.se> Hugo van der Kooij wrote: > On Mon, 2 Oct 2006, Andreas Ericsson wrote: > >> Marco Borsani wrote: >> >>> When I installed Nagios on Red Hat Enterprise 3 I had not these problems!! >> Was SELinux enabled on that server? What was its exact settings compared >> to the settings on this system? > > RHEL3 does not have SELINUX. (Saves time trying to compare apples to > /dev/null ;-) > Indeed. :) Marco, if you disable SELinux and then try, I'm fairly confident that it will work properly. If it does and you still wish to have SELinux enabled, hire a consultant to set it up properly for you so that Apache is allowed to execute the Nagios cgi's, or google for info on how to do it yourself. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Mon Oct 2 14:20:17 2006 From: m.borsani at it.net (Marco Borsani) Date: Mon, 2 Oct 2006 14:20:17 +0200 Subject: R: R: R: Installing problem In-Reply-To: <45210174.1030204@op5.se> References: <45210174.1030204@op5.se> Message-ID: <099901c6e61d$1f34c570$0900d40a@intranet.it.net> Ok, right now main problem is to install/configure a GD library, because that one I found does not work correctly. Its release is gd-2.0.33 Marco -}-----Messaggio originale----- -}Da: nagios-users-bounces at lists.sourceforge.net -}[mailto:nagios-users-bounces at lists.sourceforge.net] Per conto -}di Andreas Ericsson -}Inviato: luned? 2 ottobre 2006 14.09 -}A: 'Nagios Users Mailinglist' -}Oggetto: Re: [Nagios-users] R: R: Installing problem -} -}Hugo van der Kooij wrote: -}> On Mon, 2 Oct 2006, Andreas Ericsson wrote: -}> -}>> Marco Borsani wrote: -}>> -}>>> When I installed Nagios on Red Hat Enterprise 3 I had not -}these problems!! -}>> Was SELinux enabled on that server? What was its exact settings -}>> compared to the settings on this system? -}> -}> RHEL3 does not have SELINUX. (Saves time trying to compare -}apples to -}> /dev/null ;-) -}> -} -}Indeed. :) -} -}Marco, if you disable SELinux and then try, I'm fairly -}confident that it will work properly. If it does and you -}still wish to have SELinux enabled, hire a consultant to set -}it up properly for you so that Apache is allowed to execute -}the Nagios cgi's, or google for info on how to do it yourself. -} -}-- -}Andreas Ericsson andreas.ericsson at op5.se -}OP5 AB www.op5.se -}Tel: +46 8-230225 Fax: +46 8-230231 -} -}-------------------------------------------------------------- -}----------- -}Take Surveys. Earn Cash. Influence the Future of IT -}Join SourceForge.net's Techsay panel and you'll get the -}chance to share your -}opinions on IT & business topics through brief surveys -- and -}earn cash -}http://www.techsay.com/default.php?page=join.php&p=sourceforge -}&CID=DEVDEV -}_______________________________________________ -}Nagios-users mailing list -}Nagios-users at lists.sourceforge.net -}https://lists.sourceforge.net/lists/listinfo/nagios-users -}::: Please include Nagios version, plugin version (-v) and OS -}when reporting any issue. -}::: Messages without supporting info will risk being sent to /dev/null -} ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Oct 2 14:41:40 2006 From: ae at op5.se (Andreas Ericsson) Date: Mon, 02 Oct 2006 14:41:40 +0200 Subject: R: R: R: Installing problem In-Reply-To: <099901c6e61d$1f34c570$0900d40a@intranet.it.net> References: <099901c6e61d$1f34c570$0900d40a@intranet.it.net> Message-ID: <45210904.6030505@op5.se> Marco Borsani wrote: > Ok, right now main problem is to install/configure a GD library, because > that one I found does not work correctly. > Its release is gd-2.0.33 > Please post what error messages you're getting. If I'm guessing your problem correctly though, you need to install gd-devel as well. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ugob at camo-route.com Mon Oct 2 16:41:12 2006 From: ugob at camo-route.com (Ugo Bellavance) Date: Mon, 02 Oct 2006 10:41:12 -0400 Subject: yum install nagios In-Reply-To: <238d88e30610011846j6a4aa8d9wa7b2f61dcece0fa5@mail.gmail.com> References: <238d88e30610011846j6a4aa8d9wa7b2f61dcece0fa5@mail.gmail.com> Message-ID: Timothy Lane wrote: > When I do the yum install nagios. it seems to download and install for > me, but I can't start the service > I went through the same thing. I wrote to the packager (dag wieers) and he told me that the defauld is broken in the source. run nagios -v /etc/nagios/nagios.cfg and you'll see what's wrong. To all: BTW, is it the case also with the source install? If yes, would it be possible to fix it so that one can install, then start the service and have a working config doing only local checks? Regards, Ugo ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Oct 2 17:23:49 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 2 Oct 2006 17:23:49 +0200 (CEST) Subject: yum install nagios In-Reply-To: References: <238d88e30610011846j6a4aa8d9wa7b2f61dcece0fa5@mail.gmail.com> Message-ID: On Mon, 2 Oct 2006, Ugo Bellavance wrote: > Timothy Lane wrote: > > When I do the yum install nagios. it seems to download and install for > > me, but I can't start the service > > > > I went through the same thing. > > I wrote to the packager (dag wieers) and he told me that the defauld is > broken in the source. > > run > > nagios -v /etc/nagios/nagios.cfg > > and you'll see what's wrong. > > To all: BTW, is it the case also with the source install? > > > If yes, would it be possible to fix it so that one can install, then > start the service and have a working config doing only local checks? There is no such thing as a working config to be defined that way. So I would not recommend to ship anything that 'works' out of the box. Because it will only encourage people to send similar signs of having failed to read the fine manual. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Mon Oct 2 18:34:31 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 2 Oct 2006 18:34:31 +0200 Subject: simple chech using snmp In-Reply-To: <4520E6A6.90403@op5.se> References: <451D1B3E.4010006@ng23.net> <52016C03-5D5A-4C16-8A6C-FD8F14AA684E@kilala.nl> <451D3742.3040305@ng23.net> <451D40BD.3060604@ng23.net> <451D45A6.4070705@op5.se> <451D4A73.3060900@ng23.net> <451D5017.1090709@op5.se> <451D6059.1030006@ng23.net> <4520DE3A.3070808@op5.se> <4520E6A6.90403@op5.se> Message-ID: <308A2A92-2153-41CE-9905-EAA0B2654FF9@kilala.nl> Right then... Clean slate for this e-mail... I've set up my snmpd.conf to include the following. exec .1.3.6.1.4.1.6886.4.1.4 check_d_root /usr/local/nagios/libexec/ check_disk -w 15 -c 5 -p / SNMPWalking through that gives me: $ snmpwalk -v 2c -c management localhost .1.3.6.1.4.1.6886 SNMPv2-SMI::enterprises.6886.4.1.4.1.1 = INTEGER: 1 SNMPv2-SMI::enterprises.6886.4.1.4.2.1 = STRING: "check_d_root" SNMPv2-SMI::enterprises.6886.4.1.4.3.1 = STRING: "/usr/local/nagios/ libexec/check_disk -w 15 -c 5 -p /" SNMPv2-SMI::enterprises.6886.4.1.4.100.1 = INTEGER: 0 SNMPv2-SMI::enterprises.6886.4.1.4.101.1 = STRING: "DISK OK - free space: / 29707 MB (90%);| /=3409MB;33100;33110;0;33115" SNMPv2-SMI::enterprises.6886.4.1.4.102.1 = INTEGER: 0 Now, trying it with the -Ovq flag: $ snmpwalk -Ovq -v 2c -c management localhost .1.3.6.1.4.1.6886 1 "check_d_root" "/usr/local/nagios/libexec/check_disk -w 15 -c 5 -p /" 0 "DISK OK - free space: / 29707 MB (90%);| /=3409MB;33100;33110;0;33115" 0 Which is quite a lot closer to what we want. So I modify the two snmpwalk commands in retrieve_custom_snmp. And I've made a boatload of other fixes. I cannot believe how many mistakes I left in there : ( Should be a lot better now... Anywho, running the script now results in: $ ./retrieve_custom_snmp -H localhost -o .1.3.6.1.4.1.6886.4.1.4 DISK OK - free space: / 29705 MB (90%);| /=3410MB;33100;33110;0;33115 $ echo $? 0 Stuff that I had gotten wrong? I've already forgotten some things, but here's the more notable stuff. * No sed to strip quote from the output string. * Had the wrong OID for the exit code. Used 100.0 (as indicated by the man-pages), as opposed to 100.1. * Used snmpwalk instead of snmpget. Things should be a lot better now. Care to retry? The latest version is up on my site right now. I'll also upload it to the Exchange in a few minutes. Cheers! Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lanning at lanning.cc Mon Oct 2 19:07:12 2006 From: lanning at lanning.cc (Robert Hajime Lanning) Date: Mon, 2 Oct 2006 10:07:12 -0700 (PDT) Subject: simple chech using snmp In-Reply-To: <308A2A92-2153-41CE-9905-EAA0B2654FF9@kilala.nl> References: <451D1B3E.4010006@ng23.net> <52016C03-5D5A-4C16-8A6C-FD8F14AA684E@kilala.nl> <451D3742.3040305@ng23.net> <451D40BD.3060604@ng23.net> <451D45A6.4070705@op5.se> <451D4A73.3060900@ng23.net> <451D5017.1090709@op5.se> <451D6059.1030006@ng23.net> <4520DE3A.3070808@op5.se> <4520E6A6.90403@op5.se> <308A2A92-2153-41CE-9905-EAA0B2654FF9@kilala.nl> Message-ID: <53468.192.168.128.27.1159808832.squirrel@ssl.monsoonwind.com> > Right then... Clean slate for this e-mail... > > I've set up my snmpd.conf to include the following. > > exec .1.3.6.1.4.1.6886.4.1.4 check_d_root /usr/local/nagios/libexec/ > check_disk -w 15 -c 5 -p / > > SNMPWalking through that gives me: > > $ snmpwalk -v 2c -c management localhost .1.3.6.1.4.1.6886 > SNMPv2-SMI::enterprises.6886.4.1.4.1.1 = INTEGER: 1 > SNMPv2-SMI::enterprises.6886.4.1.4.2.1 = STRING: "check_d_root" > SNMPv2-SMI::enterprises.6886.4.1.4.3.1 = STRING: "/usr/local/nagios/ > libexec/check_disk -w 15 -c 5 -p /" > SNMPv2-SMI::enterprises.6886.4.1.4.100.1 = INTEGER: 0 > SNMPv2-SMI::enterprises.6886.4.1.4.101.1 = STRING: "DISK OK - free > space: / 29707 MB (90%);| /=3409MB;33100;33110;0;33115" > SNMPv2-SMI::enterprises.6886.4.1.4.102.1 = INTEGER: 0 > Or, since you are using NET-SNMP, things like FS utilization checks are really easy. http://lanning.cc/custom_plugins/check_snmp_fsutil This way I touch the monitored systems as little as possible. There are even real good optimizations if you use ePN with caching. You can edit p1.pl to load all the SNMP MIBs at start, instead of each plugin execution. -- And, did Guloka think the Ulus were too ugly to save? -Centauri ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Mon Oct 2 20:37:32 2006 From: tom at ng23.net (Tom Brown) Date: Mon, 02 Oct 2006 19:37:32 +0100 Subject: simple chech using snmp In-Reply-To: <308A2A92-2153-41CE-9905-EAA0B2654FF9@kilala.nl> References: <451D1B3E.4010006@ng23.net> <52016C03-5D5A-4C16-8A6C-FD8F14AA684E@kilala.nl> <451D3742.3040305@ng23.net> <451D40BD.3060604@ng23.net> <451D45A6.4070705@op5.se> <451D4A73.3060900@ng23.net> <451D5017.1090709@op5.se> <451D6059.1030006@ng23.net> <4520DE3A.3070808@op5.se> <4520E6A6.90403@op5.se> <308A2A92-2153-41CE-9905-EAA0B2654FF9@kilala.nl> Message-ID: <45215C6C.8030209@ng23.net> Thomas Sluyter wrote: > Right then... Clean slate for this e-mail... > > I've set up my snmpd.conf to include the following. > > exec .1.3.6.1.4.1.6886.4.1.4 check_d_root /usr/local/nagios/libexec/ > check_disk -w 15 -c 5 -p / > > SNMPWalking through that gives me: > > $ snmpwalk -v 2c -c management localhost .1.3.6.1.4.1.6886 > SNMPv2-SMI::enterprises.6886.4.1.4.1.1 = INTEGER: 1 > SNMPv2-SMI::enterprises.6886.4.1.4.2.1 = STRING: "check_d_root" > SNMPv2-SMI::enterprises.6886.4.1.4.3.1 = STRING: "/usr/local/nagios/ > libexec/check_disk -w 15 -c 5 -p /" > SNMPv2-SMI::enterprises.6886.4.1.4.100.1 = INTEGER: 0 > SNMPv2-SMI::enterprises.6886.4.1.4.101.1 = STRING: "DISK OK - free > space: / 29707 MB (90%);| /=3409MB;33100;33110;0;33115" > SNMPv2-SMI::enterprises.6886.4.1.4.102.1 = INTEGER: 0 > > Now, trying it with the -Ovq flag: > > $ snmpwalk -Ovq -v 2c -c management localhost .1.3.6.1.4.1.6886 > 1 > "check_d_root" > "/usr/local/nagios/libexec/check_disk -w 15 -c 5 -p /" > 0 > "DISK OK - free space: / 29707 MB (90%);| /=3409MB;33100;33110;0;33115" > 0 > > Which is quite a lot closer to what we want. So I modify the two > snmpwalk commands in retrieve_custom_snmp. And I've made a boatload > of other fixes. I cannot believe how many mistakes I left in there : > ( Should be a lot better now... Anywho, running the script now > results in: > > $ ./retrieve_custom_snmp -H localhost -o .1.3.6.1.4.1.6886.4.1.4 > DISK OK - free space: / 29705 MB (90%);| /=3410MB;33100;33110;0;33115 > $ echo $? > 0 > > Stuff that I had gotten wrong? I've already forgotten some things, > but here's the more notable stuff. > * No sed to strip quote from the output string. > * Had the wrong OID for the exit code. Used 100.0 (as indicated by > the man-pages), as opposed to 100.1. > * Used snmpwalk instead of snmpget. > > Things should be a lot better now. Care to retry? The latest version > is up on my site right now. I'll also upload it to the Exchange in a > few minutes. no joy for me running with snmp v 1 though # snmpwalk xxxx -c xxxx -v 1 -t 30 1.3.6.1.4.1.2021.57 UCD-SNMP-MIB::ucdavis.57.1.1 = INTEGER: 1 UCD-SNMP-MIB::ucdavis.57.2.1 = STRING: "/usr/local/bin/perl" UCD-SNMP-MIB::ucdavis.57.3.1 = STRING: "/opt/nagios/libexec/check_om_chassis.pl" UCD-SNMP-MIB::ucdavis.57.100.1 = INTEGER: 2 UCD-SNMP-MIB::ucdavis.57.101.1 = STRING: "CHASSIS: CRITICAL [ SCSI A external termination is Critical (3.346 V) ]" UCD-SNMP-MIB::ucdavis.57.102.1 = INTEGER: 0 UCD-SNMP-MIB::ucdavis.57.103.1 = "" # ./retrieve_custom_snmp -H xxxx -o 1.3.6.1.4.1.2021.57 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: UCD-SNMP-MIB::ucdavis.57.100.1 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: UCD-SNMP-MIB::ucdavis.57.101.1 any ideas or am i being dumb? thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steven_jones at ncsu.edu Mon Oct 2 20:48:08 2006 From: steven_jones at ncsu.edu (Steven C. Jones) Date: Mon, 02 Oct 2006 14:48:08 -0400 Subject: Monitoring IIS server... In-Reply-To: <04629897C5AE411C42F3EFE5@[10.47.102.115]> References: <04629897C5AE411C42F3EFE5@[10.47.102.115]> Message-ID: <238C317745A25A939B010A27@[10.47.102.115]> Has anyone seen as to where using check_http to monitor the IIS server causes serious issues? I figure since all it's doing is mapping port 80 for livelyihood, it should be okay. (At this point, I don't need all the SNMP information, just want to know that the service is open.) Thanks, _________________________ Steven C. Jones ITECS 'Most people seek after what they do not possess and are enslaved by the very things they want to acquire.' - Anwar Sadat _________________________ Steven C. Jones ITECS 'Most people seek after what they do not possess and are enslaved by the very things they want to acquire.' - Anwar Sadat ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Oct 2 20:51:40 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 2 Oct 2006 11:51:40 -0700 Subject: Monitoring IIS server... In-Reply-To: <238C317745A25A939B010A27@[10.47.102.115]> References: <04629897C5AE411C42F3EFE5@[10.47.102.115]> <238C317745A25A939B010A27@[10.47.102.115]> Message-ID: <20061002185140.GW2968@pmorris.usa.hp.com> On Mon, 02 Oct 2006, Steven C. Jones wrote: > Has anyone seen as to where using check_http to monitor the IIS server > causes serious issues? > I figure since all it's doing is mapping port 80 for livelyihood, it > should be okay. (At this point, I don't need all the SNMP information, just > want to know that the service is open.) No, I've never seen it cause an issue. All it does is an HTTP GET against the webserver. If that causes issues, you've got a hosed webserver to begin with. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steven_jones at ncsu.edu Mon Oct 2 20:57:07 2006 From: steven_jones at ncsu.edu (Steven C. Jones) Date: Mon, 02 Oct 2006 14:57:07 -0400 Subject: Monitoring IIS server... In-Reply-To: <20061002185140.GW2968@pmorris.usa.hp.com> References: <04629897C5AE411C42F3EFE5@[10.47.102.115]> <238C317745A25A939B010A27@[10.47.102.115]> <20061002185140.GW2968@pmorris.usa.hp.com> Message-ID: That's what I was hoping to hear. Thanks. --On Monday, October 02, 2006 11:51 AM -0700 Patrick Morris wrote: > On Mon, 02 Oct 2006, Steven C. Jones wrote: > >> Has anyone seen as to where using check_http to monitor the IIS server >> causes serious issues? >> I figure since all it's doing is mapping port 80 for livelyihood, it >> should be okay. (At this point, I don't need all the SNMP information, >> just want to know that the service is open.) > > No, I've never seen it cause an issue. All it does is an HTTP GET > against the webserver. If that causes issues, you've got a hosed > webserver to begin with. _________________________ Steven C. Jones ITECS 'Most people seek after what they do not possess and are enslaved by the very things they want to acquire.' - Anwar Sadat ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Mon Oct 2 21:36:12 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 2 Oct 2006 21:36:12 +0200 Subject: simple chech using snmp In-Reply-To: <45215C6C.8030209@ng23.net> References: <451D1B3E.4010006@ng23.net> <52016C03-5D5A-4C16-8A6C-FD8F14AA684E@kilala.nl> <451D3742.3040305@ng23.net> <451D40BD.3060604@ng23.net> <451D45A6.4070705@op5.se> <451D4A73.3060900@ng23.net> <451D5017.1090709@op5.se> <451D6059.1030006@ng23.net> <4520DE3A.3070808@op5.se> <4520E6A6.90403@op5.se> <308A2A92-2153-41CE-9905-EAA0B2654FF9@kilala.nl> <45215C6C.8030209@ng23.net> Message-ID: <71444DA6-C77A-402B-96F6-F4179969A15F@kilala.nl> > any ideas or am i being dumb? You're not dumb... it's my script that's forcing you to use "-v 2c". Just switch it over to "-v 1" and you should be fine. I really should make that a config parameter at the top of the script, since different people use different SNMP versions... ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Mon Oct 2 21:45:46 2006 From: tom at ng23.net (Tom Brown) Date: Mon, 02 Oct 2006 20:45:46 +0100 Subject: simple chech using snmp In-Reply-To: <71444DA6-C77A-402B-96F6-F4179969A15F@kilala.nl> References: <451D1B3E.4010006@ng23.net> <52016C03-5D5A-4C16-8A6C-FD8F14AA684E@kilala.nl> <451D3742.3040305@ng23.net> <451D40BD.3060604@ng23.net> <451D45A6.4070705@op5.se> <451D4A73.3060900@ng23.net> <451D5017.1090709@op5.se> <451D6059.1030006@ng23.net> <4520DE3A.3070808@op5.se> <4520E6A6.90403@op5.se> <308A2A92-2153-41CE-9905-EAA0B2654FF9@kilala.nl> <45215C6C.8030209@ng23.net> <71444DA6-C77A-402B-96F6-F4179969A15F@kilala.nl> Message-ID: <45216C6A.1050801@ng23.net> >> any ideas or am i being dumb? > You're not dumb... it's my script that's forcing you to use "-v 2c". > Just switch it over to "-v 1" and you should be fine. > > I really should make that a config parameter at the top of the > script, since different people use different SNMP versions... i had spotted that BUT i overlooked the community! I may make that a variable. Anyway # ./retrieve_custom_snmp -H xxxx -o 1.3.6.1.4.1.2021.57 CHASSIS: CRITICAL [ SCSI A external termination is Critical (3.374 V) ] thanks for your help this is now working fine ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Mon Oct 2 23:03:03 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 3 Oct 2006 10:03:03 +1300 Subject: Monitoring IIS server... In-Reply-To: <238C317745A25A939B010A27@[10.47.102.115]> References: <238C317745A25A939B010A27@[10.47.102.115]> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A234A59D@UXCHANGE3.UoA.auckland.ac.nz> > Has anyone seen as to where using check_http to monitor the > IIS server causes serious issues? > I figure since all it's doing is mapping port 80 for livelyihood, it > should be okay. (At this point, I don't need all the SNMP > information, just want to know that the service is open.) We had an issue with an IIS server, where the site would allocate session ID cookies when you connected that would time out after far too long. Since we'd be connecting every 5 mins or more frequently for checks, this resulted in session IDs being eaten and the server running low on resources. I agree this is a hosed server with a stupid configuration set up by brain-dead people with no more knowledge than an MCSE, but sadly that's what you get sometimes. Management had two choices - 1) Fix the configuration of the IIS server 2) Stop monitoring it altogether Which do you think they chose? Sigh. Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Oct 3 09:57:06 2006 From: ae at op5.se (Andreas Ericsson) Date: Tue, 03 Oct 2006 09:57:06 +0200 Subject: Monitoring IIS server... In-Reply-To: <12A6FDDD13C460408A6E47E5DB1235A234A59D@UXCHANGE3.UoA.auckland.ac.nz> References: <12A6FDDD13C460408A6E47E5DB1235A234A59D@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: <452217D2.5000207@op5.se> Steve Shipway wrote: > > We had an issue with an IIS server, where the site would allocate > session ID cookies when you connected that would time out after far too > long. Since we'd be connecting every 5 mins or more frequently for > checks, this resulted in session IDs being eaten and the server running > low on resources. > > I agree this is a hosed server with a stupid configuration set up by > brain-dead people with no more knowledge than an MCSE, but sadly that's > what you get sometimes. > > Management had two choices - > 1) Fix the configuration of the IIS server > 2) Stop monitoring it altogether > > Which do you think they chose? Sigh. > Since they're management, they actually had more choices: 3) Buy a new web-server and a loadbalancer, clone the old configuration and use the loadbalancer to keep session-id's from being eaten. 4) Buy more RAM for the old server. 5) Buy a new, beefier, server. The trouble with management is that *any* action that gives the desired result is, from their point of view, correct and side-effects are only important if they affect *this* budget-year. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gavin.conway at uksolutions.co.uk Tue Oct 3 10:44:01 2006 From: gavin.conway at uksolutions.co.uk (Gavin Conway) Date: Tue, 03 Oct 2006 09:44:01 +0100 Subject: SNMP Querying HP MSA1000's Message-ID: <452222D1.2050100@uksolutions.co.uk> Hi All, I'm trying to get the status of a HP MSA 1000 via SNMP. I've got the mibs from the supplied media. Problem I'm having though is that each fibre controller on the MSA has 4 ports and I'm only able to query 2 of them (I get an admin status and an operational status) but I don't know which two ports I'm querying (it could be the two management ports for all I know at this stage). If anyone on here has got Nagios interfacing with their MSA1000/MSA1500 then I'd be interested to hear how they've done it and what tools they're using. Thanks, Gavin -- UKS Ltd, Birmingham Road, Studley, Warwickshire, B80 7BG Tel: 08700 681 333 - Fax: 01527 851 301 - AS: 20547 gavin.conway at uksolutions.co.uk - www.uksolutions.co.uk ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peter.gritsch at fh-joanneum.at Tue Oct 3 12:30:26 2006 From: peter.gritsch at fh-joanneum.at (Gritsch Peter) Date: Tue, 3 Oct 2006 12:30:26 +0200 Subject: SNMP Querying HP MSA1000's Message-ID: <46CD6B2D6E0F834FB55F5A7080AC44D0022647A8@OLYMPIA.technikum.fh-joanneum.local> Hi Gavin, > Hi All, > If anyone on here has got Nagios interfacing with their > MSA1000/MSA1500 > then I'd be interested to hear how they've done it and what tools > they're using. See http://snmp4nagios.sourceforge.net/. I monitor MSA1000s using the check_cpq_fca* plugins there. HTH Peter ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Tue Oct 3 13:20:39 2006 From: ton.voon at altinity.com (Ton Voon) Date: Tue, 3 Oct 2006 12:20:39 +0100 Subject: Availability of Altinity's source code repository Message-ID: <3865DA14-B056-4694-A98C-648C3B3D7465@altinity.com> Hi! Just wanted to announce that my company, Altinity, have made our patch repository (http://source.altinity.org) available. This is our latest CVS HEAD of the GPL software that we distribute with Opsview, our monitoring software based on Nagios. In this repository, there are makefiles which apply patches, compile and install various software, including Nagios, NDO Utils and nagiosgraph. We still plan on blogging about our patches on http:// www.altinity.org, but, by having an automated job to push the latest code controlled versions here, you can see what we've done if we are too busy to write about it. This is one of our ways of giving back to the community and it is great to see Ethan apply some of our patches into the central code. Thanks to Netways for running the Nagios Konferenz in Nurember, where I got an opportunity to explain how Altinity are contributing back to the Nagios community. Slides for the conference are available from here: http://www.netways.de/de/nagios_konferenz/archiv_2006/programm/ ablauf/ The official press release is here: http://www.altinity.com/ 80256D6000567191/httpPublicPages/41EBFC2A4BE069FB80256F6C00622808? opendocument Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From w2kask at yahoo.com Tue Oct 3 13:42:14 2006 From: w2kask at yahoo.com (richard martin) Date: Tue, 3 Oct 2006 04:42:14 -0700 (PDT) Subject: nagios client cannot be uninstall stop and start Message-ID: <20061003114214.6049.qmail@web53202.mail.yahoo.com> Hi.. i got the following error show in my nagios server on one of the monitored server Ms Windows 2000 server, the status UNKNOWN NSClient - ERROR:Malformed request or internal error. Check EventLog:None&8&\Memory\Page Reads/sec When I go to the nagios client on the monitored server --> service, i found nagios client status shown as stop. But when I highlight the nagios agent in the service, it won't allow me to start or stop. The stop and start button are grey up. i went to the task manager, I saw the Pnsclient.exe is running but I can't kill it, access denied. I tried to uninstall, but the nagios agent still appear in the service and task manager. What can I do now ? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gavin.conway at uksolutions.co.uk Tue Oct 3 14:43:50 2006 From: gavin.conway at uksolutions.co.uk (Gavin Conway) Date: Tue, 03 Oct 2006 13:43:50 +0100 Subject: SNMP Querying HP MSA1000's In-Reply-To: <46CD6B2D6E0F834FB55F5A7080AC44D0022647A8@OLYMPIA.technikum.fh-joanneum.local> References: <46CD6B2D6E0F834FB55F5A7080AC44D0022647A8@OLYMPIA.technikum.fh-joanneum.local> Message-ID: <45225B06.8040403@uksolutions.co.uk> Gritsch Peter wrote: > Hi Gavin, > >> Hi All, >> If anyone on here has got Nagios interfacing with their >> MSA1000/MSA1500 >> then I'd be interested to hear how they've done it and what tools >> they're using. > > See http://snmp4nagios.sourceforge.net/. I monitor MSA1000s using the > check_cpq_fca* plugins there. > Excellent thanks very much. -- UKS Ltd, Birmingham Road, Studley, Warwickshire, B80 7BG Tel: 08700 681 333 - Fax: 01527 851 301 - AS: 20547 gavin.conway at uksolutions.co.uk - www.uksolutions.co.uk ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Tue Oct 3 14:51:24 2006 From: philc at foundation-it.com (Phil Costelloe) Date: Tue, 3 Oct 2006 13:51:24 +0100 Subject: nagios client cannot be uninstall stop and start In-Reply-To: <20061003114214.6049.qmail@web53202.mail.yahoo.com> References: <20061003114214.6049.qmail@web53202.mail.yahoo.com> Message-ID: richard martin wrote: > Hi.. > i got the following error show in my nagios server on one of the > monitored server Ms Windows 2000 server, the status UNKNOWN NSClient > - ERROR:Malformed request or internal error. Check > EventLog:None&8&\Memory\Page Reads/sec > > When I go to the nagios client on the monitored server --> service, i > found nagios client status shown as stop. But when I highlight the > nagios agent in the service, it won't allow me to start or stop. The > stop and start button are grey up. i went to the task manager, I saw > the Pnsclient.exe is running but I can't kill it, access denied. I > tried to uninstall, but the nagios agent still appear in the service > and task manager. What can I do now ? NSClient does seem to hang on Windows 2000 occasionally, it doesn't seem to have the same problem on Windows 2003 though. I think I used to use pskill from http://www.sysinternals.com/Utilities/PsKill.html to kill the process and that allowed the service to be restarted. Obviously if you've uninstalled, you may need to reinstall first. You could also use the Windows native kill program from the W2K Resource Kit. Phil -------------------------------------------------------- Phil Costelloe Technical Consultant philc at foundation-it.com http://www.foundation-it.com Foundation IT Foundation Court Old Street Oare Hermitage Berkshire RG18 9SE Switch: +44 (0) 1635 203700 Helpdesk: +44 (0) 800 0121099 DDI: +44 (0) 1635 203719 Fax: +44 (0) 8700 543537 Mobile: +44 (0) 7884 236299 -------------------------------------------------------- This message contains confidential information and is intended only for nagios-users at lists.sourceforge.net. If you are not nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -------------------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From admin.server at Ntlworld.com Tue Oct 3 22:16:38 2006 From: admin.server at Ntlworld.com (Mark Duffy) Date: Tue, 3 Oct 2006 21:16:38 +0100 Subject: Sim cards for Text Updates Message-ID: <20061003201642.YRVI15733.aamtaout04-winn.ispmail.ntl.com@md1> Nagios Users, I currently have Nagios implemented and am looking at receiving text updates to phone although this phone will only be used for receiving these texts. Does anyone in the UK who does this know of any Phone network that does a pay and go package that does not require you to make a payment every six months as most T&C's say that they will terminate the line if not topped up Regards, Mark ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maccy at maccomms.co.uk Tue Oct 3 22:35:56 2006 From: maccy at maccomms.co.uk (Maccy) Date: Tue, 03 Oct 2006 21:35:56 +0100 Subject: Sim cards for Text Updates In-Reply-To: <20061003201642.YRVI15733.aamtaout04-winn.ispmail.ntl.com@md1> References: <20061003201642.YRVI15733.aamtaout04-winn.ispmail.ntl.com@md1> Message-ID: <4522C9AC.8060604@maccomms.co.uk> Mark Duffy wrote: >Nagios Users, > >I currently have Nagios implemented and am looking at receiving text > >updates to phone although this phone will only be used for receiving these >texts. > >Does anyone in the UK who does this know of any Phone network that > >does a pay and go package that does not require you to make a payment every > >six months as most T&C's say that they will terminate the line if not topped >up > > Virgin Mobile.....had it years and never put any credit on it. It's still active :) My Orange went for a very long time too but I think that's finally been deactivated. Mark ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sjaaknabuurs at citytower.com Tue Oct 3 23:56:49 2006 From: sjaaknabuurs at citytower.com (Sjaak Nabuurs) Date: Tue, 03 Oct 2006 23:56:49 +0200 Subject: $USER1$ in notify mail Message-ID: <4522DCA1.8060709@citytower.com> Hello How do I get this working with php in notify-mail. $name= $_ENV["NAGIOS_CONTACTALIAS"]; $email= $_ENV["NAGIOS_CONTACTEMAIL"]; $SMS= $_ENV["NAGIOS_CONTACTPAGER"]; $datedb= $_ENV["NAGIOS_DATE"]; $timedb= $_ENV["NAGIOS_TIME"]; $USER1= $_ENV["NAGIOS_USER1"]; $SQL = "insert into SMS (name,email,sms,datedb,timedb,user1) VALUES ('$name', '$email','$SMS','$datedb','$timedb','$USER1'); Every value is working perfect but not the $USER1$ In my resource.cfg I have $USER1$=valueX In the manual I read that the macro is available in Service Checks,Service Notifications,Host Checks,Host Notifications etc.... Do I do something wrong or something in the nagios.cfg to turn this on ? Thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Oct 4 00:02:16 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 3 Oct 2006 15:02:16 -0700 Subject: $USER1$ in notify mail In-Reply-To: <4522DCA1.8060709@citytower.com> References: <4522DCA1.8060709@citytower.com> Message-ID: <20061003220216.GI6489@pmorris.usa.hp.com> On Tue, 03 Oct 2006, Sjaak Nabuurs wrote: > How do I get this working with php in notify-mail. > > $name= $_ENV["NAGIOS_CONTACTALIAS"]; > $email= $_ENV["NAGIOS_CONTACTEMAIL"]; > $SMS= $_ENV["NAGIOS_CONTACTPAGER"]; > $datedb= $_ENV["NAGIOS_DATE"]; > $timedb= $_ENV["NAGIOS_TIME"]; > $USER1= $_ENV["NAGIOS_USER1"]; > > > $SQL = "insert into SMS (name,email,sms,datedb,timedb,user1) VALUES ('$name', '$email','$SMS','$datedb','$timedb','$USER1'); > > Every value is working perfect but not the $USER1$ > > In my resource.cfg I have > $USER1$=valueX > > In the manual I read that the macro is available in Service Checks,Service Notifications,Host Checks,Host Notifications etc.... > > Do I do something wrong or something in the nagios.cfg to turn this on ? The $USERx$ variables are not exported as environment variables, mainly for security reasons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Wed Oct 4 01:39:01 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Wed, 4 Oct 2006 09:39:01 +1000 Subject: Ubuntu Server + Nagios 2.5 Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6ABE7786@mail01.ccia.local> I use Nagios 1.3 (mysql) on Debian Sarge, and I thought I would try Ubuntu Server 6.03. I'd rather hoped Ubuntu would have a Nagios v2.5 package but it doesn't, still 1.3. Does anyone have instructions to installed v2.5 on either Debian Sarge or Ubuntu Server ? Thanks Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From max.clark at gmail.com Mon Oct 2 20:23:02 2006 From: max.clark at gmail.com (Max Clark) Date: Mon, 2 Oct 2006 11:23:02 -0700 Subject: Monthly Detail Report Message-ID: <2fa1e1780610021123y273b79d8x494339579130263b@mail.gmail.com> Hi all, I need to generate a report for a given month (the files in the archive) that will detail the date, host/service, the start time for the outage, and the end time for the outage. The CGI does not seem to give me the full detail that I need. How do I go about building this report? Thanks, Max -- Max Clark http://www.clarksys.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Mon Oct 2 20:52:04 2006 From: td3201 at gmail.com (Terry) Date: Mon, 2 Oct 2006 13:52:04 -0500 Subject: Monitoring IIS server... In-Reply-To: <238C317745A25A939B010A27@10.47.102.115> References: <04629897C5AE411C42F3EFE5@10.47.102.115> <238C317745A25A939B010A27@10.47.102.115> Message-ID: <8ee061010610021152m764d1d98hd2886c7a273fd708@mail.gmail.com> I use it heavily and do not see any issues. On 10/2/06, Steven C. Jones wrote: > Has anyone seen as to where using check_http to monitor the IIS server > causes serious issues? > I figure since all it's doing is mapping port 80 for livelyihood, it > should be okay. (At this point, I don't need all the SNMP information, just > want to know that the service is open.) > > Thanks, > > _________________________ > Steven C. Jones > ITECS > > > 'Most people seek after what they do not possess and are enslaved by the > very things they want to acquire.' > - Anwar Sadat > > > > _________________________ > Steven C. Jones > ITECS > > > 'Most people seek after what they do not possess > and are enslaved by the very things they want to acquire.' > > - Anwar Sadat > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gctech at gmail.com Sun Oct 1 08:24:42 2006 From: gctech at gmail.com (Timothy Lane) Date: Sun, 1 Oct 2006 01:24:42 -0500 Subject: installation issues Message-ID: <238d88e30609302324q30cf5c1cwbc4d76f2d837b28c@mail.gmail.com> Okay, I have went word for word on the installation of Nagios, but I still am getting errors like no Lock File and numerous others. My first question is, how much stuff do I need to manually edit to get this to work?? Do I have manually create all these extra files? Alls I want is something to monitor my network traffic that looks nice. When I do a make install-config command and it makes the sample config files, are those not good enough for my configuration? Do I need to committ lines out to make this work. This Nagios programs looks REALLY nice and I just want it to work, seems like a lot of work. The first thing that always went wrong was the Lock file, so I just created an emply file call nagios.lock and that error went away. But when I try to start the service, its just says to check the configuration. Is there a LOG to see what I am missing, so I know how to fix it? thanks, -- Timothy Lane www.gcztech.com "I haven't lost my mind; I have a tape backup somewhere." -Author Unknown -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tgenessay at aliadis.fr Wed Oct 4 09:13:01 2006 From: tgenessay at aliadis.fr (Thibault Genessay) Date: Wed, 04 Oct 2006 09:13:01 +0200 Subject: Ubuntu Server + Nagios 2.5 In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6ABE7786@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6ABE7786@mail01.ccia.local> Message-ID: <45235EFD.9080407@aliadis.fr> Hi Matthew Joyce wrote: > > I use Nagios 1.3 (mysql) on Debian Sarge, and I thought I would try > Ubuntu Server 6.03. > > I'd rather hoped Ubuntu would have a Nagios v2.5 package but it doesn't, > still 1.3. Debian is a cool distro but packages are sometimes very old ... > > Does anyone have instructions to installed v2.5 on either Debian Sarge > or Ubuntu Server ? From source is the way to go ! Our production servers use Debian Sarge with 2.5; we deploy Nagios manually. But unless your setup is huge this is not too complicated. Anyway you will have to work quite a lot to upgrade your configuration from 1.x to 2.x, so compiling & installing Nagios will be almost an insignificant task. Use the doc at http://nagios.sourceforge.net/docs/2_0/toc.html, section 'installing'. Regards -- Thibault GENESSAY ALIADIS www.aliadis.fr Tel. +33 4 72 13 90 40 Fax +33 4 74 22 00 09 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 4 09:32:34 2006 From: ae at op5.se (Andreas Ericsson) Date: Wed, 04 Oct 2006 09:32:34 +0200 Subject: installation issues In-Reply-To: <238d88e30609302324q30cf5c1cwbc4d76f2d837b28c@mail.gmail.com> References: <238d88e30609302324q30cf5c1cwbc4d76f2d837b28c@mail.gmail.com> Message-ID: <45236392.2080405@op5.se> Timothy Lane wrote: > Okay, I have went word for word on the installation of Nagios, but I still > am getting errors like no Lock File and numerous others. > Not enough info. Cut 'n paste the exact error messages you get, and we'll be able to help you. > My first question is, how much stuff do I need to manually edit to get this > to work?? Quite a bit, unfortunately, which is why companies (op5 included) make such booming businesses on packaging and selling Nagios with installation/configuration help and nice GUI's for configuring it. > Do I have manually create all these extra files? Alls I want is > something to monitor my network traffic that looks nice. > You don't have to create the lockfiles. You *do* have to create the directory the lockfiles should reside in. > When I do a make install-config command and it makes the sample config > files, are those not good enough for my configuration? No, ofcourse they aren't. You need to input information about your network (IP-addresses etc) that a default configuration can never even begin to guess at. Even trying to ship a *useful* configuration with Nagios is simply doomed to fail. You might have some luck using one of the numerous nmap-to-config scripts that float around the internet though. Check www.nagiosexchange.org for such things. > Do I need to > committ > lines out to make this work. This Nagios programs looks REALLY nice and I > just want it to work, seems like a lot of work. > You possibly have to comment (I guess that's what you meant) lines out to make it work. Without error messages I can't really say. If you're having more trouble than you think it's worth, you might want to check http://www.nagios.org/support/commercial/ to find a consultant near you that can help you get it up and running. Email me off-list if you can't find a consultant suitable for you and I'll ask one of our sales-people to contact you for a demo and stuff. > The first thing that always went wrong was the Lock file, so I just created > an emply file call nagios.lock and that error went away. Wrong thing to do. Lockfiles are *always* created by the program using them, so they can make sure another instance of the program won't run at the same time. Two nagios instances running with the same config on the same machine gives, to put it mildly, odd results. > But when I try to > start the service, its just says to check the configuration. Is there a > LOG > to see what I am missing, so I know how to fix it? > More info needed. I'm 100% certain it doesn't say "check the configuration", because that string isn't anywhere in the Nagios source-code. Please cut 'n paste the exact error message you get if you want help. It's impossible to give it without knowing what's going wrong and what actions you've taken to try and fix it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Wed Oct 4 10:14:57 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Wed, 4 Oct 2006 09:14:57 +0100 Subject: Monthly Detail Report In-Reply-To: <2fa1e1780610021123y273b79d8x494339579130263b@mail.gmail.com> References: <2fa1e1780610021123y273b79d8x494339579130263b@mail.gmail.com> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 02/10/2006 19:23:02: > Hi all, > > I need to generate a report for a given month (the files in the > archive) that will detail the date, host/service, the start time for > the outage, and the end time for the outage. The CGI does not seem to > give me the full detail that I need. How do I go about building this > report? I wrote this perl script to collect that kind of information.. it may do what you want, or you can always modify it to how you need http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640 rob/mossko This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at d.sparks.net Wed Oct 4 14:46:03 2006 From: nagios at d.sparks.net (David Miller) Date: Wed, 04 Oct 2006 08:46:03 -0400 Subject: nrpe timeouts, dependencies, no connectivity Message-ID: <4523AD0B.30603@d.sparks.net> Hi All; I'm pulling out what little is left over my hair on this one:( I've got a setup where a nagios host at data center A is monitoring services on 30+ hosts at data center B. The bulk of the monitoring is via nrpe. Once every blue moon or so I lose connectivity between the two data centers. I then get 30 hosts * avg_number_services_monitored pages about problems, and a similar number of recovery messages. I'm on debian stable (sarge), running their package (1.3-cvs.200504). I setup a simple service to test connectivity between data centers: define service{ use generic-service ; Name of service template to use hostgroup_name check-inap service_description Check INAP Connection is_volatile 0 check_period 24x7 max_check_attempts 5 normal_check_interval 5 retry_check_interval 2 contact_groups dmiller notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check-inap } Added it to hostgroups: define hostgroup { hostgroup_name check-inap alias Check INAP Connection contact_groups dmiller members css.int } Here is the actual check command: define command{ command_name check-inap command_line /usr/lib/nagios/plugins/check_icmp 192.168.120.100 } (yes, that's a valid IP address over our VPN) This is a typical dependency entry: define servicedependency{ host_name css.int service_description Check INAP Connection dependent_host_name groupware.int dependent_service_description Check Disk Utilization execution_failure_criteria w,u,c ; These are the criteria for which check execution will be supressed notification_failure_criteria w,u,c ; These are the criteria for which notifications will be supressed } What's happening is that even if "Check INAP Connection" gets an NRPE_timeout, which should be a condition "unknown", the check of disk utilization for groupware.int is executed, as is the notification. What am I missing? Is this something fixed in more recent versions of nagios? Thanks in advance, --- David ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 4 14:57:49 2006 From: ae at op5.se (Andreas Ericsson) Date: Wed, 04 Oct 2006 14:57:49 +0200 Subject: nrpe timeouts, dependencies, no connectivity In-Reply-To: <4523AD0B.30603@d.sparks.net> References: <4523AD0B.30603@d.sparks.net> Message-ID: <4523AFCD.3040407@op5.se> David Miller wrote: > Hi All; > > I'm pulling out what little is left over my hair on this one:( > > I've got a setup where a nagios host at data center A is monitoring > services on 30+ hosts at data center B. The bulk of the monitoring is > via nrpe. > > Once every blue moon or so I lose connectivity between the two data > centers. I then get 30 hosts * avg_number_services_monitored pages > about problems, and a similar number of recovery messages. > > I'm on debian stable (sarge), running their package (1.3-cvs.200504). I > setup a simple service to test connectivity between data centers: > > define service{ > use generic-service ; Name > of service template to use > hostgroup_name check-inap > service_description Check INAP Connection > is_volatile 0 > check_period 24x7 > max_check_attempts 5 > normal_check_interval 5 > retry_check_interval 2 > contact_groups dmiller > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check-inap > } > > Added it to hostgroups: > > define hostgroup { > hostgroup_name check-inap > alias Check INAP Connection > contact_groups dmiller > members css.int > } > > Here is the actual check command: > > define command{ > command_name check-inap > command_line /usr/lib/nagios/plugins/check_icmp 192.168.120.100 > } > > (yes, that's a valid IP address over our VPN) > > This is a typical dependency entry: > > define servicedependency{ > host_name css.int > service_description Check INAP Connection > dependent_host_name groupware.int > dependent_service_description Check Disk Utilization > execution_failure_criteria w,u,c ; These are the criteria > for which check execution will be supressed > notification_failure_criteria w,u,c ; These are the criteria > for which notifications will be supressed > } > > > What's happening is that even if "Check INAP Connection" gets an > NRPE_timeout, which should be a condition "unknown", the check of disk > utilization for groupware.int is executed, as is the notification. > > What am I missing? Is this something fixed in more recent versions of > nagios? > You're making it overly complicated. Since traffic is going to the monitored hosts through your nrpe "proxy" at the data-center, you'd be better off by setting up parent/child relations which takes this into account and disabling "unreachable" notifications either globally or for the hosts and services monitored through the proxy. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Wed Oct 4 15:40:56 2006 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Wed, 4 Oct 2006 14:40:56 +0100 Subject: NRPE and Check_disk error Message-ID: <418B502A3861E242AFDED453F3D5B89C100738AA@i2km99-ukbr.domain1.systemhost.net> Hey List, Current setup. Nagios 2.5 - Standard install to /usr/local/nagios/* Nagios Plugins 1.4.3 - Standard install to /usr/local/nagios/libexec SUSE Linux Enterprise Server 9 sp2 - Disks partitioned with LVM ( yes I have taken that into account in my check command I think) I am attempting to check disks on remote machines using NRPE. This works fine but I do net get the actual disk free figures displayed in the Service Detail view off the host. All I get displayed is "DISK OK - free space:" When I look at actual Service page I see that the Performance data shows the Disk free figures Service State Information Current Status: OK Status Information: DISK OK - free space: Performance Data: /=10840MB;11468;12901;-9223372036854775808;14335 Here is the relevant sections from my configs. >From NRPE config file on monitored host /usr/local/etc/nrpe.cfg pid_file=/var/run/nrpe.pid server_port=5666 server_address=xxx.xxx.xxx.xxx dont_blame_nrpe=0 nrpe_user=nagios nrpe_group=nagios debug=1 command_timeout=60 command[check_disk1]=/usr/local/nagios/libexec/check_disk -e -l -X iso9660 -X proc -x sysv -X tempfs -w 20% -c 10% -p / >From "checkcommands.cfg" on monitoring host # ' check systems using nrpe to check remote / file system size define command{ command_name check_nrpe_root command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ >From "services.cfg" on monitoring host # Free Space on remote system / partition define service{ use generic-service host_name h4oiap service_description Free Disk Space / is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups vsu-p notification_interval 120 notification_period 24x7 notification_options w,c,r check_command check_nrpe_root!check_disk1 When I execute the command as the nagios user on both the monitored and monitoring boxes I get the output below. As you can see the Monitored host reports the space free on the disk. Cool that's what I want thanks. >From Monitored host nagios at h4oiap:/usr/local/nagios/libexec> /usr/local/nagios/libexec/check_disk -l -X iso9660 -X proc -x sysv -X tempfs -w 20% -c 10% -p / DISK OK - free space: / 3492 MB (24% inode=nan%);| /=10843MB;11468;12901;-9223372036854775808;14335 On the monitoring host we do not seem to pick up the free space. Have I not escaped something in my configs. >From Monitoring host nagios at usel:/usr/local/nagios/etc> /usr/local/nagios/libexec/check_nrpe -H 132.146.185.13 -p 5666 -c check_disk1 DISK OK - free space:| /=10842MB;11468;12901;-9223372036854775808;14335 I know I've missed something stupid and cant spot it. I'm hopefull one off you eagle eyed blighters might spot it. All help gratefully received. Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ugob at camo-route.com Wed Oct 4 18:21:36 2006 From: ugob at camo-route.com (Ugo Bellavance) Date: Wed, 04 Oct 2006 12:21:36 -0400 Subject: yum install nagios In-Reply-To: References: <238d88e30610011846j6a4aa8d9wa7b2f61dcece0fa5@mail.gmail.com> Message-ID: Hugo van der Kooij wrote: > On Mon, 2 Oct 2006, Ugo Bellavance wrote: > >> Timothy Lane wrote: >> >> To all: BTW, is it the case also with the source install? >> >> >> If yes, would it be possible to fix it so that one can install, then >> start the service and have a working config doing only local checks? > > There is no such thing as a working config to be defined that way. So I > would not recommend to ship anything that 'works' out of the box. Because > it will only encourage people to send similar signs of having failed to > read the fine manual. I think that putting in a working config that only does a host check using a ping on localhost would be a good start. Of course, it is useless for the user, so he'll have to look at the doc to do more tests. The default config is already set up to do some tests on localhost. IIRC, the problem with the config is duplicate check_command definitions... Maybe just get rid of those could help... it is rather puzzling at first when you tumble on such an unexpected error. I think that it is good not to prepare the config for the user, but at least, maybe prepare the config so that when the user installs and starts it, it starts, and maybe just send an error message like (Right now we're only monitoring your local host, please the doc (URL) to define more checks). ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fredrik.Vocks at labs2.com Wed Oct 4 20:55:04 2006 From: Fredrik.Vocks at labs2.com (=?iso-8859-1?Q?Fredrik_V=F6cks?=) Date: Wed, 4 Oct 2006 20:55:04 +0200 Subject: Delay hostchecks? Message-ID: Hello, Is it possible to delay hostchecks until after you've done all retries stated in the service defintion? If for example a service check fails once Nagios will immediately start doing hostchecks. This is not very good because a short reboot/power failure/ etc will make Nagios send alarms about host being down. Especially bad is this during weekend when people are hired to monitor and get these kind of alarms in the middle of the night. The behaviour in Nagios is; Service check fails 09:00 -> host check 09:00 -> Send Alarm I want to have a 15 minute period before Nagios starts doing hostchecks, like this; Service check fails 09:00 -> wait 1 min -> Service check fails 09:01 -> repeat 13 times -> host check 09:15 -> Send Alarm Im using Nagios 2.4. Regards, Anders -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Wed Oct 4 21:04:17 2006 From: td3201 at gmail.com (Terry) Date: Wed, 4 Oct 2006 14:04:17 -0500 Subject: acknowledging large number of alerts Message-ID: <8ee061010610041204h86ae6ecs52bb7440a8ea4409@mail.gmail.com> There are times when we have a lot of services that go down at once, like IIS sites for example. It's a pain to go through and ackknowledge each one individually. Any tricks to this? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Wed Oct 4 21:14:33 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Wed, 4 Oct 2006 21:14:33 +0200 Subject: Delay hostchecks? In-Reply-To: References: Message-ID: <200610042114.33379.pitchfork@ederdrom.de> Am Mittwoch, 4. Oktober 2006 20:55 schrieb Fredrik V?cks: > Hello, > > Is it possible to delay hostchecks until after you've done all retries > stated in the service defintion? If for example a service check fails once > Nagios will immediately start doing hostchecks. This is not very good > because a short reboot/power failure/ etc will make Nagios send alarms > about host being down. Especially bad is this during weekend when people > are hired to monitor and get these kind of alarms in the middle of the > night. [...] There will be a new Option in nagios 3.x called first_notification_delay for Hosts and Services. J?rg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Wed Oct 4 21:17:10 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Wed, 4 Oct 2006 13:17:10 -0600 Subject: acknowledging large number of alerts Message-ID: <2D0245E43DEC724F81592D697F05689904C4311C@SIDHQEXCHMB1.Cabelas.Corp> Set up some service dependencies. Have all of your URL checks dependent on, say, a positive check for IIS running. That way you only get one alert. http://nagios.sourceforge.net/docs/2_0/dependencies.html -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Terry Sent: Wednesday, October 04, 2006 1:04 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] acknowledging large number of alerts There are times when we have a lot of services that go down at once, like IIS sites for example. It's a pain to go through and ackknowledge each one individually. Any tricks to this? ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Thu Oct 5 00:13:47 2006 From: td3201 at gmail.com (Terry) Date: Wed, 4 Oct 2006 17:13:47 -0500 Subject: acknowledging large number of alerts In-Reply-To: <2D0245E43DEC724F81592D697F05689904C4311C@SIDHQEXCHMB1.Cabelas.Corp> References: <2D0245E43DEC724F81592D697F05689904C4311C@SIDHQEXCHMB1.Cabelas.Corp> Message-ID: <8ee061010610041513y4c40ce27g4da5781aac717976@mail.gmail.com> Good idea, will have to think about that. What I gave was just an example and the reason for those outages is more complex. However, that got me thinking, thanks. On 10/4/06, Aaron Segura wrote: > Set up some service dependencies. Have all of your URL checks dependent > on, say, a positive check for IIS running. That way you only get one > alert. > > http://nagios.sourceforge.net/docs/2_0/dependencies.html > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Terry > Sent: Wednesday, October 04, 2006 1:04 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] acknowledging large number of alerts > > There are times when we have a lot of services that go down at once, > like IIS sites for example. It's a pain to go through and > ackknowledge each one individually. Any tricks to this? > > ------------------------------------------------------------------------ > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE > V > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rader at ginseng.hep.wisc.edu Thu Oct 5 01:21:54 2006 From: rader at ginseng.hep.wisc.edu (rader at ginseng.hep.wisc.edu) Date: Wed, 04 Oct 2006 18:21:54 -0500 Subject: Monthly Detail Report Message-ID: <200610042321.k94NLsLw008103@ginseng.hep.wisc.edu> > I need to generate a report for a given month (the files in the > archive) that will detail the date, host/service, the start time for > the outage, and the end time for the outage. The CGI does not seem to > give me the full detail that I need. How do I go about building this > report? http://noc.hep.wisc.edu/nagiosr.txt ? sample follows steve - - - systems & network manager high energy physics university of wisconsin bash$ nagiosr --begin "Oct 1st" Nagios CRITICAL Service Alert Report for Oct 1st through now Date & Time Down Date & Time Up Description Plugin Output Duration ---------------- ---------------- -------------------------------------------- -------- Sun Oct 1 23:43 *still critical* thyme AFS Volumes yencho 100% 2d18h Mon Oct 2 07:45 Mon Oct 2 08:05 Fermi Ping 100% packet loss 19m39s Mon Oct 2 08:10 Mon Oct 2 13:06 Fermi Ping 100% packet loss 4h55m Mon Oct 2 12:29 Mon Oct 2 13:30 cilantro NSR Tape...available, 348 GB total 1h00m Mon Oct 2 13:11 Mon Oct 2 13:20 garlic Load Average snmpget failed 8m50s Tue Oct 3 09:23 Tue Oct 3 09:47 ESnet Ping 100% packet loss 24m14s Wed Oct 4 00:11 Wed Oct 4 00:31 DESY Peering hop is wiscnet.net 20m08s Wed Oct 4 02:44 Wed Oct 4 02:54 glowserv01 /space snmpget failed 9m40s Wed Oct 4 10:36 Wed Oct 4 10:41 cmsgrid02 Cfengine socket timed out 4m31s Wed Oct 4 10:36 Wed Oct 4 10:41 cmsgrid02 Grid Gatekeeper socket timed out 4m31s Wed Oct 4 10:46 Wed Oct 4 12:31 Fermi Ping 100% packet loss 1h44m Wed Oct 4 13:28 Wed Oct 4 13:31 Fermi Ping 80% pkt loss 3m44s ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Thu Oct 5 02:01:50 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 5 Oct 2006 13:01:50 +1300 Subject: Monitoring IIS server... In-Reply-To: <452217D2.5000207@op5.se> References: <452217D2.5000207@op5.se> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A234A7B5@UXCHANGE3.UoA.auckland.ac.nz> > > Management had two choices - > > 1) Fix the configuration of the IIS server > > 2) Stop monitoring it altogether > > > > Which do you think they chose? Sigh. > > > > Since they're management, they actually had more choices: > 3) Buy a new web-server and a loadbalancer, clone the old > configuration > and use the loadbalancer to keep session-id's from being eaten. > 4) Buy more RAM for the old server. > 5) Buy a new, beefier, server. You must be psychic. Actually, they'd already done (3) and (4) before they decided on doing (2). Doing (1) would have been too easy. Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.Wolters at piramide.nl Thu Oct 5 10:42:09 2006 From: J.Wolters at piramide.nl (J.Wolters at piramide.nl) Date: Thu, 5 Oct 2006 10:42:09 +0200 Subject: logrotation Message-ID: Hi all, Currently we are running nagios on Debian testing. I found a small problem that might already have been fixed but I did not find anything about it. The defaults within Nagios for rotating the logfiles have been set to 1 day. It rotates around midnight. The problem is that I suspect nagios is pointing to a wrong filepointer. I stops logging the events until the next os logrotation (around 6 a.m. in our case). Has this already been reported? Best regards, Hans Wolters -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Oct 5 10:19:01 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 05 Oct 2006 09:19:01 +0100 Subject: Nagios process not running? It is running! In-Reply-To: <4524A517.9070307@scm.uws.edu.au> References: 4501AA91.30904@googlemail.com <4524A517.9070307@scm.uws.edu.au> Message-ID: <4524BFF5.3070109@googlemail.com> I don't think so because when I run the exact command that I put in the cgi.cfg from the command line as the nagios user (I copied and pasted to make sure it was identical), I got the right result as expected. It was only when put in the cgi.cfg and run by Nagios that it always gave the same thing, saying nagios wasn't running. But when nagios isn't running the web interface doesn't come up properly, I get a whole different error. I also still receive alerts so Nagios must be running. The reason the status file can't be in the wrong place is because otherwise the test when executed from the command line would fail, whereas it passes. I think this is more likely a subtle bug, it's the only way that I can account for the difference. -h Hari Sekhon Guang Deng wrote: > > the status.log file is missing, they this: > > touch /var/nagios/status.log > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From B.vanDaal at edpnet.net Thu Oct 5 12:21:11 2006 From: B.vanDaal at edpnet.net (Bart van Daal) Date: Thu, 5 Oct 2006 12:21:11 +0200 Subject: holidays Message-ID: Hi list, i've been searching around for a way to define holidays in nagios. The object is to be able to use a 24-7 timeperiod on holidays (e.g. 25 december) and the Tech_hours timeperiod on 'normal' days: define timeperiod timeperiod_name 24x7 alias twenty-four seven baby! sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } define timeperiod { timeperiod_name Tech_hours sunday 00:00-24:00 monday 00:00-08:59,17:00-23:59 tuesday 00:00-08:59,17:00-23:59 wednesday 00:00-08:59,17:00-23:59 thursday 00:00-08:59,17:00-23:59 friday 00:00-08:59,17:00-23:59 saturday 00:00-24:00 } Thank you for any hint or helpful suggestion. cheers, Bart Bart van Daal Network Operations Van Landeghemstraat 20 9100 SINT-NIKLAAS b.vandaal at edpnet.net www.edpnet.be T +32 (0)3 265 67 00 F +32 (0)3 265 67 01 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mangoo at wpkg.org Thu Oct 5 13:27:46 2006 From: mangoo at wpkg.org (Tomasz Chmielewski) Date: Thu, 05 Oct 2006 13:27:46 +0200 Subject: what does "last check" mean / "last check" inconsistence Message-ID: <4524EC32.1060801@wpkg.org> I noticed that "last check" in the nagios interface is used twice, and that its usage is inconsistent - it shows different things: 1. "Last check" in "Host detail" 2. "Last check" in "View status detail for that host" For example, I have a host called "SERVER". In "Host detail", "Last check" shows a date of "04-10-2006 17:09:01". In "View status detail for that host", "Last check" shows a date of "05-10-2006 13:05:05", which is close to the current date. What is the difference between the two? Especially, I'd like to know what "Last check" in "Host detail" means. I'm running nagios 2.5. -- Tomasz Chmielewski http://wpkg.org ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Thu Oct 5 12:39:10 2006 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Thu, 5 Oct 2006 11:39:10 +0100 Subject: Some info on check_disk output Message-ID: <418B502A3861E242AFDED453F3D5B89C100744D5@i2km99-ukbr.domain1.systemhost.net> Hi List, SLES9.2 Nagios 2.5 Nagios-Plugins 1-4-3 NRPE 2.5.1 When I look at my check disk output in nagios I see the following against some entries. My disks are partitioned with LVM My command line from my nrpe.cfg is command[check_disk1]=/usr/local/nagios/libexec/check_disk -l -X iso9660 -w 20% -c 10% -W 20% -K 10% -p / nagios at usel:~> /usr/local/nagios/libexec/check_disk -l -X iso9660 -w 20% -c 10% -W 20% -K 10% -p / Which returns the below DISK OK - free space: / 1188 MB (53% inode=nan%);| /=1068MB;1804;2029;-2147483648;2255 I get the following returned in the Nagios Services view. Free Disk Space / OK 05-10-2006 11:25:09 0d 17h 51m 42s 1/3 DISK OK - free space: / 2699 MB (66% inode=nan%): Free Disk Space /boot OK 05-10-2006 11:25:37 0d 17h 50m 26s 1/3 DISK OK - free space: /boot 63 MB (61% inode=nan%): Free Disk Space /opt OK 05-10-2006 11:26:21 0d 17h 49m 10s 1/3 DISK OK - free space: /opt 987 MB (96% inode=nan%): Free Disk Space /osmf OK 05-10-2006 11:22:04 0d 17h 52m 57s 1/3 DISK OK - free space: /osmf 145 MB (73% inode=nan%): Free Disk Space /tmp OK 05-10-2006 11:22:47 0d 17h 51m 41s 1/3 DISK OK - free space: /tmp 462 MB (92% inode=100%): Free Disk Space /usr OK 05-10-2006 11:23:29 0d 17h 50m 25s 1/3 DISK OK - free space: /usr 2053 MB (67% inode=nan%): Free Disk Space /var OK 05-10-2006 11:24:12 0d 17h 49m 9s 1/3 DISK OK - free space: /var 29720 MB (56% inode=nan%): What I want to know is what does the % inode=nan% mean? It seems that the only filesystem to return inodes is /tmp but that probably coz its not sitting on any particular disk. Here's my fstab h1oiap:/home/welsht2 # cat /etc/fstab /dev/vg01/rootlv / reiserfs defaults 1 1 /dev/sda1 /boot reiserfs defaults 1 2 /dev/vg01/homelv /home reiserfs defaults 1 2 /dev/vg01/optlv /opt reiserfs defaults 1 2 /dev/vg01/osmflv /osmf reiserfs defaults 1 2 /dev/vg01/usrlv /usr reiserfs defaults 1 2 /dev/vg01/varlv /var reiserfs defaults 1 2 /dev/sda5 swap pri=42 0 0 /dev/sda6 swap swap pri=42 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 proc /proc proc defaults 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 sysfs /sys sysfs noauto 0 0 /dev/dvd /media/dvd subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0 /dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0 none /tmp tmpfs mode=1777,size=500M 0 0 Any help gratefully received Regards Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rader at ginseng.hep.wisc.edu Thu Oct 5 13:59:30 2006 From: rader at ginseng.hep.wisc.edu (rader at ginseng.hep.wisc.edu) Date: Thu, 05 Oct 2006 06:59:30 -0500 Subject: ANNOUNCEMENT: Cnagios (Re: Monthly Detail Report) In-Reply-To: <200610042321.k94NLsLw008103@ginseng.hep.wisc.edu> References: <200610042321.k94NLsLw008103@ginseng.hep.wisc.edu> Message-ID: <200610051159.k95BxU2o005279@ginseng.hep.wisc.edu> Some folks have reminded me that I've never mentioned my nifty full-screen terminal interface for Nagios... http://noc.hep.wisc.edu/cnagios.html Cnagios and nagiosr make a pretty good replacement for the web GUI, imnsho. enjoy. steve - - - > ---- Original Message ---- > From: rader > > > I need to generate a report for a given month (the files in the > > archive) that will detail the date, host/service, the start time for > > the outage, and the end time for the outage. The CGI does not seem to > > give me the full detail that I need. How do I go about building this > > report? > > http://noc.hep.wisc.edu/nagiosr.txt > > ? > > sample follows > > steve > - - - > systems & network manager > high energy physics > university of wisconsin > > bash$ nagiosr --begin "Oct 1st" > > Nagios CRITICAL Service Alert Report for Oct 1st through now > > Date & Time Down Date & Time Up Description Plugin > Output Duration > ---------------- ---------------- -------------------------------------- > ------ -------- > Sun Oct 1 23:43 *still critical* thyme AFS Volumes yench > o 100% 2d18h > Mon Oct 2 07:45 Mon Oct 2 08:05 Fermi Ping 100% packe > t loss 19m39s > Mon Oct 2 08:10 Mon Oct 2 13:06 Fermi Ping 100% packe > t loss 4h55m > Mon Oct 2 12:29 Mon Oct 2 13:30 cilantro NSR Tape...available, 348 GB > total 1h00m > Mon Oct 2 13:11 Mon Oct 2 13:20 garlic Load Average snmpget > failed 8m50s > Tue Oct 3 09:23 Tue Oct 3 09:47 ESnet Ping 100% packe > t loss 24m14s > Wed Oct 4 00:11 Wed Oct 4 00:31 DESY Peering hop is wiscn > et.net 20m08s > Wed Oct 4 02:44 Wed Oct 4 02:54 glowserv01 /space snmpget > failed 9m40s > Wed Oct 4 10:36 Wed Oct 4 10:41 cmsgrid02 Cfengine socket tim > ed out 4m31s > Wed Oct 4 10:36 Wed Oct 4 10:41 cmsgrid02 Grid Gatekeeper socket tim > ed out 4m31s > Wed Oct 4 10:46 Wed Oct 4 12:31 Fermi Ping 100% packe > t loss 1h44m > Wed Oct 4 13:28 Wed Oct 4 13:31 Fermi Ping 80% pk > t loss 3m44s > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share yo > ur > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporti > ng any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jorg.Schulz at systeam.se Thu Oct 5 15:07:01 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Thu, 5 Oct 2006 15:07:01 +0200 Subject: ANNOUNCEMENT: Cnagios (Re: Monthly Detail Report) In-Reply-To: <200610051159.k95BxU2o005279@ginseng.hep.wisc.edu> References: <200610051159.k95BxU2o005279@ginseng.hep.wisc.edu> Message-ID: Hi It?s a nice little handy tool , i installed it and it works fine after i changed the path to the nagios.log (instead for status.log) file (nagios ver 2.5) in /cnagios-0.13/config.h Now it works fine for me. Thanks for this little handy Tool Great !! Regards /j?rg Mvh J?rg Schulz Senior Konsult Linux/Unix/Novell/Windows/Networking SYSteam Kalmar AB Str?mgatan 15 Box 99 S-391 21 Kalmar Direkt 0480-456638 Mobil 0708-157806 E-Post jorg.schulz at systeam.se http://www.systeam.se rader at ginseng.hep.wisc.edu Sent by: nagios-users-bounces at lists.sourceforge.net 2006-10-05 13:59 To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] ANNOUNCEMENT: Cnagios (Re: Monthly Detail Report) Some folks have reminded me that I've never mentioned my nifty full-screen terminal interface for Nagios... http://noc.hep.wisc.edu/cnagios.html Cnagios and nagiosr make a pretty good replacement for the web GUI, imnsho. enjoy. steve - - - > ---- Original Message ---- > From: rader > > > I need to generate a report for a given month (the files in the > > archive) that will detail the date, host/service, the start time for > > the outage, and the end time for the outage. The CGI does not seem to > > give me the full detail that I need. How do I go about building this > > report? > > http://noc.hep.wisc.edu/nagiosr.txt > > ? > > sample follows > > steve > - - - > systems & network manager > high energy physics > university of wisconsin > > bash$ nagiosr --begin "Oct 1st" > > Nagios CRITICAL Service Alert Report for Oct 1st through now > > Date & Time Down Date & Time Up Description Plugin > Output Duration > ---------------- ---------------- -------------------------------------- > ------ -------- > Sun Oct 1 23:43 *still critical* thyme AFS Volumes yench > o 100% 2d18h > Mon Oct 2 07:45 Mon Oct 2 08:05 Fermi Ping 100% packe > t loss 19m39s > Mon Oct 2 08:10 Mon Oct 2 13:06 Fermi Ping 100% packe > t loss 4h55m > Mon Oct 2 12:29 Mon Oct 2 13:30 cilantro NSR Tape...available, 348 GB > total 1h00m > Mon Oct 2 13:11 Mon Oct 2 13:20 garlic Load Average snmpget > failed 8m50s > Tue Oct 3 09:23 Tue Oct 3 09:47 ESnet Ping 100% packe > t loss 24m14s > Wed Oct 4 00:11 Wed Oct 4 00:31 DESY Peering hop is wiscn > et.net 20m08s > Wed Oct 4 02:44 Wed Oct 4 02:54 glowserv01 /space snmpget > failed 9m40s > Wed Oct 4 10:36 Wed Oct 4 10:41 cmsgrid02 Cfengine socket tim > ed out 4m31s > Wed Oct 4 10:36 Wed Oct 4 10:41 cmsgrid02 Grid Gatekeeper socket tim > ed out 4m31s > Wed Oct 4 10:46 Wed Oct 4 12:31 Fermi Ping 100% packe > t loss 1h44m > Wed Oct 4 13:28 Wed Oct 4 13:31 Fermi Ping 80% pk > t loss 3m44s > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share yo > ur > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporti > ng any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yhasabnis at gmail.com Thu Oct 5 15:52:09 2006 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Thu, 5 Oct 2006 19:22:09 +0530 Subject: SMS notifications to a cell phone Message-ID: Hi All, I am in the process of setting up nagios for monitoring key services in our network setup. I have already tested and used the email method of sending notifications using Sendmail as my relay host. I would be grateful if I get some pointers for sending notifications using SMS to a cell number, in case of service failures and recoveries. I went through the nagios docs. They have mentioned quite a few options for using SMS as a notification method. But it seems that one needs to subscribe to the services of a service provider to use any of those options. And the service provider should be providing services in your country/location. Is it possible to use this notification without subscribing to any specific paid service ? I am extremely sorry if this question has already been answered before. Thanks In Advance Yogesh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter at berghold.net Thu Oct 5 16:22:43 2006 From: Peter at berghold.net (Peter L. Berghold) Date: Thu, 05 Oct 2006 10:22:43 -0400 Subject: SMS notifications to a cell phone In-Reply-To: References: Message-ID: <45251533.3060805@Berghold.Net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yogesh Hasabnis wrote: > > Is it possible to use this notification without subscribing to any > specific paid service ? > > In my shop we just treat cell phone notifications the same as email notification. For instance, Verizon Wireless customers who have text messaging can receive pages by sending an email to ##########@vtext.com where ########## is the telephone number of the cell phone you are sending email to. I also have a "front end" (middle end?) script for cell phones that chops a notification up into chunks that don't overflow the cell phone's text size limit and sends them out as multiple pages. - -- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Peter L. Berghold Peter at Berghold.Net "Those who fail to learn from history are condemned to repeat it." AIM: redcowdawg Yahoo IM: blue_cowdawg ICQ: 11455958 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org iD8DBQFFJRUyUM9/01RIhaARAnv4AKC7TJPEvReUD5Wm4S6pU5Aj1pSXGgCgvFP5 Qfu1Giv4YCBpcMndjoQvcGI= =57m0 -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: Peter.vcf Type: text/x-vcard Size: 239 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Thu Oct 5 16:24:48 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Thu, 5 Oct 2006 16:24:48 +0200 Subject: SMS notifications to a cell phone In-Reply-To: References: Message-ID: <97EEA156-B7BA-4AB3-9888-A3FA8C95F80F@kilala.nl> On 5 Oct, 2006, at 15:52, Yogesh Hasabnis wrote: > Is it possible to use this notification without subscribing to any > specific paid service ? I've seen a few options IRL: * attach a cellphone to your server and install SMS sending software * subscribe to an email-to-SMS gateway * subscribe to another SMS provider * ??? Cheers! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Thu Oct 5 16:51:07 2006 From: tom at ng23.net (Tom Brown) Date: Thu, 05 Oct 2006 15:51:07 +0100 Subject: SMS notifications to a cell phone In-Reply-To: References: Message-ID: <45251BDB.3030708@ng23.net> > I am in the process of setting up nagios for monitoring key services in > our network setup. I have already tested and used the email method of > sending notifications using Sendmail as my relay host. I would be > grateful if I get some pointers for sending notifications using SMS to a > cell number, in case of service failures and recoveries. I went through > the nagios docs. They have mentioned quite a few options for using SMS > as a notification method. But it seems that one needs to subscribe to > the services of a service provider to use any of those options. And the > service provider should be providing services in your country/location. > Is it possible to use this notification without subscribing to any > specific paid service ? we send pages (no sms) using a modem on the nagios box and then this routes to the pager supplier - Relying on email or email-to-sms gateway is dangerous as what happens if all connectivity fails - your alerts do not get through. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Thu Oct 5 16:57:36 2006 From: knobdy at gmail.com (Brian Loe) Date: Thu, 5 Oct 2006 09:57:36 -0500 Subject: SMS notifications to a cell phone In-Reply-To: <45251BDB.3030708@ng23.net> References: <45251BDB.3030708@ng23.net> Message-ID: <3c4611bc0610050757h93b731asd24d418223f2a326@mail.gmail.com> On 10/5/06, Tom Brown wrote: > > > we send pages (no sms) using a modem on the nagios box and then this > routes to the pager supplier - Relying on email or email-to-sms gateway > is dangerous as what happens if all connectivity fails - your alerts do > not get through. > I agree mostly, but I'd like to send SMS messages via a directly connected modem or wireless phone. On that subject, anyone have information on installing a blackberry on a linux box for this purpose? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Oct 5 17:00:25 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 05 Oct 2006 16:00:25 +0100 Subject: SMS notifications to a cell phone In-Reply-To: <45251BDB.3030708@ng23.net> References: <45251BDB.3030708@ng23.net> Message-ID: <45251E09.5090603@googlemail.com> well, you could just use gnokii or something like that and have a mobile phone connected directly to the nagios server, although I haven't tried this myself. it does mean that there is a completely separate route for gettng alerts. -h Hari Sekhon Tom Brown wrote: >> I am in the process of setting up nagios for monitoring key services in >> our network setup. I have already tested and used the email method of >> sending notifications using Sendmail as my relay host. I would be >> grateful if I get some pointers for sending notifications using SMS to a >> cell number, in case of service failures and recoveries. I went through >> the nagios docs. They have mentioned quite a few options for using SMS >> as a notification method. But it seems that one needs to subscribe to >> the services of a service provider to use any of those options. And the >> service provider should be providing services in your country/location. >> Is it possible to use this notification without subscribing to any >> specific paid service ? >> > > we send pages (no sms) using a modem on the nagios box and then this > routes to the pager supplier - Relying on email or email-to-sms gateway > is dangerous as what happens if all connectivity fails - your alerts do > not get through. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maemigh at gmail.com Thu Oct 5 17:15:39 2006 From: maemigh at gmail.com (Mike Emigh) Date: Thu, 5 Oct 2006 11:15:39 -0400 Subject: Delay hostchecks? In-Reply-To: References: Message-ID: <91eedcbf0610050815x11798c69wc56e565604e05c88@mail.gmail.com> On 10/4/06, Fredrik V?cks wrote: > > > > > Hello, > > Is it possible to delay hostchecks until after you've done all retries > stated in the service defintion? If for example a service check fails once > Nagios will immediately start doing hostchecks. This is not very good > because a short reboot/power failure/ etc will make Nagios send alarms about > host being down. Especially bad is this during weekend when people are hired > to monitor and get these kind of alarms in the middle of the night. > > The behaviour in Nagios is; > > Service check fails 09:00 -> host check 09:00 -> Send Alarm > > I want to have a 15 minute period before Nagios starts doing hostchecks, > like this; > > Service check fails 09:00 -> wait 1 min -> Service check fails 09:01 -> > repeat 13 times -> host check 09:15 -> Send Alarm > > > Im using Nagios 2.4. > > Regards, > Anders > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > If you are able to search through the archives, I posted a workaround which works similar to what you want. Basically, you pass the notification number in the notification command and have the notification command call a script. This script checks the notification number and if it is 1 then exit, if it is 2 or higher then send an email/page/etc. This is oversimplifying it, but you should get the idea. Mike ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Stier at us.fujitsu.com Thu Oct 5 17:46:25 2006 From: Matthew.Stier at us.fujitsu.com (Matthew Stier) Date: Thu, 05 Oct 2006 11:46:25 -0400 Subject: SMS notifications to a cell phone In-Reply-To: <45251533.3060805@Berghold.Net> References: <45251533.3060805@Berghold.Net> Message-ID: <452528D1.4090507@us.fujitsu.com> I use 'qpage', which drives a direct attach modem, through a dedicated analog line. Most cell phone providers, including Verizon, support using the TAP protocol to send messages to mobile phones as text messages. http://www.qpage.org/ https://www.vtext.com/customer_site/jsp/aboutservice.jsp Peter L. Berghold wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Yogesh Hasabnis wrote: > >> Is it possible to use this notification without subscribing to any >> specific paid service ? >> >> >> > > In my shop we just treat cell phone notifications the same as email > notification. For instance, Verizon Wireless customers who have text > messaging can receive pages by sending an email to ##########@vtext.com > where ########## is the telephone number of the cell phone you are > sending email to. > > I also have a "front end" (middle end?) script for cell phones that > chops a notification up into chunks that don't overflow the cell phone's > text size limit and sends them out as multiple pages. > > > - -- > :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: > Peter L. Berghold Peter at Berghold.Net > "Those who fail to learn from history are condemned to repeat it." > AIM: redcowdawg Yahoo IM: blue_cowdawg ICQ: 11455958 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org > > iD8DBQFFJRUyUM9/01RIhaARAnv4AKC7TJPEvReUD5Wm4S6pU5Aj1pSXGgCgvFP5 > Qfu1Giv4YCBpcMndjoQvcGI= > =57m0 > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Matthew.Stier.vcf Type: text/x-vcard Size: 323 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From siemsen at UCAR.EDU Thu Oct 5 18:05:47 2006 From: siemsen at UCAR.EDU (Pete Siemsen) Date: Thu, 5 Oct 2006 10:05:47 -0600 Subject: a new check_bgp plugin Message-ID: I enhanced the check_bgp.pl plugin provided by Indiana University (see the "IU Nagios Plugins" project at SourceForge). The old check_bgp.pl plugin checks that BGP sessions on a router are up. The attached check_bgp_new.pl plugin does the same thing, and is upward- compatible with the old check_bgp.pl. The new plugin has a new optional feature that works only on Juniper routers. For each BGP session on a Juniper router, the new plugin can check that the number of active or received prefixes falls between given minimum and maximum values. We use check_bgp_new at our site to make Nagios notify us when our routing with the outside world gets "funny", like when one ISP suddenly becomes less preferred than another. -- Pete ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: check_bgp_new.pl Type: text/x-perl-script Size: 13106 bytes Desc: not available URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrea.gabellini at telecomitalia.sm Thu Oct 5 18:27:34 2006 From: andrea.gabellini at telecomitalia.sm (Andrea Gabellini) Date: Thu, 05 Oct 2006 18:27:34 +0200 Subject: SMS notifications to a cell phone In-Reply-To: References: Message-ID: <45253276.60005@telecomitalia.sm> http://smstools.meinemullemaus.de/ Yogesh Hasabnis wrote: > Hi All, > > I am in the process of setting up nagios for monitoring key services in our > network setup. I have already tested and used the email method of sending > notifications using Sendmail as my relay host. I would be grateful if I get > some pointers for sending notifications using SMS to a cell number, in case > of service failures and recoveries. I went through the nagios docs. They > have mentioned quite a few options for using SMS as a notification method. > But it seems that one needs to subscribe to the services of a service > provider to use any of those options. And the service provider should be > providing services in your country/location. Is it possible to use this > notification without subscribing to any specific paid service ? > > I am extremely sorry if this question has already been answered before. > > Thanks In Advance > > Yogesh > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- --------------------------------------- The call came for light, and there was light. Then came the darkness, known as night. Man was created free from all sin. And then it came... the happening! Welcome to your Death! --------------------------------------- Ing. Andrea Gabellini Email: andrea.gabellini at telecomitalia.sm Tel: 0549 886111 (Italy) Tel. +378 0549 886111 (International) Telecom Italia San Marino S.p.A. Strada degli Angariari, 3 47891 Rovereta Repubblic of San Marino http://www.omniway.sm http://www.telecomitalia.sm ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From niederha at us.ibm.com Thu Oct 5 20:51:02 2006 From: niederha at us.ibm.com (Kyle Niederhauser) Date: Thu, 5 Oct 2006 12:51:02 -0600 Subject: Kyle Niederhauser is out of the office. Message-ID: I will be out of the office starting 10/05/2006 and will not return until 10/11/2006. I will be out of the office until October 11th If you need assistance, please call the BP Operations Center at 1-877-471-6079 and ask for BP UNIX support. Clarify queue. IBM: UNIX HOSTS -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thyes at gmx.net Thu Oct 5 21:52:54 2006 From: thyes at gmx.net (Frank Thyes) Date: Thu, 5 Oct 2006 21:52:54 +0200 Subject: SMS notifications to a cell phone In-Reply-To: <45253276.60005@telecomitalia.sm> References: <45253276.60005@telecomitalia.sm> Message-ID: <20061005195254.GA15261@gator> +++ Andrea Gabellini [Thu, Oct 05, 2006 at 06:27:34PM CEST]: > > > I am in the process of setting up nagios for monitoring key services in our > > network setup. I have already tested and used the email method of sending > > notifications using Sendmail as my relay host. I would be grateful if I get > > some pointers for sending notifications using SMS to a cell number, in case > > of service failures and recoveries. I went through the nagios docs. They > > have mentioned quite a few options for using SMS as a notification method. > > But it seems that one needs to subscribe to the services of a service > > provider to use any of those options. And the service provider should be > > providing services in your country/location. Is it possible to use this > > notification without subscribing to any specific paid service ? > > > > I am extremely sorry if this question has already been answered before. We are using yaps to send sms notifications via ISDN to cell phones. Regards Frank -- There's never time to do it right, but there's always time to do it over. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From LEHMANJ at us.panasonic.com Thu Oct 5 22:15:31 2006 From: LEHMANJ at us.panasonic.com (Lehman, John) Date: Thu, 5 Oct 2006 16:15:31 -0400 Subject: Failover configuration - "no output" Message-ID: Let me start off saying that I am sorry this is so long but I wanted to include all of the necessary information: OK. I am going absolutley crazy at this point. I am getting "no output" as a result of the following configuration for Nagios "failover" as defined in the manual. The following is a file I have created called failover.cfg #################### Host Group Listing ################ define hostgroup{ hostgroup_name Nagios_Master alias Nagios-Master contact_groups Emails_to_GNPC_Staff members Nagios-Master } ################### Host Denfinition Listing ################# # Generic host definition template define host{ name generic-host10 ; The name of this host template - referenced in other host definitions, used for template recursion/resolution check_command check-nagios max_check_attempts 10 notification_interval 10 notification_period 24x7 notification_options d,r notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host{ use generic-host10 ; Name of host template to use host_name Nagios-Master alias Nagios Master address 10.130.4.80 } ################### Service Denfinition Listing ################# # Generic service definition template define service{ name generic-service10 ; The 'name' of this service template, referenced in other service definitions service_description NAGIOS is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups Emails_to_GNPC_Staff notification_interval 15 notification_period 24x7 notification_options c,r check_command check_nagios active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service{ use generic-service10 host_name Nagios-Master service_description HOST check_command handle-master-host-event normal_check_interval 5 notification_interval 5 } define service{ use generic-service10 host_name Nagios-Master service_description PROCESS check_command handle-master-proc-event normal_check_interval 5 notification_interval 5 } HERE is the command definitions defined in checkcommands.cfg define command{ command_name handle-master-host-event command_line /usr/lib/nagios/plugins/eventhandlers/redundancy-scenario1/handle-master -host-event $HOSTSTATE$ $STATETYPE$ } define command{ command_name handle-master-proc-event command_line /usr/lib/nagios/plugins/eventhandlers/redundancy-scenario1/handle-master -proc-event $SERVICESTATE$ $STATETYP E$ } In the nagios.log I have the following: [1159979791] HOST NOTIFICATION: emailuser;Nagios-Master;DOWN;host-notify-by-email;check_nagios: Unknown argument - (null) Here is what I get from the GUI for the service identified above: Nagios-Master HOST OK 10-04-2006 12:39:54 1d 22h 5m 17s 1/3 (No output!) PROCESS CRITICAL 10-04-2006 12:41:26 1d 22h 8m 41s 1/3 (No output!) hope that this helps someone point me in the right direction. This the dir and file contents for handle-master-host-event /usr/lib/nagios/plugins/eventhandlers/redundancy-scenario1/handle-master -host-event #!/bin/sh # REDUNDANCY EVENT HANDLER SCRIPT # Written By: Ethan Galstad (nagios at nagios.org) # Last Modified: 02-18-2002 # # This is an example script for implementing redundancy. # Read the HTML documentation on redundant monitoring for more # information on what this does. # Location of the echo and mail commands echocmd="/bin/echo" mailcmd="/bin/mail" # Location of the event handlers eventhandlerdir="/usr/lib/nagios/plugins/eventhandlers" # Only take action on hard host states... case "$2" in HARD) case "$1" in DOWN) # The master host has gone down! # We should now become the master host and take # over the responsibilities of monitoring the # network, so enable notifications... `$eventhandlerdir/enable_notifications` # Notify someone of what has happened with the original # master server and our taking over the monitoring # responsibilities. No one was notified of the master # host going down, since the notification would have # occurred while we were in standby mode, so this is a good idea... #`$echocmd "Master Nagios host is down!" | /bin/mail -s "Master Nagios Host Is Down" admin at somedomain.com` #`$echocmd "Slave Nagios host has entered ACTIVE mode and taken over network monitoring responsibilities!" | $mailcmd -s "Slave Nagios Host Has Entered ACTIVE Mode" admin at somedomain.com` ;; UP) # The master host has recovered! # We should go back to being the slave host and # let the master host do the monitoring, so # disable notifications... `$eventhandlerdir/disable_notifications` # Notify someone of what has happened. Users were # already notified of the master host recovery because we # were in active mode at the time the recovery happened. # However, we should let someone know that we're switching # back to standby mode... #`$echocmd "The master Nagios host has recovered, so the slave Nagios host has returned to standby mode..." | $mailcmd -s "Slave Nagios Host Has Returned To STANDBY Mode" admin at somedomain.com` ;; esac ;; esac exit 0 I am fairly new so "any" advice is appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Fri Oct 6 00:51:14 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Fri, 6 Oct 2006 08:51:14 +1000 Subject: Ubuntu Server + Nagios 2.5 Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6ABE77B4@mail01.ccia.local> When you deploy Debian Sarge with Nagios 2.5, do you build it in the 'Debain way' ? That is, does your 2.5 use the same folder location and config location as earlier Nagios version ? Matthew Joyce 02 9382 0051 | 0412 309745 | IT Manager | Children's Cancer Institute Australia for Medical Research > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Thibault Genessay > Sent: Wednesday, 4 October 2006 5:13 PM > To: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Ubuntu Server + Nagios 2.5 > > Hi > > Matthew Joyce wrote: > > > > I use Nagios 1.3 (mysql) on Debian Sarge, and I thought I would try > > Ubuntu Server 6.03. > > > > I'd rather hoped Ubuntu would have a Nagios v2.5 package but it > > doesn't, still 1.3. > > Debian is a cool distro but packages are sometimes very old ... > > > > Does anyone have instructions to installed v2.5 on either > Debian Sarge > > or Ubuntu Server ? > > From source is the way to go ! > Our production servers use Debian Sarge with 2.5; we deploy > Nagios manually. But unless your setup is huge this is not > too complicated. > Anyway you will have to work quite a lot to upgrade your > configuration from 1.x to 2.x, so compiling & installing > Nagios will be almost an insignificant task. Use the doc at > http://nagios.sourceforge.net/docs/2_0/toc.html, section 'installing'. > > Regards > > -- > Thibault GENESSAY > ALIADIS > www.aliadis.fr > Tel. +33 4 72 13 90 40 > Fax +33 4 74 22 00 09 > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to > share your opinions on IT & business topics through brief > surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge > &CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tgenessay at aliadis.fr Fri Oct 6 09:05:24 2006 From: tgenessay at aliadis.fr (Thibault Genessay) Date: Fri, 06 Oct 2006 09:05:24 +0200 Subject: Ubuntu Server + Nagios 2.5 In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6ABE77B4@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6ABE77B4@mail01.ccia.local> Message-ID: <45260034.3000502@aliadis.fr> Matthew Joyce wrote: > When you deploy Debian Sarge with Nagios 2.5, do you build it in the > 'Debain way' ? > That is, does your 2.5 use the same folder location and config location > as earlier Nagios version ? No we don't. As a matter of fact, I've tried the Debian package only once on a test machine and I don't remember exactly how the layout was (probably binaries in /usr/bin, configs in /etc/nagios, and so on). I use the default installation which puts everything in /usr/local/nagios as it is, imo, much easier to maintain, everything related to Nagios being at the same place. One downside might be the configuration of the backup procedure: you have to remember to save not only /etc and /var but also /usr/local/nagios/etc and /usr/local/nagios/var. -- Thibault GENESSAY ALIADIS www.aliadis.fr Tel. +33 4 72 13 90 40 Fax +33 4 74 22 00 09 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cdtsly at gmail.com Fri Oct 6 09:32:39 2006 From: cdtsly at gmail.com (cdt sly) Date: Fri, 6 Oct 2006 09:32:39 +0200 Subject: Custom messages in alerts Message-ID: <2aba85de0610060032j7f8b235cl82b5360620c69899@mail.gmail.com> Hi i d like to know if it s possible to have custom message in status.cgi when a service goes down as :"turn that off, change this,or that...." thx -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlongland at grintek.com Fri Oct 6 10:37:33 2006 From: jlongland at grintek.com (John Longland) Date: Fri, 6 Oct 2006 10:37:33 +0200 Subject: SMS notifications to a cell phone Message-ID: <510595ECCFAEFC44941F5EDA4324F275011F9B93@gtmail.grintel.com> -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net]On Behalf Of Andrea Gabellini Sent: 05 October 2006 18:28 To: Yogesh Hasabnis Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SMS notifications to a cell phone http://smstools.meinemullemaus.de/ Yogesh Hasabnis wrote: > Hi All, > > I am in the process of setting up nagios for monitoring key services in our > network setup. I have already tested and used the email method of sending > notifications using Sendmail as my relay host. I would be grateful if I get > some pointers for sending notifications using SMS to a cell number, in case > of service failures and recoveries. I went through the nagios docs. They > have mentioned quite a few options for using SMS as a notification method. > But it seems that one needs to subscribe to the services of a service > provider to use any of those options. And the service provider should be > providing services in your country/location. Is it possible to use this > notification without subscribing to any specific paid service ? > > I am extremely sorry if this question has already been answered before. > > Thanks In Advance > > Yogesh > > Yogesh I can help you to set up SMS'ing with a modem that has a SIM-card in. Obviously there will be costs involved with the SIM-card. Give me ahsout if you want to go that route. JOhn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Fri Oct 6 10:56:33 2006 From: tom at ng23.net (Tom Brown) Date: Fri, 06 Oct 2006 09:56:33 +0100 Subject: SMS notifications to a cell phone In-Reply-To: <452528D1.4090507@us.fujitsu.com> References: <45251533.3060805@Berghold.Net> <452528D1.4090507@us.fujitsu.com> Message-ID: <45261A41.6050207@ng23.net> > I use 'qpage', which drives a direct attach modem, through a dedicated > analog line. > > Most cell phone providers, including Verizon, support using the TAP > protocol to send messages to mobile phones as text messages. > > http://www.qpage.org/ > https://www.vtext.com/customer_site/jsp/aboutservice.jsp yes i should have said - we use qpage to send the page via the modem to the carrier and then they send it off to our pagers. we tried SMS v's pager and prefer pager as they are less easy to sleep through and we found reliability was better - we had too many SMS's just vanish ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lobbin at gmail.com Fri Oct 6 13:56:01 2006 From: lobbin at gmail.com (Robin Ericsson) Date: Fri, 6 Oct 2006 13:56:01 +0200 Subject: small alternative frontend Message-ID: Hi, I'm looking for a small front-end cgi that should be extremely simple. If everything is OK, it should display a green background and say that everything is OK. If warning, it should display an orange background and list services/hosts that are warned. If critical, it should display a red background and list services/hosts with errors and warnings. Is there something like this available? Otherwise I guess it could be wrapped out pretty quick if I get some tips on how :) -- regards, Robin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 6 13:57:53 2006 From: marc at ena.com (Marc Powell) Date: Fri, 6 Oct 2006 06:57:53 -0500 Subject: Custom messages in alerts Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of cdt sly > Sent: Friday, October 06, 2006 2:33 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Custom messages in alerts > > Hi > > i d like to know if it s possible to have custom message in status.cgi > when a service goes down as :"turn that off, change this,or that...." Take a look at host/serviceextinfo definitions. You can specify an external notes_url with more personalized information about the host or service -- http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostextinfo -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jorg.Schulz at systeam.se Fri Oct 6 14:07:41 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Fri, 6 Oct 2006 14:07:41 +0200 Subject: small alternative frontend In-Reply-To: References: Message-ID: Hi Or give this one a try http://noc.hep.wisc.edu/cnagios.html regards /joerg Mvh J?rg Schulz Senior Konsult Linux/Unix/Novell/Windows/Networking SYSteam Kalmar AB Str?mgatan 15 Box 99 S-391 21 Kalmar Direkt 0480-456638 Mobil 0708-157806 E-Post jorg.schulz at systeam.se http://www.systeam.se "Robin Ericsson" Sent by: nagios-users-bounces at lists.sourceforge.net 2006-10-06 13:56 To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] small alternative frontend Hi, I'm looking for a small front-end cgi that should be extremely simple. If everything is OK, it should display a green background and say that everything is OK. If warning, it should display an orange background and list services/hosts that are warned. If critical, it should display a red background and list services/hosts with errors and warnings. Is there something like this available? Otherwise I guess it could be wrapped out pretty quick if I get some tips on how :) -- regards, Robin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lobbin at gmail.com Fri Oct 6 14:17:50 2006 From: lobbin at gmail.com (Robin Ericsson) Date: Fri, 6 Oct 2006 14:17:50 +0200 Subject: small alternative frontend In-Reply-To: References: Message-ID: On 10/6/06, Jorg.Schulz at systeam.se wrote: > > Hi > > Or give this one a try > http://noc.hep.wisc.edu/cnagios.html Ohh. Seems nice. I still looking for something like my request though :) -- regards, Robin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Oct 6 15:13:23 2006 From: ae at op5.se (Andreas Ericsson) Date: Fri, 06 Oct 2006 15:13:23 +0200 Subject: Delay hostchecks? In-Reply-To: <200610042114.33379.pitchfork@ederdrom.de> References: <200610042114.33379.pitchfork@ederdrom.de> Message-ID: <45265673.3030904@op5.se> Joerg Linge wrote: > Am Mittwoch, 4. Oktober 2006 20:55 schrieb Fredrik V?cks: >> Hello, >> >> Is it possible to delay hostchecks until after you've done all retries >> stated in the service defintion? If for example a service check fails once >> Nagios will immediately start doing hostchecks. This is not very good >> because a short reboot/power failure/ etc will make Nagios send alarms >> about host being down. Especially bad is this during weekend when people >> are hired to monitor and get these kind of alarms in the middle of the >> night. > [...] > > There will be a new Option in nagios 3.x called first_notification_delay for > Hosts and Services. > The patch was submitted to Nagios 2 and should be available somehwere in the mailing-list archives. The patch submitters name is Mathias Sundman. We use it in production for all our customers. Although not many use the feature, we haven't had any bug-reports regarding the patch, so I assume it's safe to use. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Oct 6 15:16:48 2006 From: ae at op5.se (Andreas Ericsson) Date: Fri, 06 Oct 2006 15:16:48 +0200 Subject: holidays In-Reply-To: References: Message-ID: <45265740.3000405@op5.se> Bart van Daal wrote: > Hi list, > > > i've been searching around for a way to define holidays in nagios. The > object is > to be able to use a 24-7 timeperiod on holidays (e.g. 25 december) and > the Tech_hours > timeperiod on 'normal' days: > afaik, there are no solutions for this inside Nagios. Most people who need this desperately enough have implemented the functionality in the notification-script. I believe the reason no solution has been posted online is that whatever solution is used isn't sharable across national borders. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tgenessay at aliadis.fr Fri Oct 6 15:37:06 2006 From: tgenessay at aliadis.fr (Thibault Genessay) Date: Fri, 06 Oct 2006 15:37:06 +0200 Subject: holidays In-Reply-To: <45265740.3000405@op5.se> References: <45265740.3000405@op5.se> Message-ID: <45265C02.4060808@aliadis.fr> Andreas Ericsson wrote: > Bart van Daal wrote: >> Hi list, >> >> >> i've been searching around for a way to define holidays in nagios. The >> object is >> to be able to use a 24-7 timeperiod on holidays (e.g. 25 december) and >> the Tech_hours >> timeperiod on 'normal' days: >> > > afaik, there are no solutions for this inside Nagios. Most people who > need this desperately enough have implemented the functionality in the > notification-script. I believe the reason no solution has been posted > online is that whatever solution is used isn't sharable across national > borders. > Yep, Nagios did not help us for that so we have implemented it in a custom notification script. In fact, Nagios is configured for everything in 24x7 notification periods, and the script does the filtering, so Nagios ignores whether any notification is actually sent. This might seem uncomfortable, but we've been using this technique for quite a long time now and no problem ever arouse from it. Here is a snippet from our Python notification script, if it can help you write your own. Please note that the holidays are the french ones, you'll need to add/remove yours, depending on your country. #!/usr/bin/python # Algorithm: http://smart.net/~mmontes/oudin.html def getEasterDate(year): century = year/100 G = year % 19 K = (century - 17)/25 I = (century - century/4 - (century - K)/3 + 19*G + 15) % 30 I = I - (I/28)*(1 - (I/28)*(29/(I + 1))*((21 - G)/11)) J = (year + year/4 + I + 2 - century + century/4) % 7 L = I - J EasterMonth = 3 + (L + 40)/44 EasterDay = L + 28 - 31*(EasterMonth/4) return time.mktime([year, EasterMonth, EasterDay, 0, 0, 0, 0, 0, -1]) def getPublicHolidays(year): easter = getEasterDate(year) day = 3600*24 days = [] # lundi de paques days.append(easter + day) # ascension days.append(easter + 39*day) # vendredi saint (alsace, suisse) ## days.append(time.gmtime(easter - 2*day)) # lundi de pentecote days.append(easter + 50*day) # fetes fixes days.append(time.mktime([year,1,1,1,0,0,0,0,-1])) # jour de l'an days.append(time.mktime([year,5,1,1,0,0,0,0,-1])) # fete du travail days.append(time.mktime([year,5,8,1,0,0,0,0,-1])) # armistice 39-45 days.append(time.mktime([year,7,14,1,0,0,0,0,-1])) # fete nationale days.append(time.mktime([year,8,15,1,0,0,0,0,-1])) # assomption days.append(time.mktime([year,11,1,1,0,0,0,0,-1])) # toussaint days.append(time.mktime([year,11,11,1,0,0,0,0,-1])) # armistice 14-48 days.append(time.mktime([year,12,25,1,0,0,0,0,-1])) # noel return days if name == '__main__': [...] holidays = getPublicHolidays(thisyear) curtime = time.localtime() # a struct_time with year/month/mday/H/M/S/yday/wday/dst curtimets = time.time() # a UNIX timestamp is_holiday = False holidays = getPublicHolidays(curtime.tm_year) dayspan = 3600*24; for day in holidays: if curtimets >= day and curtimets < day+dayspan: is_holiday = True #damn break # Now you can do whatever you want with your message: decide to send it or not based on the value of is_holiday. -- Thibault GENESSAY ALIADIS www.aliadis.fr Tel. +33 4 72 13 90 40 Fax +33 4 74 22 00 09 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthias.eble at mailing.kaufland-informationssysteme.com Fri Oct 6 16:01:31 2006 From: matthias.eble at mailing.kaufland-informationssysteme.com (Matthias Eble) Date: Fri, 06 Oct 2006 16:01:31 +0200 Subject: holidays In-Reply-To: <45265740.3000405@op5.se> References: <45265740.3000405@op5.se> Message-ID: <452661BB.9040103@mailing.kaufland-informationssysteme.com> Andreas Ericsson schrieb: > Bart van Daal wrote: >> Hi list, >> >> >> i've been searching around for a way to define holidays in nagios. The >> object is >> to be able to use a 24-7 timeperiod on holidays (e.g. 25 december) and >> the Tech_hours >> timeperiod on 'normal' days: >> > > afaik, there are no solutions for this inside Nagios. Most people who > need this desperately enough have implemented the functionality in the > notification-script. I believe the reason no solution has been posted > online is that whatever solution is used isn't sharable across national > borders. > Hi, I think Ethan announced this on the Nagios Conference as a new feature of 3.0. But I'm not shure if it's for 3.0 since it isn't mentioned in the slides. In a later version timeperiods can be defined on special date basis. I think it was like define timeperiod{ timeperiod_name 24x7 alias ever monday 00:00-24:00 tuesday 00:00-24:00 ... 2006-12-25 10:00-17:00 } matthias ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frcaen at gmail.com Fri Oct 6 19:15:12 2006 From: frcaen at gmail.com (Francois Caen) Date: Fri, 6 Oct 2006 10:15:12 -0700 Subject: yum install nagios In-Reply-To: References: <238d88e30610011846j6a4aa8d9wa7b2f61dcece0fa5@mail.gmail.com> Message-ID: <58cfe2840610061015g125baf78m47b590c0473ba868@mail.gmail.com> On 10/2/06, Ugo Bellavance wrote: > I wrote to the packager (dag wieers) and he told me that the defauld is > broken in the source. Dag's RPMs are great if you use RHEL/CentOS. Which you should for server stuff like nagios. But since the OP mentionned Fedora, I'd recommend you get the nagios RPM from Fedora Extras. -- Francois Caen, RHCE, CCNA SpiderMaker, LLC ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri Oct 6 22:22:29 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 6 Oct 2006 22:22:29 +0200 (CEST) Subject: holidays In-Reply-To: <452661BB.9040103@mailing.kaufland-informationssysteme.com> References: <45265740.3000405@op5.se> <452661BB.9040103@mailing.kaufland-informationssysteme.com> Message-ID: On Fri, 6 Oct 2006, Matthias Eble wrote: > Andreas Ericsson schrieb: > > Bart van Daal wrote: > >> > >> i've been searching around for a way to define holidays in nagios. The > >> object is > >> to be able to use a 24-7 timeperiod on holidays (e.g. 25 december) and > >> the Tech_hours > >> timeperiod on 'normal' days: > > > > afaik, there are no solutions for this inside Nagios. Most people who > > need this desperately enough have implemented the functionality in the > > notification-script. I believe the reason no solution has been posted > > online is that whatever solution is used isn't sharable across national > > borders. > > In a later version timeperiods can be defined on special date basis. > > I think it was like > > define timeperiod{ > timeperiod_name 24x7 > alias ever > monday 00:00-24:00 > tuesday 00:00-24:00 > ... > 2006-12-25 10:00-17:00 > } To the best of my knowledge something like this is very much workable across borders. It is the local admin which defines the periods. The way it can be defined can be used anywhere in the world. I think both single date and repeating date entries are required to finish the job. Something like: monday 00:00-07:30 12-05 00:00-24:00 (Sinterklaas indeed ;-) 2007-04-09 00:00-24:00 (Next year Easter eggs) Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bret.Goodfellow at questar.com Sat Oct 7 00:28:56 2006 From: Bret.Goodfellow at questar.com (Bret Goodfellow) Date: Fri, 6 Oct 2006 16:28:56 -0600 Subject: check_oracle plugin returns - CRITICAL - ORA-12154: TNS: count not resolve service name Message-ID: <91EDB00F83BAD443A9D05FA67623955A862972@QMAIL.corp.questar.com> My Nagios server is returning this error when executing the check_by_ssh plugin, which also includes the check_oracle plugin. Here's the scenario. I have a remote server, called olympus, that is running Oracle 9.2.0.6. I want to be able to monitor tablespace size using the check_oracle plugin. I have copied the check_oracle plugin to the remote server, olympus, and have successfully run the plugin on olympus. When I run the check_oracle plugin I am logged in as nagios. e.g. nagios at olympus:~> /usr/local/nagios/libexec/check_oracle --tablespace mwmt01 nagios password TS01 98 96 mwmt01 : TS01 OK - 18.80% used [ 487 / 600 MB available ]|TS01=18.80%;96;98;0;100 nagios at olympus:~> This is what I expected. Now, from my Nagios Server, dev02, I would like to be able to monitor the oracle tablespace on olympus. I first tested ssh by executing the following command from dev02: dev02: # su - nagios nagios at dev02:~> ssh -i /usr/local/nagios/.ssh/id_dsa olympus "/usr/local/nagios/libexec/check_oracle --tablespace mwmt01 nagios password TS01 98 96" mwmt01 : TS01 OK - 18.80% used [ 487 / 600 MB available ]|TS01=18.80%;96;98;0;100 nagios at dev02:~> As you can see, I can ssh from my Nagios server and have it execute the check_oracle plugin on olympus. Everything is good so far. My goal is to to setup Nagios to run this. I now want to check the tabespace on olympus by using the Nagios plugin: check_by_ssh. Below is the command that is executed on dev02 : nagios at dev02:~> /usr/local/nagios/libexec/check_by_ssh -H olympus -i /usr/local/nagios/.ssh/id_dsa -C "/usr/local/nagios/libexec/check_oracle --tablespace mwmt01 nagios password TS01 98 96" CRITICAL - ORA-12154: TNS:could not resolve service name nagios at dev02:~> The last 2 commands are both run from the Nagios Server. Why doesn't the check_by_ssh work, yet the native ssh command does work? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.tuecks at computacenter.com Sat Oct 7 03:00:27 2006 From: daniel.tuecks at computacenter.com (daniel.tuecks at computacenter.com) Date: Sat, 7 Oct 2006 03:00:27 +0200 Subject: action_url2 in your host/serviceext info Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From az at whoever.org Sat Oct 7 07:11:07 2006 From: az at whoever.org (Az) Date: Sat, 07 Oct 2006 15:11:07 +1000 Subject: small alternative frontend In-Reply-To: References: Message-ID: <452736EB.9@whoever.org> Robin Ericsson wrote: > I'm looking for a small front-end cgi that should be extremely simple. > > ... > > Is there something like this available? Otherwise I guess it could be > wrapped out pretty quick if I get some tips on how :) Have a look on Nagios Exchange. There are a number of alternative front ends, and packages to help you roll your own. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lobbin at gmail.com Sat Oct 7 12:19:17 2006 From: lobbin at gmail.com (Robin Ericsson) Date: Sat, 7 Oct 2006 12:19:17 +0200 Subject: small alternative frontend In-Reply-To: <452777DD.5050103@intersaar.de> References: <452777DD.5050103@intersaar.de> Message-ID: On 10/7/06, Markus Klahm wrote: > Hello, Hi. > in NagiosExchange there is a really small Python script called Nagios > Small Screen. I use it to display only the warning and critical states > on an PDA. It works very well and I think there will be no Problem to > implement the little feature with the colours. I found it myself a few hours ago. I didn't even think of check the format of status.dat, so I guess it will be pretty easy to wrap up something like I want. Thanks for all the tips so far. -- regards, Robin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.klahm at intersaar.de Sat Oct 7 11:48:13 2006 From: m.klahm at intersaar.de (Markus Klahm) Date: Sat, 07 Oct 2006 11:48:13 +0200 Subject: small alternative frontend In-Reply-To: References: Message-ID: <452777DD.5050103@intersaar.de> Hello, in NagiosExchange there is a really small Python script called Nagios Small Screen. I use it to display only the warning and critical states on an PDA. It works very well and I think there will be no Problem to implement the little feature with the colours. Regards Markus Robin Ericsson wrote: > Hi, > > I'm looking for a small front-end cgi that should be extremely simple. > > If everything is OK, it should display a green background and say that > everything is OK. > If warning, it should display an orange background and list > services/hosts that are warned. > If critical, it should display a red background and list > services/hosts with errors and warnings. > > Is there something like this available? Otherwise I guess it could be > wrapped out pretty quick if I get some tips on how :) > > -- > regards, > Robin > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fsfalanga at vrcoffl.com Sat Oct 7 13:51:20 2006 From: fsfalanga at vrcoffl.com (Frank Sfalanga) Date: Sat, 07 Oct 2006 07:51:20 -0400 Subject: check_mailq Message-ID: <452794B8.9080207@vrcoffl.com> I've installed and am configuring Nagios v1.3 on Ubuntu server. I used "apt-get install nagios" and the majority of setup was done for me. I have a qmail server and I'm trying to get the check_mailq plugin to work. So far all I'm getting is: ERROR: is not executable by (uid 109:gid(109 109)) #./check_mailq -h reveals this: This plugin uses the system mailq command (sendmail) or qmail-stat (qmail) to look at the queues. Mailq can usually only be accessed by root or a TrustedUser. You will have to set appropriate permissions for the plugin to work. I've tried setting /usr/sbin/sendmail SUID I've tried setting /usr/lib/nagios/pluggins/check_mailq SUID The nagios process is running as user "nagios" Should I set "nagios" as a TrustedUser? Does this mean the qmail server needs a TrustedUser added (nagios I assume)? Please help. Anything you got would be greatly appreciated. Thanks, Frank ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Oct 7 15:23:57 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 7 Oct 2006 15:23:57 +0200 (CEST) Subject: check_mailq In-Reply-To: <452794B8.9080207@vrcoffl.com> References: <452794B8.9080207@vrcoffl.com> Message-ID: On Sat, 7 Oct 2006, Frank Sfalanga wrote: > I've installed and am configuring Nagios v1.3 on Ubuntu server. I used > "apt-get install nagios" and the majority of setup was done for me. I > have a qmail server and I'm trying to get the check_mailq plugin to > work. So far all I'm getting is: > > ERROR: is not executable by (uid 109:gid(109 109)) > > #./check_mailq -h reveals this: > > This plugin uses the system mailq command (sendmail) or qmail-stat > (qmail) to look at the queues. Mailq can usually only be accessed by > root or a TrustedUser. You will have to set appropriate permissions for > the plugin to work. > > I've tried setting /usr/sbin/sendmail SUID > I've tried setting /usr/lib/nagios/pluggins/check_mailq SUID > > The nagios process is running as user "nagios" > > Should I set "nagios" as a TrustedUser? Does this mean the qmail server > needs a TrustedUser added (nagios I assume)? Please help. Oddly enough the answer is in fact in your own email. Setting thing SUID without carefull consideration is not good and will not quite work the way you think. You need to trust your nagios user to check the queues. Assuming that that nagios user has UID 109 and GID 109. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sfeng at Stanford.EDU Sat Oct 7 17:06:45 2006 From: sfeng at Stanford.EDU (Xueshan Feng) Date: Sat, 7 Oct 2006 08:06:45 -0700 Subject: Nagios status log stale? In-Reply-To: References: <452777DD.5050103@intersaar.de> Message-ID: <1160233605.4527c28591547@webmail.stanford.edu> I started using master/slave nagios server setup a few days ago. Initially I set up aging threshold to 5 minutes, then slave would take over too often. Now I set the threshold to 20 minutes, occasionally the test still fail: NAGIOS WARNING: 13 processes, status log updated 1308 seconds ago And 5 minutes later the check will be happy again because the log was updated. I was wondering which log check_nagios checks? status.dat, or nagios.log? Nagios.log doesn't appear to have more than 20 minutes idle time, and it shouldn't, for a server monitoring hundres of machines and thousands of services on them. Anyone else experienced similar issue? Thanks, Xueshan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sjaaknabuurs at citytower.com Sat Oct 7 17:14:50 2006 From: sjaaknabuurs at citytower.com (Sjaak Nabuurs) Date: Sat, 07 Oct 2006 17:14:50 +0200 Subject: check_mailq In-Reply-To: References: <452794B8.9080207@vrcoffl.com> Message-ID: <4527C46A.9040605@citytower.com> Maybe just add this line in /etc/sudoers with visudo nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/ I used this with Fedora4 Good luck > On Sat, 7 Oct 2006, Frank Sfalanga wrote: > > >>I've installed and am configuring Nagios v1.3 on Ubuntu server. I used >>"apt-get install nagios" and the majority of setup was done for me. I >>have a qmail server and I'm trying to get the check_mailq plugin to >>work. So far all I'm getting is: >> >>ERROR: is not executable by (uid 109:gid(109 109)) >> >>#./check_mailq -h reveals this: >> >> This plugin uses the system mailq command (sendmail) or qmail-stat >>(qmail) to look at the queues. Mailq can usually only be accessed by >>root or a TrustedUser. You will have to set appropriate permissions for >>the plugin to work. >> >>I've tried setting /usr/sbin/sendmail SUID >>I've tried setting /usr/lib/nagios/pluggins/check_mailq SUID >> >>The nagios process is running as user "nagios" >> >>Should I set "nagios" as a TrustedUser? Does this mean the qmail server >>needs a TrustedUser added (nagios I assume)? Please help. > > > Oddly enough the answer is in fact in your own email. Setting thing SUID > without carefull consideration is not good and will not quite work the way > you think. > > You need to trust your nagios user to check the queues. Assuming that that > nagios user has UID 109 and GID 109. > > Hugo. > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Sun Oct 8 11:31:36 2006 From: ampranti at gmail.com (Brandino Andreas) Date: Sun, 8 Oct 2006 12:31:36 +0300 Subject: nagiso compilation parameters Message-ID: <741218593.20061008123136@gmail.com> Hi list, is any way to find the parameters that nagios compiled on a system? I want to find out if is compiled with hostextentedinfo support or not. Regards <> --- - - - --- <> Brandino Andreas ampranti at gmail.com <> --- - - - --- <> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dubrowin.35277514 at bloglines.com Sun Oct 8 17:23:57 2006 From: dubrowin.35277514 at bloglines.com (dubrowin.35277514 at bloglines.com) Date: 8 Oct 2006 15:23:57 -0000 Subject: SNMP checking for IBM Bladecenters Message-ID: <1160321037.2589686356.3602.sendItem@bloglines.com> I'm trying to get the Nagios Exchange plugin: SNMP checking for IBM Bladecenters but it's giving me a perl error. It says it can't find utils.pm in @INC. I installed GO::Utils from CPAN, but I'm still getting the error. I'm wondering if anyone can point me in the right direction to fix this, or if the originator of this plugin is on the list and can offer me some advice. Thanx. Shlomo D ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Oct 8 17:46:14 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 8 Oct 2006 17:46:14 +0200 (CEST) Subject: SNMP checking for IBM Bladecenters In-Reply-To: <1160321037.2589686356.3602.sendItem@bloglines.com> References: <1160321037.2589686356.3602.sendItem@bloglines.com> Message-ID: On Sun, 8 Oct 2006, dubrowin.35277514 at bloglines.com wrote: > I'm trying to get the Nagios Exchange plugin: > > SNMP checking for IBM Bladecenters > > but it's giving me a perl error. It says it can't find utils.pm in @INC. > I installed GO::Utils from CPAN, but I'm still getting the error. I'm wondering > if anyone can point me in the right direction to fix this, or if the originator > of this plugin is on the list and can offer me some advice. Thanx. Seems you are missing vital parts of Nagios. $ locate utils.pm /usr/lib/nagios/plugins/utils.pm So you are missing utils.pm in your plugins directory. Go get the standard plugins first. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dubrowin.35277514 at bloglines.com Sun Oct 8 18:01:17 2006 From: dubrowin.35277514 at bloglines.com (dubrowin.35277514 at bloglines.com) Date: 8 Oct 2006 16:01:17 -0000 Subject: SNMP checking for IBM Bladecenters Message-ID: <1160323277.2383857821.16627.sendItem@bloglines.com> AH OK I not running the plugin out of the plugin directory, I was just trying to play with it in a temporary area. That was the piece I was missing. Thanx. Shlomo --- Nagios Users mailinglist > > I'm trying to get the Nagios Exchange plugin: > > > > SNMP checking for IBM Bladecenters > > > > but it's giving me a perl error. It says it can't find utils.pm in @INC. > > I installed GO::Utils from CPAN, but I'm still getting the error. I'm wondering > > if anyone can point me in the right direction to fix this, or if the originator > > of this plugin is on the list and can offer me some advice. Thanx. > > Seems you are missing vital parts of Nagios. > > $ locate utils.pm > /usr/lib/nagios/plugins/utils.pm > > So you are missing utils.pm in your plugins directory. Go get the standard > plugins first. > > Hugo. > > -- > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > This message is using 100% recycled electrons. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fsfalanga at vrcoffl.com Sun Oct 8 19:12:15 2006 From: fsfalanga at vrcoffl.com (Frank Sfalanga) Date: Sun, 08 Oct 2006 13:12:15 -0400 Subject: check_mailq In-Reply-To: References: <452794B8.9080207@vrcoffl.com> Message-ID: <4529316F.5060804@vrcoffl.com> Hugo van der Kooij wrote: > On Sat, 7 Oct 2006, Frank Sfalanga wrote: > >> I've installed and am configuring Nagios v1.3 on Ubuntu server. I used >> "apt-get install nagios" and the majority of setup was done for me. I >> have a qmail server and I'm trying to get the check_mailq plugin to >> work. So far all I'm getting is: >> >> ERROR: is not executable by (uid 109:gid(109 109)) >> >> #./check_mailq -h reveals this: >> >> This plugin uses the system mailq command (sendmail) or qmail-stat >> (qmail) to look at the queues. Mailq can usually only be accessed by >> root or a TrustedUser. You will have to set appropriate permissions for >> the plugin to work. >> >> I've tried setting /usr/sbin/sendmail SUID >> I've tried setting /usr/lib/nagios/pluggins/check_mailq SUID >> >> The nagios process is running as user "nagios" >> >> Should I set "nagios" as a TrustedUser? Does this mean the qmail server >> needs a TrustedUser added (nagios I assume)? Please help. > > Oddly enough the answer is in fact in your own email. Setting thing SUID > without carefull consideration is not good and will not quite work the way > you think. > > You need to trust your nagios user to check the queues. Assuming that that > nagios user has UID 109 and GID 109. > > Hugo. > Hugo, thank you very much for your response. I only changed them to SUID for testing purposes and then changed them back immediately. Yes SUID == BAD, agreed. I might not have been clear. The nagios process is running on a separate dedicated box which I'm using (hopefully) to monitor the queue on my /other/ qmail server. Am I not understanding correctly? I thought that was the purpose of the check_mailq plugin, no? Maybe I need more basic guidance? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fsfalanga at vrcoffl.com Sun Oct 8 19:22:48 2006 From: fsfalanga at vrcoffl.com (Frank Sfalanga) Date: Sun, 08 Oct 2006 13:22:48 -0400 Subject: check_mailq In-Reply-To: <4527C46A.9040605@citytower.com> References: <452794B8.9080207@vrcoffl.com> <4527C46A.9040605@citytower.com> Message-ID: <452933E8.9090900@vrcoffl.com> I've edited the sudoers file using visudo and appended this information - it doesn't seem to have made a difference though, unfortunately. Perhaps this plugin will not work the way I'm trying to use it? I'm guessing that this plugin is designed to run on the mail server itself which is running nagios /and/ qmail? An SMTP service for instance is easy to monitor remotely because you can just attempt an SMTP connection to test. Checking the mail queue remotely is maybe not possible? Maybe I'm just missing something? Sjaak Nabuurs wrote: > Maybe just add this line in /etc/sudoers > with visudo > > nagios ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/ > > I used this with Fedora4 > > > Good luck > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Oct 8 21:26:41 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 8 Oct 2006 21:26:41 +0200 (CEST) Subject: check_mailq In-Reply-To: <452933E8.9090900@vrcoffl.com> References: <452794B8.9080207@vrcoffl.com> <4527C46A.9040605@citytower.com> <452933E8.9090900@vrcoffl.com> Message-ID: On Sun, 8 Oct 2006, Frank Sfalanga wrote: > I've edited the sudoers file using visudo and appended this information > - it doesn't seem to have made a difference though, unfortunately. > > Perhaps this plugin will not work the way I'm trying to use it? > > I'm guessing that this plugin is designed to run on the mail server > itself which is running nagios /and/ qmail? > > An SMTP service for instance is easy to monitor remotely because you can > just attempt an SMTP connection to test. > > Checking the mail queue remotely is maybe not possible? Maybe I'm just > missing something? Well, at least you never told anyone you are not trying to monitor the local queue. That makes is quite another ball game. Install the plugin on the qmail server and run it over ssh (with the proper ssh plugin) or install ncsa or so to do the monitoring part on the qmail server. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.tuecks at computacenter.com Sun Oct 8 22:53:19 2006 From: daniel.tuecks at computacenter.com (daniel.tuecks at computacenter.com) Date: Sun, 8 Oct 2006 22:53:19 +0200 Subject: nagiso compilation parameters In-Reply-To: <741218593.20061008123136@gmail.com> References: <741218593.20061008123136@gmail.com> Message-ID: Have a look at your Makefile. I don't think you can get this information from the nagios binary itself. Gruesse - Best regards Daniel Tuecks System Engineer Consulting Services Computacenter AG & Co. oHG Kokkolastrasse 1, 40882 Ratingen, Germany Phone: +49 (0)2102 169-0, Fax: +49 (0)2102 169-1144, Mobil: +49 (0)172 984 98 77 Email: daniel.tuecks at computacenter.com Visit us on the Internet: http://www.computacenter.de Visit our Online-Shop: http://www.computacenter.de/connect This email is confidential. If you are not the intended recipient, you must not disclose or use the information contained in it. If you have received this mail in error, please tell us immediately by return email and delete the document. nagios-users-bounces at lists.sourceforge.net wrote on 08.10.2006 11:31:36: > Hi list, > > is any way to find the parameters that nagios compiled on a system? > I want to find out if is compiled with hostextentedinfo support or > not. > > Regards > > <> --- - - - --- <> > Brandino Andreas > ampranti at gmail.com > <> --- - - - --- <> > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sun Oct 8 23:00:27 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sun, 8 Oct 2006 17:00:27 -0400 Subject: nagiso compilation parameters In-Reply-To: References: Message-ID: > Have a look at your Makefile. I don't think you can get this > information from the nagios binary itself. > > > Hi list, > > > > is any way to find the parameters that nagios compiled on a system? > > I want to find out if is compiled with hostextentedinfo support or > > not. An easier way, if you have access to the source directory it was compiled from, is to look near the top of config.status. That should list all the parameters used to compile it. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Sun Oct 8 23:36:15 2006 From: ampranti at gmail.com (Brandino Andreas) Date: Mon, 9 Oct 2006 00:36:15 +0300 Subject: nagiso compilation parameters In-Reply-To: References: Message-ID: <182693626.20061009003615@gmail.com> The problem is that i installed nagios from (suse) rpm. For some reason nagios doesnt read hostexteinfo.cfg (even when i add this line: cfg_file=/etc/nagios/hostextinfo.cfg to nagios.cfg). hostextinfo configuration is defined somewhere else in version 1.2x ? Thanks Monday, October 9, 2006, 12:00:27 AM, you wrote: >> Have a look at your Makefile. I don't think you can get this >> information from the nagios binary itself. >> >> > Hi list, >> > >> > is any way to find the parameters that nagios compiled on a system? >> > I want to find out if is compiled with hostextentedinfo support or >> > not. > An easier way, if you have access to the source directory it was > compiled from, is to look near the top of config.status. That should > list all the parameters used to compile it. > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null <> --- - - - --- <> Brandino Andreas ampranti at gmail.com <> --- - - - --- <> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Mon Oct 9 01:50:19 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 9 Oct 2006 12:50:19 +1300 Subject: check_mailq In-Reply-To: <452933E8.9090900@vrcoffl.com> References: <452933E8.9090900@vrcoffl.com> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A234A9A4@UXCHANGE3.UoA.auckland.ac.nz> > I'm guessing that this plugin is designed to run on the mail server > itself which is running nagios /and/ qmail? Yes. > Checking the mail queue remotely is maybe not possible? > Maybe I'm just missing something? Run it remotely via NRPE. That's what we do. Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sjaaknabuurs at citytower.com Mon Oct 9 06:13:14 2006 From: sjaaknabuurs at citytower.com (Sjaak Nabuurs) Date: Mon, 09 Oct 2006 06:13:14 +0200 Subject: Restart with external command Message-ID: <4529CC5A.7050708@citytower.com> Hello Is there a reload command in external commands ? If I use the RESTART_PROGRAM this restarts completly and lossing the information set by nagios cmd.cgi. Any tips or tricks apreciated. Running nagios 2.5 on FreeBSD 5.3 Thanks Sjaak ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sfeng at Stanford.EDU Mon Oct 9 06:51:56 2006 From: sfeng at Stanford.EDU (Xueshan Feng) Date: Sun, 8 Oct 2006 21:51:56 -0700 Subject: Nagios status log stale? In-Reply-To: <1160233605.4527c28591547@webmail.stanford.edu> References: <452777DD.5050103@intersaar.de> <1160233605.4527c28591547@webmail.stanford.edu> Message-ID: <1160369516.4529d56c1d4a3@webmail.stanford.edu> Quoting Xueshan Feng : > > I started using master/slave nagios server setup a few days ago. > Initially > I set up aging threshold to 5 minutes, then slave would take over too > often. > Now I set the threshold to 20 minutes, occasionally the test still fail: > > NAGIOS WARNING: 13 processes, status log updated 1308 seconds ago > > And 5 minutes later the check will be happy again because the log was > updated. I was wondering which log check_nagios checks? status.dat, or > nagios.log? I think I figured out this one. The nagios log only changes if there is a host/service problem or a recovery of a previous problem. So it is normal if nagios log doesn't change if no news. Xueshan -- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Oct 9 07:29:13 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 9 Oct 2006 07:29:13 +0200 (CEST) Subject: nagiso compilation parameters In-Reply-To: <182693626.20061009003615@gmail.com> References: <182693626.20061009003615@gmail.com> Message-ID: On Mon, 9 Oct 2006, Brandino Andreas wrote: > The problem is that i installed nagios from (suse) rpm. For some reason > nagios doesnt read hostexteinfo.cfg (even when i add this line: > cfg_file=/etc/nagios/hostextinfo.cfg to nagios.cfg). > > hostextinfo configuration is defined somewhere else in version 1.2x ? Ouch. You are still running 1.2? I think it is time you get a wee bit more recent version since you still seem to be in the setup stage. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Mon Oct 9 11:09:12 2006 From: ampranti at gmail.com (Brandino Andreas) Date: Mon, 9 Oct 2006 12:09:12 +0300 Subject: nagiso compilation parameters In-Reply-To: References: <182693626.20061009003615@gmail.com> Message-ID: <6610112690.20061009120912@gmail.com> Yes, i dont like v1.2 too. However, suse provides only 1.2 rpms and as everyone wants the server to have only rpms i have to stuck with v1.2 I hope suse release rpm for v2 some day! Is there any other reason why nagios ignore hostextinfo? Regards Monday, October 9, 2006, 8:29:13 AM, you wrote: > On Mon, 9 Oct 2006, Brandino Andreas wrote: >> The problem is that i installed nagios from (suse) rpm. For some reason >> nagios doesnt read hostexteinfo.cfg (even when i add this line: >> cfg_file=/etc/nagios/hostextinfo.cfg to nagios.cfg). >> >> hostextinfo configuration is defined somewhere else in version 1.2x ? > Ouch. You are still running 1.2? I think it is time you get a wee bit more > recent version since you still seem to be in the setup stage. > Hugo. <> --- - - - --- <> Brandino Andreas ampranti at gmail.com <> --- - - - --- <> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Sun Oct 8 11:36:39 2006 From: ampranti at gmail.com (Brandino Andreas) Date: Sun, 8 Oct 2006 12:36:39 +0300 Subject: different notifications to same person Message-ID: <269078643.20061008123639@gmail.com> Hi list, is there any way to change the way i notify a specific person during date? Do i have to define two contacts for the same person with different notifications? Is there any other way to do? Thank you <> --- - - - --- <> Brandino Andreas ampranti at gmail.com <> --- - - - --- <> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Mon Oct 9 11:17:21 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 9 Oct 2006 11:17:21 +0200 Subject: nagiso compilation parameters In-Reply-To: <6610112690.20061009120912@gmail.com> References: <182693626.20061009003615@gmail.com> <6610112690.20061009120912@gmail.com> Message-ID: On 9 Oct, 2006, at 11:09, Brandino Andreas wrote: > Yes, i dont like v1.2 too. > However, suse provides only 1.2 rpms and as everyone wants the server > to have only rpms i have to stuck with v1.2 You _could_ do that... Or you could build your own 2.x RPM... It really isn't that much work and this way you'll be up to speed as well :) If you like, I could write a small tutorial on building a Nagios RPM... Also, IIRC Ethan already includes the requisite .SPEC file to build a vanilla RPM package with the Nagios source code. Cheers! Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmathieu at siris.sorbonne.fr Mon Oct 9 11:57:30 2006 From: bmathieu at siris.sorbonne.fr (basile) Date: Mon, 09 Oct 2006 11:57:30 +0200 Subject: CHECK_NRPE: Socket timeout after 10 seconds. Message-ID: <452A1D0A.9080507@siris.sorbonne.fr> hi i use nrpe with success but 2 or 3 time a day i have this error with the nrpe daemon : CHECK_NRPE: Socket timeout after 10 seconds. how can i do for not receiving email when it occurs thanks basile ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fmml at cedval.org Mon Oct 9 14:58:40 2006 From: fmml at cedval.org (Francois Meehan) Date: Mon, 9 Oct 2006 08:58:40 -0400 (EDT) Subject: Monitoring Flash media server... Message-ID: <2915.192.168.41.110.1160398720.squirrel@whoami7.cedval.org> Hi all, Has anyone been successful at monitoring a Flash Media server? I am looking at way to monitor the actual no. of users connected to it and also amount of dropped connections. Regards, Fran?ois ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Mon Oct 9 19:57:26 2006 From: teng at dataway.com (Tedman Eng) Date: Mon, 9 Oct 2006 10:57:26 -0700 Subject: different notifications to same person Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2EE3@dw-mail.dataway.com> Defining two contacts, one for each notification method, is the current accepted way to define different notification schedules for the same person. > -----Original Message----- > From: Brandino Andreas [mailto:ampranti at gmail.com] > Sent: Sunday, October 08, 2006 2:37 AM > To: Nagios-users > Subject: [Nagios-users] different notifications to same person > > > Hi list, > is there any way to change the way i notify a specific person during > date? > Do i have to define two contacts for the same person with different > notifications? Is there any other way to do? > > Thank you > > <> --- - - - --- <> > Brandino Andreas > ampranti at gmail.com > <> --- - - - --- <> > > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the > chance to share your > opinions on IT & business topics through brief surveys -- and > earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge > &CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Mon Oct 9 20:38:11 2006 From: ampranti at gmail.com (Brandino Andreas) Date: Mon, 9 Oct 2006 21:38:11 +0300 Subject: nagiso compilation parameters In-Reply-To: References: <182693626.20061009003615@gmail.com> <6610112690.20061009120912@gmail.com> Message-ID: <1981041420.20061009213811@gmail.com> btw, should i prefer source rpm or just install from source? Is there any howto for installing source on suse? Anyway,if is possible to write the tutorial? :) I think it would be usefull for many out there :) thx Monday, October 9, 2006, 12:17:21 PM, you wrote: > On 9 Oct, 2006, at 11:09, Brandino Andreas wrote: >> Yes, i dont like v1.2 too. >> However, suse provides only 1.2 rpms and as everyone wants the server >> to have only rpms i have to stuck with v1.2 > You _could_ do that... Or you could build your own 2.x RPM... It > really isn't that much work and this way you'll be up to speed as > well :) > If you like, I could write a small tutorial on building a Nagios > RPM... Also, IIRC Ethan already includes the requisite .SPEC file to > build a vanilla RPM package with the Nagios source code. > Cheers! > Thomas > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null <> --- - - - --- <> Brandino Andreas ampranti at gmail.com <> --- - - - --- <> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Mon Oct 9 22:32:30 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 9 Oct 2006 22:32:30 +0200 Subject: nagiso compilation parameters In-Reply-To: <1981041420.20061009213811@gmail.com> References: <182693626.20061009003615@gmail.com> <6610112690.20061009120912@gmail.com> <1981041420.20061009213811@gmail.com> Message-ID: <2F663201-6669-4898-81F1-F1853715BB54@kilala.nl> On 9 Oct, 2006, at 20:38, Brandino Andreas wrote: > btw, should i prefer source rpm or just install from source? Is there > any howto for installing source on suse? Installing from source on Suse should be just about the same as installing from source on any other Linux. So just follow the normal manual. Personally, I prefer using the source to build my own package (RPM, PKG, Deb, and so on). That way: A) I am absolutely sure about how the software was built, and B) I can use the standardized package manager to install the software. > Anyway,if is possible to write the tutorial? :) I think it would > be usefull for many out there :) Well, there are already bunches of RPMbuild tutorials out there on the web, but I'll try and hack something together RSN. There's a few other short tutorials that I still need to write anywho. Cheers! Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Mon Oct 9 23:00:11 2006 From: ampranti at gmail.com (Brandino Andreas) Date: Tue, 10 Oct 2006 00:00:11 +0300 Subject: nagiso compilation parameters In-Reply-To: <2F663201-6669-4898-81F1-F1853715BB54@kilala.nl> References: <182693626.20061009003615@gmail.com> <6610112690.20061009120912@gmail.com> <1981041420.20061009213811@gmail.com> <2F663201-6669-4898-81F1-F1853715BB54@kilala.nl> Message-ID: <775487233.20061010000011@gmail.com> I think installing source on suse will have many differences from installing source on debian ;) I will try and see what i can do If u can write the tutorial will be excellent ;) Monday, October 9, 2006, 11:32:30 PM, you wrote: > On 9 Oct, 2006, at 20:38, Brandino Andreas wrote: >> btw, should i prefer source rpm or just install from source? Is there >> any howto for installing source on suse? > Installing from source on Suse should be just about the same as > installing from source on any other Linux. So just follow the normal > manual. > Personally, I prefer using the source to build my own package (RPM, > PKG, Deb, and so on). That way: > A) I am absolutely sure about how the software was built, and > B) I can use the standardized package manager to install the software. >> Anyway,if is possible to write the tutorial? :) I think it would >> be usefull for many out there :) > Well, there are already bunches of RPMbuild tutorials out there on > the web, but I'll try and hack something together RSN. There's a few > other short tutorials that I still need to write anywho. > Cheers! > Thomas > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null <> --- - - - --- <> Brandino Andreas ampranti at gmail.com <> --- - - - --- <> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Oct 9 23:17:36 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 9 Oct 2006 23:17:36 +0200 (CEST) Subject: nagiso compilation parameters In-Reply-To: <1981041420.20061009213811@gmail.com> References: <182693626.20061009003615@gmail.com> <6610112690.20061009120912@gmail.com> <1981041420.20061009213811@gmail.com> Message-ID: On Mon, 9 Oct 2006, Brandino Andreas wrote: > btw, should i prefer source rpm or just install from source? Is there > any howto for installing source on suse? Well the generic installation procedure may appy. 1. Install gcc, make, ...... (if not yet present) 2. `rpmbuild --rebuild ` 3. Install the generated package(s) as usual. Beyond some SuSE specific tricks in the INIT scripts I see no reson why this would not work. If you installed not enough in step 1 then step 2 is going to bitch you about missing .... at which point you can propably see which rpm you missed in step 1. And if you base your install on the packages from: http://www.nagiosexchange.org/SuSE_Linux.74.0.html?&tx_netnagext_pi1%5Bp_view%5D=569 I guess you can do this whole exercise with your eyes closed and one hand tied to your back. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyruspy at gmail.com Tue Oct 10 06:19:49 2006 From: cyruspy at gmail.com (Ciro Iriarte) Date: Tue, 10 Oct 2006 00:19:49 -0400 Subject: Nagios Future Message-ID: Hi, I've been using Nagios since version 1.1, right now we are using Nagios 2.5 version + Perfparse and i'm planning to implement Oreon on top of it but just found about ndoutils so i'm wondering how should i proceed, can the ndoutils replace perfparse?, would Oreon be pointless with the planned PHP version of the interfase?, it seems that the ndoutils would make posible running many nagios monitoring processes/hosts with the same data backend (great HA), at least that's what i understood. Is viable a migration of data from perfparse to ndoutils? Any comments? Thanks in advanced, Ciro ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From n.calton at rl.ac.uk Tue Oct 10 11:05:44 2006 From: n.calton at rl.ac.uk (Neil Calton) Date: Tue, 10 Oct 2006 10:05:44 +0100 Subject: Problem with check_disk plugin on Solaris 8/9 Message-ID: Hi I have recently installed nagios 2.5 and most things have been working fine. However, I have found a problem with using the check_disk plugin on Solaris clients. I have compiled the plugins natively on both Solaris 8 and 9 machines with the intention of running check_disk via check_by_ssh on the nagios server. However, when I run check_disk on the Solaris machine I get the following error: check_disk -w 10% -c 5% -p / INPUT ERROR: C_IDFP (0.000000) should be less than W_IDFP (83805724468435134240902014763531500357152249380759204082139599818736613628311962378616931071675065546252832685640328980818027940306357284772835766152620132276063704247267570667710699169463291660046401036474332223635456.0) and both should be between zero and 100 percent, inclusive for / check_disk: Could not parse arguments Usage: check_disk -w limit -c limit [-p path | -x device] [-t timeout][-m] [-e] [-W limit] [-K limit] [-v] [-q] I don't get this problem when I compile and run check_disk on a Solaris 10 machine. Has anyone else seen this and found a solution or an alternative plugin? Thanks, Neil Calton -- Neil Calton E-mail: N.Calton at rl.ac.uk Corporate Communications and Information Technology Tel: +44 1235 44 5740 Rutherford Appleton Lab. Fax: +44 1235 44 5893 Chilton, Didcot, Oxon OX11 0QX , England ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Tue Oct 10 11:29:23 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Tue, 10 Oct 2006 10:29:23 +0100 Subject: Problem with check_disk plugin on Solaris 8/9 In-Reply-To: References: Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 10/10/2006 10:05:44: > Hi > I have recently installed nagios 2.5 and most things have > been working fine. > However, I have found a problem with using the check_disk plugin on > Solaris clients. I have compiled the plugins natively on both Solaris 8 and 9 > machines with the intention of running check_disk via check_by_ssh on the > nagios server. > > However, when I run check_disk on the Solaris machine I get the following > error: > > check_disk -w 10% -c 5% -p / > > INPUT ERROR: C_IDFP (0.000000) should be less than W_IDFP > (83805724468435134240902014763531500357152249380759204082139599818736613628311962378616931071675065546252832685640328980818027940306357284772835766152620132276063704247267570667710699169463291660046401036474332223635456.0) Yeah I saw this too, if i recall, my workaround was to download the nagiosplug-HEAD and recompiled the plugin.. Either that, or recompile without the optimisation flag(s) -O2 (or -O) Cheers This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Tue Oct 10 11:51:38 2006 From: philc at foundation-it.com (Phil Costelloe) Date: Tue, 10 Oct 2006 10:51:38 +0100 Subject: Problem with check_disk plugin on Solaris 8/9 In-Reply-To: References: Message-ID: Neil Calton wrote: > Hi > I have recently installed nagios 2.5 and most things have been > working fine. > However, I have found a problem with using the check_disk plugin on > Solaris clients. I have compiled the plugins natively on both Solaris > 8 and 9 machines with the intention of running check_disk via > check_by_ssh on the nagios server. > > However, when I run check_disk on the Solaris machine I get the > following > error: > > check_disk -w 10% -c 5% -p / > > INPUT ERROR: C_IDFP (0.000000) should be less than W_IDFP > (83805724468435134240902014763531500357152249380759204082139599818736613 628311962378616931071675065546252832685640328980818027940306357284772835 766152620132276063704247267570667710699169463291660046401036474332223635 456.0) > and both should be between zero and 100 percent, inclusive for / > check_disk: Could not parse arguments > Usage: check_disk -w limit -c limit [-p path | -x device] [-t > timeout][-m] [-e] [-W limit] [-K limit] [-v] [-q] > > I don't get this problem when I compile and run check_disk on a > Solaris 10 machine. > > Has anyone else seen this and found a solution or an alternative > plugin? This seems to be a simple problem with initialisation of variables on some platforms or under certain optimisations. I ran across the same problem recently on Solaris and the patch at the bottom of http://www.nagiosexchange.org/nagiosplug-devel.31.0.html?&tx_maillisttof aq_pi1%5Bmode%5D=1&tx_maillisttofaq_pi1%5BshowUid%5D=17265 fixed it for me. Here it is. --- check_disk.c~ 2006-04-19 13:56:39.000000000 +0100 +++ check_disk.c 2006-04-19 15:23:11.000000000 +0100 @@ -462,6 +462,8 @@ se->c_df = c_df; se->w_dfp = w_dfp; se->c_dfp = c_dfp; + se->w_idfp = w_idfp; + se->c_idfp = c_idfp; se->found = 0; se->found_len = 0; *pathtail = se; @@ -547,6 +549,8 @@ se->c_df = c_df; se->w_dfp = w_dfp; se->c_dfp = c_dfp; + se->w_idfp = w_idfp; + se->c_idfp = c_idfp; se->found =0; se->found_len = 0; *pathtail = se; Presumably a fix of some kind is in the current CVS version. Phil -------------------------------------------------------- Phil Costelloe Technical Consultant philc at foundation-it.com http://www.foundation-it.com Foundation IT Foundation Court Old Street Oare Hermitage Berkshire RG18 9SE Switch: +44 (0) 1635 203700 Helpdesk: +44 (0) 800 0121099 DDI: +44 (0) 1635 203719 Fax: +44 (0) 8700 543537 Mobile: +44 (0) 7884 236299 -------------------------------------------------------- This message contains confidential information and is intended only for n.calton at rl.ac.uk, nagios-users at lists.sourceforge.net. If you are not n.calton at rl.ac.uk, nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -------------------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmathieu at siris.sorbonne.fr Tue Oct 10 13:30:06 2006 From: bmathieu at siris.sorbonne.fr (basile) Date: Tue, 10 Oct 2006 13:30:06 +0200 Subject: problem with nrpe Message-ID: <452B843E.6030006@siris.sorbonne.fr> hi i get error message with nrpe : CHECK_NRPE: Socket timeout after 10 seconds. i have the max_check_attempt to 5 but still have the problem what can i do , it s really a problem because notification become spam i have two time a day notification for differents services thanks basile ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From N.Calton at rl.ac.uk Tue Oct 10 13:31:58 2006 From: N.Calton at rl.ac.uk (Neil Calton) Date: Tue, 10 Oct 2006 12:31:58 +0100 Subject: Problem with check_disk plugin on Solaris 8/9 In-Reply-To: <2C33D034-55B2-4641-9B8F-A3309B65CAC3@mac.com> References: <2C33D034-55B2-4641-9B8F-A3309B65CAC3@mac.com> Message-ID: Hi Ton I just tried the snapshot on Solaris 8 and Solaris 9 and yes indeed the check_disk problem is now fixed for these OS's. Thanks for this and also to Phil and Rob for their replies. Neil >This is fixed in CVS HEAD. I don't think I've had a confirmation for >Sol 8/9, so I'd appreciate a "yup" if possible: >http://nagiosplug.sourceforge.net/snapshot > > >Ton > > >On 10 Oct 2006, at 10:05, Neil Calton wrote: > >>Hi >> I have recently installed nagios 2.5 and most things have >>been working fine. >>However, I have found a problem with using the check_disk plugin on >>Solaris clients. I have compiled the plugins natively on both Solaris 8 and 9 >>machines with the intention of running check_disk via check_by_ssh on the >>nagios server. >> >>However, when I run check_disk on the Solaris machine I get the following >>error: >> >>check_disk -w 10% -c 5% -p / >> >>INPUT ERROR: C_IDFP (0.000000) should be less than W_IDFP >>(83805724468435134240902014763531500357152249380759204082139599818736613628311962378616931071675065546252832685640328980818027940306357284772835766152620132276063704247267570667710699169463291660046401036474332223635456.0) >>and both should be between zero and 100 percent, inclusive for / >>check_disk: Could not parse arguments >>Usage: check_disk -w limit -c limit [-p path | -x device] [-t >>timeout][-m] [-e] [-W limit] [-K limit] [-v] [-q] >> >>I don't get this problem when I compile and run check_disk on a >>Solaris 10 machine. >> >>Has anyone else seen this and found a solution or an alternative plugin? >> >>Thanks, >> Neil Calton >> >>-- >>Neil Calton E-mail: >>N.Calton at rl.ac.uk >>Corporate Communications and Information Technology >> Tel: +44 1235 44 5740 >>Rutherford Appleton Lab. Fax: +44 1235 44 5893 >>Chilton, Didcot, Oxon >>OX11 0QX , England >> >>------------------------------------------------------------------------- >>Take Surveys. Earn Cash. Influence the Future of IT >>Join SourceForge.net's Techsay panel and you'll get the chance to share your >>opinions on IT & business topics through brief surveys -- and earn cash >>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >>reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> >> >>This message has been scanned for viruses by MailController - >>www.MailController.altohiway.com -- Neil Calton E-mail: N.Calton at rl.ac.uk Business and Information Technology Department Tel: +44 1235 44 5740 Rutherford Appleton Lab. Fax: +44 1235 44 5893 Chilton, Didcot, Oxon OX11 0QX , England URL: http://www.bitd.clrc.ac.uk/Person/N.B.M.Calton ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Tue Oct 10 13:41:20 2006 From: btmanmeh at verizon.net (Max H.) Date: Tue, 10 Oct 2006 07:41:20 -0400 Subject: problem with nrpe In-Reply-To: <452B843E.6030006@siris.sorbonne.fr> References: <452B843E.6030006@siris.sorbonne.fr> Message-ID: <452B86E0.3090701@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 basile wrote: > hi > i get error message with nrpe : > > CHECK_NRPE: Socket timeout after 10 seconds. > > i have the max_check_attempt to 5 but still have the problem > what can i do , it s really a problem because notification become spam > i have two time a day notification for differents services > Could you specify a few more details please. Do you have the check command you're trying to specify defined in your nrpe.cfg file on the remote client? Are permissions a problem? How are you running NRPE, as a daemon? It could be a lot of different things. Try to provide some details and the list can help. Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFFK4bfHoeeepPau2ERAsVNAKCC/W1XZ6hU4iKy1qSpOXlbieWzRACgmdp4 z2sNBmyebPXRCYntTSCVIAI= =JDQV -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jczucco at ucs.br Tue Oct 10 13:44:47 2006 From: jczucco at ucs.br (Jeronimo Zucco) Date: Tue, 10 Oct 2006 08:44:47 -0300 Subject: Nrpe + Nagiosgraph Message-ID: <452B87AF.4020903@ucs.br> Hi, Anyone use Nagiosgraph and nrpe/nrpe_nt and have map file of nagiosgraph to share with us ? Thank you for advance. -- Jeronimo Zucco LPIC-1 Linux Professional Institute Certified N?cleo de Processamento de Dados Universidade de Caxias do Sul http://jczucco.blogspot.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmathieu at siris.sorbonne.fr Tue Oct 10 14:30:29 2006 From: bmathieu at siris.sorbonne.fr (basile) Date: Tue, 10 Oct 2006 14:30:29 +0200 Subject: problem with nrpe In-Reply-To: <452B86E0.3090701@verizon.net> References: <452B843E.6030006@siris.sorbonne.fr> <452B86E0.3090701@verizon.net> Message-ID: <452B9265.80101@siris.sorbonne.fr> all works fine for all services except 2 or 3 times a day it s not command definition problem , just sometimes nrpe doesn t get result for checks Max H. wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >basile wrote: > > >>hi >>i get error message with nrpe : >> >>CHECK_NRPE: Socket timeout after 10 seconds. >> >>i have the max_check_attempt to 5 but still have the problem >>what can i do , it s really a problem because notification become spam >>i have two time a day notification for differents services >> >> >> > > >Could you specify a few more details please. Do you have the check >command you're trying to specify defined in your nrpe.cfg file on the >remote client? Are permissions a problem? How are you running NRPE, as a >daemon? It could be a lot of different things. > >Try to provide some details and the list can help. > >Max >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.2.6 (GNU/Linux) >Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org > >iD8DBQFFK4bfHoeeepPau2ERAsVNAKCC/W1XZ6hU4iKy1qSpOXlbieWzRACgmdp4 >z2sNBmyebPXRCYntTSCVIAI= >=JDQV >-----END PGP SIGNATURE----- > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Tue Oct 10 14:36:48 2006 From: btmanmeh at verizon.net (Max H.) Date: Tue, 10 Oct 2006 08:36:48 -0400 Subject: problem with nrpe In-Reply-To: <452B9265.80101@siris.sorbonne.fr> References: <452B843E.6030006@siris.sorbonne.fr> <452B86E0.3090701@verizon.net> <452B9265.80101@siris.sorbonne.fr> Message-ID: <452B93E0.30608@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 basile wrote: > all works fine for all services except 2 or 3 times a day > it s not command definition problem , just sometimes nrpe > doesn t get result for checks > Is it consistent for all your services? I know my checks across NRPE don't return values back either every now and again when my remote client is doing some CPU and Hard drive intense work. I'll get a timeout then, which I usually just bump up the timeout. Perhaps try bumping your timeout up a few seconds to 15 or even 20. Are the clients pretty busy machines? Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFFK5PgHoeeepPau2ERAhSOAKDOBxDWHZ6Rv3US/dssAc5PKe7qPwCfQhNj zhQ5Q4McVJqTjC6bMhBfAxk= =Y26u -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bmathieu at siris.sorbonne.fr Tue Oct 10 14:43:36 2006 From: bmathieu at siris.sorbonne.fr (basile) Date: Tue, 10 Oct 2006 14:43:36 +0200 Subject: problem with nrpe In-Reply-To: <452B93E0.30608@verizon.net> References: <452B843E.6030006@siris.sorbonne.fr> <452B86E0.3090701@verizon.net> <452B9265.80101@siris.sorbonne.fr> <452B93E0.30608@verizon.net> Message-ID: <452B9578.2090101@siris.sorbonne.fr> Max H. wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >basile wrote: > > >>all works fine for all services except 2 or 3 times a day >>it s not command definition problem , just sometimes nrpe >>doesn t get result for checks >> >> >> > >Is it consistent for all your services? > >I know my checks across NRPE don't return values back either every now >and again when my remote client is doing some CPU and Hard drive intense >work. I'll get a timeout then, which I usually just bump up the timeout. > >Perhaps try bumping your timeout up a few seconds to 15 or even 20. Are >the clients pretty busy machines? > > yes it a mail server i try what you say thanks basile >Max > > > > > >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.2.6 (GNU/Linux) >Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org > >iD8DBQFFK5PgHoeeepPau2ERAhSOAKDOBxDWHZ6Rv3US/dssAc5PKe7qPwCfQhNj >zhQ5Q4McVJqTjC6bMhBfAxk= >=Y26u >-----END PGP SIGNATURE----- > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Tue Oct 10 17:57:25 2006 From: td3201 at gmail.com (Terry) Date: Tue, 10 Oct 2006 10:57:25 -0500 Subject: acknowledgements being retained through status changes Message-ID: <8ee061010610100857j77ef8613l403874c8b757da26@mail.gmail.com> Good morning, For some reason, which I can't find, acknowledgements are being retained through status changes. For example, I get a warning alert. I acknowledge it. The service then goes critical. It stays acknowledged. I expect the acknowledgement to go away and get a notification for the critical status. Any ideas? Thanks! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Tue Oct 10 18:05:28 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Tue, 10 Oct 2006 10:05:28 -0600 Subject: acknowledgements being retained through statuschanges Message-ID: <2D0245E43DEC724F81592D697F05689904C43146@SIDHQEXCHMB1.Cabelas.Corp> According to the docs, this is the correct behavior. http://nagios.sourceforge.net/docs/2_0/notifications.html http://nagios.sourceforge.net/docs/2_0/statetypes.html Going from warning to critical isn't technically a HARD state change, so no notifies get sent. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Terry Sent: Tuesday, October 10, 2006 9:57 AM To: Nagios Users Mailinglist Subject: [Nagios-users] acknowledgements being retained through statuschanges Good morning, For some reason, which I can't find, acknowledgements are being retained through status changes. For example, I get a warning alert. I acknowledge it. The service then goes critical. It stays acknowledged. I expect the acknowledgement to go away and get a notification for the critical status. Any ideas? Thanks! ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Oct 10 18:06:15 2006 From: marc at ena.com (Marc Powell) Date: Tue, 10 Oct 2006 11:06:15 -0500 Subject: acknowledgements being retained through statuschanges Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Terry > Sent: Tuesday, October 10, 2006 10:57 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] acknowledgements being retained through > statuschanges > > Good morning, > > For some reason, which I can't find, acknowledgements are being > retained through status changes. For example, I get a warning alert. > I acknowledge it. The service then goes critical. It stays > acknowledged. I expect the acknowledgement to go away and get a > notification for the critical status. Any ideas? Are you making the acknowledgement sticky? Sounds like you don't want to. -- "This command is used to acknowledge a service problem. When a service problem is acknowledged, future notifications about problems are temporarily disabled until the service changes from its current state. If you want acknowledgement to disable notifications until the service recovers, check the 'Sticky Acknowledgement' checkbox." -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrutkows at ramapo.edu Tue Oct 10 18:10:22 2006 From: jrutkows at ramapo.edu (Jeff Rutkowski) Date: Tue, 10 Oct 2006 12:10:22 -0400 Subject: Starting up Nagios Message-ID: <005201c6ec86$969cf780$de8311ac@DDVCV2B1> Question, couple of questions actually. I am in the process of installing/testing version 2.5, we are currently on 1.2 in production. I have installed it on a Suse linux box, running Suse 9.3, and Apache web server 2.2.3. The initial install seemed to go ok, and I was able to get my configs from production moved over and nagios -v comes up clean. When I try to start nagios it returns an exit 0 (I put a trace in so I could see) but no processes ever start up on the box. I'm also having problems with the add-ons. When trying to run the make all on nrpe I get "no rule to make target 'all'". I get a similar error when trying to do it on nsca "Nothing to be done for 'all'". Could this be part of my problem of it (nagios) not starting up? Any suggestions would be greatly appreciated. Thanks. Also, all of the docs on the web site deal with a new install, are there any docs for an upgrade? Or does anyone have a procedure for upgrading from 1.2 to 2.5? Let me know. Thanks. ___________________ Jeff Rutkowski Unix Administrator Ramapo College of NJ 505 Ramapo Valley Rd. Mahwah, NJ 07430 (201) 684-6804 jrutkows at ramapo.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CWaters at jeld-wen.com Tue Oct 10 18:36:04 2006 From: CWaters at jeld-wen.com (Chris Waters) Date: Tue, 10 Oct 2006 09:36:04 -0700 Subject: small alternative frontend Message-ID: <83C21E03494FF147B56468B5055178210311EC88@jwmail01.domain.jw.local> Robin, I have a perl cgi (stoplight.pl) that does a redlight/greenlight page. based on if all problems are handled or not. It currently does not do warning states or display the problem hosts/services but could be extended to do so. Might be a good place for you to start if you want to start down that path. I would be happy to send you the perl if you want it. It's a quick had I did a while ago so there might be things you want to change/fix. I am working on a version that does exactly what you are asking for but my time is limited. Chris Waters Information Systems - Networks Group JELD-WEN, Inc. cwaters at jeld-wen.com -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Robin Ericsson Sent: Friday, October 06, 2006 4:56 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] small alternative frontend Hi, I'm looking for a small front-end cgi that should be extremely simple. If everything is OK, it should display a green background and say that everything is OK. If warning, it should display an orange background and list services/hosts that are warned. If critical, it should display a red background and list services/hosts with errors and warnings. Is there something like this available? Otherwise I guess it could be wrapped out pretty quick if I get some tips on how :) -- regards, Robin ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Tue Oct 10 18:48:36 2006 From: td3201 at gmail.com (Terry) Date: Tue, 10 Oct 2006 11:48:36 -0500 Subject: acknowledgements being retained through statuschanges In-Reply-To: References: Message-ID: <8ee061010610100948t191f1753t3ad38af7e86daa40@mail.gmail.com> I think that's it. If I could read, that would help: "If you want acknowledgement to disable notifications until the service recovers, check the 'Sticky Acknowledgement' checkbox." However, if I uncheck this, will I continue to get notifications if it stays in the current state of warning? On 10/10/06, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Terry > > Sent: Tuesday, October 10, 2006 10:57 AM > > To: Nagios Users Mailinglist > > Subject: [Nagios-users] acknowledgements being retained through > > statuschanges > > > > Good morning, > > > > For some reason, which I can't find, acknowledgements are being > > retained through status changes. For example, I get a warning alert. > > I acknowledge it. The service then goes critical. It stays > > acknowledged. I expect the acknowledgement to go away and get a > > notification for the critical status. Any ideas? > > Are you making the acknowledgement sticky? Sounds like you don't want > to. -- > > "This command is used to acknowledge a service problem. When a service > problem is acknowledged, future notifications about problems are > temporarily disabled until the service changes from its current state. > If you want acknowledgement to disable notifications until the service > recovers, check the 'Sticky Acknowledgement' checkbox." > > -- > Marc > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Oct 10 19:05:07 2006 From: marc at ena.com (Marc Powell) Date: Tue, 10 Oct 2006 12:05:07 -0500 Subject: acknowledgements being retained through statuschanges Message-ID: Answered by the sentence prior to the one you re-quote. -- Marc > -----Original Message----- > From: Terry [mailto:td3201 at gmail.com] > Sent: Tuesday, October 10, 2006 11:49 AM > To: Marc Powell; Nagios Users Mailinglist > Subject: Re: [Nagios-users] acknowledgements being retained through > statuschanges > > I think that's it. If I could read, that would help: > > "If you want acknowledgement to disable notifications until the > service recovers, check the 'Sticky Acknowledgement' checkbox." > > However, if I uncheck this, will I continue to get notifications if it > stays in the current state of warning? > > > > On 10/10/06, Marc Powell wrote: > > > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > > bounces at lists.sourceforge.net] On Behalf Of Terry > > > Sent: Tuesday, October 10, 2006 10:57 AM > > > To: Nagios Users Mailinglist > > > Subject: [Nagios-users] acknowledgements being retained through > > > statuschanges > > > > > > Good morning, > > > > > > For some reason, which I can't find, acknowledgements are being > > > retained through status changes. For example, I get a warning alert. > > > I acknowledge it. The service then goes critical. It stays > > > acknowledged. I expect the acknowledgement to go away and get a > > > notification for the critical status. Any ideas? > > > > Are you making the acknowledgement sticky? Sounds like you don't want > > to. -- > > > > "This command is used to acknowledge a service problem. When a service > > problem is acknowledged, future notifications about problems are > > temporarily disabled until the service changes from its current state. > > If you want acknowledgement to disable notifications until the service > > recovers, check the 'Sticky Acknowledgement' checkbox." > > > > -- > > Marc > > > > ------------------------------------------------------------------------ > - > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys -- and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bret.Goodfellow at questar.com Tue Oct 10 19:36:24 2006 From: Bret.Goodfellow at questar.com (Bret Goodfellow) Date: Tue, 10 Oct 2006 11:36:24 -0600 Subject: check_oracle plugin returns - CRITICAL - ORA-12154:TNS: count not resolve service name Message-ID: <91EDB00F83BAD443A9D05FA67623955A862974@QMAIL.corp.questar.com> I'm wondering if this could be some sort of authentication problem. When I run the ssh command as nagios, I get the expected reponse: dev02: # su - nagios nagios at dev02:~> ssh -i /usr/local/nagios/.ssh/id_dsa olympus "/usr/local/nagios/libexec/check_oracle --tablespace mwmt01 nagios password TS01 98 96" mwmt01 : TS01 OK - 18.80% used [ 487 / 600 MB available ]|TS01=18.80%;96;98;0;100 nagios at dev02:~> When I run the ssh command as root, this is where I get the failure: nagios at dev02:~> su - root dev02: # ssh -i /usr/local/nagios/.ssh/id_dsa olympus "/usr/local/nagios/libexec/check_oracle --tablespace mwmt01 nagios password TS01 98 96" CRITICAL - ORA-12154: TNS:could not resolve service name dev02 : # Now, notice when I switch back to nagios and run check_by_ssh (not to be confused with ssh), I get the same error as above: dev02: # su - nagios nagios at dev02:~> /usr/local/nagios/libexec/check_by_ssh -H olympus -i /usr/local/nagios/.ssh/id_dsa -C "/usr/local/nagios/libexec/check_oracle --tablespace mwmt01 nagios password TS01 98 96" -l nagios CRITICAL - ORA-12154: TNS:could not resolve service name nagios at dev02:~> Notice that the last two commands have the same result. The first is using ssh as user root, and the second is using check_by_ssh as user nagios. Yet, if I run ssh as user nagios I then get the expected response. Any ideas? ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Bret Goodfellow Sent: Friday, October 06, 2006 4:29 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_oracle plugin returns - CRITICAL - ORA-12154:TNS: count not resolve service name My Nagios server is returning this error when executing the check_by_ssh plugin, which also includes the check_oracle plugin. Here's the scenario. I have a remote server, called olympus, that is running Oracle 9.2.0.6. I want to be able to monitor tablespace size using the check_oracle plugin. I have copied the check_oracle plugin to the remote server, olympus, and have successfully run the plugin on olympus. When I run the check_oracle plugin I am logged in as nagios. e.g. nagios at olympus:~> /usr/local/nagios/libexec/check_oracle --tablespace mwmt01 nagios password TS01 98 96 mwmt01 : TS01 OK - 18.80% used [ 487 / 600 MB available ]|TS01=18.80%;96;98;0;100 nagios at olympus:~> This is what I expected. Now, from my Nagios Server, dev02, I would like to be able to monitor the oracle tablespace on olympus. I first tested ssh by executing the following command from dev02: dev02: # su - nagios nagios at dev02:~> ssh -i /usr/local/nagios/.ssh/id_dsa olympus "/usr/local/nagios/libexec/check_oracle --tablespace mwmt01 nagios password TS01 98 96" mwmt01 : TS01 OK - 18.80% used [ 487 / 600 MB available ]|TS01=18.80%;96;98;0;100 nagios at dev02:~> As you can see, I can ssh from my Nagios server and have it execute the check_oracle plugin on olympus. Everything is good so far. My goal is to to setup Nagios to run this. I now want to check the tabespace on olympus by using the Nagios plugin: check_by_ssh. Below is the command that is executed on dev02 : nagios at dev02:~> /usr/local/nagios/libexec/check_by_ssh -H olympus -i /usr/local/nagios/.ssh/id_dsa -C "/usr/local/nagios/libexec/check_oracle --tablespace mwmt01 nagios password TS01 98 96" CRITICAL - ORA-12154: TNS:could not resolve service name nagios at dev02:~> The last 2 commands are both run from the Nagios Server. Why doesn't the check_by_ssh work, yet the native ssh command does work? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrutkows at ramapo.edu Tue Oct 10 19:50:51 2006 From: jrutkows at ramapo.edu (Jeff Rutkowski) Date: Tue, 10 Oct 2006 13:50:51 -0400 Subject: FW: Starting up Nagios Message-ID: <007a01c6ec94$a010ac40$de8311ac@DDVCV2B1> Re-sending to include more info: Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Nagios version: 2.5 Plugin version: 1.4.3 OS: Suse linux 9.3 See problem details below. ___________________ Jeff Rutkowski Unix Administrator Ramapo College of NJ 505 Ramapo Valley Rd. Mahwah, NJ 07430 (201) 684-6804 jrutkows at ramapo.edu -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jeff Rutkowski Sent: Tuesday, October 10, 2006 12:10 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Starting up Nagios Question, couple of questions actually. I am in the process of installing/testing version 2.5, we are currently on 1.2 in production. I have installed it on a Suse linux box, running Suse 9.3, and Apache web server 2.2.3. The initial install seemed to go ok, and I was able to get my configs from production moved over and nagios -v comes up clean. When I try to start nagios it returns an exit 0 (I put a trace in so I could see) but no processes ever start up on the box. I'm also having problems with the add-ons. When trying to run the make all on nrpe I get "no rule to make target 'all'". I get a similar error when trying to do it on nsca "Nothing to be done for 'all'". Could this be part of my problem of it (nagios) not starting up? Any suggestions would be greatly appreciated. Thanks. Also, all of the docs on the web site deal with a new install, are there any docs for an upgrade? Or does anyone have a procedure for upgrading from 1.2 to 2.5? Let me know. Thanks. ___________________ Jeff Rutkowski Unix Administrator Ramapo College of NJ 505 Ramapo Valley Rd. Mahwah, NJ 07430 (201) 684-6804 jrutkows at ramapo.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT00090.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT00093.txt URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Oct 10 19:56:04 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 10 Oct 2006 13:56:04 -0400 Subject: FW: Starting up Nagios In-Reply-To: <007a01c6ec94$a010ac40$de8311ac@DDVCV2B1> References: <007a01c6ec94$a010ac40$de8311ac@DDVCV2B1> Message-ID: > Question, couple of questions actually. I am in the process > of installing/testing version 2.5, we are currently on 1.2 in > production. I have installed it on a Suse linux box, running > Suse 9.3, and Apache web server 2.2.3. The initial install > seemed to go ok, and I was able to get my configs from > production moved over and nagios -v comes up clean. When I > try to start nagios it returns an exit 0 (I put a trace in so > I could see) but no processes ever start up on the box. I'm > also having problems with the add-ons. When trying to run the > make all on nrpe I get "no rule to make target 'all'". I get > a similar error when trying to do it on nsca "Nothing to be > done for 'all'". Could this be part of my problem of it > (nagios) not starting up? Any suggestions would be greatly > appreciated. Thanks. Also, all of the docs on the web site > deal with a new install, are there any docs for an upgrade? > Or does anyone have a procedure for upgrading from 1.2 to > 2.5? Let me know. Thanks. Sounds like multiple issues. On the compilation problems, it sounds like you don't have a Makefile. Did you run configure first? Those issues are probably unrelated to nagios not starting. As far as that problem goes, you should be looking in your Nagios log. If Nagios is not starting, it should say why there, assuming that however you're starting Nagios actually tries running it. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Oct 10 20:12:04 2006 From: marc at ena.com (Marc Powell) Date: Tue, 10 Oct 2006 13:12:04 -0500 Subject: Starting up Nagios Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jeff Rutkowski > Sent: Tuesday, October 10, 2006 11:10 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Starting up Nagios > > Question, couple of questions actually. I am in the process of > installing/testing version 2.5, we are currently on 1.2 in production. I > have installed it on a Suse linux box, running Suse 9.3, and Apache web > server 2.2.3. The initial install seemed to go ok, and I was able to get > my configs from production moved over and nagios -v comes up clean. When I > try to start nagios it returns an exit 0 (I put a trace in so I could see) > but no processes ever start up on the box. I'm also having problems with Do you see anything in nagios.log? It's highly unusual that nagios wouldn't start without logging an error either to console or nagios.log. > the add-ons. When trying to run the make all on nrpe I get "no rule to > make target 'all'". I get a similar error when trying to do it on nsca > "Nothing to be done for 'all'". Could this be part of my problem of it Did you run ./configure for nrpe before attempting 'make all'? That's probably your issue there. For nsca it looks like you might have had a successful compile so attempting a 'make all' again doesn't do anything since the binaries already exist. You should be able to find them in the nsca-x-x/src directory. These issues would not affect your ability to start nagios as they're independent programs. > (nagios) not starting up? Any suggestions would be greatly appreciated. > Thanks. Also, all of the docs on the web site deal with a new install, are > there any docs for an upgrade? Or does anyone have a procedure for > upgrading from 1.2 to 2.5? Let me know. Thanks. You've pretty much done it. Install the new, copy over your existing configs, modify them as needed to make changes noted in the CHANGELOG (mostly macro changes but host definitions changed slightly). You may or may not be using features that changed. Test the config with nagios -v etc/nagios.cfg and if there are no errors you should be good to go. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Oct 10 21:04:44 2006 From: marc at ena.com (Marc Powell) Date: Tue, 10 Oct 2006 14:04:44 -0500 Subject: Starting up Nagios Message-ID: > -----Original Message----- > From: Jeff Rutkowski [mailto:jrutkows at ramapo.edu] > Sent: Tuesday, October 10, 2006 1:18 PM > To: Marc Powell > Subject: RE: [Nagios-users] Starting up Nagios > > The nagios.log shows the following: > > # cat var/nagios.log [1160063445] Nagios 2.5 starting... (PID=21659) > [1160063445] LOG VERSION: 2.0 [1160063445] Error: Cannot open config > file '/usr/local/nagios/etc/misccommands.cfg' for reading: No such file > or directory [1160063445] Bailing out due to one or more errors > encountered in the configuration files. Run Nagios from the command > line with the -v option to verify your config before restarting. > (PID=21659) > linux:/usr/local/nagios # Please always respond on list unless you're sending sensitive information. Others reading the archives in the future will be able to benefit from your experience. The error above is indicating the file really doesn't exist in that location or the permissions are such that the nagios user can't access it. > > > The file is there, permission look good on it, not sure why it is having > a hard time with it. Ran the -v, it it looks ok. We get those 2 warnings > in production. > > > linux:/usr/local/nagios # ./bin/nagios -v > /usr/local/nagios/etc/nagios.cfg > > Nagios 2.5 > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last > Modified: 07-13-2006 > License: GPL > > Reading configuration data... [Chop] > > Things look okay - No serious problems were detected during the > pre-flight check linux:/usr/local/nagios > > > Any ideas? Run your preflight as the nagios user, not root, since that's the user that reads the files. I'm going to guess that the nagios user can't read /usr/local/nagios/etc/misccommands.cfg due to permissions. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrutkows at ramapo.edu Tue Oct 10 21:25:21 2006 From: jrutkows at ramapo.edu (Jeff Rutkowski) Date: Tue, 10 Oct 2006 15:25:21 -0400 Subject: FW: Starting up Nagios Message-ID: <009501c6eca1$d4245b00$de8311ac@DDVCV2B1> Hi Marc, This is what the permissions on the file look like: -rw-rw-r-- 1 jrutkows users 13803 Oct 4 16:26 minimal.cfg -rw-rw-r-- 1 jrutkows users 4290 Oct 10 15:10 misccommands.cfg -rw-rw-r-- 1 jrutkows users 21770 Oct 5 15:49 nagios.cfg The file is in the /usr/local/nagios/etc directory. I've re-set the permissions, also copied it to a backup, removed the original file and moved the backup back into place and still getting the same error in the nagios.log file. The path is correct in the nagios.cfg file as well: # Misc commands (notification and event handler commands, etc) cfg_file=/usr/local/nagios/etc/misccommands.cfg I deleted and re-added the path in nagios.cfg, still no luck. Any ideas? ___________________ Jeff Rutkowski Unix Administrator Ramapo College of NJ 505 Ramapo Valley Rd. Mahwah, NJ 07430 (201) 684-6804 jrutkows at ramapo.edu -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Tuesday, October 10, 2006 3:05 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Starting up Nagios > -----Original Message----- > From: Jeff Rutkowski [mailto:jrutkows at ramapo.edu] > Sent: Tuesday, October 10, 2006 1:18 PM > To: Marc Powell > Subject: RE: [Nagios-users] Starting up Nagios > > The nagios.log shows the following: > > # cat var/nagios.log [1160063445] Nagios 2.5 starting... (PID=21659) > [1160063445] LOG VERSION: 2.0 [1160063445] Error: Cannot open config > file '/usr/local/nagios/etc/misccommands.cfg' for reading: No such file > or directory [1160063445] Bailing out due to one or more errors > encountered in the configuration files. Run Nagios from the command > line with the -v option to verify your config before restarting. > (PID=21659) > linux:/usr/local/nagios # Please always respond on list unless you're sending sensitive information. Others reading the archives in the future will be able to benefit from your experience. The error above is indicating the file really doesn't exist in that location or the permissions are such that the nagios user can't access it. > > > The file is there, permission look good on it, not sure why it is having > a hard time with it. Ran the -v, it it looks ok. We get those 2 warnings > in production. > > > linux:/usr/local/nagios # ./bin/nagios -v > /usr/local/nagios/etc/nagios.cfg > > Nagios 2.5 > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last > Modified: 07-13-2006 > License: GPL > > Reading configuration data... [Chop] > > Things look okay - No serious problems were detected during the > pre-flight check linux:/usr/local/nagios > > > Any ideas? Run your preflight as the nagios user, not root, since that's the user that reads the files. I'm going to guess that the nagios user can't read /usr/local/nagios/etc/misccommands.cfg due to permissions. -- Marc ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david_price at byu.edu Tue Oct 10 21:31:29 2006 From: david_price at byu.edu (David Price) Date: Tue, 10 Oct 2006 13:31:29 -0600 Subject: Nrpe + Nagiosgraph In-Reply-To: <452B87AF.4020903@ucs.br> References: <452B87AF.4020903@ucs.br> Message-ID: <452BF511.6000306@byu.edu> Jeronimo Zucco wrote: > Hi, > > Anyone use Nagiosgraph and nrpe/nrpe_nt and have map file of > nagiosgraph to share with us ? > > Thank you for advance. > > Here is what I use: # Service type: ntload # check command: check_nt -H Address -v CPULOAD -l5,70,90,30,70,90 # output: CPU Load 9% (5 min average) 11% (30 min average) # perfdata: '5 min avg Load'=9%;70;80;0;100 '30 min avg Load'=11%;70;90;0;100 #/perfdata:.*5 min avg Load'=(\d+)%;(\d+);(\d+);\d+;\d+ '30 min avg Load'=(\d+)%;\d+;\d+;\d+;\d+ / /output:.*?(\d+)% .*?(\d+)% / and push @s, [ ntload, [ avg05min, GAUGE, $1 ], [ avg30min, GAUGE, $2 ] ]; # Service type: ntmem # check command: check_nt -H Address -v MEMUSE -w 50 -c 90 # output: Memory usage: total:2467.75 Mb - used: 510.38 Mb (21%) - free: 1957.37 Mb (79%) # perfdata: Memory usage=510.38Mb;1233.88;2220.98;0.00;2467.75 /output:.*total:([.0-9]+) Mb - used: ([.0-9]+) Mb/ and push @s, [ ntmem, [ memused, GAUGE, $2*1024**2 ], [ memmmax, GAUGE, $1*1024**2 ] ]; # Service type: ntdisk # check command: check_nt -H Address -v USEDDISKSPACE -lc -w 75 -c 90 # output: c:\ - total: 25.87 Gb - used: 4.10 Gb (16%) - free 21.77 Gb (84%) # perfdata: c:\ Used Space=4.10Gb;19.40;23.28;0.00;25.87 /output:.*total: ([.0-9]+) Gb - used: ([.0-9]+) Gb \(([.0-9]+)%\) - free ([.0-9]+) Gb \(([.0-9]+%)\)/ and push @s, [ ntdisk, [ diskused, GAUGE, $2*1024**3 ], [ diskmaxi, GAUGE, $1*1024**3 ] ]; Hope that helps, David Price ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrutkows at ramapo.edu Tue Oct 10 22:10:17 2006 From: jrutkows at ramapo.edu (Jeff Rutkowski) Date: Tue, 10 Oct 2006 16:10:17 -0400 Subject: FW: Starting up Nagios Message-ID: <009901c6eca8$1ae34280$de8311ac@DDVCV2B1> Poking around I noticed something.... I wonder if this is part of the problem: linux:/usr/local/nagios # file etc/nagios.cfg etc/nagios.cfg: ASCII English text linux:/usr/local/nagios # file etc/misccommands.cfg etc/misccommands.cfg: ASCII English text, with very long lines linux:/usr/local/nagios # ___________________ Jeff Rutkowski Unix Administrator Ramapo College of NJ 505 Ramapo Valley Rd. Mahwah, NJ 07430 (201) 684-6804 jrutkows at ramapo.edu -----Original Message----- From: Jeff Rutkowski [mailto:jrutkows at ramapo.edu] Sent: Tuesday, October 10, 2006 3:25 PM To: 'nagios-users at lists.sourceforge.net' Subject: FW: [Nagios-users] Starting up Nagios Hi Marc, This is what the permissions on the file look like: -rw-rw-r-- 1 jrutkows users 13803 Oct 4 16:26 minimal.cfg -rw-rw-r-- 1 jrutkows users 4290 Oct 10 15:10 misccommands.cfg -rw-rw-r-- 1 jrutkows users 21770 Oct 5 15:49 nagios.cfg The file is in the /usr/local/nagios/etc directory. I've re-set the permissions, also copied it to a backup, removed the original file and moved the backup back into place and still getting the same error in the nagios.log file. The path is correct in the nagios.cfg file as well: # Misc commands (notification and event handler commands, etc) cfg_file=/usr/local/nagios/etc/misccommands.cfg I deleted and re-added the path in nagios.cfg, still no luck. Any ideas? ___________________ Jeff Rutkowski Unix Administrator Ramapo College of NJ 505 Ramapo Valley Rd. Mahwah, NJ 07430 (201) 684-6804 jrutkows at ramapo.edu -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Tuesday, October 10, 2006 3:05 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Starting up Nagios > -----Original Message----- > From: Jeff Rutkowski [mailto:jrutkows at ramapo.edu] > Sent: Tuesday, October 10, 2006 1:18 PM > To: Marc Powell > Subject: RE: [Nagios-users] Starting up Nagios > > The nagios.log shows the following: > > # cat var/nagios.log [1160063445] Nagios 2.5 starting... (PID=21659) > [1160063445] LOG VERSION: 2.0 [1160063445] Error: Cannot open config > file '/usr/local/nagios/etc/misccommands.cfg' for reading: No such file > or directory [1160063445] Bailing out due to one or more errors > encountered in the configuration files. Run Nagios from the command > line with the -v option to verify your config before restarting. > (PID=21659) > linux:/usr/local/nagios # Please always respond on list unless you're sending sensitive information. Others reading the archives in the future will be able to benefit from your experience. The error above is indicating the file really doesn't exist in that location or the permissions are such that the nagios user can't access it. > > > The file is there, permission look good on it, not sure why it is having > a hard time with it. Ran the -v, it it looks ok. We get those 2 warnings > in production. > > > linux:/usr/local/nagios # ./bin/nagios -v > /usr/local/nagios/etc/nagios.cfg > > Nagios 2.5 > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last > Modified: 07-13-2006 > License: GPL > > Reading configuration data... [Chop] > > Things look okay - No serious problems were detected during the > pre-flight check linux:/usr/local/nagios > > > Any ideas? Run your preflight as the nagios user, not root, since that's the user that reads the files. I'm going to guess that the nagios user can't read /usr/local/nagios/etc/misccommands.cfg due to permissions. -- Marc ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrutkows at ramapo.edu Tue Oct 10 22:24:48 2006 From: jrutkows at ramapo.edu (Jeff Rutkowski) Date: Tue, 10 Oct 2006 16:24:48 -0400 Subject: FW: FW: Starting up Nagios Message-ID: <009a01c6ecaa$2201da20$de8311ac@DDVCV2B1> Just noticed something else. I was doing a tail-f on the nagios.log file while trying to strat up nagios, the file gets touchedand the date/timestamp changes, but nothing is actually logged to the file. I have probably been reading an old error message since there is no timestamp in the file itself. Any Ideas? ___________________ Jeff Rutkowski Unix Administrator Ramapo College of NJ 505 Ramapo Valley Rd. Mahwah, NJ 07430 (201) 684-6804 jrutkows at ramapo.edu -----Original Message----- From: Sloane, Robert Raymond [mailto:sloane at ku.edu] Sent: Tuesday, October 10, 2006 4:17 PM To: jrutkows at ramapo.edu Subject: RE: [Nagios-users] FW: Starting up Nagios The line length is not the problem. Nagios will handle lines longer than the sizes of the files involved. Look at the permissions on the directoryies above the etc directory. -- Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045 Email:sloane at ku.edu http://www.ku.edu/home/sloane Phone:(785)864-0444 > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Jeff Rutkowski > Sent: Tuesday, October 10, 2006 3:10 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] FW: Starting up Nagios > > > Poking around I noticed something.... I wonder if this is part of the > problem: > > linux:/usr/local/nagios # file etc/nagios.cfg > etc/nagios.cfg: ASCII English text > linux:/usr/local/nagios # file etc/misccommands.cfg > etc/misccommands.cfg: ASCII English text, with very long lines > linux:/usr/local/nagios # > > > > ___________________ > > Jeff Rutkowski > > Unix Administrator > > Ramapo College of NJ > > 505 Ramapo Valley Rd. > > Mahwah, NJ 07430 > > (201) 684-6804 > > jrutkows at ramapo.edu > > > -----Original Message----- > From: Jeff Rutkowski [mailto:jrutkows at ramapo.edu] > Sent: Tuesday, October 10, 2006 3:25 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: FW: [Nagios-users] Starting up Nagios > > Hi Marc, > This is what the permissions on the file look like: > > -rw-rw-r-- 1 jrutkows users 13803 Oct 4 16:26 minimal.cfg > -rw-rw-r-- 1 jrutkows users 4290 Oct 10 15:10 misccommands.cfg > -rw-rw-r-- 1 jrutkows users 21770 Oct 5 15:49 nagios.cfg > > The file is in the /usr/local/nagios/etc directory. > I've re-set the permissions, also copied it to a backup, > removed the original file and moved the backup back into > place and still getting the same error in the nagios.log > file. The path is correct in the nagios.cfg file as well: > > # Misc commands (notification and event handler commands, > etc) cfg_file=/usr/local/nagios/etc/misccommands.cfg > > > I deleted and re-added the path in nagios.cfg, still no luck. > Any ideas? > > > > ___________________ > > Jeff Rutkowski > > Unix Administrator > > Ramapo College of NJ > > 505 Ramapo Valley Rd. > > Mahwah, NJ 07430 > > (201) 684-6804 > > jrutkows at ramapo.edu > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Marc Powell > Sent: Tuesday, October 10, 2006 3:05 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Starting up Nagios > > > > -----Original Message----- > > From: Jeff Rutkowski [mailto:jrutkows at ramapo.edu] > > Sent: Tuesday, October 10, 2006 1:18 PM > > To: Marc Powell > > Subject: RE: [Nagios-users] Starting up Nagios > > > > The nagios.log shows the following: > > > > # cat var/nagios.log [1160063445] Nagios 2.5 starting... > (PID=21659) > > [1160063445] LOG VERSION: 2.0 [1160063445] Error: Cannot > open config > > file '/usr/local/nagios/etc/misccommands.cfg' for reading: No such > file > > or directory [1160063445] Bailing out due to one or more errors > > encountered in the configuration files. Run Nagios from > the command > > line with the -v option to verify your config before restarting. > > (PID=21659) > > linux:/usr/local/nagios # > > Please always respond on list unless you're sending sensitive > information. Others reading the archives in the future will > be able to benefit from your experience. > > The error above is indicating the file really doesn't exist > in that location or the permissions are such that the nagios > user can't access it. > > > > > > > The file is there, permission look good on it, not sure why it is > having > > a hard time with it. Ran the -v, it it looks ok. We get those 2 > warnings > > in production. > > > > > > linux:/usr/local/nagios # ./bin/nagios -v > > /usr/local/nagios/etc/nagios.cfg > > > > Nagios 2.5 > > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last > > Modified: 07-13-2006 > > License: GPL > > > > Reading configuration data... > > [Chop] > > > > > Things look okay - No serious problems were detected during the > > pre-flight check linux:/usr/local/nagios > > > > > > Any ideas? > > Run your preflight as the nagios user, not root, since that's > the user that reads the files. I'm going to guess that the > nagios user can't read /usr/local/nagios/etc/misccommands.cfg > due to permissions. > > -- > Marc > > -------------------------------------------------------------- > ---------- > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the > chance to share your opinions on IT & business topics through > brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge &CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From az at whoever.org Tue Oct 10 22:34:53 2006 From: az at whoever.org (Az) Date: Wed, 11 Oct 2006 06:34:53 +1000 Subject: check_oracle plugin returns - CRITICAL - ORA-12154:TNS: count not resolve service name In-Reply-To: <91EDB00F83BAD443A9D05FA67623955A862974@QMAIL.corp.questar.com> References: <91EDB00F83BAD443A9D05FA67623955A862974@QMAIL.corp.questar.com> Message-ID: <452C03ED.8010906@whoever.org> Bret Goodfellow wrote: > I'm wondering if this could be some sort of authentication problem. > When I run the ssh command as nagios, I get the expected reponse: > > *dev02: # su - nagios* > *nagios at dev02:~> ssh -i /usr/local/nagios/.ssh/id_dsa olympus > "/usr/local/nagios/libexec/check_oracle --tablespace mwmt01 nagios > password TS01 98 96"* > *mwmt01 : TS01 OK - 18.80% used [ 487 / 600 MB available > ]|TS01=18.80%;96;98;0;100* > *nagios at dev02:~>* > ** > When I run the ssh command as root, this is where I get the failure: > > *nagios at dev02:~> su - root* > *dev02: #* *ssh -i /usr/local/nagios/.ssh/id_dsa olympus > "/usr/local/nagios/libexec/check_oracle --tablespace mwmt01 nagios > password TS01 98 96"* > **CRITICAL - ORA-12154: TNS:could not resolve service name** > *dev02 : #* > ** > Now, notice when I switch back to nagios and run check_by_ssh (not to > be confused with ssh), I get the same error as above: > > *dev02: # su - nagios* > *nagios at dev02 :~> > /usr/local/nagios/libexec/check_by_ssh -H olympus -i > /usr/local/nagios/.ssh/id_dsa -C > "/usr/local/nagios/libexec/check_oracle --tablespace mwmt01 nagios > password TS01 98 96" -l nagios* > *CRITICAL - ORA-12154: TNS:could not resolve service name* > *nagios at dev02:~> * > > Notice that the last two commands have the same result. The first is > using *ssh* as user _root_, and the second is using *check_by_ssh* as > user _nagios_. Yet, if I run ssh as user nagios I then get the > expected response. Any ideas? > ------------------------------------------------------------------------ > ** While I am not an Oracle guru, my first thoughts are that the user does not have the necessary oracle environment variables setup, thus your tnsnames.ora cannot be located. I'd start off by confirming that point first, then try using tnsping to test that the tnsnames.ora is setup correctly. I dont recall how SSH and environment variables inheritance occurs, which may be another issue in itself. Cheers. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ampranti at gmail.com Wed Oct 11 01:16:53 2006 From: ampranti at gmail.com (Brandino Andreas) Date: Wed, 11 Oct 2006 02:16:53 +0300 Subject: nagiso compilation parameters In-Reply-To: References: <182693626.20061009003615@gmail.com> <6610112690.20061009120912@gmail.com> <1981041420.20061009213811@gmail.com> Message-ID: <1811300563.20061011021653@gmail.com> nice, i will try that thanks for the help regards Tuesday, October 10, 2006, 12:17:36 AM, you wrote: > On Mon, 9 Oct 2006, Brandino Andreas wrote: >> btw, should i prefer source rpm or just install from source? Is there >> any howto for installing source on suse? > Well the generic installation procedure may appy. > 1. Install gcc, make, ...... (if not yet present) > 2. `rpmbuild --rebuild ` > 3. Install the generated package(s) as usual. > Beyond some SuSE specific tricks in the INIT scripts I see no reson why > this would not work. > If you installed not enough in step 1 then step 2 is going to bitch you > about missing .... at which point you can propably see which rpm you > missed in step 1. > And if you base your install on the packages from: > http://www.nagiosexchange.org/SuSE_Linux.74.0.html?&tx_netnagext_pi1%5Bp_view%5D=569 > I guess you can do this whole exercise with your eyes closed and one hand > tied to your back. > Hugo. <> --- - - - --- <> Brandino Andreas ampranti at gmail.com <> --- - - - --- <> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.elali at tsc.nsw.edu.au Wed Oct 11 09:23:55 2006 From: m.elali at tsc.nsw.edu.au (El Ali, Mohamed) Date: Wed, 11 Oct 2006 17:23:55 +1000 Subject: MySQL Plugin Message-ID: Hi All, Is there a mysql plugin that can monitor the mysql service, or can I use a generic service? Regards, Mohamed El Ali Network Engineer The Scots College Victoria Rd, Bellevue Hill 2023 Ph: + 61 02 9391 7760 Mob: 0438 750 871 eMail: m.elali at tsc.nsw.edu.au Attention: This E-mail may contain confidential or legally privileged information. If you are not the intended recipient, please note that any use, dissemination, further distribution, or reproduction of the information in this E-mail in any form, is strictly prohibited. If you are not the intended recipient, please notify me by return E-mail and delete your copy of the E-mail immediately, and accept my apologies for any inconvenience caused. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: scotscrest.BMP Type: image/bmp Size: 23254 bytes Desc: scotscrest.BMP URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Wed Oct 11 09:32:04 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 11 Oct 2006 09:32:04 +0200 Subject: MySQL Plugin In-Reply-To: References: Message-ID: <452C9DF4.6010802@its-lehmann.de> Hi, On 10/11/2006 9:23 AM, El Ali, Mohamed wrote: > > Hi All, > > Is there a mysql plugin that can monitor the mysql service, or can I use > a generic service? I use check_mysql from the regular lugins collection. To compile you need the relevant development packages. Arno > Regards, > > > > Mohamed El Ali > Network Engineer > The Scots College > Victoria Rd, Bellevue Hill 2023 > Ph: + 61 02 9391 7760 > Mob: 0438 750 871 > eMail: m.elali at tsc.nsw.edu.au > > *Attention: * This E-mail may contain confidential or legally privileged > information. If you are not the intended recipient, please note that > any use, dissemination, further distribution, or reproduction of the > information in this E-mail in any form, is strictly prohibited. If you > are not the intended recipient, please notify me by return E-mail and > delete your copy of the E-mail immediately, and accept my apologies for > any inconvenience caused. > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From npaltani at alteanet.it Wed Oct 11 12:18:24 2006 From: npaltani at alteanet.it (Nicola Paltani) Date: Wed, 11 Oct 2006 12:18:24 +0200 Subject: Mailing List Post Message-ID: <452CC4F0.8040105@alteanet.it> Mailing List Post AVVISO DI RISERVATEZZA: questo messaggio ed i suoi allegati possono contenere informazioni riservate. Se avete ricevuto il messaggio per errore, vi informiamo che ogni utilizzo del suo contenuto e' proibito, pertanto, per cortesia, provvedete a cancellarlo ed informate immediatamente il mittente. CONFIDENTIALITY NOTICE: this message and its attachments may contain confidential information. If you have received this message by mistake, be informed that any use of the content hereof is prohibited, therefore, please inform immediately the sender and delete the message, immediately. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From darbin at netsys.am Wed Oct 11 12:25:40 2006 From: darbin at netsys.am (Darbin) Date: Wed, 11 Oct 2006 15:25:40 +0500 Subject: SMS notificatoni Message-ID: <452CC6A4.2080000@netsys.am> Hi all has somebody implemented notification via SMS but not via INTERNET, but using any cell/gsm modem ??? What kind of equipment and soft did you use. regards ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From otabari at batelco.jo Wed Oct 11 12:31:01 2006 From: otabari at batelco.jo (Omar Al-Tabari) Date: Wed, 11 Oct 2006 13:31:01 +0300 Subject: SMS notificatoni In-Reply-To: <452CC6A4.2080000@netsys.am> References: <452CC6A4.2080000@netsys.am> Message-ID: <452CC7E5.80108@batelco.jo> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlongland at grintek.com Wed Oct 11 12:42:53 2006 From: jlongland at grintek.com (John Longland) Date: Wed, 11 Oct 2006 12:42:53 +0200 Subject: SMS notificatoni Message-ID: <510595ECCFAEFC44941F5EDA4324F275011F9B9A@gtmail.grintel.com> -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net]On Behalf Of Darbin Sent: 11 October 2006 12:26 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMS notificatoni Hi all has somebody implemented notification via SMS but not via INTERNET, but using any cell/gsm modem ??? What kind of equipment and soft did you use. regards Hi Darbin I have also used smstools. Works well. I have also made use of the facility that smstools has to receive sms'es. This enabled me to put control into CERTAIN of the staffs hands whereby they can deactivate sms-ing for THEMSELVES ( ONLY !!) if they are no longer on standby. They can then also activate sms-ing to themselves once they go onto standby again. Best ! John -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From npaltani at alteanet.it Wed Oct 11 14:20:26 2006 From: npaltani at alteanet.it (Nicola Paltani) Date: Wed, 11 Oct 2006 14:20:26 +0200 Subject: Notification with 2 command Message-ID: <452CE18A.3000006@alteanet.it> Hi list I'm checking a big number of printers with my nagios server (more then 300) , in detail i'm checking the toner level through snmp , what i need is to send a notification via mail when the toner is law but this message it must contain the model of the printers form which I get the error , so i have made this notification command snmpwalk -v 1 -c public -Ov $HOSTADDRESS$ HOST-RESOURCES-MIB::hrDeviceDescr.1 > /usr/local/nagios/libexec/printername | mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" < /usr/local/nagios/libexec/printername $CONTACTEMAIL$ the first command create a file with the printer model and the second send an email having as body the contents of the file but unluckely it doesn't work , i have discovered that the ? | ? create some problem , with this command i receive an empty body it ignore the file (printername) generated, but if i divide the command in 2 separate and associate all of them to a specific user it works command 1 (to create a file containing the printer model snmpwalk -v 1 -c public -Ov $HOSTADDRESS$ HOST-RESOURCES-MIB::hrDeviceDescr.1 > /usr/local/nagios/libexec/printername command 2 (send an email which have as body the contents of printername) mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" < /usr/local/nagios/libexec/printername $CONTACTEMAIL$ The problem that i have is that it execute first the command 2 and than number 1 (i always receive the printer model of the previuos signaling), i have tried to change the name of the 2 command place a sleep in front of the 2nd command but with no results how i can merge the 2 command or at least tell nagios to execute first command 1 and then 2 AVVISO DI RISERVATEZZA: questo messaggio ed i suoi allegati possono contenere informazioni riservate. Se avete ricevuto il messaggio per errore, vi informiamo che ogni utilizzo del suo contenuto e' proibito, pertanto, per cortesia, provvedete a cancellarlo ed informate immediatamente il mittente. CONFIDENTIALITY NOTICE: this message and its attachments may contain confidential information. If you have received this message by mistake, be informed that any use of the content hereof is prohibited, therefore, please inform immediately the sender and delete the message, immediately. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dan.hopkins at uk.easynet.net Wed Oct 11 15:36:48 2006 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Wed, 11 Oct 2006 14:36:48 +0100 Subject: Notification with 2 command In-Reply-To: <452CE18A.3000006@alteanet.it> References: <452CE18A.3000006@alteanet.it> Message-ID: <1160573808.5929.43.camel@rabid> On Wed, 2006-10-11 at 14:20 +0200, Nicola Paltani wrote: > Hi list > > I'm checking a big number of printers with my nagios server (more then > 300) , in detail i'm checking the toner level through snmp , what i need > is to send a notification via mail when the toner is law but this > message it must contain the model of the printers form which I get the > error , so i have made this notification command > > snmpwalk -v 1 -c public -Ov $HOSTADDRESS$ > HOST-RESOURCES-MIB::hrDeviceDescr.1 > > /usr/local/nagios/libexec/printername | > > mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is > $SERVICESTATE$ **" < /usr/local/nagios/libexec/printername $CONTACTEMAIL$ > > the first command create a file with the printer model and the second > send an email having as body the contents of the file > > but unluckely it doesn't work , i have discovered that the ? | ? create > some problem , with this command i receive an empty body it ignore the > file (printername) generated, but if i divide the command in 2 separate > and associate all of them to a specific user it works > > command 1 (to create a file containing the printer model > > snmpwalk -v 1 -c public -Ov $HOSTADDRESS$ > HOST-RESOURCES-MIB::hrDeviceDescr.1 > /usr/local/nagios/libexec/printername > > command 2 (send an email which have as body the contents of printername) > > mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is > $SERVICESTATE$ **" < /usr/local/nagios/libexec/printername $CONTACTEMAIL$ > > The problem that i have is that it execute first the command 2 and than > number 1 (i always receive the printer model of the previuos signaling), > i have tried to change the name of the 2 command place a sleep in front > of the 2nd command but with no results > > how i can merge the 2 command or at least tell nagios to execute first > command 1 and then 2 Why not just create a plugin that queries both the toner level and the printer name and includes the name in the plugin output? Dan ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bret.Goodfellow at questar.com Wed Oct 11 15:39:00 2006 From: Bret.Goodfellow at questar.com (Bret Goodfellow) Date: Wed, 11 Oct 2006 07:39:00 -0600 Subject: check_oracle plugin returns - CRITICAL - ORA-12154:TNS: count not resolve service name Message-ID: <91EDB00F83BAD443A9D05FA67623955A862976@QMAIL.corp.questar.com> Don't you find it surprising that the same user, nagios, can run ssh successfully and not check_by_ssh? Why would the environment variables change? Anyway, I'm still checking into what you said. Thanks ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Az Sent: Tuesday, October 10, 2006 2:35 PM To: Bret Goodfellow Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_oracle plugin returns - CRITICAL - ORA-12154:TNS: count not resolve service name Bret Goodfellow wrote: I'm wondering if this could be some sort of authentication problem. When I run the ssh command as nagios, I get the expected reponse: dev02: # su - nagios nagios at dev02:~> ssh -i /usr/local/nagios/.ssh/id_dsa olympus "/usr/local/nagios/libexec/check_oracle --tablespace mwmt01 nagios password TS01 98 96" mwmt01 : TS01 OK - 18.80% used [ 487 / 600 MB available ]|TS01=18.80%;96;98;0;100 nagios at dev02:~> When I run the ssh command as root, this is where I get the failure: nagios at dev02:~> su - root dev02: # ssh -i /usr/local/nagios/.ssh/id_dsa olympus "/usr/local/nagios/libexec/check_oracle --tablespace mwmt01 nagios password TS01 98 96" CRITICAL - ORA-12154: TNS:could not resolve service name dev02 : # Now, notice when I switch back to nagios and run check_by_ssh (not to be confused with ssh), I get the same error as above: dev02: # su - nagios nagios at dev02:~> /usr/local/nagios/libexec/check_by_ssh -H olympus -i /usr/local/nagios/.ssh/id_dsa -C "/usr/local/nagios/libexec/check_oracle --tablespace mwmt01 nagios password TS01 98 96" -l nagios CRITICAL - ORA-12154: TNS:could not resolve service name nagios at dev02:~> Notice that the last two commands have the same result. The first is using ssh as user root, and the second is using check_by_ssh as user nagios. Yet, if I run ssh as user nagios I then get the expected response. Any ideas? ________________________________ While I am not an Oracle guru, my first thoughts are that the user does not have the necessary oracle environment variables setup, thus your tnsnames.ora cannot be located. I'd start off by confirming that point first, then try using tnsping to test that the tnsnames.ora is setup correctly. I dont recall how SSH and environment variables inheritance occurs, which may be another issue in itself. Cheers. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lobbin at gmail.com Wed Oct 11 16:01:57 2006 From: lobbin at gmail.com (Robin Ericsson) Date: Wed, 11 Oct 2006 16:01:57 +0200 Subject: check_oracle plugin returns - CRITICAL - ORA-12154:TNS: count not resolve service name In-Reply-To: <91EDB00F83BAD443A9D05FA67623955A862976@QMAIL.corp.questar.com> References: <91EDB00F83BAD443A9D05FA67623955A862976@QMAIL.corp.questar.com> Message-ID: On 10/11/06, Bret Goodfellow wrote: > Don't you find it surprising that the same user, nagios, can run ssh > successfully and not check_by_ssh? Why would the environment variables > change? Anyway, I'm still checking into what you said. Thanks Maybe you could instruct check_by_ssh to execute check_oracle as user nagios instead? (And of cource setting up ssh keys etc, so that nagios can login). -- regards, Robin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Oct 11 16:16:32 2006 From: marc at ena.com (Marc Powell) Date: Wed, 11 Oct 2006 09:16:32 -0500 Subject: Notification with 2 command Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nicola Paltani > Sent: Wednesday, October 11, 2006 7:20 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notification with 2 command > > Hi list > > I'm checking a big number of printers with my nagios server (more then > 300) , in detail i'm checking the toner level through snmp , what i need > is to send a notification via mail when the toner is law but this > message it must contain the model of the printers form which I get the > error , so i have made this notification command > > snmpwalk -v 1 -c public -Ov $HOSTADDRESS$ > HOST-RESOURCES-MIB::hrDeviceDescr.1 > > /usr/local/nagios/libexec/printername | > > mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is > $SERVICESTATE$ **" < /usr/local/nagios/libexec/printername $CONTACTEMAIL$ > > the first command create a file with the printer model and the second > send an email having as body the contents of the file > > but unluckely it doesn't work , i have discovered that the " | " create > some problem , with this command i receive an empty body it ignore the > file (printername) generated, but if i divide the command in 2 separate > and associate all of them to a specific user it works [chop] > > how i can merge the 2 command or at least tell nagios to execute first > command 1 and then 2 Make your notification command a real script instead of trying to do it all in one shot. That'll also give you greater flexibility to include additional information should you want it. Note that this is untested but it's very straightforward -- #!/bin/sh # printer-notify-by-email example script # $1 = $HOSTADDRESS$ # $2 = $NOTIFICATIONTYPE$ # $3 = $HOSTALIAS$ # $4 = $SERVICEDESC$ # $5 = $SERVICESTATE$ # $6 = $CONTACTEMAIL$ # # Matching notification command command_line -- # command_line $USER1$/printer-notify-by-email $HOSTADDRESS$ $NOTIFICATIONTYPE$ "$HOSTALIAS$" "$SERVICEDESC" $SERVICESTATE$ $CONTACTEMAIL$ # Get the printer info /path/to/snmpwalk -v 1 -c public -Ov $1 HOST-RESOURCES-MIB::hrDeviceDescr.1 > /usr/local/nagios/libexec/printername # E-mail it to the contact /path/to/mail -s "** $2 alert - $3/$4 is $5 **" < /usr/local/nagios/libexec/printername $6 # Remove the printer info /bin/rm /usr/local/nagios/libexec/printername ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrutkows at ramapo.edu Wed Oct 11 20:22:27 2006 From: jrutkows at ramapo.edu (Jeff Rutkowski) Date: Wed, 11 Oct 2006 14:22:27 -0400 (EDT) Subject: Starting up Nagios Message-ID: <20061011142227.AEF03061@msg-1.mail.ramapo.edu> OK, I've played around with it some more today, I took the startup script from production and made the necessary modifications, and now I'm getting: Starting nagios + config_check + /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg + '[' 0 -eq 0 ']' + return 0 + '[' 0 -eq 0 ']' + su jrutkows -c 'touch /usr/local/nagios/var/nagios.log /usr/local/nagios/var/status.sav' + startproc /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg startproc: exit status of parent of /usr/local/nagios/bin/nagios: 254 Nagios is still not starting and nothing is getting written to nagios.log. Anyone have any ideas? Thanks. ___________________ Jeff Rutkowski Unix Administrator Ramapo College of NJ 505 Ramapo Valley Rd. Mahwah, NJ 07430 (201) 684-6804 jrutkows at ramapo.edu ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From routed2000 at yahoo.com Wed Oct 11 21:25:15 2006 From: routed2000 at yahoo.com (G Bit) Date: Wed, 11 Oct 2006 12:25:15 -0700 (PDT) Subject: checking notification status of the cluster Message-ID: <20061011192515.31852.qmail@web51611.mail.yahoo.com> Hi, Is there a way to check the notification setting at the cluster level. We disable notification for the entire cluster and forget about it. So I want to write a plugin that crons periodically and report to us about the notification setting. The status.dat file doesn't seem to contain the information. I noticed CGI programs like tac.cgi or status.cgi seem to display that information. Where does it get that information from. -- ..Senthil __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From routed2000 at yahoo.com Wed Oct 11 21:31:16 2006 From: routed2000 at yahoo.com (G Bit) Date: Wed, 11 Oct 2006 12:31:16 -0700 (PDT) Subject: Schedule Downtime for the entire cluster Message-ID: <20061011193116.78445.qmail@web51603.mail.yahoo.com> Hi, Is there a way to schedule downtime for an entire cluster. Thanks. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Oct 11 21:37:55 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 11 Oct 2006 12:37:55 -0700 Subject: Schedule Downtime for the entire cluster In-Reply-To: <20061011193116.78445.qmail@web51603.mail.yahoo.com> References: <20061011193116.78445.qmail@web51603.mail.yahoo.com> Message-ID: <20061011193755.GY6489@pmorris.usa.hp.com> On Wed, 11 Oct 2006, G Bit wrote: > Hi, > > Is there a way to schedule downtime for an entire cluster. What do you mean by "cluster," exactly? I'f seen you use it in a couple messages now, but I'm not sure what you're asking. A cluster of Nagios servers? A cluster being checked by one of the check_cluster plugins? Something else? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From routed2000 at yahoo.com Wed Oct 11 21:38:11 2006 From: routed2000 at yahoo.com (G Bit) Date: Wed, 11 Oct 2006 12:38:11 -0700 (PDT) Subject: Schedule Downtime for the entire cluster In-Reply-To: <20061011193755.GY6489@pmorris.usa.hp.com> References: <20061011193755.GY6489@pmorris.usa.hp.com> Message-ID: <20061011193811.95031.qmail@web51613.mail.yahoo.com> --- Patrick Morris wrote: > On Wed, 11 Oct 2006, G Bit wrote: > > > Hi, > > > > Is there a way to schedule downtime for an entire cluster. > > What do you mean by "cluster," exactly? I'f seen you use it in a couple > messages now, but I'm not sure what you're asking. Sorry for not being clear. I meant, a cluster of Nagios servers. > > A cluster of Nagios servers? A cluster being checked by one of the > check_cluster plugins? Something else? > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From routed2000 at yahoo.com Wed Oct 11 21:46:23 2006 From: routed2000 at yahoo.com (G Bit) Date: Wed, 11 Oct 2006 12:46:23 -0700 (PDT) Subject: checking notification status of the cluster In-Reply-To: <20061011192515.31852.qmail@web51611.mail.yahoo.com> References: <20061011192515.31852.qmail@web51611.mail.yahoo.com> Message-ID: <20061011194623.45960.qmail@web51602.mail.yahoo.com> --- G Bit wrote: > Hi, > > Is there a way to check the notification setting at the cluster level. We disable notification > for the entire cluster and forget about it. So I want to write a plugin that crons periodically > and > report to us about the notification setting. > > The status.dat file doesn't seem to contain the information. I noticed CGI programs like tac.cgi > or status.cgi seem to display that information. Where does it get that information from. Spoke to soon. There is a enable_notification setting in the "program" block of status.dat. I think I can use that. Please let me know if it is not the correct one. Thanks. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From az at whoever.org Wed Oct 11 22:35:22 2006 From: az at whoever.org (Az) Date: Thu, 12 Oct 2006 06:35:22 +1000 Subject: SMS notificatoni In-Reply-To: <452CC6A4.2080000@netsys.am> References: <452CC6A4.2080000@netsys.am> Message-ID: <452D558A.4010805@whoever.org> Darbin wrote: > Hi all > has somebody implemented notification via SMS but not via INTERNET, but > using any cell/gsm modem ??? > What kind of equipment and soft did you use. For a more complete set of responses, I would recommend searching the archives as this topic has been done to death. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bret.Goodfellow at questar.com Wed Oct 11 22:43:35 2006 From: Bret.Goodfellow at questar.com (Bret Goodfellow) Date: Wed, 11 Oct 2006 14:43:35 -0600 Subject: check_oracle plugin returns - CRITICAL- ORA-12154:TNS: count not resolve service name Message-ID: <91EDB00F83BAD443A9D05FA67623955A862979@QMAIL.corp.questar.com> The user (nagios) is the id that is executing both ssh and check_by_ssh. I did discover though, that when these commands are run, the "environments" established for ssh and check_by_ssh are different. Below is the environment established for ssh (THIS IS THE ONE THAT WORKS!!): SHELL=/bin/bash SSH_CLIENT=10.8.24.170 58641 22 USER=nagios LS_COLORS= ORACLE_SID=ver_9206 ORACLE_BASE=/oracle ORACLE_ADHOC=/oracle/local/adhoc MAIL=/var/mail/nagios PATH=/usr/bin:/bin:/usr/sbin:/sbin TNS_ADMIN=/oracle/network/admin PWD=/home/nagios LANG=en_US.UTF-8 SQLPATH=/oracle/local/adhoc:%PATH SHLVL=1 HOME=/home/nagios LS_OPTIONS=-N --color=non -T O LOGNAME=nagios SSH_CONNECTION=10.8.24.170 58641 10.8.24.191 22 ORACLE_HOME=/oracle/product/9.2.0.6 _=/usr/bin/env And, here is the environment when running the command, check_by_ssh (THIS ONE FAILS): SHELL=/bin/bash SSH_CLIENT=10.8.24.170 58641 22 USER=nagios LS_COLORS= MAIL=/var/mail/nagios PATH=/usr/bin:/bin:/usr/sbin:/sbin PWD=/home/nagios SHLVL=1 HOME=/home/nagios LS_OPTIONS=-N --color=non -T O LOGNAME=nagios SSH_CONNECTION=10.8.24.170 58641 10.8.24.191 22 _=/usr/bin/env I'm running both commands form the same server as user, nagios. It appears that check_by_ssh changes my env settings (notice that there are no ORACLE environments specified). Does check_by_ssh not use the /etc/ssh/config settings? Where is this done? I would almost believe that check_by_ssh bypasses the default ssh settings for sending env variables. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Bret Goodfellow Sent: Wednesday, October 11, 2006 7:39 AM To: Az Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_oracle plugin returns - CRITICAL- ORA-12154:TNS: count not resolve service name Don't you find it surprising that the same user, nagios, can run ssh successfully and not check_by_ssh? Why would the environment variables change? Anyway, I'm still checking into what you said. Thanks ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Az Sent: Tuesday, October 10, 2006 2:35 PM To: Bret Goodfellow Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_oracle plugin returns - CRITICAL - ORA-12154:TNS: count not resolve service name Bret Goodfellow wrote: I'm wondering if this could be some sort of authentication problem. When I run the ssh command as nagios, I get the expected reponse: dev02: # su - nagios nagios at dev02:~> ssh -i /usr/local/nagios/.ssh/id_dsa olympus "/usr/local/nagios/libexec/check_oracle --tablespace mwmt01 nagios password TS01 98 96" mwmt01 : TS01 OK - 18.80% used [ 487 / 600 MB available ]|TS01=18.80%;96;98;0;100 nagios at dev02:~> When I run the ssh command as root, this is where I get the failure: nagios at dev02:~> su - root dev02: # ssh -i /usr/local/nagios/.ssh/id_dsa olympus "/usr/local/nagios/libexec/check_oracle --tablespace mwmt01 nagios password TS01 98 96" CRITICAL - ORA-12154: TNS:could not resolve service name dev02 : # Now, notice when I switch back to nagios and run check_by_ssh (not to be confused with ssh), I get the same error as above: dev02: # su - nagios nagios at dev02:~> /usr/local/nagios/libexec/check_by_ssh -H olympus -i /usr/local/nagios/.ssh/id_dsa -C "/usr/local/nagios/libexec/check_oracle --tablespace mwmt01 nagios password TS01 98 96" -l nagios CRITICAL - ORA-12154: TNS:could not resolve service name nagios at dev02:~> Notice that the last two commands have the same result. The first is using ssh as user root, and the second is using check_by_ssh as user nagios. Yet, if I run ssh as user nagios I then get the expected response. Any ideas? ________________________________ While I am not an Oracle guru, my first thoughts are that the user does not have the necessary oracle environment variables setup, thus your tnsnames.ora cannot be located. I'd start off by confirming that point first, then try using tnsping to test that the tnsnames.ora is setup correctly. I dont recall how SSH and environment variables inheritance occurs, which may be another issue in itself. Cheers. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 11 22:42:10 2006 From: ae at op5.se (Andreas Ericsson) Date: Wed, 11 Oct 2006 22:42:10 +0200 Subject: FW: Starting up Nagios In-Reply-To: <009901c6eca8$1ae34280$de8311ac@DDVCV2B1> References: <009901c6eca8$1ae34280$de8311ac@DDVCV2B1> Message-ID: <452D5722.406@op5.se> Jeff Rutkowski wrote: > Poking around I noticed something.... I wonder if this is part of the > problem: > > linux:/usr/local/nagios # file etc/nagios.cfg > etc/nagios.cfg: ASCII English text > linux:/usr/local/nagios # file etc/misccommands.cfg > etc/misccommands.cfg: ASCII English text, with very long lines > linux:/usr/local/nagios # > It's not. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Oct 11 22:59:34 2006 From: marc at ena.com (Marc Powell) Date: Wed, 11 Oct 2006 15:59:34 -0500 Subject: Starting up Nagios Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jeff Rutkowski > Sent: Wednesday, October 11, 2006 1:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Starting up Nagios > > OK, I've played around with it some more today, I took the startup script > from production and made the necessary modifications, and now I'm getting: > > Starting nagios + config_check > + /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > + '[' 0 -eq 0 ']' > + return 0 > + '[' 0 -eq 0 ']' > + su jrutkows -c 'touch /usr/local/nagios/var/nagios.log > /usr/local/nagios/var/status.sav' > + startproc /usr/local/nagios/bin/nagios -d > /usr/local/nagios/etc/nagios.cfg > startproc: exit status of parent of /usr/local/nagios/bin/nagios: 254 > > > Nagios is still not starting and nothing is getting written to nagios.log. > Anyone have any ideas? Thanks. Try running nagios as a foreground process -- su - jrutkows /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bret.Goodfellow at questar.com Wed Oct 11 23:13:41 2006 From: Bret.Goodfellow at questar.com (Bret Goodfellow) Date: Wed, 11 Oct 2006 15:13:41 -0600 Subject: check_by_ssh vs. ssh (when executed, have different environments) Message-ID: <91EDB00F83BAD443A9D05FA67623955A86297A@QMAIL.corp.questar.com> The user (nagios) is the id that is executing both ssh and check_by_ssh. When these commands are run, the "environments" established for ssh and check_by_ssh are different (why)? Below is the environment established for ssh: SHELL=/bin/bash SSH_CLIENT=10.8.24.170 58641 22 USER=nagios LS_COLORS= ORACLE_SID=ver_9206 ORACLE_BASE=/oracle ORACLE_ADHOC=/oracle/local/adhoc MAIL=/var/mail/nagios PATH=/usr/bin:/bin:/usr/sbin:/sbin TNS_ADMIN=/oracle/network/admin PWD=/home/nagios LANG=en_US.UTF-8 SQLPATH=/oracle/local/adhoc:%PATH SHLVL=1 HOME=/home/nagios LS_OPTIONS=-N --color=non -T O LOGNAME=nagios SSH_CONNECTION=10.8.24.170 58641 10.8.24.191 22 ORACLE_HOME=/oracle/product/9.2.0.6 _=/usr/bin/env And, here is the environment when running the command, check_by_ssh: SHELL=/bin/bash SSH_CLIENT=10.8.24.170 58641 22 USER=nagios LS_COLORS= MAIL=/var/mail/nagios PATH=/usr/bin:/bin:/usr/sbin:/sbin PWD=/home/nagios SHLVL=1 HOME=/home/nagios LS_OPTIONS=-N --color=non -T O LOGNAME=nagios SSH_CONNECTION=10.8.24.170 58641 10.8.24.191 22 _=/usr/bin/env I'm running both commands from the same server as user, nagios. It appears that check_by_ssh changes my env settings (notice that there are no ORACLE environments specified). Does check_by_ssh not use the /etc/ssh/config settings? Where is this done? I would almost believe that check_by_ssh bypasses the default ssh settings for sending env variables. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Oct 11 23:58:40 2006 From: marc at ena.com (Marc Powell) Date: Wed, 11 Oct 2006 16:58:40 -0500 Subject: check_by_ssh vs. ssh (when executed, have different environments) Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Bret Goodfellow > Sent: Wednesday, October 11, 2006 4:14 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_by_ssh vs. ssh (when executed,have different > environments) > > The user (nagios) is the id that is executing both ssh and check_by_ssh. > When these commands are run, the "environments" established for ssh and > check_by_ssh are different (why)? > > Below is the environment established for ssh: > > SHELL=/bin/bash > SSH_CLIENT=10.8.24.170 58641 22 > USER=nagios > LS_COLORS= > ORACLE_SID=ver_9206 > ORACLE_BASE=/oracle > ORACLE_ADHOC=/oracle/local/adhoc > MAIL=/var/mail/nagios > PATH=/usr/bin:/bin:/usr/sbin:/sbin > TNS_ADMIN=/oracle/network/admin > PWD=/home/nagios > LANG=en_US.UTF-8 > SQLPATH=/oracle/local/adhoc:%PATH > SHLVL=1 > HOME=/home/nagios > LS_OPTIONS=-N --color=non -T O > LOGNAME=nagios > SSH_CONNECTION=10.8.24.170 58641 10.8.24.191 22 > ORACLE_HOME=/oracle/product/9.2.0.6 > _=/usr/bin/env > > And, here is the environment when running the command, check_by_ssh: > > SHELL=/bin/bash > SSH_CLIENT=10.8.24.170 58641 22 > USER=nagios > LS_COLORS= > MAIL=/var/mail/nagios > PATH=/usr/bin:/bin:/usr/sbin:/sbin > PWD=/home/nagios > SHLVL=1 > HOME=/home/nagios > LS_OPTIONS=-N --color=non -T O > LOGNAME=nagios > SSH_CONNECTION=10.8.24.170 58641 10.8.24.191 22 > _=/usr/bin/env > > I'm running both commands from the same server as user, nagios. It > appears that check_by_ssh changes my env settings (notice that there are > no ORACLE environments specified). Does check_by_ssh not use the > /etc/ssh/config settings? Where is this done? I would almost believe > that check_by_ssh bypasses the default ssh settings for sending env > variables. check_by_ssh does not initiate a full login shell when executing commands. In fact, it is a simple but intelligent wrapper for 'ssh user at host somecommand' so as such, the ssh command on the remote host is going to see only the environment variables available for a non-login process and those that ssh specifically sets. 'man ssh' and search for 'ENVIRONMENT'. That section of the man page will detail the limited number of environment variables that ssh will set on it's own and how to add others via $HOME/.ssh/environment. check_by_ssh doesn't modify or limit the remote environment in any way. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Thu Oct 12 00:43:34 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Wed, 11 Oct 2006 18:43:34 -0400 Subject: check_by_ssh vs. ssh (when executed, have different environments) In-Reply-To: Your message of "Wed, 11 Oct 2006 16:58:40 CDT." References: Message-ID: <200610112243.k9BMhYXP028411@mx1.cs.umb.edu> In message , "Marc Powell" writes: >> On Behalf Of Bret Goodfellow >> The user (nagios) is the id that is executing both ssh and check_by_ssh. >> When these commands are run, the "environments" established for ssh and >> check_by_ssh are different (why)? >> >check_by_ssh does not initiate a full login shell when executing >commands. In fact, it is a simple but intelligent wrapper for 'ssh >user at host somecommand' so as such, the ssh command on the remote host is >going to see only the environment variables available for a non-login >process and those that ssh specifically sets. 'man ssh' and search for >'ENVIRONMENT'. That section of the man page will detail the limited >number of environment variables that ssh will set on it's own and how to >add others via $HOME/.ssh/environment. check_by_ssh doesn't modify or >limit the remote environment in any way. Also the envirnment passed to ssh when run under check_by_ssh is sanitized as well to limited set of variables. You need to look at the code to see how it sanitizes the environment to prevent security issues. One of the things that this prevents is use of the ssh agent to authenticate for check_by_ssh. So what you need to do is write a shell wrapper that sets the varibles you need for check_oracle and invoke the wrapper instead of check_oracle directly. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From craig.worthington at qld.gov.au Thu Oct 12 01:10:59 2006 From: craig.worthington at qld.gov.au (Craig Worthington) Date: Thu, 12 Oct 2006 09:10:59 +1000 Subject: check_by_ssh vs. ssh (when executed, have different environments) In-Reply-To: <200610112243.k9BMhYXP028411@mx1.cs.umb.edu> References: <200610112243.k9BMhYXP028411@mx1.cs.umb.edu> Message-ID: <1160608259.963.32.camel@localhost> On the same sort of ssh track... Is it possible to configure ssh or check_by_ssh to use a ssh tunnel ? I have a number of heavy loaded computers (executing climate models) where re-establishing ssh connections every 30 seconds is causing a load problem. I guess the goal would be to have a check-plugin were it looks for a tunnel and then leaves the tunnel open after the check has finished. Is there a existing check which does something like this ?? Craig Worthington Dept. of Natural Resource Queensland Australia On Thu, 2006-10-12 at 08:43, John P. Rouillard wrote: > In message , > "Marc Powell" writes: > >> On Behalf Of Bret Goodfellow > >> The user (nagios) is the id that is executing both ssh and check_by_ssh. > >> When these commands are run, the "environments" established for ssh and > >> check_by_ssh are different (why)? > >> > >check_by_ssh does not initiate a full login shell when executing > >commands. In fact, it is a simple but intelligent wrapper for 'ssh > >user at host somecommand' so as such, the ssh command on the remote host is > >going to see only the environment variables available for a non-login > >process and those that ssh specifically sets. 'man ssh' and search for > >'ENVIRONMENT'. That section of the man page will detail the limited > >number of environment variables that ssh will set on it's own and how to > >add others via $HOME/.ssh/environment. check_by_ssh doesn't modify or > >limit the remote environment in any way. > > Also the envirnment passed to ssh when run under check_by_ssh is > sanitized as well to limited set of variables. You need to look at the > code to see how it sanitizes the environment to prevent security > issues. One of the things that this prevents is use of the ssh agent > to authenticate for check_by_ssh. > > So what you need to do is write a shell wrapper that sets the varibles > you need for check_oracle and invoke the wrapper instead of > check_oracle directly. > > -- rouilj > John Rouillard > =========================================================================== > My employers don't acknowledge my existence much less my opinions. > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Thu Oct 12 02:30:40 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Wed, 11 Oct 2006 20:30:40 -0400 Subject: check_by_ssh vs. ssh (when executed, have different environments) In-Reply-To: Your message of "Thu, 12 Oct 2006 09:10:59 +1000." <1160608259.963.32.camel@localhost> References: <1160608259.963.32.camel@localhost> Message-ID: <200610120030.k9C0Uenm020723@mx1.cs.umb.edu> Top posting. Reformatted: In message <1160608259.963.32.camel at localhost>, Craig Worthington writes: >On Thu, 2006-10-12 at 08:43, John P. Rouillard wrote: >> In message , >> "Marc Powell" writes: >> >> On Behalf Of Bret Goodfellow >> >> The user (nagios) is the id that is executing both ssh and check_by_ssh >. >> >> When these commands are run, the "environments" established for ssh and >> >> check_by_ssh are different (why)? >> >> >> >check_by_ssh does not initiate a full login shell when executing >> >commands. In fact, it is a simple but intelligent wrapper for 'ssh >> >user at host somecommand' so as such, the ssh command on the remote host is >> >going to see only the environment variables available for a non-login >> >process and those that ssh specifically sets. 'man ssh' and search for >> >'ENVIRONMENT'. That section of the man page will detail the limited >> >number of environment variables that ssh will set on it's own and how to >> >add others via $HOME/.ssh/environment. check_by_ssh doesn't modify or >> >limit the remote environment in any way. >> >> Also the envirnment passed to ssh when run under check_by_ssh is >> sanitized as well to limited set of variables. You need to look at the >> code to see how it sanitizes the environment to prevent security >> issues. One of the things that this prevents is use of the ssh agent >> to authenticate for check_by_ssh. >> >> So what you need to do is write a shell wrapper that sets the varibles >> you need for check_oracle and invoke the wrapper instead of >> check_oracle directly. >On the same sort of ssh track... > >Is it possible to configure ssh or check_by_ssh to use a ssh tunnel ? >I have a number of heavy loaded computers (executing climate models) >where re-establishing ssh connections every 30 seconds is causing a load >problem. > >I guess the goal would be to have a check-plugin were it looks for a >tunnel and then leaves the tunnel open after the check has finished. Is >there a existing check which does something like this ?? I would replace the ssh command with a wrapper (if check_by_ssh provided a command arg for the ssh command it should use it would be easier say: "-P /path/to/ssh/wrapper"). Then have the wrapper implement the master mode (-M argument to recent ssh commands) for the host if run by nagios. Alternatively you could use fsh in place of ssh if the user is nagios (at the cost of having to install the daemon etc ugh.) Also supposedly check_by_ssh can run checks for multiple services at the same time. See the -C, -O and -s arguments. I have never been able to get it to work. With this feature you could run a single ssh to execute say 5 check_disk commands. As I said I haven't gotten it to work, but it could cut down on the number of ssh connections that are needed. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 12 04:33:57 2006 From: marc at ena.com (Marc Powell) Date: Wed, 11 Oct 2006 21:33:57 -0500 Subject: check_by_ssh vs. ssh (when executed, have different environments) Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of John P. Rouillard > Sent: Wednesday, October 11, 2006 7:31 PM > To: Craig Worthington > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_by_ssh vs. ssh (when executed,have > different environments) > [chop] > > Also supposedly check_by_ssh can run checks for multiple services at > the same time. See the -C, -O and -s arguments. I have never been able > to get it to work. With this feature you could run a single ssh to > execute say 5 check_disk commands. As I said I haven't gotten it to > work, but it could cut down on the number of ssh connections that are > needed. It can but I haven't tried that myself either. It does so by appending a ';echo STATUS CODE: $?;' (or very close to that) to each command that you pass then parses the output to get the return code for each plugin executed. I believe the end command passed to ssh would look something like -- /path/to/ssh -other -args user at host "command1;echo STATUS CODE: $?;command2;echo STATUS CODE: $?;..." -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Thu Oct 12 08:10:28 2006 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Thu, 12 Oct 2006 11:40:28 +0530 Subject: Monitoring Router / Wan Links with historical data Message-ID: Hi, How can I achieve to get the following using Nagios. 1. Router/swtich CPU and Memory- live graphs and historical statistics also 2. WAN links band width utilization traffic- IN/OUT traffic on a link in Kbps 3. WAN links latency/delay in milli seconds---live and historical statistics Thanks in Advance, Regards, Narendran Neelamegam ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Oct 12 09:11:42 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 12 Oct 2006 03:11:42 -0400 Subject: Monitoring Router / Wan Links with historical data In-Reply-To: References: Message-ID: > How can I achieve to get the following using Nagios. > > 1. Router/swtich CPU and Memory- live graphs and historical > statistics also > > 2. WAN links band width utilization traffic- IN/OUT traffic > on a link in Kbps > > 3. WAN links latency/delay in milli seconds---live and > historical statistics You'd be better of using something designed for what you want, like MRTG. Nagios is a monitoring and alerting tool, not a graphing one. That's not to say you can't tie a graphing tool like MRTG into Nagios, but if what you've listed are your priorities, there are much easier ways to do it. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Thu Oct 12 09:28:24 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Thu, 12 Oct 2006 09:28:24 +0200 Subject: MySQL Plugin In-Reply-To: References: Message-ID: <452DEE98.8090805@its-lehmann.de> Hi, On 10/12/2006 1:08 AM, El Ali, Mohamed wrote: > Hi Arno, > > In my check commands.cfg I have setup the following > > > # 'check_mysql' command definition > define command{ > command_name check_mysql > command_line $USER1$/check_mysql -H $HOSTADDRESS$ > } > > But I have an error of > > (Return code of 127 is out of bounds - plugin may be missing) > > Any ideas ? Sure. First, send such mail to the list - I'm not prepared to accept payment for consulting services from outside of Europe :-) Second, have you verified that the plugin actually exists, can be executed by Nagios, etc? In other words, wou'll need a more detailed problem description. For example, if the plugin can't be built, the corresponding output from the configure and make commands will be what you need. With some experience you'll spot the problem yourself. The Nagios message you quote, for example, shows quite clearly how you could tackle this problem. Arno > Regards, > > Mohamed > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Arno > Lehmann > Sent: Wednesday, 11 October 2006 5:32 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] MySQL Plugin > > Hi, > > On 10/11/2006 9:23 AM, El Ali, Mohamed wrote: > >>Hi All, >> >>Is there a mysql plugin that can monitor the mysql service, or can I >>use a generic service? > > > I use check_mysql from the regular lugins collection. > > To compile you need the relevant development packages. > > Arno > > >>Regards, >> >> >> >> Mohamed El Ali >> Network Engineer >> The Scots College >> Victoria Rd, Bellevue Hill 2023 >> Ph: + 61 02 9391 7760 >> Mob: 0438 750 871 >> eMail: m.elali at tsc.nsw.edu.au >> >>*Attention: * This E-mail may contain confidential or legally >>privileged information. If you are not the intended recipient, please > > >>note that any use, dissemination, further distribution, or >>reproduction of the information in this E-mail in any form, is >>strictly prohibited. If you are not the intended recipient, please >>notify me by return E-mail and delete your copy of the E-mail >>immediately, and accept my apologies for any inconvenience caused. >> >> >> >>---------------------------------------------------------------------- >>-- >> >>---------------------------------------------------------------------- >>--- Using Tomcat but need to do more? Need to support web services, >>security? >>Get stuff done quickly with pre-integrated technology to make your job > > >>easier Download IBM WebSphere Application Server v.1.0.1 based on >>Apache Geronimo >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 >>42 >> >> >>---------------------------------------------------------------------- >>-- >> >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null > > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlongland at grintek.com Thu Oct 12 10:26:56 2006 From: jlongland at grintek.com (John Longland) Date: Thu, 12 Oct 2006 10:26:56 +0200 Subject: query a nagios server Message-ID: <510595ECCFAEFC44941F5EDA4324F275011F9BA0@gtmail.grintel.com> Hi all !!! Just had a thought about a functionality that I would LOVE to add to my nagios system. Currently, I can control, from the cell-phones of the field-personel, the status of their own notifications. i.e. they can activate or deactivate the notifications from nagios to themselves. I would like to add to those 2 commands, commands such as e.g. client1 My script must then query the status of "client1" from nagios. It will then be sent to the cell-phone issuing the query. The command processing is easy, but I haven't a clue at where to start to get any host-info from a nagios server together with the status of the services linked to that host. Am I dreaming to much here !!!!! ?????? ;-) Any pointers ? Thanks ! John -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From npaltani at alteanet.it Thu Oct 12 10:29:21 2006 From: npaltani at alteanet.it (Nicola Paltani) Date: Thu, 12 Oct 2006 10:29:21 +0200 Subject: R: Notification with 2 command References: <452CE18A.3000006@alteanet.it> <1160573808.5929.43.camel@rabid> Message-ID: <3382F38532F7B64E84B13DD68C86B50B113F93@alteamx3.alteanet.it> Hi I have just divided the command with the && instead of the |, tested it perfectly works Snmpwalk -v 1 -c public -Ov $HOSTADDRESS HOST-RESOURCES-MIB::hrDeviceDescr.1 && mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS/$SERVICEDESC is $SERVICESTATE **" $CONTACTEMAIL Many thanks ________________________________ Da: Dan Hopkins [mailto:dan.hopkins at uk.easynet.net] Inviato: mer 11/10/2006 15.36 A: Nicola Paltani Cc: nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] Notification with 2 command On Wed, 2006-10-11 at 14:20 +0200, Nicola Paltani wrote: > Hi list > > I'm checking a big number of printers with my nagios server (more then > 300) , in detail i'm checking the toner level through snmp , what i need > is to send a notification via mail when the toner is law but this > message it must contain the model of the printers form which I get the > error , so i have made this notification command > > snmpwalk -v 1 -c public -Ov $HOSTADDRESS$ > HOST-RESOURCES-MIB::hrDeviceDescr.1 > > /usr/local/nagios/libexec/printername | > > mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is > $SERVICESTATE$ **" < /usr/local/nagios/libexec/printername $CONTACTEMAIL$ > > the first command create a file with the printer model and the second > send an email having as body the contents of the file > > but unluckely it doesn't work , i have discovered that the " | " create > some problem , with this command i receive an empty body it ignore the > file (printername) generated, but if i divide the command in 2 separate > and associate all of them to a specific user it works > > command 1 (to create a file containing the printer model > > snmpwalk -v 1 -c public -Ov $HOSTADDRESS$ > HOST-RESOURCES-MIB::hrDeviceDescr.1 > /usr/local/nagios/libexec/printername > > command 2 (send an email which have as body the contents of printername) > > mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is > $SERVICESTATE$ **" < /usr/local/nagios/libexec/printername $CONTACTEMAIL$ > > The problem that i have is that it execute first the command 2 and than > number 1 (i always receive the printer model of the previuos signaling), > i have tried to change the name of the 2 command place a sleep in front > of the 2nd command but with no results > > how i can merge the 2 command or at least tell nagios to execute first > command 1 and then 2 Why not just create a plugin that queries both the toner level and the printer name and includes the name in the plugin output? Dan AVVISO DI RISERVATEZZA: questo messaggio ed i suoi allegati possono contenere informazioni riservate. Se avete ricevuto il messaggio per errore, vi informiamo che ogni utilizzo del suo contenuto e' proibito, pertanto, per cortesia, provvedete a cancellarlo ed informate immediatamente il mittente. CONFIDENTIALITY NOTICE: this message and its attachments may contain confidential information. If you have received this message by mistake, be informed that any use of the content hereof is prohibited, therefore, please inform immediately the sender and delete the message, immediately. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Oct 12 11:44:07 2006 From: ae at op5.se (Andreas Ericsson) Date: Thu, 12 Oct 2006 11:44:07 +0200 Subject: query a nagios server In-Reply-To: <510595ECCFAEFC44941F5EDA4324F275011F9BA0@gtmail.grintel.com> References: <510595ECCFAEFC44941F5EDA4324F275011F9BA0@gtmail.grintel.com> Message-ID: <452E0E67.2020000@op5.se> John Longland wrote: > Hi all !!! > > Just had a thought about a functionality that I would LOVE to add > to my nagios system. Currently, I can control, from the cell-phones > of the field-personel, the status of their own notifications. i.e. they > can activate or deactivate the notifications from nagios to themselves. > > I would like to add to those 2 commands, commands such as e.g. > > client1 > > My script must then query the status of "client1" from nagios. It will then > be sent to the cell-phone issuing the query. The command processing is easy, > but I haven't a clue at where to start to get any host-info from a nagios > server > together with the status of the services linked to that host. > > Am I dreaming to much here !!!!! ?????? ;-) > No, but quite possibly overpunctuating. > Any pointers ? > The info you're looking for can be found in the status.dat-file I think. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 11 23:13:38 2006 From: ae at op5.se (Andreas Ericsson) Date: Wed, 11 Oct 2006 23:13:38 +0200 Subject: check_oracle plugin returns - CRITICAL- ORA-12154:TNS: count not resolve service name In-Reply-To: <91EDB00F83BAD443A9D05FA67623955A862979@QMAIL.corp.questar.com> References: <91EDB00F83BAD443A9D05FA67623955A862979@QMAIL.corp.questar.com> Message-ID: <452D5E82.5010105@op5.se> Bret Goodfellow wrote: > The user (nagios) is the id that is executing both ssh and check_by_ssh. > I did discover though, that when these commands are run, the > "environments" established for ssh and check_by_ssh are different. > > Below is the environment established for ssh (THIS IS THE ONE THAT > WORKS!!): > > SHELL=/bin/bash > SSH_CLIENT=10.8.24.170 58641 22 > USER=nagios > LS_COLORS= > ORACLE_SID=ver_9206 > ORACLE_BASE=/oracle > ORACLE_ADHOC=/oracle/local/adhoc > MAIL=/var/mail/nagios > PATH=/usr/bin:/bin:/usr/sbin:/sbin > TNS_ADMIN=/oracle/network/admin > PWD=/home/nagios > LANG=en_US.UTF-8 > SQLPATH=/oracle/local/adhoc:%PATH > SHLVL=1 > HOME=/home/nagios > LS_OPTIONS=-N --color=non -T O > LOGNAME=nagios > SSH_CONNECTION=10.8.24.170 58641 10.8.24.191 22 > ORACLE_HOME=/oracle/product/9.2.0.6 > _=/usr/bin/env > > And, here is the environment when running the command, check_by_ssh > (THIS ONE FAILS): > > SHELL=/bin/bash > SSH_CLIENT=10.8.24.170 58641 22 > USER=nagios > LS_COLORS= > MAIL=/var/mail/nagios > PATH=/usr/bin:/bin:/usr/sbin:/sbin > PWD=/home/nagios > SHLVL=1 > HOME=/home/nagios > LS_OPTIONS=-N --color=non -T O > LOGNAME=nagios > SSH_CONNECTION=10.8.24.170 58641 10.8.24.191 22 > _=/usr/bin/env > > I'm running both commands form the same server as user, nagios. It > appears that check_by_ssh changes my env settings (notice that there are > no ORACLE environments specified). Does check_by_ssh not use the > /etc/ssh/config settings? Where is this done? I would almost believe > that check_by_ssh bypasses the default ssh settings for sending env > variables. check_by_ssh executes ssh to connect to the remote server, but it does so by scrapping the entire environment setup in the process. See plugins/runcmd.c for details and commentary. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Thu Oct 12 14:30:00 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Thu, 12 Oct 2006 08:30:00 -0400 Subject: check_by_ssh vs. ssh (when executed, have different environments) In-Reply-To: Your message of "Wed, 11 Oct 2006 21:33:57 CDT." References: Message-ID: <200610121230.k9CCU1Bw012302@mx1.cs.umb.edu> In message , "Marc Powell" writes: >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of John P. Rouillard >> >> Also supposedly check_by_ssh can run checks for multiple services at >> the same time. See the -C, -O and -s arguments. I have never been able >> to get it to work. With this feature you could run a single ssh to >> execute say 5 check_disk commands. As I said I haven't gotten it to >> work, but it could cut down on the number of ssh connections that are >> needed. > >It can but I haven't tried that myself either. It does so by appending a >';echo STATUS CODE: $?;' (or very close to that) to each command that >you pass then parses the output to get the return code for each plugin >executed. I believe the end command passed to ssh would look something >like -- > >/path/to/ssh -other -args user at host "command1;echo STATUS CODE: >$?;command2;echo STATUS CODE: $?;..." Yup that's almost exactly what it does. It doesn't appear to work properly however. I have tried to debug it, but I have yet to be able to get it to work. From the response I have gotten on the plugins list nobody else seems to have got it working either. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrutkows at ramapo.edu Thu Oct 12 16:26:53 2006 From: jrutkows at ramapo.edu (Jeff Rutkowski) Date: Thu, 12 Oct 2006 10:26:53 -0400 Subject: FW: Starting up Nagios Message-ID: <000601c6ee0a$76f0bd10$de8311ac@DDVCV2B1> Thanks Marc, and everyone. I am able to start up nagios now. It turned out to be a couple of bad paths in my cfg file for nagios.log, archives, nagios.pid, nagios.cmd, & status.log. Thanks again. ___________________ Jeff Rutkowski Unix Administrator Ramapo College of NJ 505 Ramapo Valley Rd. Mahwah, NJ 07430 (201) 684-6804 jrutkows at ramapo.edu -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Thursday, October 12, 2006 10:17 AM To: jrutkows at ramapo.edu Subject: RE: [Nagios-users] Starting up Nagios Good. Be sure and post what you find on the list so that there's closure for the problem. -- Marc > -----Original Message----- > From: Jeff Rutkowski [mailto:jrutkows at ramapo.edu] > Sent: Thursday, October 12, 2006 7:52 AM > To: Marc Powell > Subject: RE: [Nagios-users] Starting up Nagios > > Thanks, that has given me good info to t-shoot with. > > > > ___________________ > > Jeff Rutkowski > > Unix Administrator > > Ramapo College of NJ > > 505 Ramapo Valley Rd. > > Mahwah, NJ 07430 > > (201) 684-6804 > > jrutkows at ramapo.edu > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc > Powell > Sent: Wednesday, October 11, 2006 5:00 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Starting up Nagios > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Jeff Rutkowski > > Sent: Wednesday, October 11, 2006 1:22 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Starting up Nagios > > > > OK, I've played around with it some more today, I took the startup > script > > from production and made the necessary modifications, and now I'm > getting: > > > > Starting nagios + config_check > > + /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > + '[' 0 -eq 0 ']' > > + return 0 > > + '[' 0 -eq 0 ']' > > + su jrutkows -c 'touch /usr/local/nagios/var/nagios.log > > /usr/local/nagios/var/status.sav' > > + startproc /usr/local/nagios/bin/nagios -d > > /usr/local/nagios/etc/nagios.cfg > > startproc: exit status of parent of /usr/local/nagios/bin/nagios: 254 > > > > > > Nagios is still not starting and nothing is getting written to > nagios.log. > > Anyone have any ideas? Thanks. > > Try running nagios as a foreground process -- > > su - jrutkows > /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg > > -- > Marc > > ------------------------------------------------------------------------ > - > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 12 20:43:40 2006 From: marc at ena.com (Marc Powell) Date: Thu, 12 Oct 2006 13:43:40 -0500 Subject: need help Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of ramesh kalyandrug > Sent: Thursday, October 12, 2006 1:30 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] need help > > Hi, > > I installed nagios 2.5 on sun solaries .trends.cgi and statusmap.cgi > files are not generated . I installed GD and related packages I am not > able to see the graphic . How set up mrtg plugins and add new nodes to > nagios. If you document please send it to me. It's a FAQ under the Support section of the Nagios website. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kalyandrug at yahoo.com Thu Oct 12 20:30:12 2006 From: kalyandrug at yahoo.com (ramesh kalyandrug) Date: Thu, 12 Oct 2006 11:30:12 -0700 (PDT) Subject: need help Message-ID: <20061012183012.96092.qmail@web32004.mail.mud.yahoo.com> Hi, I installed nagios 2.5 on sun solaries .trends.cgi and statusmap.cgi files are not generated . I installed GD and related packages I am not able to see the graphic . How set up mrtg plugins and add new nodes to nagios. If you document please send it to me. Regards Ramesh Kalyandrug Ramesh Kalyandrug --------------------------------- Stay in the know. Pulse on the new Yahoo.com. Check it out. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrutkows at ramapo.edu Thu Oct 12 21:48:45 2006 From: jrutkows at ramapo.edu (Jeff Rutkowski) Date: Thu, 12 Oct 2006 15:48:45 -0400 Subject: web authentication Message-ID: <000001c6ee37$6dd62300$de8311ac@DDVCV2B1> Ok, continuing on from yesterday. To recap: SuSE 9.3, linux box Nagios 2.5, apache 2.2.3. I am now able to start nagios, but when I try to access it via web browser, it prompts me for id and password, then gives the error: FORBIDDEN You don't have permission to access /nagios/ on this server. I believe I have configured my httpd.conf file correctly, inserted the necessary lines from the install doc. I setup the nagiosadmin account along with a couple of other accounts per the install doc. But still getting the error. Could it be permissions on the htpasswd.users file? It is currently at 644. Any ideas/suggestions would be greatly appreciated. Thanks. ___________________ Jeff Rutkowski Unix Administrator Ramapo College of NJ 505 Ramapo Valley Rd. Mahwah, NJ 07430 (201) 684-6804 jrutkows at ramapo.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Oct 12 21:55:32 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 12 Oct 2006 21:55:32 +0200 (CEST) Subject: web authentication In-Reply-To: <000001c6ee37$6dd62300$de8311ac@DDVCV2B1> References: <000001c6ee37$6dd62300$de8311ac@DDVCV2B1> Message-ID: On Thu, 12 Oct 2006, Jeff Rutkowski wrote: > Ok, continuing on from yesterday. To recap: SuSE 9.3, linux box Nagios > 2.5, apache 2.2.3. > > I am now able to start nagios, but when I try to access it via web > browser, it prompts me for id and password, then gives the error: > > FORBIDDEN > You don't have permission to access /nagios/ on this server. > > I believe I have configured my httpd.conf file correctly, inserted the > necessary lines from the install doc. I setup the nagiosadmin account > along with a couple of other accounts per the install doc. But still > getting the error. Could it be permissions on the htpasswd.users file? > It is currently at 644. Any ideas/suggestions would be greatly > appreciated. Thanks. Well There is such a thing as an access log and an error log that can tell you much about what is going on on your system. Propably much more then we can do at this point. So please go and check those logs and see what they barf about. Then you propably will see what you need to fix. One should never start guessing when there are log files to inspect first. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 12 21:54:51 2006 From: marc at ena.com (Marc Powell) Date: Thu, 12 Oct 2006 14:54:51 -0500 Subject: web authentication Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jeff Rutkowski > Sent: Thursday, October 12, 2006 2:49 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] web authentication > > Ok, continuing on from yesterday. To recap: SuSE 9.3, linux box Nagios > 2.5, apache 2.2.3. > > I am now able to start nagios, but when I try to access it via web > browser, it prompts me for id and password, then gives the error: > > FORBIDDEN > You don't have permission to access /nagios/ on this server. > > I believe I have configured my httpd.conf file correctly, inserted the > necessary lines from the install doc. I setup the nagiosadmin account > along with a couple of other accounts per the install doc. But still > getting the error. Could it be permissions on the htpasswd.users file? It > is currently at 644. Any ideas/suggestions would be greatly appreciated. Check your apache error log for the reject reason from apache. FORBIDDEN implies a server config restriction or filesystem permissions don't allow your apache user read access to the directory/files. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maemigh at gmail.com Thu Oct 12 22:27:59 2006 From: maemigh at gmail.com (Mike Emigh) Date: Thu, 12 Oct 2006 16:27:59 -0400 Subject: NRPE oddities Message-ID: <91eedcbf0610121327p176e601ub95964011d10368b@mail.gmail.com> I'm running NRPE 2.5.1 on a number of machines and occasionally I'll see the processes get stuck just spinning their wheels. It ends utilizing the CPU heavily and needs to be killed. I haven't been able to track down what is causing this, so I wanted to ask if anyone on this list has seen this behavior before. Also, I've seen that NRPE 2.5.2 fixes "a number of bugs" but do not know if it addresses this specifically. I've included output from top and truss below. top: PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND 20950 nagios 1 20 0 3792K 1688K run 78.6H 49.58% nrpe 20675 nagios 1 20 0 3792K 1720K run 79.0H 48.62% nrpe truss: getpid() = 20675 [1] time() = 1160684094 getpid() = 20675 [1] read(8, 0x00050FF8, 5) Err#11 EAGAIN getpid() = 20675 [1] time() = 1160684094 getpid() = 20675 [1] read(8, 0x00050FF8, 5) Err#11 EAGAIN getpid() = 20675 [1] time() = 1160684094 getpid() = 20675 [1] read(8, 0x00050FF8, 5) Err#11 EAGAIN getpid() = 20675 [1] time() = 1160684094 getpid() = 20675 [1] read(8, 0x00050FF8, 5) Err#11 EAGAIN getpid() = 20675 [1] time() = 1160684094 getpid() = 20675 [1] read(8, 0x00050FF8, 5) Err#11 EAGAIN getpid() = 20675 [1] ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg.cope at e-dba.net Fri Oct 13 10:49:38 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Fri, 13 Oct 2006 09:49:38 +0100 Subject: Solaris 2.6 nrpe binaries Message-ID: <1160729378.2684.8.camel@dl.e-dba.net> Hi All. Anyone have v2.5 nrpe binaries for solaris 2.6 available? With ssl? I have a few hosts that are 2.6 without compliers. The nagios plugins and nrpe port on nagios exchange are v1.9 and do not work with 2.5 nagios instances. -- Greg Cope Systems Administrator e-DBA Ltd. 37 Ship Street, Brighton, E.S. BN1 1AB Office Phone: 0870 366 7800 Direct Phone: 0870 366 9900, ext 306 greg.cope at e-dba.com www.e-dba.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Fri Oct 13 11:01:32 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Fri, 13 Oct 2006 10:01:32 +0100 Subject: NRPE oddities In-Reply-To: <91eedcbf0610121327p176e601ub95964011d10368b@mail.gmail.com> References: <91eedcbf0610121327p176e601ub95964011d10368b@mail.gmail.com> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 12/10/2006 21:27:59: > I'm running NRPE 2.5.1 on a number of machines and occasionally I'll > see the processes get stuck just spinning their wheels. It ends > utilizing the CPU heavily and needs to be killed. I haven't been able > to track down what is causing this, so I wanted to ask if anyone on > this list has seen this behavior before. Also, I've seen that NRPE > 2.5.2 fixes "a number of bugs" but do not know if it addresses this > specifically. I've included output from top and truss below. > > top: > PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND > 20950 nagios 1 20 0 3792K 1688K run 78.6H 49.58% nrpe > 20675 nagios 1 20 0 3792K 1720K run 79.0H 48.62% nrpe > > truss: > getpid() = 20675 [1] > time() = 1160684094 > getpid() = 20675 [1] > read(8, 0x00050FF8, 5) Err#11 EAGAIN > getpid() = 20675 [1] > time() = 1160684094 > getpid() = 20675 [1] > read(8, 0x00050FF8, 5) Err#11 EAGAIN > getpid() = 20675 [1] > time() = 1160684094 > getpid() = 20675 [1] > read(8, 0x00050FF8, 5) Err#11 EAGAIN > getpid() = 20675 [1] > time() = 1160684094 > getpid() = 20675 [1] > read(8, 0x00050FF8, 5) Err#11 EAGAIN > getpid() = 20675 [1] > time() = 1160684094 > getpid() = 20675 [1] > read(8, 0x00050FF8, 5) Err#11 EAGAIN > getpid() = 20675 [1] Hi, I don't have any firm answers for you, but I have seen similar wierdness in NRPE on Solaris 8 and 10 when it's compiled with lots of optimisation flags: -O2 -funroll-loops etc.. My only recommendation would be to recompile the same source without running configure again (make clean; vi Makefile; make), but remove all optimisation flags and install just the new nrpe binary on one of the affected servers.. If you're still having problems, please go back through the truss and tell me where the open() call reads the file/socket which returns filehandle 8 and paste in some more info Other things to try: If you're compiling 64bit, try 32bit.. If you have an older version of OpenSSL than 0.9.8b, try updating.. If you have an older GCC 3.x than 3.3 or 3.4 then try updating.. Cheers rob/mossko This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Fri Oct 13 11:03:28 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Fri, 13 Oct 2006 11:03:28 +0200 Subject: Solaris 2.6 nrpe binaries In-Reply-To: <1160729378.2684.8.camel@dl.e-dba.net> References: <1160729378.2684.8.camel@dl.e-dba.net> Message-ID: On 13 Oct, 2006, at 10:49, Greg Cope wrote: > Anyone have v2.5 nrpe binaries for solaris 2.6 available? With ssl? > I have a few hosts that are 2.6 without compliers. Uhm... So you do have a few Solaris 6 boxen with compilers, but not all of them? What's to prevent you from copying the compiled files from one host to another? *confused* Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg.cope at e-dba.net Fri Oct 13 11:11:57 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Fri, 13 Oct 2006 10:11:57 +0100 Subject: Solaris 2.6 nrpe binaries In-Reply-To: References: <1160729378.2684.8.camel@dl.e-dba.net> Message-ID: <1160730717.2684.10.camel@dl.e-dba.net> On Fri, 2006-10-13 at 11:03 +0200, Thomas Sluyter wrote: > On 13 Oct, 2006, at 10:49, Greg Cope wrote: > > > Anyone have v2.5 nrpe binaries for solaris 2.6 available? With ssl? > > I have a few hosts that are 2.6 without compliers. > > Uhm... So you do have a few Solaris 6 boxen with compilers, but not > all of them? No I a few 2.6 hosts. All without compliers. They are customer hosts and installing compliers+libs would be interesting. I am considering this as we have a spare host they could have 2.6 installed. But again that is allot of work. > What's to prevent you from copying the compiled files from one host > to another? *confused* Only if it were that easy! Greg > > Thomas > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Greg Cope Systems Administrator e-DBA Ltd. 37 Ship Street, Brighton, E.S. BN1 1AB Office Phone: 0870 366 7800 Direct Phone: 0870 366 9900, ext 306 greg.cope at e-dba.com www.e-dba.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 13 15:24:05 2006 From: marc at ena.com (Marc Powell) Date: Fri, 13 Oct 2006 08:24:05 -0500 Subject: Solaris 2.6 nrpe binaries Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Greg Cope > Sent: Friday, October 13, 2006 3:50 AM > To: nagios > Subject: [Nagios-users] Solaris 2.6 nrpe binaries > > Hi All. > > Anyone have v2.5 nrpe binaries for solaris 2.6 available? With ssl? > > I have a few hosts that are 2.6 without compliers. > > The nagios plugins and nrpe port on nagios exchange are v1.9 and do not > work with 2.5 nagios instances. Out of curiosity, what problem are you seeing? There's no reason that I can think of that any version of the plugins/nrpe wouldn't work with any version of nagios since that interface has been standardized for a very very long time. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vexster at gmail.com Fri Oct 13 15:48:55 2006 From: vexster at gmail.com (vex) Date: Fri, 13 Oct 2006 15:48:55 +0200 Subject: Service checks when host is down Message-ID: Hi I need that Nagios checks the service status and sends service notifications even if the host status is DOWN. Is it possible? Does Nagios already do that? Thank you very much in advance. -- GPG Key ID: 0x54F0EC40 - Available on: http://pgp.mit.edu FPrint: BE76 A8B3 D5DF 6A50 63DC 3AA5 89C1 D0E8 54F0 EC40 Everybody knows what's best for you. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Fri Oct 13 15:19:29 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Fri, 13 Oct 2006 14:19:29 +0100 Subject: Solaris 2.6 nrpe binaries In-Reply-To: <1160730717.2684.10.camel@dl.e-dba.net> References: <1160730717.2684.10.camel@dl.e-dba.net> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 13/10/2006 10:11:57: > On Fri, 2006-10-13 at 11:03 +0200, Thomas Sluyter wrote: > > On 13 Oct, 2006, at 10:49, Greg Cope wrote: > > > > > Anyone have v2.5 nrpe binaries for solaris 2.6 available? With ssl? > > > I have a few hosts that are 2.6 without compliers. > > > > Uhm... So you do have a few Solaris 6 boxen with compilers, but not > > all of them? > > No I a few 2.6 hosts. All without compliers. > > They are customer hosts and installing compliers+libs would be > interesting. I am considering this as we have a spare host they could > have 2.6 installed. But again that is allot of work. > > > What's to prevent you from copying the compiled files from one host > > to another? *confused* > > Only if it were that easy! If you have one Sol 2.6 system with GCC and OpenSSL, libiconv, libintl etc then you could build NRPE and the plugins as a static binary to avoid any problems with missing libraries etc. If you search this archive or google for "gcc static compile" you should turn up some good info rob This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maemigh at gmail.com Fri Oct 13 16:34:56 2006 From: maemigh at gmail.com (Mike Emigh) Date: Fri, 13 Oct 2006 10:34:56 -0400 Subject: NRPE oddities In-Reply-To: References: <91eedcbf0610121327p176e601ub95964011d10368b@mail.gmail.com> Message-ID: <91eedcbf0610130734wada9d0fgb0ede416958e67ec@mail.gmail.com> On 10/13/06, rob.moss at uk.bnpparibas.com wrote: > > nagios-users-bounces at lists.sourceforge.net wrote on > 12/10/2006 21:27:59: > > > > I'm running NRPE 2.5.1 on a number of machines and occasionally I'll > > see the processes get stuck just spinning their wheels. It ends > > utilizing the CPU heavily and needs to be killed. I haven't been able > > to track down what is causing this, so I wanted to ask if anyone on > > this list has seen this behavior before. Also, I've seen that NRPE > > 2.5.2 fixes "a number of bugs" but do not know if it addresses this > > specifically. I've included output from top and truss below. > > > > top: > > PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND > > 20950 nagios 1 20 0 3792K 1688K run 78.6H 49.58% nrpe > > 20675 nagios 1 20 0 3792K 1720K run 79.0H 48.62% nrpe > > > > truss: > > getpid() = 20675 [1] > > time() = 1160684094 > > getpid() = 20675 [1] > > read(8, 0x00050FF8, 5) Err#11 EAGAIN > > getpid() = 20675 [1] > > time() = 1160684094 > > getpid() = 20675 [1] > > read(8, 0x00050FF8, 5) Err#11 EAGAIN > > getpid() = 20675 [1] > > time() = 1160684094 > > getpid() = 20675 [1] > > read(8, 0x00050FF8, 5) Err#11 EAGAIN > > getpid() = 20675 [1] > > time() = 1160684094 > > getpid() = 20675 [1] > > read(8, 0x00050FF8, 5) Err#11 EAGAIN > > getpid() = 20675 [1] > > time() = 1160684094 > > getpid() = 20675 [1] > > read(8, 0x00050FF8, 5) Err#11 EAGAIN > > getpid() = 20675 [1] > > Hi, > I don't have any firm answers for you, but I have seen similar wierdness > in NRPE on Solaris 8 and 10 when it's compiled with lots of optimisation > flags: -O2 -funroll-loops etc.. > > My only recommendation would be to recompile the same source without running > configure again (make clean; vi Makefile; make), but remove all optimisation > flags and install just the new nrpe binary on one of the affected servers.. > > If you're still having problems, please go back through the truss and tell > me where the open() call reads the file/socket which returns filehandle 8 > and paste in some more info > > Other things to try: If you're compiling 64bit, try 32bit.. If you have an > older version of OpenSSL than 0.9.8b, try updating.. If you have an older > GCC 3.x than 3.3 or 3.4 then try updating.. > > Cheers > rob/mossko > > This message and any attachments (the "message") is > intended solely for the addressees and is confidential. > If you receive this message in error, please delete it and > immediately notify the sender. Any use not in accord with > its purpose, any dissemination or disclosure, either whole > or partial, is prohibited except formal approval. The internet > can not guarantee the integrity of this message. > BNP PARIBAS (and its subsidiaries) shall (will) not > therefore be liable for the message if modified. > > ********************************************************************************************** > > BNP Paribas Private Bank London Branch is authorised > by CECEI & AMF and is regulated by the Financial Services > Authority for the conduct of its investment business in > the United Kingdom. > > BNP Paribas Securities Services London Branch is authorised > by CECEI & AMF and is regulated by the Financial Services > Authority for the conduct of its investment business in > the United Kingdom. > > BNP Paribas Fund Services UK Limited is authorised and > regulated by the Financial Services Authority > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > Unfortunately, I won't be able to collect all of the truss data because I am not able to replicate this situation at will. It just seems to happen after NRPE has been running for a long time. The output which I was able to include in the previous post was just the truss for the running process after I noticed it happening. Thanks for the suggestions, I'll give them a try. Mike ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Oct 13 16:56:47 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 13 Oct 2006 10:56:47 -0400 Subject: Service checks when host is down In-Reply-To: References: Message-ID: > I need that Nagios checks the service status and sends > service notifications even if the host status is DOWN. Is it > possible? Does Nagios already do that? No. If you need this, you probably don't want a host check. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Oct 13 17:17:12 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 13 Oct 2006 16:17:12 +0100 Subject: Service checks when host is down In-Reply-To: References: Message-ID: <452FADF8.9000803@googlemail.com> good question, it's sometimes more important to know what services are down, since you may not remember what that hostname actually does (or it could have loads of services on it that you may not be able to remember everything that isn't working). I would also like to consider doing this actually. How should I got about this? If I don't put in a check command in the host definition, will I continue to receive service down notifications and not host down notifications? -h Hari Sekhon Morris, Patrick wrote: >> I need that Nagios checks the service status and sends >> service notifications even if the host status is DOWN. Is it >> possible? Does Nagios already do that? >> > > No. If you need this, you probably don't want a host check. > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Oct 13 17:36:24 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 13 Oct 2006 16:36:24 +0100 Subject: Service checks when host is down In-Reply-To: References: <452FADF8.9000803@googlemail.com> Message-ID: <452FB278.3020303@googlemail.com> I agree that it is a very good to have both, so if anyone has any good ideas on this then please send them this way.... -h Hari Sekhon vex wrote: > On 10/13/06, Hari Sekhon wrote: >> >> good question, it's sometimes more important to know what services are >> down, since you may not remember what that hostname actually does (or it >> could have loads of services on it that you may not be able to remember >> everything that isn't working). >> >> I would also like to consider doing this actually. How should I got >> about >> this? >> >> If I don't put in a check command in the host definition, will I >> continue >> to receive service down notifications and not host down notifications? > > If you don't define a check command in the host definition you have > found a good workaround to manage your (my) problem. But for several > (boring) reasons I would like to have both the notifications for hosts > and services ... and I'm very afraid that's not possible, is it? > > A. > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Oct 13 17:39:14 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 13 Oct 2006 11:39:14 -0400 Subject: Service checks when host is down In-Reply-To: <452FB278.3020303@googlemail.com> References: <452FB278.3020303@googlemail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Hari Sekhon > Sent: Friday, October 13, 2006 8:36 AM > To: vex > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Service checks when host is down > > I agree that it is a very good to have both, so if anyone has > any good ideas on this then please send them this way.... Why would you need both? The sole purpose of host checks is to keep you from being alerted on services when the host is down. If you want service alerts on a down host, you don't want a host check. It's really pretty simple. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Oct 13 17:45:02 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 13 Oct 2006 16:45:02 +0100 Subject: Service checks when host is down In-Reply-To: References: Message-ID: <452FB47E.2090107@googlemail.com> well, think about it, if you have service down alerts you may think that the service is broken or crashed or switched off. If you see both service and host alerts then you know which services are broken and you can also immediately see that it is due to the machine being down, so you don't waste time trying to remotely connect to it. It's more informative. The problem with host alerts is it is easy to miss what services are broken, since you can have many services on one host. If you have, for example, 9 things being monitored on a server, and the server goes down, you may only be thinking of 5 or 6 services that it hosts, so you would not be aware that another 3-4 services are also down. It's about awareness (and wanting to spam your inbox with more emails ;-) ). -h Hari Sekhon Morris, Patrick wrote: >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >> Of Hari Sekhon >> Sent: Friday, October 13, 2006 8:36 AM >> To: vex >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Service checks when host is down >> >> I agree that it is a very good to have both, so if anyone has >> any good ideas on this then please send them this way.... >> > > Why would you need both? The sole purpose of host checks is to keep you > from being alerted on services when the host is down. If you want > service alerts on a down host, you don't want a host check. It's really > pretty simple. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Oct 13 17:51:44 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 13 Oct 2006 11:51:44 -0400 Subject: Service checks when host is down In-Reply-To: <452FB47E.2090107@googlemail.com> References: <452FB47E.2090107@googlemail.com> Message-ID: > well, think about it, if you have service down alerts you may > think that the service is broken or crashed or switched off. > If you see both service and host alerts then you know which > services are broken and you can also immediately see that it > is due to the machine being down, so you don't waste time > trying to remotely connect to it. It's more informative. There's nothing to stop you from having a service check, such as a ping check, that tells you whether the host is up or not. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Oct 13 18:22:28 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 13 Oct 2006 17:22:28 +0100 Subject: Service checks when host is down In-Reply-To: References: Message-ID: <452FBD44.1070602@googlemail.com> Indeed, that would be ok too, since then you can disable the host check and rely entirely on service checks so you get all the service checks. Almost as good. Of course it won't say host down, but it will say ping failed so you can tell from that. Another down side is that it will pollute your web interface with loads of trivial services, whereas it nice at the moment when all you see is the intended service. It would kind of spoil the web interface in my opinion. I think I will just wait for this to be done at the developer side, so that it is part of the normal configuration options. -h Hari Sekhon Morris, Patrick wrote: >> well, think about it, if you have service down alerts you may >> think that the service is broken or crashed or switched off. >> If you see both service and host alerts then you know which >> services are broken and you can also immediately see that it >> is due to the machine being down, so you don't waste time >> trying to remotely connect to it. It's more informative. >> > > There's nothing to stop you from having a service check, such as a ping > check, that tells you whether the host is up or not. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bret.Goodfellow at questar.com Fri Oct 13 21:48:45 2006 From: Bret.Goodfellow at questar.com (Bret Goodfellow) Date: Fri, 13 Oct 2006 13:48:45 -0600 Subject: check_oracle_instance.pl: Can't locate object method "driver" Message-ID: <91EDB00F83BAD443A9D05FA67623955A86297F@QMAIL.corp.questar.com> I am pretty new to perl, and would like to understand why I am getting the following error when I run check_oracle_instance.pl natively from the linux shell: serv:~ > ./check_oracel_instance.pl -u nagios -p password -c mwm -t 51/55 DBD::Oracle initialisation failed: Can't locate object method "driver" via package "DBD::Oracle" at /usr/lib/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi/DBI.pm line 731. Perhaps the capitalisation of DBD 'Oracle' isn't right. at ./check_oracle_instance.pl line 157 serv:~ > I'm sure some perl guru knows exactly what is wrong here, and could point me in the right direction. Cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From az at whoever.org Sat Oct 14 00:58:52 2006 From: az at whoever.org (Az) Date: Sat, 14 Oct 2006 08:58:52 +1000 Subject: Service checks when host is down In-Reply-To: <452FBD44.1070602@googlemail.com> References: <452FBD44.1070602@googlemail.com> Message-ID: <45301A2C.3040106@whoever.org> Hari Sekhon wrote: > Indeed, that would be ok too, since then you can disable the host > check and rely entirely on service checks so you get all the service > checks. > > Almost as good. Of course it won't say host down, but it will say ping > failed so you can tell from that. > > Another down side is that it will pollute your web interface with > loads of trivial services, whereas it nice at the moment when all you > see is the intended service. > > It would kind of spoil the web interface in my opinion. > > I think I will just wait for this to be done at the developer side, so > that it is part of the normal configuration options. You may also find that it will blow out your service check execution times if you use a ping (service) check of, say, 5 packets @ 1 second apart. It doesnt sound like much but if you have a large number of hosts it *might* cause you problems. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dpthakar at hotmail.com Sat Oct 14 14:07:30 2006 From: dpthakar at hotmail.com (dhaval thakar) Date: Sat, 14 Oct 2006 17:37:30 +0530 Subject: chech_website Message-ID: Dear All, My clients gte logged on to company web site. I want to monitor website login through Nagios, to make sure no disturbance during clients needs. I tried using; /check_website.pl -N -w 4 -c 6 -s /usr/local/nagios-plugins-1.4.3/plugin s/scripts/script.scr thogh i have not specified proper user & passwd result is Process completed in 978.431 msec Kindly help me to configure nagios to check availibility of client login on my web site. I am using JSP pages. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh+nagios-users at zugschlus.de Sat Oct 14 17:29:54 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Sat, 14 Oct 2006 17:29:54 +0200 Subject: User-defined host/service attributes Message-ID: <20061014152954.GH11651@torres.l21.ma.zugschlus.de> Hi, recently, I was confused by my Nagios reporting a host DOWN event while the host was alive and kicking. After debugging for a while, I found out that the host had changed IP addresses and nagios was, of course, still checking the old address since it was configured to check the IP address. To catch such error situations earlier, I'd now like to have Nagios check that the host name indeed still points to the IP address we're actually checking. This is easy enough: define service { use my-service hostgroup_name hostnameip service_description my_hostnameip check_command check_hostnameip } define command { command_name check_hostnameip command_line $USER1$/check_dns --hostname=$HOSTNAME$ --expected-address=$HOSTADDRESS$ } This, however, means that one has to have the DNS name of the host in the host_name field: define host { use my-linux-host host_name ipdesc.iface.host.loc.mydomain.example hostgroups defaultping, snmp-w68, ssh, hostnameip alias foo server running bar and baz services, colocated in blu address 10.1.1.47 parents localhost } This is a bit clumsy since our host names are complicated and lengthy. I'd like to have something like define command { command_name check_hostnameip command_line $USER1$/check_dns --hostname=$CUSTOMATTR$ --expected-address=$HOSTADDRESS$ } define host { use my-linux-host host_name host.mydomain.example custom_attribute ipdesc.iface.host.loc.mydomain.example hostgroups defaultping, snmp-w68, ssh, hostnameip alias foo server running bar and baz services, colocated in blu address 10.1.1.47 parents localhost } If this possible in Nagios2? If not, are there other ideas how to solve this? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle at serv.co.za Sat Oct 14 18:25:48 2006 From: kyle at serv.co.za (Kyle Vorster) Date: Sat, 14 Oct 2006 18:25:48 +0200 Subject: custom fields Message-ID: <45310F8C.2040101@serv.co.za> Hi guys, I am a real newbie with Nagios and only installed it last night, I was wondering if it is possible to have some custom fields like the following, sorry i am not good at explaining things. service_http = "Web server has gone off line on $hostname$" service_pop = "Email server is not responding on $hostname$" What i am trying to do is give a more detailed email notification to my clients. Thank you in advanced. Kind Regards, Kyle Vorster ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Sat Oct 14 21:11:02 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Sat, 14 Oct 2006 15:11:02 -0400 Subject: User-defined host/service attributes In-Reply-To: Your message of "Sat, 14 Oct 2006 17:29:54 +0200." <20061014152954.GH11651@torres.l21.ma.zugschlus.de> References: <20061014152954.GH11651@torres.l21.ma.zugschlus.de> Message-ID: <200610141911.k9EJB2rH012499@mx1.cs.umb.edu> In message <20061014152954.GH11651 at torres.l21.ma.zugschlus.de>, Marc Haber writes: >This, however, means that one has to have the DNS name of the host in >the host_name field: > >define host { > use my-linux-host > host_name ipdesc.iface.host.loc.mydomain.example > hostgroups defaultping, snmp-w68, ssh, hostnameip > alias foo server running bar and baz services, col >ocated in blu > address 10.1.1.47 > parents localhost >} > >This is a bit clumsy since our host names are complicated and lengthy. > >I'd like to have something like > >define command { > command_name check_hostnameip > command_line $USER1$/check_dns --hostname=$CUSTOMATTR$ --expected-ad >dress=$HOSTADDRESS$ >} > >define host { > use my-linux-host > host_name host.mydomain.example > custom_attribute ipdesc.iface.host.loc.mydomain.example > hostgroups defaultping, snmp-w68, ssh, hostnameip > alias foo server running bar and baz services, col >ocated in blu > address 10.1.1.47 > parents localhost >} > >If this possible in Nagios2? If not, are there other ideas how to >solve this? Nagios 3.0 has native support for this. I use a simple wrapper script and define things like: define service{ service_description VpnExternalIFPingCheck hostgroup_name vpn_ip use generic-service check_command check_host_by_icmp!300,20%!500,40%!!`$USER1$/ge t_custom_attributes $HOSTNAME$ VPN-IP` contact_groups renesys-admins-nopage } # 'check_host_via_icmp' command definition define command{ command_name check_host_by_icmp command_line $USER1$/check_icmp -w $ARG1$ -c $ARG2$ -n 2 $ARG3$ $ARG 4$ } with the custom attribute $HOSTNAME$-VPN-IP defined as comment in the host definition like: define host{ host_name example alias examplesite1 address 192.168.9.7 parents sc01_site1 use generic-host # custom_macro ops01-INSTALL-IP 192.168.9.10 # custom_macro ops01-YUM-IP 192.168.97.11 # custom_macro ops01-VPN-IP 169.184.83.10 hostgroups standard_services,standard_linux_services,linux _prod_hosts,internal_hosts,mht1,3ware_raid,dhcp_testers,yum_hosts,install_hosts ,web_role,vpn_hosts,vpn_ip } The get_custom_attributes script below goes in the plugins directory ($USER1$) and change HOSTFILES (files with host object definitons) to a pattern that matches your installation: #! /bin/sh # this needs to run as fast as possible. HOSTFILES="/etc/nagios/hosts/*.cfg" # use cache file if present # create cache file with: # grep -h custom_macro HOSTFILES > custom_macros.cache # where HOSTFILES are the same files as specified above. CACHEFILE="/etc/nagios/hosts/custom_macros.cache" if [ -r $CACHEFILE ]; then FILES="$CACHEFILE" else FILES="$HOSTFILES" fi # sed out lines of the form: # "# custom_macro HOST-VARIABLE VALUE" allowing arbitrary white space before # and after each token. Stripping white space from before (any maybe after) # the value. The sed command will exit on first match. value=`sed -n -e "s/^[ ]*#[ ]*custom_macro[ ]*$1-$2[ ]*\([^ ].*\)[ ]*$/\1/p" -e "t exit" -e "T" -e ":exit;q" $FILES` if [ -z "$value" ]; then echo "'Unable to find $1-$2'" else echo "$value" fi I keep all my nagios files under Config and when new hosts files are pushed a simple command (grep custom_macro $HOSTFILES > .../custom_macros.cache) updates the cache file on every host file change. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From az at whoever.org Sat Oct 14 22:33:53 2006 From: az at whoever.org (Az) Date: Sun, 15 Oct 2006 06:33:53 +1000 Subject: custom fields In-Reply-To: <45310F8C.2040101@serv.co.za> References: <45310F8C.2040101@serv.co.za> Message-ID: <453149B1.2000809@whoever.org> Kyle Vorster wrote: > What i am trying to do is give a more detailed email notification to my > clients. You can define your notification commands (http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#command) with whatever you want in them using the relevant macros (http://nagios.sourceforge.net/docs/2_0/macros.html#arg) as required. An out-of-the-box example... # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$ \nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/ mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Sun Oct 15 13:58:10 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Sun, 15 Oct 2006 12:58:10 +0100 Subject: check_oracle_instance.pl: Can't locate object method "driver" In-Reply-To: <91EDB00F83BAD443A9D05FA67623955A86297F@QMAIL.corp.questar.com> References: <91EDB00F83BAD443A9D05FA67623955A86297F@QMAIL.corp.questar.com> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 13/10/2006 20:48:45: > I am pretty new to perl, and would like to understand why I am > getting the following error when I run check_oracle_instance.pl > natively from the linux shell: > > serv:~ > ./check_oracel_instance.pl -u nagios -p password -c mwm -t 51/55 > DBD::Oracle initialisation failed: Can't locate object method > "driver" via package "DBD::Oracle" at /usr/lib/perl5/vendor_perl/5. > 8.3/x86_64-linux-thread-multi/DBI.pm line 731. > > Perhaps the capitalisation of DBD 'Oracle' isn't right. at . > /check_oracle_instance.pl line 157 > serv:~ > > > I'm sure some perl guru knows exactly what is wrong here, and could > point me in the right direction. This error usually means you haven't installed the DBD::Oracle driver To check, do this ls -la /usr/lib/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi/DBD/ If there is no Oracle.pm module then you haven't installed it .. install it however you install packages on the distro you're running, or do this: perl -MCPAN -e 'install DBD::Oracle' Some more info: http://search.cpan.org/~pythian/DBD-Oracle-1.18a/Oracle.pm This is a common perl module, and you should find plenty of information about it on google or another list for perl/databases. Cheers rob This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From orz3h at tlen.pl Sun Oct 15 14:12:39 2006 From: orz3h at tlen.pl (orzeh) Date: Sun, 15 Oct 2006 14:12:39 +0200 Subject: how to loop event-handlers In-Reply-To: <12A6FDDD13C460408A6E47E5DB1235A234A462@UXCHANGE3.UoA.auckland.ac.nz> References: <12A6FDDD13C460408A6E47E5DB1235A234A462@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: <453225B7.5090308@tlen.pl> Steve Shipway napisa?(a): >>>> It is possible to call event handlers infinitely by >>>> >> nagios? I mean if >> > > The event handler is called by nagios on state change (including count > of checks until hard state) but no other times. So, if you want > something to be continually called then you might need to do it > separately. > > You might like to try playing with the is_volatile=1, and > stalking_options=c to see if this results in multiple calls to the event > handler on every critical check rather than just on state changes? > > Steve > > -- > Steve Shipway > ITSS, University of Auckland > (09) 3737 599 x 86487 > s.shipway at auckland.ac.nz > Thanks! (and sorry for delayed answer) 'is_volatile=1' is the key for this issue (for host I've done the 'dummy'-tests), the event handler is running on every service check, even if the service goes critical/hard. Thanks very much!!! orzeh ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Sun Oct 15 14:49:59 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Sun, 15 Oct 2006 22:49:59 +1000 Subject: to upgrade or not to upgrade? Message-ID: <610cb7a00610150549r11cce5fbm21dbae84a794da47@mail.gmail.com> Hi All, I was wondering if anyone out there has any opinions / experiences about whether or not it's worth my while upgrading my Nagios 1.2 server to the latest version on a Solaris 9 / Sparc server. Many thanks in advance, Alex Harvey UNIX Administrator Sydney, Australia -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Sun Oct 15 15:00:51 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Sun, 15 Oct 2006 23:00:51 +1000 Subject: monitoring for IO in Nagios Message-ID: <610cb7a00610150600q5b368a03o849c766f4af996e2@mail.gmail.com> Hi All, I wonder if anyone out there is using Nagios to monitor disk I/O on UNIX servers and if so I'm curious as to how they're doing it, what plugins they're using, are they calling iostat from a shell script? What options of iostat are they calling etc? Many thanks in advance, Alex Harvey UNIX Administrator Sydney, Australia -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Sun Oct 15 15:46:15 2006 From: jperrin at gmail.com (Jim Perrin) Date: Sun, 15 Oct 2006 09:46:15 -0400 Subject: to upgrade or not to upgrade? In-Reply-To: <610cb7a00610150549r11cce5fbm21dbae84a794da47@mail.gmail.com> References: <610cb7a00610150549r11cce5fbm21dbae84a794da47@mail.gmail.com> Message-ID: <302ce8b50610150646o6be2a982hf8cb3822b9b4071a@mail.gmail.com> > I was wondering if anyone out there has any opinions / experiences about > whether or not it's worth my while upgrading my Nagios 1.2 server to the > latest version on a Solaris 9 / Sparc server. At a minimum I'd recommend updating to the latest 1.x packages so that you've got bugfixes and other updates. Moving to the 2.x tree will require you to modify your configs and variables used. Your choice. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Sun Oct 15 23:09:02 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 16 Oct 2006 10:09:02 +1300 Subject: custom fields In-Reply-To: <453149B1.2000809@whoever.org> References: <453149B1.2000809@whoever.org> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A244A550@UXCHANGE3.UoA.auckland.ac.nz> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Az > Sent: Sunday, 15 October 2006 9:34 a.m. > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] custom fields > > Kyle Vorster wrote: > > What i am trying to do is give a more detailed email > notification to my > > clients. > You can define your notification commands > (http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#comma > nd) with > whatever you want in them using the relevant macros > (http://nagios.sourceforge.net/docs/2_0/macros.html#arg) as required. > > An out-of-the-box example... > > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$ > \nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional > Info:\n\n$OUTPUT$" > | /bin/ > mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is > $SERVICESTATE$ **" $CONTACTEMAIL$ > } > > > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Sun Oct 15 23:13:58 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 16 Oct 2006 10:13:58 +1300 Subject: custom fields In-Reply-To: <453149B1.2000809@whoever.org> References: <453149B1.2000809@whoever.org> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A244A553@UXCHANGE3.UoA.auckland.ac.nz> Az wrote: > Kyle Vorster wrote: > > What i am trying to do is give a more detailed email > notification to my > > clients. > You can define your notification commands > (http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#command) with > whatever you want in them using the relevant macros I think the idea was to get a more detailed description on a *per-service* basis. This was our problem, also. The way I managed to get around it was to create a new program - 'buster'. This has two parts - one, a web frontend that stores messages in a mysql database, and two, an extraction utility that, when given hostname and servicename, will spit out a message deduced from the database. This utility is embedded in the notify command. The web frontend unfortunately doesnt have any extra security in it, so anyone can edit any of the match templates. Also, the extracted messages are fixed text and dont have embedded replaceable symbols; but they can match on host, hstgroup, servicename, status, and using wildcards. I havent posted to Nagiosexchange because it would require a bit more work to be generic enough for everyone else to use it easily; however if youre perl-savvy email me and you can have a copy. The name 'buster' comes from 'ghostbuster', since it is supposed to use this extra text to tell the night ops who they're gonna call... Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sjaaknabuurs at citytower.com Sun Oct 15 23:16:11 2006 From: sjaaknabuurs at citytower.com (Sjaak Nabuurs) Date: Sun, 15 Oct 2006 23:16:11 +0200 Subject: serviceextinfo view Graph in main frame Message-ID: <4532A51B.70707@citytower.com> Hello How can I tell nagios status.cgi to view serviceextinfo in the main frame and not to open en _blank window ? how to skip TARGET='_blank' but use TARGET='main' View Extra Service Notes Thanks Sjaak ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From augusts at gmail.com Mon Oct 16 00:58:13 2006 From: augusts at gmail.com (August Simonelli) Date: Mon, 16 Oct 2006 08:58:13 +1000 Subject: monitoring for IO in Nagios In-Reply-To: <610cb7a00610150600q5b368a03o849c766f4af996e2@mail.gmail.com> References: <610cb7a00610150600q5b368a03o849c766f4af996e2@mail.gmail.com> Message-ID: <46fa40c10610151558y1ae51520ne54d79711e53222b@mail.gmail.com> Hi Alexander and list folks, I set up two little shell scripts for disk i/o calculations for mrtg which i hope to use for nagios down the track. I'm still learning shell scripting /nagios / etc so i welcome corrections to my logic, coding, anything! :-) It's not really fancy, just uses vmstat to get disk reads and writes, stores it, then compares that the next time. As i said, it's just for mrtg now so dunno if it will work for nagios, but soon i'll play with it and find out. August On 10/15/06, Alexander Harvey wrote: > > Hi All, > > I wonder if anyone out there is using Nagios to monitor disk I/O on UNIX > servers and if so I'm curious as to how they're doing it, what plugins > they're using, are they calling iostat from a shell script? What options of > iostat are they calling etc? > > Many thanks in advance, > > Alex Harvey > UNIX Administrator > Sydney, Australia > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: diskio-r.sh Type: application/x-sh Size: 832 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: diskio-w.sh Type: application/x-sh Size: 840 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg.cope at e-dba.net Mon Oct 16 09:57:16 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Mon, 16 Oct 2006 08:57:16 +0100 Subject: Solaris 2.6 nrpe binaries In-Reply-To: References: Message-ID: <1160985436.2674.11.camel@dl.e-dba.net> On Fri, 2006-10-13 at 08:24 -0500, Marc Powell wrote: > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Greg Cope > > Sent: Friday, October 13, 2006 3:50 AM > > To: nagios > > Subject: [Nagios-users] Solaris 2.6 nrpe binaries > > > > Hi All. > > > > Anyone have v2.5 nrpe binaries for solaris 2.6 available? With ssl? > > > > I have a few hosts that are 2.6 without compliers. > > > > The nagios plugins and nrpe port on nagios exchange are v1.9 and do > not > > work with 2.5 nagios instances. > > Out of curiosity, what problem are you seeing? There's no reason that I > can think of that any version of the plugins/nrpe wouldn't work with any > version of nagios since that interface has been standardized for a very > very long time. This is on Sol 2.8: nrpe and server fail to talk to each other. On the server I get a socket timeout error. On the client nrpe syslogs : Oct 11 16:02:30 xxxxxxx nrpe[16867]: [ID 421412 daemon.error] Could not read request from client, bailing out... Installing blastwave 2.5 nrpe packages and everything is fine, sadly they do not make 2.6 packages. Greg > -- > Marc > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Greg Cope Systems Administrator e-DBA Ltd. 37 Ship Street, Brighton, E.S. BN1 1AB Office Phone: 0870 366 7800 Direct Phone: 0870 366 9900, ext 306 greg.cope at e-dba.com www.e-dba.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Oct 16 11:41:02 2006 From: ae at op5.se (Andreas Ericsson) Date: Mon, 16 Oct 2006 11:41:02 +0200 Subject: Service checks when host is down In-Reply-To: <45301A2C.3040106@whoever.org> References: <452FBD44.1070602@googlemail.com> <45301A2C.3040106@whoever.org> Message-ID: <453353AE.8030303@op5.se> Az wrote: > Hari Sekhon wrote: >> Indeed, that would be ok too, since then you can disable the host >> check and rely entirely on service checks so you get all the service >> checks. >> >> Almost as good. Of course it won't say host down, but it will say ping >> failed so you can tell from that. >> >> Another down side is that it will pollute your web interface with >> loads of trivial services, whereas it nice at the moment when all you >> see is the intended service. >> >> It would kind of spoil the web interface in my opinion. >> >> I think I will just wait for this to be done at the developer side, so >> that it is part of the normal configuration options. > You may also find that it will blow out your service check execution > times if you use a ping (service) check of, say, 5 packets @ 1 second > apart. It doesnt sound like much but if you have a large number of hosts > it *might* cause you problems. > I can most definitely say that it won't. A typical ICMP packet is 64 bytes, all headers included. If you're thinking about load issues, 99% of the time check_icmp, /bin/ping and other ping-like programs use are spent waiting for data from the host being pinged. 0.8% of the time is spent by the system setting up the stack and creating memory pages for the program, and 0.2% is spent sending packets, calculating response-times and things like that. I can imagine that this will cause problems if you're monitoring tens of thousands of hosts, but if you do that without a robust clustering solution or some insanely beefy hardware and network line you'll be toast anyways. check_http, or any other plugin that generally fetches >1KiB of data, possibly decrypts it, and parses a bit of text to be able to return a result are easily a hundred times heavier on both systemload and network traffic than ping checks. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Oct 16 11:45:04 2006 From: ae at op5.se (Andreas Ericsson) Date: Mon, 16 Oct 2006 11:45:04 +0200 Subject: serviceextinfo view Graph in main frame In-Reply-To: <4532A51B.70707@citytower.com> References: <4532A51B.70707@citytower.com> Message-ID: <453354A0.1010207@op5.se> Sjaak Nabuurs wrote: > Hello > > > How can I tell nagios status.cgi to view serviceextinfo in the main frame and not to open en _blank window ? > how to skip TARGET='_blank' but use TARGET='main' > Edit the cgi source-code. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandeep-n-murthy at telecom.pt Mon Oct 16 13:08:08 2006 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Mon, 16 Oct 2006 12:08:08 +0100 Subject: Event Handler problems In-Reply-To: References: Message-ID: Hello, I have an event handler configured in one of our services such that, when the service state hits critical or warning, it should activate the event handler. I am quite sure I have it configured fine but it simply does not seem to work when the service states turns critical. I also confirmed this by forcing a critical feedback to the service and it did not work. Here is my service config. Has anyone faced any similar situations? Thanks in adv: define service { service_description CheckAutonomyServer check_command Check_AutonomyServer max_check_attempts 5 normal_check_interval 5 retry_check_interval 3 active_checks_enabled 1 check_period 24x7 parallelize_check 1 event_handler start_autonomyServer event_handler_enabled 1 notification_interval 60 notification_period 24x7 notifications_enabled 1 host_name PRD7_WCMAUT01 notification_options w,u,c,r contact_groups STFS, SUPT } ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lobbin at gmail.com Mon Oct 16 13:16:18 2006 From: lobbin at gmail.com (Robin Ericsson) Date: Mon, 16 Oct 2006 13:16:18 +0200 Subject: monitoring linux traffic without snmp Message-ID: Hi, I found a few on Nagiosexchange but didn't really like them. Anyone got any tips for checking linux traffic locally without using snmp? -- regards, Robin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jorg.Schulz at systeam.se Mon Oct 16 14:04:51 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Mon, 16 Oct 2006 14:04:51 +0200 Subject: monitoring linux traffic without snmp In-Reply-To: References: Message-ID: Hi , Try the "check_traffic_andreas.pl" from the http://www.nagios-wiki.de with the syntax /usr/local/nagios/libexec/check_traffic_andreas.pl -H -i 1 -b 1250000 -w 10% -c 30% Output: EXAMPLE : Total RX Bytes: 1839.36 MB, Total TX Bytes: 1839.36 MB
Average Traffic: 1.66 It?s a nice plugin /Joe Mvh J?rg Schulz Senior Konsult Linux/Unix/Novell/Windows/Networking SYSteam Kalmar AB Str?mgatan 15 Box 99 S-391 21 Kalmar Direkt 0480-456638 Mobil 0708-157806 E-Post jorg.schulz at systeam.se http://www.systeam.se "Robin Ericsson" Sent by: nagios-users-bounces at lists.sourceforge.net 2006-10-16 13:16 To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] monitoring linux traffic without snmp Hi, I found a few on Nagiosexchange but didn't really like them. Anyone got any tips for checking linux traffic locally without using snmp? -- regards, Robin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: check_traffic_andreas.pl Type: application/octet-stream Size: 6283 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From radhiilu at yahoo.com Mon Oct 16 15:38:24 2006 From: radhiilu at yahoo.com (Sekhar) Date: Mon, 16 Oct 2006 06:38:24 -0700 (PDT) Subject: Custom Email Notification Message-ID: <20061016133824.65264.qmail@web60720.mail.yahoo.com> Hi Guys, I want to add one more line for my nagios email notifications so taht i can add some custom message for my NOC people. 1)How do i add custom message in notification command ? 2)I want to know alias field is limited to some characters so how do i increase the number the characters in alias field in when i try to add new host. Thnaks for your help --------------------------------- Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Oct 16 15:51:15 2006 From: marc at ena.com (Marc Powell) Date: Mon, 16 Oct 2006 08:51:15 -0500 Subject: Custom Email Notification Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sekhar > Sent: Monday, October 16, 2006 8:38 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Custom Email Notification > > Hi Guys, > > I want to add one more line for my nagios email notifications so taht i > can add some custom message for my NOC people. > > 1)How do i add custom message in notification command ? Edit your notification command{} definition. It's simple shell script. > 2)I want to know alias field is limited to some characters so how do i > increase the number the characters in alias field in when i try to add new > host. Presuming you're using nagios 2.x, I've taken a quick look at the source code and don't see a limit beyond the 65535 char line input limit. At how many characters do you see a problem? -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Oct 16 15:52:44 2006 From: marc at ena.com (Marc Powell) Date: Mon, 16 Oct 2006 08:52:44 -0500 Subject: Event Handler problems Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sandeep Narasimha Murthy > Sent: Monday, October 16, 2006 6:08 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Event Handler problems > > Hello, > > I have an event handler configured in one of our services such that, > when the service state hits critical or warning, it should activate the > event handler. I am quite sure I have it configured fine but it simply > does not seem to work when the service states turns critical. I also > confirmed this by forcing a critical feedback to the service and it did > not work. > > Here is my service config. Has anyone faced any similar situations? > Thanks in adv: > No problems here. I'd suggest configuring nagios to log event handlers to verify that an attempt is made to run them. If not, try enabling enable_event_handlers in nagios.cfg. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Mon Oct 16 15:53:23 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Mon, 16 Oct 2006 23:53:23 +1000 Subject: monitoring for IO in Nagios In-Reply-To: <46fa40c10610151558y1ae51520ne54d79711e53222b@mail.gmail.com> References: <610cb7a00610150600q5b368a03o849c766f4af996e2@mail.gmail.com> <46fa40c10610151558y1ae51520ne54d79711e53222b@mail.gmail.com> Message-ID: <610cb7a00610160653g50a70d66qf5af088d58c21eed@mail.gmail.com> That doesn't look like a Solaris script to me but as far as your coding is concerned, my thoughts are (i) get yourself a book on the k-shell 'cause it's a lot more powerful that the bourne (/bin/sh) shell. (ii) you can say vmstat -dp | awk '/sda/ {print $2}' instead of vmstat -dp | grep sda | awk '{print $2}' (iii) if you were using bash or ksh your could say readdiff=$(( $currreads - $prevreads )) instead of readdiff=$(expr $currreads - $prevreads) (iv) for security you ought to use full paths to all of your binaries: i.e. /usr/bin/echo instead of echo Otherwise I guess it'll work in Nagios (although most Nagios plugins can give warnings or critical alerts by exiting with exit codes 0 for OK, or 1 for WARNING, or 2 for CRITICAL. Have fun, Alex On 10/16/06, August Simonelli wrote: > > Hi Alexander and list folks, > > I set up two little shell scripts for disk i/o calculations for mrtg which > i hope to use for nagios down the track. I'm still learning shell scripting > /nagios / etc so i welcome corrections to my logic, coding, anything! :-) > > It's not really fancy, just uses vmstat to get disk reads and writes, > stores it, then compares that the next time. > > As i said, it's just for mrtg now so dunno if it will work for nagios, but > soon i'll play with it and find out. > > August > > > > On 10/15/06, Alexander Harvey wrote: > > > Hi All, > > > > I wonder if anyone out there is using Nagios to monitor disk I/O on UNIX > > servers and if so I'm curious as to how they're doing it, what plugins > > they're using, are they calling iostat from a shell script? What options of > > iostat are they calling etc? > > > > Many thanks in advance, > > > > Alex Harvey > > UNIX Administrator > > Sydney, Australia > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandeep-n-murthy at telecom.pt Mon Oct 16 16:05:18 2006 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Mon, 16 Oct 2006 15:05:18 +0100 Subject: Event Handler problems In-Reply-To: References: Message-ID: Hi, Thanks for the suggestion. I had already enabled logging of service retries, host retries, and event handler commands. In fact, I discovered that Nagios is invoking the Event Handler but the problem appears to be in the remote host: [1160997995] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;PRD7_WCMAUT01;CheckAutonomyServer;1160997969 [1160998115] SERVICE ALERT: PRD7_WCMAUT01;CheckAutonomyServer;CRITICAL;SOFT;4;CRITICAL: NOK, The service apax is not running. [1160998115] SERVICE EVENT HANDLER: PRD7_WCMAUT01;CheckAutonomyServer;CRITICAL;SOFT;4;start_autonomyServer I am using NRPE on my remote hosts (all solaris 5.9 machines). Where can I view the plugins being invoked ?? I checked the /var/adm/messages and /var/log/syslog but there appears no commands at all. Is there any other log which I can consult or alternatively configure nrpe.cfg to log all the plugins being invoked ? Thanks, sg -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: segunda-feira, 16 de Outubro de 2006 14:53 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Event Handler problems > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sandeep Narasimha Murthy > Sent: Monday, October 16, 2006 6:08 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Event Handler problems > > Hello, > > I have an event handler configured in one of our services such that, > when the service state hits critical or warning, it should activate the > event handler. I am quite sure I have it configured fine but it simply > does not seem to work when the service states turns critical. I also > confirmed this by forcing a critical feedback to the service and it did > not work. > > Here is my service config. Has anyone faced any similar situations? > Thanks in adv: > No problems here. I'd suggest configuring nagios to log event handlers to verify that an attempt is made to run them. If not, try enabling enable_event_handlers in nagios.cfg. -- Marc ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Oct 16 16:27:28 2006 From: marc at ena.com (Marc Powell) Date: Mon, 16 Oct 2006 09:27:28 -0500 Subject: Event Handler problems Message-ID: > -----Original Message----- > From: Sandeep Narasimha Murthy [mailto:sandeep-n-murthy at telecom.pt] > Sent: Monday, October 16, 2006 9:05 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Event Handler problems > > > Hi, > > Thanks for the suggestion. I had already enabled logging of service > retries, host retries, and event handler commands. In fact, I discovered > that Nagios is invoking the Event Handler but the problem appears to be > in the remote host: > > [1160997995] EXTERNAL COMMAND: > SCHEDULE_FORCED_SVC_CHECK;PRD7_WCMAUT01;CheckAutonomyServer;1160997969 > > [1160998115] SERVICE ALERT: > PRD7_WCMAUT01;CheckAutonomyServer;CRITICAL;SOFT;4;CRITICAL: NOK, The > service apax is not running. > [1160998115] SERVICE EVENT HANDLER: > PRD7_WCMAUT01;CheckAutonomyServer;CRITICAL;SOFT;4;start_autonomyServer > > I am using NRPE on my remote hosts (all solaris 5.9 machines). Where can > I view the plugins being invoked ?? I checked the /var/adm/messages and > /var/log/syslog but there appears no commands at all. Is there any other > log which I can consult or alternatively configure nrpe.cfg to log all > the plugins being invoked ? In nrpe.cfg -- # DEBUGGING OPTION # This option determines whether or not debugging messages are logged to the # syslog facility. # Values: 0=debugging off, 1=debugging on debug=0 Also, try running the command_line for start_autonomyServer exactly as it's defined and run it as the nagios user and watch for errors. -- marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Mon Oct 16 17:07:18 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Mon, 16 Oct 2006 09:07:18 -0600 Subject: custom fields Message-ID: <2D0245E43DEC724F81592D697F05689904C4317B@SIDHQEXCHMB1.Cabelas.Corp> We accomplish this same thing using a script called 'oncall', which will output the contact information for whoever is on call currently, in conjunction with a script I posted on nagiosexchange called 'nagios_notify'. It allows you to easily execute a command and include the output in your notifications, among a few other neat little tricks. http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[ p_view]=627 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Steve Shipway Sent: Sunday, October 15, 2006 3:14 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] custom fields Az wrote: > Kyle Vorster wrote: > > What i am trying to do is give a more detailed email > notification to my > > clients. > You can define your notification commands > (http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#command) with > whatever you want in them using the relevant macros I think the idea was to get a more detailed description on a *per-service* basis. This was our problem, also. The way I managed to get around it was to create a new program - 'buster'. This has two parts - one, a web frontend that stores messages in a mysql database, and two, an extraction utility that, when given hostname and servicename, will spit out a message deduced from the database. This utility is embedded in the notify command. The web frontend unfortunately doesnt have any extra security in it, so anyone can edit any of the match templates. Also, the extracted messages are fixed text and dont have embedded replaceable symbols; but they can match on host, hstgroup, servicename, status, and using wildcards. I havent posted to Nagiosexchange because it would require a bit more work to be generic enough for everyone else to use it easily; however if youre perl-savvy email me and you can have a copy. The name 'buster' comes from 'ghostbuster', since it is supposed to use this extra text to tell the night ops who they're gonna call... Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandeep-n-murthy at telecom.pt Mon Oct 16 17:17:37 2006 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Mon, 16 Oct 2006 16:17:37 +0100 Subject: Event Handler problems In-Reply-To: References: Message-ID: Hi, I have the debug option on in the nrpe.cfg but still nothing is being logged. Can I specify another log file ?? Thanks -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: segunda-feira, 16 de Outubro de 2006 15:27 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Event Handler problems > -----Original Message----- > From: Sandeep Narasimha Murthy [mailto:sandeep-n-murthy at telecom.pt] > Sent: Monday, October 16, 2006 9:05 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Event Handler problems > > > Hi, > > Thanks for the suggestion. I had already enabled logging of service > retries, host retries, and event handler commands. In fact, I discovered > that Nagios is invoking the Event Handler but the problem appears to be > in the remote host: > > [1160997995] EXTERNAL COMMAND: > SCHEDULE_FORCED_SVC_CHECK;PRD7_WCMAUT01;CheckAutonomyServer;1160997969 > > [1160998115] SERVICE ALERT: > PRD7_WCMAUT01;CheckAutonomyServer;CRITICAL;SOFT;4;CRITICAL: NOK, The > service apax is not running. > [1160998115] SERVICE EVENT HANDLER: > PRD7_WCMAUT01;CheckAutonomyServer;CRITICAL;SOFT;4;start_autonomyServer > > I am using NRPE on my remote hosts (all solaris 5.9 machines). Where can > I view the plugins being invoked ?? I checked the /var/adm/messages and > /var/log/syslog but there appears no commands at all. Is there any other > log which I can consult or alternatively configure nrpe.cfg to log all > the plugins being invoked ? In nrpe.cfg -- # DEBUGGING OPTION # This option determines whether or not debugging messages are logged to the # syslog facility. # Values: 0=debugging off, 1=debugging on debug=0 Also, try running the command_line for start_autonomyServer exactly as it's defined and run it as the nagios user and watch for errors. -- marc ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Oct 16 17:28:16 2006 From: marc at ena.com (Marc Powell) Date: Mon, 16 Oct 2006 10:28:16 -0500 Subject: Event Handler problems Message-ID: It uses syslog so it's being logged to wherever *.info,*.notice, *.debug are being sent to in syslog.conf (usually something like /var/log/messages). I believe you can change the log file by adding 'nrpe.* /some/other/file' to syslog.conf and HUP or restart syslogd. -- Marc > -----Original Message----- > From: Sandeep Narasimha Murthy [mailto:sandeep-n-murthy at telecom.pt] > Sent: Monday, October 16, 2006 10:18 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Event Handler problems > > Hi, > > I have the debug option on in the nrpe.cfg but still nothing is being > logged. Can I specify another log file ?? > > Thanks > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc > Powell > Sent: segunda-feira, 16 de Outubro de 2006 15:27 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Event Handler problems > > > > > -----Original Message----- > > From: Sandeep Narasimha Murthy [mailto:sandeep-n-murthy at telecom.pt] > > Sent: Monday, October 16, 2006 9:05 AM > > To: Marc Powell; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Event Handler problems > > > > > > Hi, > > > > Thanks for the suggestion. I had already enabled logging of service > > retries, host retries, and event handler commands. In fact, I > discovered > > that Nagios is invoking the Event Handler but the problem appears to > be > > in the remote host: > > > > [1160997995] EXTERNAL COMMAND: > > SCHEDULE_FORCED_SVC_CHECK;PRD7_WCMAUT01;CheckAutonomyServer;1160997969 > > > > [1160998115] SERVICE ALERT: > > PRD7_WCMAUT01;CheckAutonomyServer;CRITICAL;SOFT;4;CRITICAL: NOK, The > > service apax is not running. > > [1160998115] SERVICE EVENT HANDLER: > > PRD7_WCMAUT01;CheckAutonomyServer;CRITICAL;SOFT;4;start_autonomyServer > > > > I am using NRPE on my remote hosts (all solaris 5.9 machines). Where > can > > I view the plugins being invoked ?? I checked the /var/adm/messages > and > > /var/log/syslog but there appears no commands at all. Is there any > other > > log which I can consult or alternatively configure nrpe.cfg to log all > > the plugins being invoked ? > > In nrpe.cfg -- > > # DEBUGGING OPTION > # This option determines whether or not debugging messages are logged to > the > # syslog facility. > # Values: 0=debugging off, 1=debugging on > > debug=0 > > Also, try running the command_line for start_autonomyServer exactly as > it's defined and run it as the nagios user and watch for errors. > > -- > marc > > ------------------------------------------------------------------------ > - > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Mon Oct 16 17:57:31 2006 From: ton.voon at altinity.com (Ton Voon) Date: Mon, 16 Oct 2006 16:57:31 +0100 Subject: Attending LinuxExpo in London Message-ID: Hi! Just wanted to announce that I will be at the LinuxExpo show in London next week (http://www.linuxworldexpo.co.uk). I'll be there officially under the guise of my role at Altinity (at stand A7), but if any of you are in the area, please pop round - I'd love to meet up and chat with my Nagios Plugins hat on! Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From radhiilu at yahoo.com Mon Oct 16 19:12:16 2006 From: radhiilu at yahoo.com (Sekhar) Date: Mon, 16 Oct 2006 10:12:16 -0700 (PDT) Subject: Custom Email Notification In-Reply-To: References: Message-ID: <20061016171216.33386.qmail@web60723.mail.yahoo.com> thanks for your reply i am using nagios 1.3 can you please let me know where i have to check this Marc Powell wrote: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sekhar > Sent: Monday, October 16, 2006 8:38 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Custom Email Notification > > Hi Guys, > > I want to add one more line for my nagios email notifications so taht i > can add some custom message for my NOC people. > > 1)How do i add custom message in notification command ? Edit your notification command{} definition. It's simple shell script. > 2)I want to know alias field is limited to some characters so how do i > increase the number the characters in alias field in when i try to add new > host. Presuming you're using nagios 2.x, I've taken a quick look at the source code and don't see a limit beyond the 65535 char line input limit. At how many characters do you see a problem? -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mark.Law at thomson.com Mon Oct 16 19:51:51 2006 From: Mark.Law at thomson.com (Mark.Law at thomson.com) Date: Mon, 16 Oct 2006 13:51:51 -0400 Subject: /tmp/embedded* files Message-ID: One of my Nagios servers is not cleaning up /tmp/embedded* files. Has anyone seen this? What is the fix? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From augusts at gmail.com Tue Oct 17 04:17:56 2006 From: augusts at gmail.com (August Simonelli) Date: Tue, 17 Oct 2006 12:17:56 +1000 Subject: monitoring for IO in Nagios In-Reply-To: <610cb7a00610160653g50a70d66qf5af088d58c21eed@mail.gmail.com> References: <610cb7a00610150600q5b368a03o849c766f4af996e2@mail.gmail.com> <46fa40c10610151558y1ae51520ne54d79711e53222b@mail.gmail.com> <610cb7a00610160653g50a70d66qf5af088d58c21eed@mail.gmail.com> Message-ID: <46fa40c10610161917x4cf6234ar3c91dd719a86b6d9@mail.gmail.com> Alex, Thanks for the info ... sorry I wasn't any help to you but I came out learning a lot! :-) August On 10/16/06, Alexander Harvey wrote: > > That doesn't look like a Solaris script to me but as far as your coding is > concerned, my thoughts are > > (i) get yourself a book on the k-shell 'cause it's a lot more powerful > that the bourne (/bin/sh) shell. > (ii) you can say > vmstat -dp | awk '/sda/ {print $2}' > instead of > vmstat -dp | grep sda | awk '{print $2}' > (iii) if you were using bash or ksh your could say > readdiff=$(( $currreads - $prevreads )) > instead of > readdiff=$(expr $currreads - $prevreads) > (iv) for security you ought to use full paths to all of your binaries: > i.e. > /usr/bin/echo > instead of > echo > > Otherwise I guess it'll work in Nagios (although most Nagios plugins can > give warnings or critical alerts by exiting with exit codes 0 for OK, or 1 > for WARNING, or 2 for CRITICAL. > > Have fun, > Alex > > > On 10/16/06, August Simonelli wrote: > > > > Hi Alexander and list folks, > > > > I set up two little shell scripts for disk i/o calculations for mrtg > > which i hope to use for nagios down the track. I'm still learning shell > > scripting /nagios / etc so i welcome corrections to my logic, coding, > > anything! :-) > > > > It's not really fancy, just uses vmstat to get disk reads and writes, > > stores it, then compares that the next time. > > > > As i said, it's just for mrtg now so dunno if it will work for nagios, > > but soon i'll play with it and find out. > > > > August > > > > > > > > On 10/15/06, Alexander Harvey < alexh19740110 at gmail.com> wrote: > > > > > Hi All, > > > > > > I wonder if anyone out there is using Nagios to monitor disk I/O on > > > UNIX servers and if so I'm curious as to how they're doing it, what plugins > > > they're using, are they calling iostat from a shell script? What options of > > > iostat are they calling etc? > > > > > > Many thanks in advance, > > > > > > Alex Harvey > > > UNIX Administrator > > > Sydney, Australia > > > > > > > > > ------------------------------------------------------------------------- > > > Using Tomcat but need to do more? Need to support web services, > > > security? > > > Get stuff done quickly with pre-integrated technology to make your job > > > easier > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > > > Geronimo > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Oct 17 10:50:19 2006 From: ae at op5.se (Andreas Ericsson) Date: Tue, 17 Oct 2006 10:50:19 +0200 Subject: monitoring for IO in Nagios In-Reply-To: <610cb7a00610160653g50a70d66qf5af088d58c21eed@mail.gmail.com> References: <610cb7a00610150600q5b368a03o849c766f4af996e2@mail.gmail.com> <46fa40c10610151558y1ae51520ne54d79711e53222b@mail.gmail.com> <610cb7a00610160653g50a70d66qf5af088d58c21eed@mail.gmail.com> Message-ID: <4534994B.8090407@op5.se> Alexander Harvey wrote: > That doesn't look like a Solaris script to me but as far as your coding is > concerned, my thoughts are > [ excellent and non-disputed points removed ] > (iv) for security you ought to use full paths to all of your binaries: > i.e. > /usr/bin/echo > instead of > echo > "echo" is a built-in feature of pretty much all shells, so just using plain 'echo' is a perfectly viable and more performance friendly option. A better solution, for security's sake, is to force the $PATH to a safe value at the beginning of the script and not bother with full paths. As a last note, "echo" is required to exist on the root partition, which places it in /bin on all systems I've ever come across. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Oct 17 10:54:15 2006 From: ae at op5.se (Andreas Ericsson) Date: Tue, 17 Oct 2006 10:54:15 +0200 Subject: Event Handler problems In-Reply-To: References: Message-ID: <45349A37.6050701@op5.se> Marc Powell wrote: > It uses syslog so it's being logged to wherever *.info,*.notice, *.debug > are being sent to in syslog.conf (usually something like > /var/log/messages). I believe you can change the log file by adding > 'nrpe.* /some/other/file' to syslog.conf and HUP or restart syslogd. > Nopes. This won't work as "nrpe" isn't recognized as a valid syslog facility. NRPE uses the daemon facility to log all its messages. With a line reading daemon.* /var/log/daemon.log you will get all messages sent to the daemon facility in /var/log/daemon.log. Note that this will include messages from other daemons as well, but nrpe sets its ident (or TAG, according to rfc3164) to "NRPE", so you can easily grep the logfile for that string and find only the relevant entries. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Oct 17 10:58:31 2006 From: ae at op5.se (Andreas Ericsson) Date: Tue, 17 Oct 2006 10:58:31 +0200 Subject: /tmp/embedded* files In-Reply-To: References: Message-ID: <45349B37.8070204@op5.se> Mark.Law at thomson.com wrote: > One of my Nagios servers is not cleaning up /tmp/embedded* files. Has > anyone seen this? What is the fix? > Perhaps /tmp has the "append" attribute? Check this with $ lsattr -d /tmp If you get an 'a' somewhere on the resulting line, you can only append (i.e. add files) to the /tmp directory. Some systems use this for better traceability of intrusion attempts, as /tmp is a known free-for-all zone. Only the owner of a directory can alter its attributes. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lobbin at gmail.com Tue Oct 17 13:02:33 2006 From: lobbin at gmail.com (Robin Ericsson) Date: Tue, 17 Oct 2006 13:02:33 +0200 Subject: monitoring linux traffic without snmp In-Reply-To: References: Message-ID: On 10/16/06, Jorg.Schulz at systeam.se wrote: > > Hi , Hi, > Try the "check_traffic_andreas.pl" from the http://www.nagios-wiki.de Nice script, however, I asked for one that didn't use snmp :) -- regards, Robin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjones at pittstate.edu Tue Oct 17 18:17:35 2006 From: cjones at pittstate.edu (Chris Jones) Date: Tue, 17 Oct 2006 11:17:35 -0500 Subject: contacts.cfg - Templates? Message-ID: <4535021F.6030102@pittstate.edu> Hello, I noticed there is no "use" directive in contacts.cfg. Is there a specific reason that templates are not able to be used in contacts.cfg? My contacts is set up like this: --- TEMPLATES START ---- --- TEMPLATES END --- I hope that made sense, I can include the actual contacts.cfg stuff here if it didn't make sense to people. If there really is no templating available in contacts.cfg, can this be a feature added to 3.x? I'm sure it couldn't be that hard to implement, since Nagios overall supports (and encourages) templating! -- Chris Jones Senior Systems Manager Pittsburg State University Phone: 620-235-4158 E-mail: cjones at pittstate.edu -- There isn't much difference between Linux and Unix. Just think of Linux as Unix, written by 1,000 monkeys who have never seen Unix before. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nathan_vanan at yahoo.com Tue Oct 17 20:22:23 2006 From: nathan_vanan at yahoo.com (Nathan) Date: Tue, 17 Oct 2006 18:22:23 +0000 (UTC) Subject: Mysql tables are empty Message-ID: Dear All, I have the following setup: - Fedora core 5 - Nagios 2.5 - Mysql 5.0.22 - Apache 2.0 What I did and results: - Nagios, Apache, cgi worked fine with log file system - Successfully compiled Nagios with mysql support, this what I did, ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with- htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-group=nagios --with- command-group=nagios --with-mysql-status - I have created 12 tables, followed the script under contrib dir - I have verified mysql works fine, the tables are there, and entered some sample data manually - I modified the cgi.cfg, resource.cfg and nagios.cfg as below. (1)I added the followings to cgi.cfg: xsddb_host=localhost xsddb_port=3306 xsddb_database=nagios xsddb_username=root xsddb_password=nagios (2)I added the followings to resource.cfg: xsddb_host=localhost xsddb_port=3306 xsddb_database=nagios xsddb_username=root xsddb_password=nagios xsddb_optimize_data=1 xsddb_optimize_interval=1 (3)I commented out the following lines in nagios.cfg: # downtime_file=/usr/local/nagios/var/downtime.dat # comment_file=/usr/local/nagios/var/comments.dat # status_file=/usr/local/nagios/var/status.dat - I turned on debuggin with "--enable-DEBUG5", and there is not a single mysql related actions My problem and questions: - I started Nagios, and checked the tables, all are empty - I noticed that the log file(status.dat) is still get updated even after I commented out in the nagios.cfg file, WHY ? - Does the nagios distribution have mysql interface functions like, mysql_connect and so, on because my "find" utility could not locate any of those interface functions. - Have I missed anything to enable looging into mysql - DO I need to tweak any privilages, or settings - What files contain the implementation of the interface to mysql Please help me to understand the mystery of Nagios-mysql. your help is greately appreciated, thanks in advance, Nathan. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Tue Oct 17 20:43:05 2006 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 17 Oct 2006 14:43:05 -0400 Subject: Mysql tables are empty In-Reply-To: References: Message-ID: <302ce8b50610171143j53244ad9gd4801f802bba4a28@mail.gmail.com> > My problem and questions: > - I started Nagios, and checked the tables, all are empty > - I noticed that the log file(status.dat) is still get updated even after I > commented out in the nagios.cfg file, WHY ? > - Does the nagios distribution have mysql interface functions like, > mysql_connect and so, on because my "find" utility could not locate any of > those interface functions. > - Have I missed anything to enable looging into mysql > - DO I need to tweak any privilages, or settings > - What files contain the implementation of the interface to mysql > Please help me to understand the mystery of Nagios-mysql. your help is > greately appreciated, thanks in advance, > There is no mystery. Nagios 2.x doesn't do mysql without the assistance of plugins. You seem to be using nagios 1.x type thinking with nagios 2.x. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Oct 17 20:43:50 2006 From: marc at ena.com (Marc Powell) Date: Tue, 17 Oct 2006 13:43:50 -0500 Subject: Mysql tables are empty Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nathan > Sent: Tuesday, October 17, 2006 1:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Mysql tables are empty > > Dear All, > > I have the following setup: > - Fedora core 5 > - Nagios 2.5 > - Mysql 5.0.22 > - Apache 2.0 > > What I did and results: > - Nagios, Apache, cgi worked fine with log file system > - Successfully compiled Nagios with mysql support, this what I did, > ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin -- > with- > htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-group=nagios -- > with- > command-group=nagios --with-mysql-status > - I have created 12 tables, followed the script under contrib dir Umm. Are you sure you're using nagios-2.5? Native database support was dropped with 2.x and all database related materials were removed from the contrib. dir. The methodology you are describing is only applicable to the 1.x tree. Ndoutils (http://sourceforge.net/project/showfiles.php?group_id=26589) is the event_broker module that emulates the previous mysql support. -- MArc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxwellb at oclc.org Tue Oct 17 20:44:51 2006 From: maxwellb at oclc.org (Maxwell,Brady) Date: Tue, 17 Oct 2006 14:44:51 -0400 Subject: checking a counter on a website Message-ID: <632EDB1E16D4E041A0EF1DB3ADF67B2B07B9EECC@OAEXCH1SERVER.oa.oclc.org> Anyone ever tried to check a websites hit counter and return a warning if the hit counter has not incremented since the previous check? Brady Maxwell Systems Engineer Online Computer Library Center, Inc. 614.764.6133 | maxwellb at oclc.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at profitability.net Tue Oct 17 20:52:13 2006 From: andrew at profitability.net (Andrew Cruse) Date: Tue, 17 Oct 2006 14:52:13 -0400 Subject: checking a counter on a website In-Reply-To: <632EDB1E16D4E041A0EF1DB3ADF67B2B07B9EECC@OAEXCH1SERVER.oa.oclc.org> References: <632EDB1E16D4E041A0EF1DB3ADF67B2B07B9EECC@OAEXCH1SERVER.oa.oclc.org> Message-ID: <046001c6f21d$5bf1bb60$2800a8c0@andrew2> I would just write a quick script that grabs the value on the counter, then grabs the value again and subtracts the first from the second. Publish that value out via SNMP and then just use check_snmp to verify that the value is >=1. People with more programming skills than I would probably just write one plugin to do it all. Andrew _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Maxwell,Brady Sent: Tuesday, October 17, 2006 2:45 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] checking a counter on a website Anyone ever tried to check a websites hit counter and return a warning if the hit counter has not incremented since the previous check? Brady Maxwell Systems Engineer Online Computer Library Center, Inc. 614.764.6133 | maxwellb at oclc.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JasonFrank at srcp.com Tue Oct 17 21:01:28 2006 From: JasonFrank at srcp.com (Frank, Jason) Date: Tue, 17 Oct 2006 14:01:28 -0500 Subject: checking a counter on a website In-Reply-To: <046001c6f21d$5bf1bb60$2800a8c0@andrew2> References: <046001c6f21d$5bf1bb60$2800a8c0@andrew2> Message-ID: <741E24F735AED141B61948AC155E7DAAE9C31B@CORPDALLMSG05.na.srcp.net> This actually hits on what I consider to be one of Nagios' (few) weaknesses. A lot of time, when I do my checks, I'm not nearly as interested in the value of a check as in the change in the value since the last check. This is a good example. Another item I monitor is changes in the SNMP Interface error counters. For example, if I get more than 5 errors/second, I need to send out an alert. Finally, I have the same issue monitoring SNMP Interface statuses. But, Nagios has no feature to remember data between invocations of the checks. So, I end up storing this data in temporary files. If there was a facility to provide some information back to Nagios, and retrieve it on the next one, that would be wonderful. Jason ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Andrew Cruse Sent: Tuesday, October 17, 2006 1:52 PM To: 'Maxwell,Brady'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] checking a counter on a website I would just write a quick script that grabs the value on the counter, then grabs the value again and subtracts the first from the second. Publish that value out via SNMP and then just use check_snmp to verify that the value is >=1. People with more programming skills than I would probably just write one plugin to do it all. Andrew ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Maxwell,Brady Sent: Tuesday, October 17, 2006 2:45 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] checking a counter on a website Anyone ever tried to check a websites hit counter and return a warning if the hit counter has not incremented since the previous check? Brady Maxwell Systems Engineer Online Computer Library Center, Inc. 614.764.6133 | maxwellb at oclc.org This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender. SOURCECORP, Incorporated www.srcp.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Wed Oct 18 03:16:29 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Wed, 18 Oct 2006 11:16:29 +1000 Subject: checking a counter on a website Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6ABE7835@mail01.ccia.local> Perhaps store the data in a database with a timestamp. When the next check is done Retrieve the last entry from the database Store the new data Calculate the delta or average Check the age of the delta Compare against your threshold Return a status Python, Perl, even PHP (cmd) can give you easy access to the db. Or bash : http://www.edlsystems.com/shellsql/ Matthew Joyce 02 9382 0051 | 0412 309745 | IT Manager | Children's Cancer Institute Australia for Medical Research ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Frank, Jason Sent: Wednesday, 18 October 2006 5:01 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] checking a counter on a website This actually hits on what I consider to be one of Nagios' (few) weaknesses. A lot of time, when I do my checks, I'm not nearly as interested in the value of a check as in the change in the value since the last check. This is a good example. Another item I monitor is changes in the SNMP Interface error counters. For example, if I get more than 5 errors/second, I need to send out an alert. Finally, I have the same issue monitoring SNMP Interface statuses. But, Nagios has no feature to remember data between invocations of the checks. So, I end up storing this data in temporary files. If there was a facility to provide some information back to Nagios, and retrieve it on the next one, that would be wonderful. Jason ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Andrew Cruse Sent: Tuesday, October 17, 2006 1:52 PM To: 'Maxwell,Brady'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] checking a counter on a website I would just write a quick script that grabs the value on the counter, then grabs the value again and subtracts the first from the second. Publish that value out via SNMP and then just use check_snmp to verify that the value is >=1. People with more programming skills than I would probably just write one plugin to do it all. Andrew ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Maxwell,Brady Sent: Tuesday, October 17, 2006 2:45 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] checking a counter on a website Anyone ever tried to check a websites hit counter and return a warning if the hit counter has not incremented since the previous check? Brady Maxwell Systems Engineer Online Computer Library Center, Inc. 614.764.6133 | maxwellb at oclc.org This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender. SOURCECORP, Incorporated www.srcp.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ntserafica at yahoo.com Wed Oct 18 03:02:13 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Tue, 17 Oct 2006 18:02:13 -0700 (PDT) Subject: monitoring linux traffic without snmp Message-ID: <20061018010213.38009.qmail@web60424.mail.yahoo.com> This is a nice site. However, do you have an ENGLISH version of this. I can't understand the words. I only understand english. Please include any english site you know. Thanks and regards, NELSON SERAFICA This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. The recipient should check this email and any attachments for the presence of viruses. The sender accepts no liability for any damage caused by any virus transmitted by this email. ----- Original Message ---- From: Robin Ericsson To: "Jorg.Schulz at systeam.se" Cc: nagios-users at lists.sourceforge.net Sent: Tuesday, October 17, 2006 7:02:33 PM Subject: Re: [Nagios-users] monitoring linux traffic without snmp On 10/16/06, Jorg.Schulz at systeam.se wrote: > > Hi , Hi, > Try the "check_traffic_andreas.pl" from the http://www.nagios-wiki.de Nice script, however, I asked for one that didn't use snmp :) -- regards, Robin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mchandler at star.fielding.nec.co.jp Wed Oct 18 04:26:19 2006 From: mchandler at star.fielding.nec.co.jp (=?ISO-2022-JP?B?GyRCJUElYyVzJUklaRsoQg==?=) Date: Wed, 18 Oct 2006 11:26:19 +0900 Subject: UTF8 Japanese characters in macros Message-ID: <453590CB.9040202@star.fielding.nec.co.jp> Hi, I am running nagios 2.5 on SuSE 10.1, and I would like to include japanese in my mail notifications. SuSE is set up to use UTF8 as the base language, and I am using the standard host-notify-by-email command provided in the example configs as below: /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\n$HOSTNOTES$\n\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ note the use of $HOSTNOTES$, this is where I would like to include the japanese location of the device having problems. for example I have the following hostextinfo entry: define hostextinfo{ host_name mail notes [room name in japanese UTF8] } However, the mail arrives with an empty line where the notes information should be. If I include some english in the notes section, for example "Location: [Japanese]" the mail contains "Location: ", but not the rest. Both printf and mail work fine with UTF8 japanese, and tests using only the $HOSTNOTES$ macro yeilds similar results (nothing output). The CGI's work fine, and display the japanese, so it seems the macro processing is not able to handle the characters. Has anyone had similar problems, and is there a solution? Thanks, Martin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Oct 18 07:39:05 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 18 Oct 2006 07:39:05 +0200 (CEST) Subject: checking a counter on a website In-Reply-To: <741E24F735AED141B61948AC155E7DAAE9C31B@CORPDALLMSG05.na.srcp.net> References: <741E24F735AED141B61948AC155E7DAAE9C31B@CORPDALLMSG05.na.srcp.net> Message-ID: On Tue, 17 Oct 2006, Frank, Jason wrote: > This actually hits on what I consider to be one of Nagios' (few) > weaknesses. A lot of time, when I do my checks, I'm not nearly as > interested in the value of a check as in the change in the value since > the last check. This is a good example. Another item I monitor is > changes in the SNMP Interface error counters. For example, if I get > more than 5 errors/second, I need to send out an alert. Finally, I have > the same issue monitoring SNMP Interface statuses. But, Nagios has no > feature to remember data between invocations of the checks. So, I end > up storing this data in temporary files. If there was a facility to > provide some information back to Nagios, and retrieve it on the next > one, that would be wonderful. Well. If you check the archives you may see that people monitor with their own scripts and store those results in RRD files. Then you can use Nagios to monitor the RRD file values and alert on changes. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Wed Oct 18 10:12:05 2006 From: srunschke at abit.de (srunschke at abit.de) Date: Wed, 18 Oct 2006 10:12:05 +0200 Subject: Antwort: UTF8 Japanese characters in macros In-Reply-To: <453590CB.9040202@star.fielding.nec.co.jp> References: <453590CB.9040202@star.fielding.nec.co.jp> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 18.10.2006 04:26:19: > /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: > $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > $HOSTADDRESS$\n$HOSTNOTES$\n\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for > $HOSTNAME$!" $CONTACTEMAIL$ [SNIP] > Both printf and mail work fine with UTF8 japanese, and tests using only > the $HOSTNOTES$ macro yeilds similar results (nothing output). > The CGI's work fine, and display the japanese, so it seems the macro > processing is not able to handle the characters. > > Has anyone had similar problems, and is there a solution? I can't try the japanese UTF, but are you sure that /usr/bin/printf supports UTF8? Typing printf at the shell is not the same as using /usr/bin/printf. The bash built-in printf function is very different from the external executable and has caused lots of headaches to me already. It might be the source of your problem too. Sascha PS: This problem is one of the reasons I strongly discourage the current standard of how default notifications are generated... -- Sascha Runschke Netzwerk Management IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Wed Oct 18 10:31:00 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Wed, 18 Oct 2006 09:31:00 +0100 Subject: checking a counter on a website In-Reply-To: <741E24F735AED141B61948AC155E7DAAE9C31B@CORPDALLMSG05.na.srcp.net> References: <741E24F735AED141B61948AC155E7DAAE9C31B@CORPDALLMSG05.na.srcp.net> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 17/10/2006 20:01:28: > This actually hits on what I consider to be one of Nagios' (few) > weaknesses. A lot of time, when I do my checks, I'm not nearly as > interested in the value of a check as in the change in the value > since the last check. This is a good example. Another item I > monitor is changes in the SNMP Interface error counters. For > example, if I get more than 5 errors/second, I need to send out an > alert. Finally, I have the same issue monitoring SNMP Interface > statuses. But, Nagios has no feature to remember data between > invocations of the checks. So, I end up storing this data in > temporary files. If there was a facility to provide some information > back to Nagios, and retrieve it on the next one, that would be wonderful. The responsibility of something like this entirely up to the plugin.. Nagios's task is to schedule and check hosts/services, and to notify a contact of status changes. The task of the plugin is to perform an operation to check if a service is working (or not) and provide a uniform status message back to Nagios.. If you would like something checked in a particular way, and there is no way currently to do it, then build your own plugin and put it up on NagiosExchange for everyone to use :-) rob/mossko This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Wed Oct 18 10:34:02 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Wed, 18 Oct 2006 09:34:02 +0100 Subject: Antwort: UTF8 Japanese characters in macros In-Reply-To: References: Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 18/10/2006 09:12:05: > nagios-users-bounces at lists.sourceforge.net schrieb am 18.10.2006 04:26:19: > > > /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: > > $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > > $HOSTADDRESS$\n$HOSTNOTES$\n\nInfo: $HOSTOUTPUT$\n\nDate/Time: > > $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for > > $HOSTNAME$!" $CONTACTEMAIL$ > [SNIP] > > Both printf and mail work fine with UTF8 japanese, and tests using only > > the $HOSTNOTES$ macro yeilds similar results (nothing output). > > The CGI's work fine, and display the japanese, so it seems the macro > > processing is not able to handle the characters. > > > > Has anyone had similar problems, and is there a solution? > > I can't try the japanese UTF, but are you sure that /usr/bin/printf > supports UTF8? Typing printf at the shell is not the same as using > /usr/bin/printf. The bash built-in printf function is very different > from the external executable and has caused lots of headaches to me > already. It might be the source of your problem too. > > Sascha > > PS: This problem is one of the reasons I strongly discourage the current > standard of how default notifications are generated... I am also totally against how the default mail action works, which is why I wrote a perl script to do the emailing a little more elegantly http://www.nagiosexchange.org/Utilities.16.0.html?&tx_netnagext_pi1[p_view]=698 Cheers rob/mossko This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Oct 18 15:51:28 2006 From: marc at ena.com (Marc Powell) Date: Wed, 18 Oct 2006 08:51:28 -0500 Subject: monitoring linux traffic without snmp Message-ID: Behold the power of the Internet ;) It's not perfect but good enough -- http://babelfish.altavista.com/ -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nelson Serafica > Sent: Tuesday, October 17, 2006 8:02 PM > To: Robin Ericsson; Jorg.Schulz at systeam.se > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] monitoring linux traffic without snmp > > This is a nice site. However, do you have an ENGLISH version of this. I > can't understand the words. I only understand english. > > Please include any english site you know. > > Thanks and regards, > > > ----- Original Message ---- > From: Robin Ericsson > To: "Jorg.Schulz at systeam.se" > Cc: nagios-users at lists.sourceforge.net > Sent: Tuesday, October 17, 2006 7:02:33 PM > Subject: Re: [Nagios-users] monitoring linux traffic without snmp > > > On 10/16/06, Jorg.Schulz at systeam.se wrote: > > > > Hi , > > Hi, > > > Try the "check_traffic_andreas.pl" from the http://www.nagios-wiki.de > > Nice script, however, I asked for one that didn't use snmp :) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjsanz4job at hotmail.com Wed Oct 18 16:51:13 2006 From: cjsanz4job at hotmail.com (Carlos Sánchez) Date: Wed, 18 Oct 2006 09:51:13 -0500 Subject: check router and switch cisco Message-ID: Hi! are there a plugin that check temperture of router and switch cisco? thanks for the help!!! _________________________________________________________________ Add a Yahoo! contact to Windows Live Messenger for a chance to win a free trip! http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us&hmtagline ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Oct 18 16:56:50 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 18 Oct 2006 16:56:50 +0200 (CEST) Subject: check router and switch cisco In-Reply-To: References: Message-ID: On Wed, 18 Oct 2006, wrote: > are there a plugin that check temperture of router and switch cisco? Check_snmp. Getting the right OID might be a wee bit harder. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dschlecht at doit.nv.gov Wed Oct 18 17:10:04 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Wed, 18 Oct 2006 17:10:04 +0200 (CEST) Subject: External Commands segfault Message-ID: <20061018151004.EF7294F4046@desire.netways.de> Hi list I'm seeking any suggestions, no matter how far-fetched. The cmd.cgi occasionally dies/hangs. It often generates a segfault. This only happens occasionally but when it does, things get very ugly as all subsequent commands fail. I have seen no common thread but can reproduce the problem quite regularly (but not every time) by using the Schedule Downtime external command. This has happened since the beginning of time and continues through version 2.5. I used to believe that it was restriceted to the SLES platform but have moved to RH and the problem persists. The hardware doesn't matter either as we've had the problem on x386 boxes, i64 and even z/Os VMs. Can someone please help with this? Your help would be most appreciated. Thanks. - David Schlecht (dschl) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjsanz4job at hotmail.com Wed Oct 18 18:23:26 2006 From: cjsanz4job at hotmail.com (Carlos Sánchez) Date: Wed, 18 Oct 2006 11:23:26 -0500 Subject: check router and switch cisco In-Reply-To: References: Message-ID: Sorry but i am newbie in that , but what is a OID? >From: Hugo van der Kooij >Reply-To: Nagios Users mailinglist >To: Nagios Users mailinglist >Subject: Re: [Nagios-users] check router and switch cisco >Date: Wed, 18 Oct 2006 16:56:50 +0200 (CEST) > >On Wed, 18 Oct 2006, wrote: > > > are there a plugin that check temperture of router and switch cisco? > >Check_snmp. Getting the right OID might be a wee bit harder. > >Hugo. > >-- > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > This message is using 100% recycled electrons. > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job >easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ Use your PC to make calls at very low rates https://voiceoam.pcs.v2s.live.com/partnerredirect.aspx ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Oct 18 19:14:14 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 18 Oct 2006 19:14:14 +0200 (CEST) Subject: check router and switch cisco In-Reply-To: References: Message-ID: On Wed, 18 Oct 2006, wrote: > Sorry but i am newbie in that , but what is a OID? Object IDentifier. Please check your favority search engine and put in the question. It usually helps. You are advised to learn a thing or two about SNMP (Simple Network Management Protocol) as it is the usual way to question your switches and routers about such intimate details. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxwellb at oclc.org Wed Oct 18 19:25:53 2006 From: maxwellb at oclc.org (Maxwell,Brady) Date: Wed, 18 Oct 2006 13:25:53 -0400 Subject: check router and switch cisco In-Reply-To: References: Message-ID: <632EDB1E16D4E041A0EF1DB3ADF67B2B07B9F012@OAEXCH1SERVER.oa.oclc.org> The wolfgang barth book "Nagios Systems and Network Monitoring" has a pretty good intro to SNMP. However for a more in depth study on SNMP I would suggest the "Essential SNMP" book from Oreilly. }}-----Original Message----- }}From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- }}bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij }}Sent: Wednesday, October 18, 2006 1:14 PM }}To: Nagios Users mailinglist }}Subject: Re: [Nagios-users] check router and switch cisco }} }}On Wed, 18 Oct 2006, wrote: }} }}> Sorry but i am newbie in that , but what is a OID? }} }}Object IDentifier. Please check your favority search engine and put in the }}question. It usually helps. }} }}You are advised to learn a thing or two about SNMP (Simple Network }}Management Protocol) as it is the usual way to question your switches and }}routers about such intimate details. }} }}Hugo. }} }}-- }} hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ }} This message is using 100% recycled electrons. }} }}---------------------------------------------------------------------- --- }}Using Tomcat but need to do more? Need to support web services, security? }}Get stuff done quickly with pre-integrated technology to make your job }}easier }}Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo }}http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 42 }}_______________________________________________ }}Nagios-users mailing list }}Nagios-users at lists.sourceforge.net }}https://lists.sourceforge.net/lists/listinfo/nagios-users }}::: Please include Nagios version, plugin version (-v) and OS when }}reporting any issue. }}::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Oct 18 20:29:09 2006 From: marc at ena.com (Marc Powell) Date: Wed, 18 Oct 2006 13:29:09 -0500 Subject: checking a counter on a website Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of rob.moss at uk.bnpparibas.com > Sent: Wednesday, October 18, 2006 3:31 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] checking a counter on a website > > > nagios-users-bounces at lists.sourceforge.net wrote on 17/10/2006 20:01:28: > > > This actually hits on what I consider to be one of Nagios' (few) > > weaknesses. A lot of time, when I do my checks, I'm not nearly as > > interested in the value of a check as in the change in the value > > since the last check. This is a good example. Another item I > > monitor is changes in the SNMP Interface error counters. For > > example, if I get more than 5 errors/second, I need to send out an > > alert. Finally, I have the same issue monitoring SNMP Interface > > statuses. But, Nagios has no feature to remember data between > > invocations of the checks. So, I end up storing this data in > > temporary files. If there was a facility to provide some information > > back to Nagios, and retrieve it on the next one, that would be > wonderful. > > The responsibility of something like this entirely up to the plugin.. > > Nagios's task is to schedule and check hosts/services, and to notify a > contact of status changes. > > The task of the plugin is to perform an operation to check if a service is > working (or not) and provide a uniform status message back to Nagios.. I can see value to having a $SERVICEPREVOUTPUT$ macro that could be passed to a check plugin. That would be an easy way to allow for this commonly requested functionality. -- Flow -- (Service check execution time) $SERVICEPREVOUTPUT$ = $SERVICEOUTPUT$ $SERVICEOUTPUT$=NULL (Execute Plugin) $SERVICEOUTPUT$ = -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ron at tvnz.co.nz Wed Oct 18 22:16:54 2006 From: ron at tvnz.co.nz (Ron Wilson) Date: Thu, 19 Oct 2006 09:16:54 +1300 Subject: Monitoring VMWare Message-ID: Has anyone had any success in monitoring VMWare virtual servers. I can monitor the ESX but how do we get details of the virtual servers that are hosted on ESX so that data bears some resemblance to reality. If we monitor from the virtual servers then obviously things like CPU readings are useless. Any ideas? -- Ron Wilson ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Oct 18 22:40:46 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 18 Oct 2006 22:40:46 +0200 (CEST) Subject: Monitoring VMWare In-Reply-To: References: Message-ID: On Thu, 19 Oct 2006, Ron Wilson wrote: > Has anyone had any success in monitoring VMWare virtual servers. I can > monitor the ESX but how do we get details of the virtual servers that > are hosted on ESX so that data bears some resemblance to reality. If we > monitor from the virtual servers then obviously things like CPU readings > are useless. What do you expect to read and monitor? And why is the CPU info bogus? If a virtual machine claims a lot of CPU then you may still want to know about. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dveldhuisen at bartlesville.oilfield.slb.com Wed Oct 18 22:31:08 2006 From: dveldhuisen at bartlesville.oilfield.slb.com (Doug Veldhuisen) Date: Wed, 18 Oct 2006 15:31:08 -0500 Subject: checking a counter on a website In-Reply-To: References: Message-ID: <7.0.1.0.2.20061018152832.04218920@bartlesville.oilfield.slb.com> Most Linux distros, I am aware anyway, support share memory segments. the How about a mechanism, supported by Nagios of course, where we could save some variables to a shared memory segment. Saving and retrieving should be pretty quick. Doug Veldhuisen Running Nagios 2.5 on Debian and Fedora. At 01:29 PM 10/18/2006, Marc Powell wrote: > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of rob.moss at uk.bnpparibas.com > > Sent: Wednesday, October 18, 2006 3:31 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] checking a counter on a website > > > > > > nagios-users-bounces at lists.sourceforge.net wrote on 17/10/2006 >20:01:28: > > > > > This actually hits on what I consider to be one of Nagios' (few) > > > weaknesses. A lot of time, when I do my checks, I'm not nearly as > > > interested in the value of a check as in the change in the value > > > since the last check. This is a good example. Another item I > > > monitor is changes in the SNMP Interface error counters. For > > > example, if I get more than 5 errors/second, I need to send out an > > > alert. Finally, I have the same issue monitoring SNMP Interface > > > statuses. But, Nagios has no feature to remember data between > > > invocations of the checks. So, I end up storing this data in > > > temporary files. If there was a facility to provide some information > > > back to Nagios, and retrieve it on the next one, that would be > > wonderful. > > > > The responsibility of something like this entirely up to the plugin.. > > > > Nagios's task is to schedule and check hosts/services, and to notify a > > contact of status changes. > > > > The task of the plugin is to perform an operation to check if a >service is > > working (or not) and provide a uniform status message back to Nagios.. > >I can see value to having a $SERVICEPREVOUTPUT$ macro that could be >passed to a check plugin. That would be an easy way to allow for this >commonly requested functionality. -- > >Flow -- > (Service check execution time) > $SERVICEPREVOUTPUT$ = $SERVICEOUTPUT$ > $SERVICEOUTPUT$=NULL > (Execute Plugin) > $SERVICEOUTPUT$ = > >-- >Marc > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanleyhopcroft at gmail.com Thu Oct 19 00:26:33 2006 From: stanleyhopcroft at gmail.com (Stanley Hopcroft) Date: Thu, 19 Oct 2006 08:26:33 +1000 Subject: EPN/DB plugin question In-Reply-To: References: Message-ID: Dear Sir, I am writing to thank you for your letter and your patience in waiting for a reply (it is partly 'Warnock applies' in respect of no one having anything helpful to say I think) On 28/09/06, Tal Cohen wrote: > > I am creating plugins that interface with a mysql database. I know that in > mod_perl there is a way to maintain and share database connections (thereby > avoiding the connect/disconnect overhead). Is there a similar method using > epn? Apart from the same precautions that apply to coding mod_perl and ePN client code (ie use strict, be careful with globals since they will be captured by closures and live forever, initialise everything where it makes sense ... see the Stas Bekman recommendations or the notes in the Nag docco), mod_perl and ePN have very little in common, apart from the intent. However, to attempt an answer, why not simply avoid shutting down the connection and check if the DB and statement handles are instantiated before constructing them ? (ie write a nasty looking thing that is intended for use in a persistent environment). An example that is similar (but not unfortch like your case) is only constructing objects the first time the plugin is run. unless ( $sock ) { # Conditional object construction # to try and reduce memory use # in embedded Perl applications. $sock = IO::Socket::INET->new( LocalAddr => inet_ntoa(INADDR_ANY), LocalPort => 68, Proto => 'udp', Type => SOCK_DGRAM, Broadcast => 1, ) or do { print "Cannot create socket or bind to priviledged port: $!\n" ; exit $ERRORS{UNKNOWN} } } $hispaddr = sockaddr_in(67, inet_aton($subnet_bcast) || INADDR_BROADCAST) ; This is part of a private DHCP check (yep, every one has to write their own DHCP check at least once) that only creates the DHCP object if it doesn't already have a value that is retained from the last time the plugin runs. This has been working for me (Perl 5.8.0/RH EL3/Nag 2.5) for some months without problem. Oops ! It works because the object _is_ constructed each time since this is a suid plugin that is called from a C wrapper and therefore doesn't bother ePN at all. However, I think it would or could be made to work with ePN. Unlike mod_perl which could well systematically cache such things, there is no support in ePN for caching application data structures. OTOH, you may be able to get away with a hack like that above. You could also consider porting the mod_perl stuff to ePN. I would consider it but looking at the mod_perl code makes my head hurt. Yours sincerely. > > Thanks, > Tal ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mchandler at star.fielding.nec.co.jp Thu Oct 19 02:10:44 2006 From: mchandler at star.fielding.nec.co.jp (=?UTF-8?B?44OB44Oj44Oz44OJ44Op?=) Date: Thu, 19 Oct 2006 09:10:44 +0900 Subject: Antwort: UTF8 Japanese characters in macros In-Reply-To: References: Message-ID: <4536C284.4050209@star.fielding.nec.co.jp> Sascha, Thanks for the reply. Yes, /usr/bin/printf works with the UTF8 strings I am trying to use. I have tried /bin/echo as well (which also has no problems from the command line) with the same results, so I think it is a problem with way the strings are stored in the macro. Martin srunschke at abit.de wrote: > nagios-users-bounces at lists.sourceforge.net schrieb am 18.10.2006 04:26:19: > >> /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: >> $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: >> $HOSTADDRESS$\n$HOSTNOTES$\n\nInfo: $HOSTOUTPUT$\n\nDate/Time: >> $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for >> $HOSTNAME$!" $CONTACTEMAIL$ > [SNIP] >> Both printf and mail work fine with UTF8 japanese, and tests using only >> the $HOSTNOTES$ macro yeilds similar results (nothing output). >> The CGI's work fine, and display the japanese, so it seems the macro >> processing is not able to handle the characters. >> >> Has anyone had similar problems, and is there a solution? > > I can't try the japanese UTF, but are you sure that /usr/bin/printf > supports UTF8? Typing printf at the shell is not the same as using > /usr/bin/printf. The bash built-in printf function is very different > from the external executable and has caused lots of headaches to me > already. It might be the source of your problem too. > > Sascha > > PS: This problem is one of the reasons I strongly discourage the current > standard of how default notifications are generated... > > -- > Sascha Runschke > Netzwerk Management > IT-Services > > ABIT AG > Robert-Bosch-Str. 1 > 40668 Meerbusch > > Tel.:+49 (0) 2150.9153.226 > Mobil:+49 (0) 173.5419665 > mailto:SRunschke at abit.de > > http://www.abit.net > http://www.abit-epos.net > --------------------------------- > Sicherheitshinweis zur E-Mail Kommunikation / > Security note regarding email communication: > http://www.abit.net/sicherheitshinweis.html > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Thu Oct 19 02:19:39 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Thu, 19 Oct 2006 10:19:39 +1000 Subject: Monitoring VMWare Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6ABE7842@mail01.ccia.local> The data coming from a VM machine isn't useless as you described it, it's still relevant in the context of the virtual machine. Develop some tailored checks and thresholds for a VM Hostgroup. Matthew Joyce 02 9382 0051 | 0412 309745 | IT Manager | Children's Cancer Institute Australia for Medical Research > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Ron Wilson > Sent: Thursday, 19 October 2006 6:17 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring VMWare > > Has anyone had any success in monitoring VMWare virtual > servers. I can monitor the ESX but how do we get details of > the virtual servers that are hosted on ESX so that data bears > some resemblance to reality. If we monitor from the virtual > servers then obviously things like CPU readings are useless. > Any ideas? > > > -- > Ron Wilson > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier Download IBM WebSphere Application Server > v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mchandler at star.fielding.nec.co.jp Thu Oct 19 03:13:01 2006 From: mchandler at star.fielding.nec.co.jp (=?UTF-8?B?44OB44Oj44Oz44OJ44Op?=) Date: Thu, 19 Oct 2006 10:13:01 +0900 Subject: Antwort: UTF8 Japanese characters in macros In-Reply-To: References: Message-ID: <4536D11D.7070502@star.fielding.nec.co.jp> Rob, I tried your perl script, but unfortunately it suffers from the same problem. Any other help would be appreciated! Thanks, Martin rob.moss at uk.bnpparibas.com wrote: > > nagios-users-bounces at lists.sourceforge.net wrote on 18/10/2006 09:12:05: > > nagios-users-bounces at lists.sourceforge.net schrieb am 18.10.2006 > 04:26:19: > > > > > /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: > > > $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > > > $HOSTADDRESS$\n$HOSTNOTES$\n\nInfo: $HOSTOUTPUT$\n\nDate/Time: > > > $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for > > > $HOSTNAME$!" $CONTACTEMAIL$ > > [SNIP] > > > Both printf and mail work fine with UTF8 japanese, and tests using only > > > the $HOSTNOTES$ macro yeilds similar results (nothing output). > > > The CGI's work fine, and display the japanese, so it seems the macro > > > processing is not able to handle the characters. > > > > > > Has anyone had similar problems, and is there a solution? > > > > I can't try the japanese UTF, but are you sure that /usr/bin/printf > > supports UTF8? Typing printf at the shell is not the same as using > > /usr/bin/printf. The bash built-in printf function is very different > > from the external executable and has caused lots of headaches to me > > already. It might be the source of your problem too. > > > > Sascha > > > > PS: This problem is one of the reasons I strongly discourage the current > > standard of how default notifications are generated... > > I am also totally against how the default mail action works, which is > why I wrote a perl script to do the emailing a little more elegantly > > http://www.nagiosexchange.org/Utilities.16.0.html?&tx_netnagext_pi1[p_view]=698 > > > Cheers > rob/mossko > > > This message and any attachments (the "message") is > intended solely for the addressees and is confidential. > If you receive this message in error, please delete it and > immediately notify the sender. Any use not in accord with > its purpose, any dissemination or disclosure, either whole > or partial, is prohibited except formal approval. The internet > can not guarantee the integrity of this message. > BNP PARIBAS (and its subsidiaries) shall (will) not > therefore be liable for the message if modified. > > ********************************************************************************************** > > BNP Paribas Private Bank London Branch is authorised > by CECEI & AMF and is regulated by the Financial Services > Authority for the conduct of its investment business in > the United Kingdom. > > BNP Paribas Securities Services London Branch is authorised > by CECEI & AMF and is regulated by the Financial Services > Authority for the conduct of its investment business in > the United Kingdom. > > BNP Paribas Fund Services UK Limited is authorised and > regulated by the Financial Services Authority > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Thu Oct 19 05:09:13 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Thu, 19 Oct 2006 13:09:13 +1000 Subject: monitoring for IO in Nagios In-Reply-To: <4534994B.8090407@op5.se> References: <610cb7a00610150600q5b368a03o849c766f4af996e2@mail.gmail.com> <46fa40c10610151558y1ae51520ne54d79711e53222b@mail.gmail.com> <610cb7a00610160653g50a70d66qf5af088d58c21eed@mail.gmail.com> <4534994B.8090407@op5.se> Message-ID: <610cb7a00610182009y4ca85820mdb2d06b618deb1e3@mail.gmail.com> Ok well in case anyone else is wondering, here's the solution I came up with: # cat /usr/local/nagios/libexec/check_io.pl #!/usr/bin/perl # author: alex harvey # email: alexh19740110 at gmail.com # definitions use constant OK => 0; use constant WARNING => 1; use constant CRITICAL => 2; # read in config file require "/usr/local/nagios/etc/check_io.cfg"; # main open IOSTAT, "$IOSTAT $INTERVAL 3 | $TAIL -${LINES} |"; while ( ) { @col = split ' '; foreach $disk (keys %DISKS) { if ( $disk eq $col[0] ) { if ( $col[0] eq $disk ) { $DISKS{$disk}[0] = $col[1]; $DISKS{$disk}[1] = $col[2]; $DISKS{$disk}[2] = $col[7]; $DISKS{$disk}[3] = $col[9]; } } } } close IOSTAT; $exit_state = OK; foreach $disk (sort (keys %DISKS)) { if ( $DISKS{$disk}[2] >= $SVC_T_WTHRESHOLD && $DISKS{$disk}[3] >= $PC_B_WTHRESHOLD ) { if ( $DISKS{$disk}[2] < $SVC_T_CTHRESHOLD && $DISKS{$disk}[3] < $PC_B_WTHRESHOLD ) { $exit_state = ($exit_state < CRITICAL) ? WARNING : $exit_state; } else { $exit_state = CRITICAL; } } $exit_message = $exit_message. " ".$disk. ":: [ r/s: ".$DISKS{$disk}[0]. ", w/s: ".$DISKS{$disk}[1]. ", svc_t: ".$DISKS{$disk}[2]. ", and %b: ".$DISKS{$disk}[3]. " ],"; } if ( $exit_state == OK ) { $exit_message = "OK -$exit_message"; } elsif ( $exit_state == WARNING ) { $exit_message = "WARNING -$exit_message"; } else { $exit_message = "CRITICAL -$exit_message"; } $exit_message =~ s/,$/\n/; print $exit_message; exit $exit_state And the configuration file: # cat /usr/local/nagios/etc/check_io.cfg # check_io.cfg # constants $DISKS = 3; # number of physical disk partitions # diskid => [ r/s, w/s, service_time, %busy ] %DISKS = ( sd0 => [ 0, 0, 0, 0 ], sd1 => [ 0, 0, 0, 0 ], sd6 => [ 0, 0, 0, 0 ] ); $IOSTAT = '/usr/bin/iostat -x'; $TAIL = '/usr/bin/tail'; $LINES = 7; # number of lines in iostat -x $INTERVAL = 5; # second interval for iostat $SVC_T_WTHRESHOLD = 30; $PC_B_WTHRESHOLD = 5; $SVC_T_CTHRESHOLD = 40; $PC_B_CTHRESHOLD = 10; This is for a Solaris box whose iostat output looks like this: # iostat -x extended device statistics device r/s w/s kr/s kw/s wait actv svc_t %w %b sd0 0.0 1.4 0.3 9.4 0.0 0.0 31.6 0 1 sd1 0.0 0.0 0.0 0.0 0.0 0.0 3.4 0 0 sd6 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 st12 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 nfs1 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 Regards, Alex On 10/17/06, Andreas Ericsson wrote: > > Alexander Harvey wrote: > > That doesn't look like a Solaris script to me but as far as your coding > is > > concerned, my thoughts are > > > > [ excellent and non-disputed points removed ] > > > (iv) for security you ought to use full paths to all of your binaries: > > i.e. > > /usr/bin/echo > > instead of > > echo > > > > "echo" is a built-in feature of pretty much all shells, so just using > plain 'echo' is a perfectly viable and more performance friendly option. > > A better solution, for security's sake, is to force the $PATH to a safe > value at the beginning of the script and not bother with full paths. > > As a last note, "echo" is required to exist on the root partition, which > places it in /bin on all systems I've ever come across. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peter.gritsch at fh-joanneum.at Thu Oct 19 07:07:50 2006 From: peter.gritsch at fh-joanneum.at (Gritsch Peter) Date: Thu, 19 Oct 2006 07:07:50 +0200 Subject: check router and switch cisco Message-ID: <46CD6B2D6E0F834FB55F5A7080AC44D0022647E7@OLYMPIA.technikum.fh-joanneum.local> SNMP4Nagios contains such a plugin. See http://snmp4nagios.sourceforge.net or more specifically the docs at http://snmp4nagios.sourceforge.net/chapter07.html#sec_7_11 HTH Peter > -----Urspr?ngliche Nachricht----- > Von: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Im > Auftrag von Carlos S?nchez > Gesendet: Mittwoch, 18. Oktober 2006 16:51 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] check router and switch cisco > > Hi! > > are there a plugin that check temperture of router and switch cisco? > > thanks for the help!!! > > _________________________________________________________________ > Add a Yahoo! contact to Windows Live Messenger for a chance > to win a free > trip! > http://www.imagine-windowslive.com/minisites/yahoo/default.asp x?locale=en-us&hmtagline > > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh+nagios-users at zugschlus.de Thu Oct 19 10:59:22 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Thu, 19 Oct 2006 10:59:22 +0200 Subject: User-defined host/service attributes In-Reply-To: <200610141911.k9EJB2rH012499@mx1.cs.umb.edu> References: <20061014152954.GH11651@torres.l21.ma.zugschlus.de> <200610141911.k9EJB2rH012499@mx1.cs.umb.edu> Message-ID: <20061019085922.GA20750@torres.l21.ma.zugschlus.de> On Sat, Oct 14, 2006 at 03:11:02PM -0400, John P. Rouillard wrote: > Nagios 3.0 has native support for this. But Nagios 3.0 is not yet released. > I use a simple wrapper script and define things like: Do I see correctly that your wrapper script is a workaround for Nagios 2.x? I surely hope that the way of solving this with Nagios 3 is a little less ugly. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh+nagios-users at zugschlus.de Thu Oct 19 11:04:19 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Thu, 19 Oct 2006 11:04:19 +0200 Subject: How to not send out first service notifications? Message-ID: <20061019090419.GB20750@torres.l21.ma.zugschlus.de> Hi, I am monitoring some hosts on the Internet for informational reasons. Since these hosts quite frequently have failed services, I'd like my Nagios to refrain from notifying me if a service is down at the first notification. Subsequent notifications, however, should be sent out. Is there a way to do this any easier than having no notifications set in the service definition and have a service escalation having the list of contacts that used to be in the service definition? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh+nagios-users at zugschlus.de Thu Oct 19 11:08:58 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Thu, 19 Oct 2006 11:08:58 +0200 Subject: Service escalation for service groups? Message-ID: <20061019090858.GC20750@torres.l21.ma.zugschlus.de> Hi, in the Nagios 2.x docs, a serviceescalation item can be configured for a host name and a service description. Is there any possibility to define escalation items that automatically apply for all members of a service group? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Thu Oct 19 11:10:56 2006 From: srunschke at abit.de (srunschke at abit.de) Date: Thu, 19 Oct 2006 11:10:56 +0200 Subject: Antwort: How to not send out first service notifications? In-Reply-To: <20061019090419.GB20750@torres.l21.ma.zugschlus.de> References: <20061019090419.GB20750@torres.l21.ma.zugschlus.de> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 19.10.2006 11:04:19: > I am monitoring some hosts on the Internet for informational reasons. > Since these hosts quite frequently have failed services, I'd like my > Nagios to refrain from notifying me if a service is down at the first > notification. Subsequent notifications, however, should be sent out. > > Is there a way to do this any easier than having no notifications set > in the service definition and have a service escalation having the > list of contacts that used to be in the service definition? If you always only want the 2nd notification, then your approach sounds wrong. You shouldn't suppress the first notification always, but instead maybe raise the number of consecutive failed checks until you throw a hard state, so you do not get too many false warnings. regards Sascha -- Sascha Runschke Netzwerk Management IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eusebio_e at vodafone.es Thu Oct 19 11:12:24 2006 From: eusebio_e at vodafone.es (eusebio_e at vodafone.es) Date: Thu, 19 Oct 2006 11:12:24 +0200 Subject: (no subject) Message-ID: Hi all!! in nagios ver. 2.5, which are the number optimal of hosts and/or services that are supported? Best regards. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Thu Oct 19 11:12:56 2006 From: srunschke at abit.de (srunschke at abit.de) Date: Thu, 19 Oct 2006 11:12:56 +0200 Subject: Antwort: Service escalation for service groups? In-Reply-To: <20061019090858.GC20750@torres.l21.ma.zugschlus.de> References: <20061019090858.GC20750@torres.l21.ma.zugschlus.de> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 19.10.2006 11:08:58: > Hi, > > in the Nagios 2.x docs, a serviceescalation item can be configured for > a host name and a service description. Is there any possibility to > define escalation items that automatically apply for all members of a > service group? Example: define serviceescalation { servicegroup_name WUT-SERVICEGROUP first_notification 1 last_notification 0 contact_groups HOST-CONTACTGROUP-SMS,HOST-CONTACTGROUP-MAIL notification_interval 10 escalation_period 24x7 escalation_options w,c,r } regards Sascha -- Sascha Runschke Netzwerk Management IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh+nagios-users at zugschlus.de Thu Oct 19 11:51:00 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Thu, 19 Oct 2006 11:51:00 +0200 Subject: Service escalation for service groups? In-Reply-To: References: <20061019090858.GC20750@torres.l21.ma.zugschlus.de> Message-ID: <20061019095100.GD20750@torres.l21.ma.zugschlus.de> On Thu, Oct 19, 2006 at 11:12:56AM +0200, srunschke at abit.de wrote: > nagios-users-bounces at lists.sourceforge.net schrieb am 19.10.2006 11:08:58: > > in the Nagios 2.x docs, a serviceescalation item can be configured for > > a host name and a service description. Is there any possibility to > > define escalation items that automatically apply for all members of a > > service group? > > Example: > > define serviceescalation { > servicegroup_name WUT-SERVICEGROUP > first_notification 1 > last_notification 0 > contact_groups HOST-CONTACTGROUP-SMS,HOST-CONTACTGROUP-MAIL > notification_interval 10 > escalation_period 24x7 > escalation_options w,c,r > } Ah. That possiblity is not in the docs. Thanks. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh+nagios-users at zugschlus.de Thu Oct 19 11:53:24 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Thu, 19 Oct 2006 11:53:24 +0200 Subject: Antwort: How to not send out first service notifications? In-Reply-To: References: <20061019090419.GB20750@torres.l21.ma.zugschlus.de> Message-ID: <20061019095324.GE20750@torres.l21.ma.zugschlus.de> On Thu, Oct 19, 2006 at 11:10:56AM +0200, srunschke at abit.de wrote: > nagios-users-bounces at lists.sourceforge.net schrieb am 19.10.2006 11:04:19: > > I am monitoring some hosts on the Internet for informational reasons. > > Since these hosts quite frequently have failed services, I'd like my > > Nagios to refrain from notifying me if a service is down at the first > > notification. Subsequent notifications, however, should be sent out. > > > > Is there a way to do this any easier than having no notifications set > > in the service definition and have a service escalation having the > > list of contacts that used to be in the service definition? > > If you always only want the 2nd notification, then your approach sounds > wrong. You shouldn't suppress the first notification always, but instead > maybe raise the number of consecutive failed checks until you throw > a hard state, so you do not get too many false warnings. Actually, it is fine (and desired) for the service to show up in the web interface as DOWN, and that the history is correctly written. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Thu Oct 19 12:18:14 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Thu, 19 Oct 2006 12:18:14 +0200 Subject: (no subject) In-Reply-To: References: Message-ID: <8C2C93E1-003D-407F-B9A4-DC716AF0DDA1@kilala.nl> On 19 Oct, 2006, at 11:12, eusebio_e at vodafone.es wrote: > in nagios ver. 2.5, which are the number optimal of hosts and/or > services that are supported? 5. Or was it 20.000? *ponders deeply* Meaning: we really cannot give any sensible answer to your question. Please tell us something about your environment and what you're looking for? Cheers! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eusebio_e at vodafone.es Thu Oct 19 13:12:18 2006 From: eusebio_e at vodafone.es (eusebio_e at vodafone.es) Date: Thu, 19 Oct 2006 13:12:18 +0200 Subject: (no subject) Message-ID: Our environment, aprox. 3.400 hosts and 7.000 services: pings, disk, process, users; all of them in remote with connections RDSI, PPP, ADSL Best regards!! > On 19 Oct, 2006, at 11:12, eusebio_e at vodafone.es wrote: > > > in nagios ver. 2.5, which are the number optimal of hosts and/or > > services that are supported? > 5. > > Or was it 20.000? *ponders deeply* > > Meaning: we really cannot give any sensible answer to your question. > Please tell us something about your environment and what you're > looking for? > > Cheers! > > > Thomas > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Oct 19 13:25:16 2006 From: ae at op5.se (Andreas Ericsson) Date: Thu, 19 Oct 2006 13:25:16 +0200 Subject: checking a counter on a website In-Reply-To: <7.0.1.0.2.20061018152832.04218920@bartlesville.oilfield.slb.com> References: <7.0.1.0.2.20061018152832.04218920@bartlesville.oilfield.slb.com> Message-ID: <4537609C.8080101@op5.se> Doug Veldhuisen wrote: > > Most Linux distros, I am aware anyway, support share memory segments. the > How about a mechanism, supported by Nagios of course, where we could > save some variables to a shared memory segment. Saving and retrieving > should be pretty quick. > Bad idea since Nagios also runs on HPUX, Irix, Solaris, Sunos, *BSD and a number of other systems. Handling the differences between how shared memory segments are implemented or the lack of such a mechanism among all the different systems would be maintenance nightmare both for Nagios and the plugins. That aside, most of the plugins that would actually require this feature at the moment are written in perl, shell or python, where low-level things like memory mapping isn't always supported and never exactly straight-forward. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Oct 19 13:30:29 2006 From: ae at op5.se (Andreas Ericsson) Date: Thu, 19 Oct 2006 13:30:29 +0200 Subject: External Commands segfault In-Reply-To: <20061018151004.EF7294F4046@desire.netways.de> References: <20061018151004.EF7294F4046@desire.netways.de> Message-ID: <453761D5.1090303@op5.se> David Schlecht wrote: > Hi list > > > > I'm seeking any suggestions, no matter how far-fetched. > > > > The cmd.cgi occasionally dies/hangs. It often generates a segfault. > Try to get it to dump core, then run this command: $ gdb cmd.cgi core which will put you at a gdb prompt. Then run this (gdb) bt (gdb) quit and send the output back to the list. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Oct 19 13:36:09 2006 From: ae at op5.se (Andreas Ericsson) Date: Thu, 19 Oct 2006 13:36:09 +0200 Subject: Antwort: How to not send out first service notifications? In-Reply-To: <20061019095324.GE20750@torres.l21.ma.zugschlus.de> References: <20061019090419.GB20750@torres.l21.ma.zugschlus.de> <20061019095324.GE20750@torres.l21.ma.zugschlus.de> Message-ID: <45376329.3080900@op5.se> Marc Haber wrote: > On Thu, Oct 19, 2006 at 11:10:56AM +0200, srunschke at abit.de wrote: >> nagios-users-bounces at lists.sourceforge.net schrieb am 19.10.2006 11:04:19: >>> I am monitoring some hosts on the Internet for informational reasons. >>> Since these hosts quite frequently have failed services, I'd like my >>> Nagios to refrain from notifying me if a service is down at the first >>> notification. Subsequent notifications, however, should be sent out. >>> >>> Is there a way to do this any easier than having no notifications set >>> in the service definition and have a service escalation having the >>> list of contacts that used to be in the service definition? >> If you always only want the 2nd notification, then your approach sounds >> wrong. You shouldn't suppress the first notification always, but instead >> maybe raise the number of consecutive failed checks until you throw >> a hard state, so you do not get too many false warnings. > > Actually, it is fine (and desired) for the service to show up in the > web interface as DOWN, and that the history is correctly written. > They still will, as availability times are calculated from the first failed check, and the GUI shows things in the state they are at the moment of displaying it, regardless of it being a soft or hard state. Only notification behaviour is modified if you fiddle with the max_check_attempts and retry_check_interval variables. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Oct 19 13:42:13 2006 From: ae at op5.se (Andreas Ericsson) Date: Thu, 19 Oct 2006 13:42:13 +0200 Subject: (no subject) In-Reply-To: References: Message-ID: <45376495.2010506@op5.se> eusebio_e at vodafone.es wrote: > Our environment, aprox. 3.400 hosts and 7.000 services: pings, disk, process, users; all of them in remote with connections RDSI, PPP, ADSL > Your question still doesn't make sense. Nagios can support any number of hosts with any number of services, depending on how often you want to check them. In a network this large, you might be better off hiring a consultant and give him a $30,000 hardware budget to play with as you would most likely need a distributed setup which needs to be fine-tuned a bit for Nagios not to choke on the amount of data it has to swallow from its poller nodes. In short, you can either spend quite a long time on your own to set up monitoring of a network of this size and get satisfactory results, or you can spend some money and get it done quickly. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 19 14:06:57 2006 From: marc at ena.com (Marc Powell) Date: Thu, 19 Oct 2006 07:06:57 -0500 Subject: User-defined host/service attributes Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Marc Haber > Sent: Thursday, October 19, 2006 3:59 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] User-defined host/service attributes > > On Sat, Oct 14, 2006 at 03:11:02PM -0400, John P. Rouillard wrote: > > Nagios 3.0 has native support for this. > > But Nagios 3.0 is not yet released. > > > I use a simple wrapper script and define things like: > > Do I see correctly that your wrapper script is a workaround for Nagios > 2.x? > > I surely hope that the way of solving this with Nagios 3 is a little > less ugly. It's talked about here: http://www.nagios.org/development/upcoming.php And here: http://www.netways.de/uploads/media/Ethan.Galstad_Nagios.3.and.Beyond.pd f And in the archives. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 19 14:10:03 2006 From: marc at ena.com (Marc Powell) Date: Thu, 19 Oct 2006 07:10:03 -0500 Subject: Service escalation for service groups? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Marc Haber > Sent: Thursday, October 19, 2006 4:51 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Service escalation for service groups? > > On Thu, Oct 19, 2006 at 11:12:56AM +0200, srunschke at abit.de wrote: > > nagios-users-bounces at lists.sourceforge.net schrieb am 19.10.2006 > 11:08:58: > > > in the Nagios 2.x docs, a serviceescalation item can be configured for > > > a host name and a service description. Is there any possibility to > > > define escalation items that automatically apply for all members of a > > > service group? > > > > Example: > > > > define serviceescalation { > > servicegroup_name WUT-SERVICEGROUP > > first_notification 1 > > last_notification 0 > > contact_groups HOST-CONTACTGROUP-SMS,HOST-CONTACTGROUP-MAIL > > notification_interval 10 > > escalation_period 24x7 > > escalation_options w,c,r > > } > > Ah. That possiblity is not in the docs. Thanks. http://nagios.sourceforge.net/docs/2_0/templatetricks.html#serviceescala tion -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 19 14:13:02 2006 From: marc at ena.com (Marc Powell) Date: Thu, 19 Oct 2006 07:13:02 -0500 Subject: Antwort: How to not send out first servicenotifications? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Marc Haber > Sent: Thursday, October 19, 2006 4:53 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Antwort: How to not send out first > servicenotifications? > > On Thu, Oct 19, 2006 at 11:10:56AM +0200, srunschke at abit.de wrote: > > nagios-users-bounces at lists.sourceforge.net schrieb am 19.10.2006 > 11:04:19: > > > I am monitoring some hosts on the Internet for informational reasons. > > > Since these hosts quite frequently have failed services, I'd like my > > > Nagios to refrain from notifying me if a service is down at the first > > > notification. Subsequent notifications, however, should be sent out. > > > > > > Is there a way to do this any easier than having no notifications set > > > in the service definition and have a service escalation having the > > > list of contacts that used to be in the service definition? > > > > If you always only want the 2nd notification, then your approach sounds > > wrong. You shouldn't suppress the first notification always, but instead > > maybe raise the number of consecutive failed checks until you throw > > a hard state, so you do not get too many false warnings. > > Actually, it is fine (and desired) for the service to show up in the > web interface as DOWN, and that the history is correctly written. Another option then is to pass the $NOTIFICATIONNUMBER$ macro to your notification script and ignore any that == 1. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Thu Oct 19 14:17:37 2006 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Thu, 19 Oct 2006 14:17:37 +0200 Subject: (no subject) In-Reply-To: References: Message-ID: <016a01c6f378$90706d30$a601000a@int.consol.de> > Our environment, aprox. 3.400 hosts and 7.000 services: > pings, disk, process, users; all of them in remote with > connections RDSI, PPP, ADSL split it up in separate instances of 500 hosts each and you should have no problems with nagios out of the box on an average server (2 2GHz dualcore, 4g mem, ...) Gerhard ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nils-georg.paus at elkem.no Thu Oct 19 15:38:18 2006 From: nils-georg.paus at elkem.no (nils-georg.paus at elkem.no) Date: Thu, 19 Oct 2006 15:38:18 +0200 Subject: Nils-Georg Paus is out of the office. Message-ID: I will be out of the office starting 19.10.2006 and will not return until 31.10.2006. I will respond to your message when I return. NOTICE Please immediately e-mail back to sender if you are not the intended recipient.Thereafter delete the e-mail along with any attachments without making copies. Elkem reserves all rights of privilege, confidentiality and copyright. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dustin at v.igoro.us Thu Oct 19 17:12:43 2006 From: dustin at v.igoro.us (Dustin J. Mitchell) Date: Thu, 19 Oct 2006 10:12:43 -0500 Subject: Nagios process segfaulting, wedging Message-ID: <453795EB.3070107@v.igoro.us> I'm afraid I don't have a lot of detail on this problem yet. On two occasions about a week apart, my nagios process has wedged itself. I'm using nagios-2.5 on amd64, with a Gentoo install. Its log contains (sanitized; these were all different hosts/services): Oct 6 00:00:00 [nagios] CURRENT SERVICE STATE: some-host;some-service;OK;HARD;1;HTTP OK HTTP/1.1 200 OK - 0.568 second response time_ Oct 6 00:00:00 [nagios] Caught SIGSEGV, shutting down..._ in one case (this was at midnight, directly after the logfile rotation), and [1160714430] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;some-host;some-service;0;Blah blah [1160714480] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;some-host;some-service;0;Blah blah [1160714481] Caught SIGSEGV, shutting down... (this was *not* at midnight, so no fair blaming the logfile rotation) This seemed to start after I implemented a number of service checks for cronjobs; these are implemented as "OK" reports delivered via NSCA on successful completion of the cronjob, and a freshness check set to some small multiple of the cronjob frequency. Some of these cronjobs run every fifteen minutes on a half-dozen hosts, so it's a small but non-trivial amount of traffic. Based on mailing list archives, I tried bombarding nagios with nsca requests and watching its memory consumption -- it hovered at a reasonable number. I put nagios in debugging mode, which unfortunately makes it fairly unusable for actual monitoring, so I can't leave it in that mode for a week. I could not replicate the crash. My questions, then, are: * is there a known bug that could be causing this? * is there anything I can do to help track down what might be causing this next time it happens? Thanks! Dustin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdondich at gmail.com Thu Oct 19 17:14:10 2006 From: tdondich at gmail.com (Taylor Dondich) Date: Thu, 19 Oct 2006 08:14:10 -0700 Subject: Hi all, wrote a O'Reilly shortcut on Nagios, now available. Message-ID: <3d2eb72a0610190814p2aa8999bq9e3d3ab0fa9f4ea7@mail.gmail.com> I'm Taylor Dondich, author of Fruity, the web-based Nagios configuration tool. I just finished writing a O'Reilly shortcut titled Network Monitoring with Nagios. It's now available for purchase at: http://www.oreilly.com/catalog/networknagios/?CMP=ILC-2RQ886833906&ATT=networknagios#details I'll be writing 3 more parts to this series. The other parts will be: Monitoring Common Network Services with Nagios Windows Monitoring with Nagios Writing Nagios Event Broker Modules If you have any tips or experience in the previous 3 topics, I'd love to hear them so I can look at including it in a upcoming shortcut. Thanks to the people who helped out! Taylor Dondich ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Thu Oct 19 17:18:11 2006 From: knobdy at gmail.com (Brian Loe) Date: Thu, 19 Oct 2006 10:18:11 -0500 Subject: alerts Message-ID: <3c4611bc0610190818p6548cce8v6071fbd8740ddae5@mail.gmail.com> Is there a way, at all, to specify that if pings are lost - but at least one gets through - or get slow, then nagios waits until the next check before alerting on it. However, if all pings fail, it alerts on the first check? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Thu Oct 19 21:14:58 2006 From: ton.voon at altinity.com (Ton Voon) Date: Thu, 19 Oct 2006 20:14:58 +0100 Subject: check_snmp on Sol 10 mangling data In-Reply-To: <200603061858.k26IwrA04016@panix3.panix.com> References: <200603061858.k26IwrA04016@panix3.panix.com> Message-ID: <24AE47A8-832D-4288-869F-8EBE0DA4D087@altinity.com> Kyle, Thanks for the report. Applied in CVS. For future reference, please raise a tracker item in SF so it doesn't get lost in mailing lists. Thanks. Ton On 6 Mar 2006, at 18:58, Kyle Tucker wrote: > After playing with gdb all day, I found the culprit. The array of > chars > named "type" was getting initialized with the crud on Solaris 10. On 8 > it was zeroed out at runtime. Using bzero on it before it's used fixed > it up. > > *** check_snmp.c.orig Mon Mar 6 08:05:26 2006 > --- check_snmp.c Mon Mar 6 13:45:53 2006 > *************** > *** 242,247 **** > --- 242,249 ---- > } > > /* We strip out the datatype indicator for PHBs */ > + /* Clean up type array */ > + bzero(type, sizeof(type)); > if (strstr (response, "Gauge: ")) > show = strstr (response, "Gauge: ") + 7; > else if (strstr (response, "Gauge32: ")) http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From az at whoever.org Thu Oct 19 22:39:10 2006 From: az at whoever.org (Az) Date: Fri, 20 Oct 2006 06:39:10 +1000 Subject: alerts In-Reply-To: <3c4611bc0610190818p6548cce8v6071fbd8740ddae5@mail.gmail.com> References: <3c4611bc0610190818p6548cce8v6071fbd8740ddae5@mail.gmail.com> Message-ID: <4537E26E.7050003@whoever.org> Brian Loe wrote: > Is there a way, at all, to specify that if pings are lost - but at > least one gets through - or get slow, then nagios waits until the next > check before alerting on it. However, if all pings fail, it alerts on > the first check? > The check_ping plugin allows you to specify round trip and packet loss thresholds, so that might be a solution for you. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at trelvik.net Thu Oct 19 22:56:46 2006 From: tom at trelvik.net (Tom Trelvik) Date: Thu, 19 Oct 2006 16:56:46 -0400 Subject: 1.3 -> 2.5 upgrade docs? Message-ID: <82a5ca600610191356s2be36c2h61739331a0a394e5@mail.gmail.com> So I originally installed Nagios via apt on a Debian stable system. I only later realized that Nagios was on version 1.3 in apt and 2.5 on the web site. When Debian stable gets updated to Etch this December, apt will want to upgrade to 2.5. I can see the 2.x docs have a changelog page, but I'm not sure which of those new features and other changes could possibly be a concern for someone upgrading from an older version. Are there any upgrade docs that can give me an idea what kind of changes I may need to make to keep my installation working properly? Thanks! Tom ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Thu Oct 19 23:18:40 2006 From: knobdy at gmail.com (Brian Loe) Date: Thu, 19 Oct 2006 16:18:40 -0500 Subject: alerts In-Reply-To: <4537E26E.7050003@whoever.org> References: <3c4611bc0610190818p6548cce8v6071fbd8740ddae5@mail.gmail.com> <4537E26E.7050003@whoever.org> Message-ID: <3c4611bc0610191418i3200abf2r69c346632593496e@mail.gmail.com> I'm using check_icmp, I think, and I believe it does the same - but how do I differentiate between alert on the first complete failure, but check twice before alerting when the threshold is exceeded? On 10/19/06, Az wrote: > Brian Loe wrote: > > Is there a way, at all, to specify that if pings are lost - but at > > least one gets through - or get slow, then nagios waits until the next > > check before alerting on it. However, if all pings fail, it alerts on > > the first check? > > > The check_ping plugin allows you to specify round trip and packet loss > thresholds, so that might be a solution for you. > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Thu Oct 19 23:19:13 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 20 Oct 2006 10:19:13 +1300 Subject: Monitoring VMWare In-Reply-To: References: Message-ID: <12A6FDDD13C460408A6E47E5DB1235A244A97C@UXCHANGE3.UoA.auckland.ac.nz> > Has anyone had any success in monitoring VMWare virtual servers. I can > monitor the ESX but how do we get details of the virtual servers that > are hosted on ESX so that data bears some resemblance to > reality. If we monitor from the virtual servers then obviously things like > CPU readings are useless. Yes, we are monitoring a lot of ESX servers, using the check_esx2 plugin (written by myself, so I admit to some bias). If you go to VMWorld06 in November in LA, you should be able to attend a workshop showing how to implement this. For the benefit of other readers, it is true that CPU and any other time-based stats acquired from the VM are useless. This is because of the way VMWare affects the virtual server clock and the way the sharing is managed. Not only that, but collecting these stats from the VM will noticeably impact performance due to it causing kernel calls. The best way to gain these stats is either from SNMP on the Service Controller (through the VMware agentx plugin for snmp), or from the /proc/vmware tree on the Service Controller (this is how the vmkusage addin for vmware does it). You can obtain check_esx2 (v2.4) from www.nagiosexchange.org. This will allow you to alert on various things, including excessive ReadyTime (the key CPU usage indicator), total CPU usage, and also on Memory active and balloon/vmswap activity. The check_esx2 script can also run in MRTG mode in order to allow it to be used for MRTG graphing. There is also an additional script which will generate RRDTool files and dummy MRTG .cfg files that can be passed to a MRTG frontend such as routers2 to display numerous summary graphs, but this is out of scope for this mailing list. See www.steveshipway.org/forum for the discussion forum for VMWare monitoring using these tools. Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Oct 19 23:31:43 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 19 Oct 2006 23:31:43 +0200 (CEST) Subject: 1.3 -> 2.5 upgrade docs? In-Reply-To: <82a5ca600610191356s2be36c2h61739331a0a394e5@mail.gmail.com> References: <82a5ca600610191356s2be36c2h61739331a0a394e5@mail.gmail.com> Message-ID: On Thu, 19 Oct 2006, Tom Trelvik wrote: > So I originally installed Nagios via apt on a Debian stable system. I > only later realized that Nagios was on version 1.3 in apt and 2.5 on > the web site. When Debian stable gets updated to Etch this December, > apt will want to upgrade to 2.5. > > I can see the 2.x docs have a changelog page, but I'm not sure which > of those new features and other changes could possibly be a concern > for someone upgrading from an older version. Are there any upgrade > docs that can give me an idea what kind of changes I may need to make > to keep my installation working properly? I would suggest you build a test system and try to get your config working with 2.5 and there are links to notes in the archive of this mailinglist if memory serves me well. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From huasome at gmail.com Thu Oct 19 23:56:41 2006 From: huasome at gmail.com (Huaqing Zheng) Date: Thu, 19 Oct 2006 14:56:41 -0700 Subject: 1.3 -> 2.5 upgrade docs? In-Reply-To: <82a5ca600610191356s2be36c2h61739331a0a394e5@mail.gmail.com> References: <82a5ca600610191356s2be36c2h61739331a0a394e5@mail.gmail.com> Message-ID: <8855dbd90610191456s4608064fg2552f7323dd8599d@mail.gmail.com> On 10/19/06, Tom Trelvik wrote: > So I originally installed Nagios via apt on a Debian stable system. I > only later realized that Nagios was on version 1.3 in apt and 2.5 on > the web site. When Debian stable gets updated to Etch this December, > apt will want to upgrade to 2.5. > > I can see the 2.x docs have a changelog page, but I'm not sure which > of those new features and other changes could possibly be a concern > for someone upgrading from an older version. Are there any upgrade > docs that can give me an idea what kind of changes I may need to make > to keep my installation working properly? You can build a test system now with the nagios2 package from backports. See http://www.backports.org for information. We are using it in production on a sarge server and it works fine. -- Huaqing Zheng Beer and Code Wrangler at Large ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sfeng at stanford.edu Fri Oct 20 00:38:09 2006 From: sfeng at stanford.edu (Xueshan Feng) Date: Thu, 19 Oct 2006 15:38:09 -0700 Subject: 1.3 -> 2.5 upgrade docs? In-Reply-To: <82a5ca600610191356s2be36c2h61739331a0a394e5@mail.gmail.com> References: <82a5ca600610191356s2be36c2h61739331a0a394e5@mail.gmail.com> Message-ID: <1161297489.26691.407.camel@hoss.stanford.edu> On Thu, 2006-10-19 at 16:56 -0400, Tom Trelvik wrote: > So I originally installed Nagios via apt on a Debian stable system. I > only later realized that Nagios was on version 1.3 in apt and 2.5 on > the web site. When Debian stable gets updated to Etch this December, > apt will want to upgrade to 2.5. > > I can see the 2.x docs have a changelog page, but I'm not sure which > of those new features and other changes could possibly be a concern > for someone upgrading from an older version. Are there any upgrade > docs that can give me an idea what kind of changes I may need to make > to keep my installation working properly? > I have done the migration and here are some highlights: 1. Go through your nagios.cfg file - file locations are changed so you want to make sure the diretory pathes match the new locations 2. If you have to use your old nagios apache configuration, check to make sure the cgi-bin, docroot, etc point to nagios2 installation location. 3. Micros changes: You definitely need to change commands.cfg (or whatever file you use to define command objects) and local plugins that use micros. For the obvious ones: OUPTUT changed to either HOSTOUTPUT or SERVICEOUTPUT SATETYPE changed to either HOSTSATETYPE or SERCIESATETYPE PERFDATD to either HOSTPERFDATA or SERVICEPERFDATA DATETIME is gone and there are SHORTDATETIME, LONGDATETIME to etc. If you don't change them, you get notifiations that miss details. 4. In host definition file (host.cfg), if you defined "contact_groups" in "define hostgroup" section, instead of in each "define host" section, you need to move "contact_groups" to "define host" section. You might want to have a script to parse "contact_groups" line and "members" line in hostgroup section, and add "contact_groups" to each of the member's own host definition. I can send you my script if you are interested (you have to change it to use it in your setup though). 5. Make sure when you move to a new machine, copy your archives to keep historical data. Other than that, you can pretty use your other configurations as is. Xueshan ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mark.Law at thomson.com Fri Oct 20 16:06:30 2006 From: Mark.Law at thomson.com (Mark.Law at thomson.com) Date: Fri, 20 Oct 2006 10:06:30 -0400 Subject: /tmp directory filling up Message-ID: In the past couple of weeks the /tmp directory has been filling up with thousands of zero length files list this ~ embedded23S23e embeddedoIBi1e. This is for Nagios version 1.2 Can you help? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dschlecht at doit.nv.gov Fri Oct 20 19:56:37 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Fri, 20 Oct 2006 19:56:37 +0200 (CEST) Subject: External Commands segfault In-Reply-To: <453761D5.1090303@op5.se> References: <453761D5.1090303@op5.se> Message-ID: <20061020175637.0F8994F4046@desire.netways.de> Hi Andreas Thanks for your attention. I didn't get a core dump but doing a stack trace on the hanging process I get: #0 0x002de7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x003b4eb3 in __open_nocancel () from /lib/tls/libc.so.6 #2 0x0035854d in _IO_new_file_fopen () from /lib/tls/libc.so.6 #3 0x0034f0c9 in __fopen_internal () from /lib/tls/libc.so.6 #4 0x0034f11d in fopen@@GLIBC_2.1 () from /lib/tls/libc.so.6 #5 0x0804b6e0 in ?? () #6 0x08071f20 in stdin () #7 0x080613af in _IO_stdin_used () #8 0xbfff6680 in ?? () #9 0x080693da in _IO_stdin_used () #10 0x0000fd00 in ?? () #11 0x00000000 in ?? () I tried repeatedly to generate a core dump but they aren't as common as this -- however, this looks like it's the same think. What do you think? - David Schlecht (dschl) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=22633 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri Oct 20 20:10:24 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 20 Oct 2006 20:10:24 +0200 (CEST) Subject: /tmp directory filling up In-Reply-To: References: Message-ID: On Fri, 20 Oct 2006, Mark.Law at thomson.com wrote: > In the past couple of weeks the /tmp directory has been filling up with > thousands of zero length files list this ~ embedded23S23e > embeddedoIBi1e. What is wrong with the thread you started 4 days ago? Did you read the answer you got? How did it help you? .... Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From az at whoever.org Sat Oct 21 10:09:35 2006 From: az at whoever.org (Az) Date: Sat, 21 Oct 2006 18:09:35 +1000 Subject: alerts In-Reply-To: <3c4611bc0610191418i3200abf2r69c346632593496e@mail.gmail.com> References: <3c4611bc0610190818p6548cce8v6071fbd8740ddae5@mail.gmail.com> <4537E26E.7050003@whoever.org> <3c4611bc0610191418i3200abf2r69c346632593496e@mail.gmail.com> Message-ID: <4539D5BF.7010904@whoever.org> > > On 10/19/06, Az wrote: > >> Brian Loe wrote: >> >>> Is there a way, at all, to specify that if pings are lost - but at >>> least one gets through - or get slow, then nagios waits until the next >>> check before alerting on it. However, if all pings fail, it alerts on >>> the first check? >>> >>> >> The check_ping plugin allows you to specify round trip and packet loss >> thresholds, so that might be a solution for you. >> >> Brian Loe wrote: > I'm using check_icmp, I think, and I believe it does the same - but > how do I differentiate between alert on the first complete failure, > but check twice before alerting when the threshold is exceeded? If I am reading this right, you're saying you have two criteria for a failure (presumably for a host check): 1. *All* packets "fail" on the first check (be it from none arriving or taking too long). 2. *Some* packets "fail" on the first and subsequent check. The only two ways I can think of doing this (and I'm sure there'll be others) are: * Write a custom plugin that carries over the result of the previous check so that the next check can see if case #2 applies. * Some creative mixing of the normal check_icmp/ping/fping plugin with the desired thresholds, and the host max_check_attempts directive (although I don't think this will give you exactly what you want, but you might be able to live with it). * Use an event handler that is triggered when some (but not all) packets fail to meet your criteria, which kicks off a check of its own behind the scene and if that check meets case #2, submit a passive result. Cheers. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magic.rooter at gmail.com Sat Oct 21 17:35:41 2006 From: magic.rooter at gmail.com (root root) Date: Sat, 21 Oct 2006 19:35:41 +0400 Subject: auto-detecting of new hosts, routers etc... Message-ID: <989aee610610210835q4eff72b0yfe171f0b8e7fabae@mail.gmail.com> Can Nagios gather information from my network automatically in order to add it to hosts.cfg file by itself, not by nagios administrator? I ask it because I have to solve the next problem in my network: when some router, server or user computer plugged into network, I must new about it with the help of Nagios. (Because I can't run between many rooms in our central office and in our filials in other cities in order to know whether new device has appeared and then to add it manually in hosts.cfg and other configs). So this system must have something like intelligence in order to find new equipment in network and add it to its status map. I heard that OpenView can do it. I think with the help of SNMP. Nagios also works with this protocol. So maybe it can do the same? I think this is very important problem for most network administrators. Please, answer my question. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From conigliaro at getproactivenow.com Sat Oct 21 17:41:29 2006 From: conigliaro at getproactivenow.com (Mike Conigliaro) Date: Sat, 21 Oct 2006 11:41:29 -0400 Subject: Nagios Future In-Reply-To: References: Message-ID: <453A3FA9.9060208@getproactivenow.com> i never knew about ndoutils until just now. what does it do? store status information in a database instead of text files? this is exactly what i need. Ciro Iriarte wrote: > Hi, > > I've been using Nagios since version 1.1, right now we are using Nagios > 2.5 version + Perfparse and i'm planning to implement Oreon on top of it but > just found about ndoutils so i'm wondering how should i proceed, can the > ndoutils replace perfparse?, would Oreon be pointless with the planned PHP > version of the interfase?, it seems that the ndoutils would make posible > running many nagios monitoring processes/hosts with the same data backend > (great HA), at least that's what i understood. > Is viable a migration of data from perfparse to ndoutils? > Any comments? > > Thanks in advanced, > > Ciro > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Oct 21 18:19:39 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 21 Oct 2006 18:19:39 +0200 (CEST) Subject: auto-detecting of new hosts, routers etc... In-Reply-To: <989aee610610210835q4eff72b0yfe171f0b8e7fabae@mail.gmail.com> References: <989aee610610210835q4eff72b0yfe171f0b8e7fabae@mail.gmail.com> Message-ID: On Sat, 21 Oct 2006, root root wrote: > Can Nagios gather information from my network automatically in order > to add it to hosts.cfg file by itself, not by nagios administrator? No. There are tools to detect hosts and write updated config files out there. But someone installed equipment in your network and it must have passed a couple of checks before you installed it. Right? Then what is the problem of adding it to your config as part of these checks? If someone installed something in your network without your knowledge then why do you need to monitor it? The only automatic tool I would use is one that triggers an alert if a new device was added to the network. So you can go on a search and destroy mission. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cshaffer at gmail.com Sat Oct 21 21:00:32 2006 From: cshaffer at gmail.com (Curt Shaffer) Date: Sat, 21 Oct 2006 14:00:32 -0500 Subject: auto-detecting of new hosts, routers etc... In-Reply-To: References: <989aee610610210835q4eff72b0yfe171f0b8e7fabae@mail.gmail.com> Message-ID: <1161457232.598.17.camel@tempstation.symbioticnt.com> On Sat, 2006-10-21 at 18:19 +0200, Hugo van der Kooij wrote: > On Sat, 21 Oct 2006, root root wrote: > > > Can Nagios gather information from my network automatically in order > > to add it to hosts.cfg file by itself, not by nagios administrator? > > No. There are tools to detect hosts and write updated config files out > there. > > But someone installed equipment in your network and it must have passed a > couple of checks before you installed it. Right? Then what is the problem > of adding it to your config as part of these checks? > > If someone installed something in your network without your knowledge then > why do you need to monitor it? > > The only automatic tool I would use is one that triggers an alert if a new > device was added to the network. So you can go on a search and destroy > mission. > > Hugo. > I have used nmap to Nagios with some success. I have been thinking about how to automate this but I keep seeing potential issues like rogue devices or adding services that I don't care to monitor. Plus I just don't like the idea of a program overwriting my configs without my concent when it comes to this. I'm looking at modifying how it works to be a bit more functional for this need. One thing that a lot of new monitoring systems have is auto discovery and I think it will be a good addition to Nagios to keep it as one of the best. It may work fine for you so give it a look. http://www.nagiosexchange.org/Configuration.40.0.html?&tx_netnagext_pi1[p_view]=147&tx_netnagext_pi1[page]=10%3A10 HTH Curt ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magic.rooter at gmail.com Sat Oct 21 23:01:07 2006 From: magic.rooter at gmail.com ( magic_rooter) Date: Sun, 22 Oct 2006 01:01:07 +0400 Subject: Nagios-users auto-detecting of new hosts, routers Message-ID: <989aee610610211401s13661b00r98c34b272df6b92e@mail.gmail.com> > Date: Sat, 21 Oct 2006 18:19:39 +0200 (CEST) > From: Hugo van der Kooij > Subject: Re: [Nagios-users] auto-detecting of new hosts, routers > etc... > To: Nagios Users mailinglist > Message-ID: > > Content-Type: TEXT/PLAIN; charset=US-ASCII > > On Sat, 21 Oct 2006, root root wrote: > > > Can Nagios gather information from my network automatically in order > > to add it to hosts.cfg file by itself, not by nagios administrator? > > No. There are tools to detect hosts and write updated config files out > there. > > But someone installed equipment in your network and it must have passed a > couple of checks before you installed it. Right? Then what is the problem > of adding it to your config as part of these checks? > > If someone installed something in your network without your knowledge then > why do you need to monitor it? > > The only automatic tool I would use is one that triggers an alert if a new > device was added to the network. So you can go on a search and destroy > mission. > > Hugo. > > -- > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > This message is using 100% recycled electrons. I know some tools based upon Cisco Discovery Protocol. Netdisco and Nedi for example. So I can gather information from my network and than manually add it to my configs? So, that's a good idea, I think. Some kind of script will make it more easy to enter new lines into configs... My goal is to find out very quickly with the help of Nagios about new equipment. Monitoring or not monitoring is the another question. I am implementing Nagios in our company now. So I am investigating all of Nagios capability. At this stage I want now if I can have the auto-updating configuration of my network. It is very important feature for my boss. Sorry, I didn't understand what automatic tool do you use. Can you explain a little this method? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magic.rooter at gmail.com Sat Oct 21 23:11:12 2006 From: magic.rooter at gmail.com ( magic_rooter) Date: Sun, 22 Oct 2006 01:11:12 +0400 Subject: Nagios-users Digest, Vol 5, Issue 27 In-Reply-To: References: Message-ID: <989aee610610211411u5454e8bexcfd0798ab9e1245d@mail.gmail.com> > Date: Sat, 21 Oct 2006 14:00:32 -0500 > From: Curt Shaffer > Subject: Re: [Nagios-users] auto-detecting of new hosts, routers > etc... > To: Nagios Users mailinglist > Message-ID: <1161457232.598.17.camel at tempstation.symbioticnt.com> > Content-Type: text/plain > > On Sat, 2006-10-21 at 18:19 +0200, Hugo van der Kooij wrote: > > On Sat, 21 Oct 2006, root root wrote: > I have used nmap to Nagios with some success. I have been thinking about > how to automate this but I keep seeing potential issues like rogue > devices or adding services that I don't care to monitor. Plus I just > don't like the idea of a program overwriting my configs without my > concent when it comes to this. I'm looking at modifying how it works to > be a bit more functional for this need. One thing that a lot of new > monitoring systems have is auto discovery and I think it will be a good > addition to Nagios to keep it as one of the best. It may work fine for > you so give it a look. > > http://www.nagiosexchange.org/Configuration.40.0.html?&tx_netnagext_pi1[p_view]=147&tx_netnagext_pi1[page]=10%3A10 > > HTH > > Curt Thank you for information about nmap2nagios. I will try it. I think it is the second good method (the first is using CDP based software). I wonder how administrators with frequently changed large network (about 3000 hosts) solve this problem? Maybe somebody wrote useful script for it? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Oct 22 00:17:52 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 22 Oct 2006 00:17:52 +0200 (CEST) Subject: Nagios-users auto-detecting of new hosts, routers In-Reply-To: <989aee610610211401s13661b00r98c34b272df6b92e@mail.gmail.com> References: <989aee610610211401s13661b00r98c34b272df6b92e@mail.gmail.com> Message-ID: On Sun, 22 Oct 2006, magic_rooter wrote: > I know some tools based upon Cisco Discovery Protocol. Netdisco and > Nedi for example. So I can gather information from my network and than > manually add it to my configs? So, that's a good idea, I think. Some > kind of script will make it more easy to enter new lines into > configs... Hmmm. I have worked with Spectrum from Cabletron and HP-OV and have also discusses a lot with people into Cisco's management tool. Somehow everyone seems to expect miracles from the autodiscovery tools. But most of the tech support people I have spoken were strongly against using it. In their experience it was the fast route to getting a totally messed up system. My own experience with the autodiscovery of the various products only seems to confirm this. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mark.Law at thomson.com Sun Oct 22 15:49:58 2006 From: Mark.Law at thomson.com (Mark.Law at thomson.com) Date: Sun, 22 Oct 2006 09:49:58 -0400 Subject: /tmp directory filling up Message-ID: Sorry about the double post - the original advice was to check the permissions on the /tmp directory with lsattr -d /tmp. That didn't help. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij Sent: Friday, October 20, 2006 2:10 PM To: Nagios Users mailinglist Subject: Re: [Nagios-users] /tmp directory filling up On Fri, 20 Oct 2006, Mark.Law at thomson.com wrote: > In the past couple of weeks the /tmp directory has been filling up with > thousands of zero length files list this ~ embedded23S23e > embeddedoIBi1e. What is wrong with the thread you started 4 days ago? Did you read the answer you got? How did it help you? .... Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From forums at emat.be Sun Oct 22 22:36:43 2006 From: forums at emat.be (js) Date: Sun, 22 Oct 2006 22:36:43 +0200 Subject: track progress of nagios 3 Message-ID: <453BD65B.9060602@emat.be> Hi list, I'm very interested into the PHP/perl http interface which is planned for Nagios 3. Is there a place where I can track the progress made on Nagios version 3 and it's features? Cheers, Js ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Mon Oct 23 09:50:34 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 23 Oct 2006 09:50:34 +0200 Subject: track progress of nagios 3 In-Reply-To: <453BD65B.9060602@emat.be> References: <453BD65B.9060602@emat.be> Message-ID: On 22 Oct, 2006, at 22:36, js wrote: > I'm very interested into the PHP/perl http interface which is planned > for Nagios 3. Is there a place where I can track the progress made > on Nagios version 3 > and it's features? I don't know if there's a place that allows you to track the development process. I however do know that Ethan knocked back the new web interface to Nagios 4.x, due to time constraints. Cheers! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.belik at centrum.cz Mon Oct 23 11:53:21 2006 From: michael.belik at centrum.cz (Michael Belik) Date: Mon, 23 Oct 2006 11:53:21 +0200 (CEST) Subject: change status from command line Message-ID: <20061023095321.643EA4F4046@desire.netways.de> Hi all, I have stoped service and nagios was changed status for this service to DOWN. After this I stop active and other checks. But service has still status DOWN. Do you anybody know, how can I manualy or automaticly change status (OK or Pending) for this stoped service? I kmow, I can plan downtimes, but if the service in status down, setting downtimes not change status. Thank you for answers. - Michael Belik (belik) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.belik at centrum.cz Mon Oct 23 11:53:38 2006 From: michael.belik at centrum.cz (Michael Belik) Date: Mon, 23 Oct 2006 11:53:38 +0200 (CEST) Subject: change status from command line Message-ID: <20061023095338.9D1454F4047@desire.netways.de> Hi all, I have stoped service and nagios was changed status for this service to DOWN. After this I stop active and other checks. But service has still status DOWN. Do you anybody know, how can I manualy or automaticly change status (OK or Pending) for this stoped service? I kmow, I can plan downtimes, but if the service in status down, setting downtimes not change status. Thank you for answers. - Michael Belik (belik) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Mon Oct 23 16:30:16 2006 From: knobdy at gmail.com (Brian Loe) Date: Mon, 23 Oct 2006 09:30:16 -0500 Subject: alerts In-Reply-To: <4539D5BF.7010904@whoever.org> References: <3c4611bc0610190818p6548cce8v6071fbd8740ddae5@mail.gmail.com> <4537E26E.7050003@whoever.org> <3c4611bc0610191418i3200abf2r69c346632593496e@mail.gmail.com> <4539D5BF.7010904@whoever.org> Message-ID: <3c4611bc0610230730j5132678fu5459bc368b9a564c@mail.gmail.com> On 10/21/06, Az wrote: > > 1. *All* packets "fail" on the first check (be it from none arriving or > taking too long). > 2. *Some* packets "fail" on the first and subsequent check. > Close, I think Problem1: Pings take too long (longer than the configured threshold) and/or 1 of 3 pings is dropped. Action1: Wait for second check, if result is same, alert. Problem2: All pings fail. Action2: Alert. In other words, pings taking too long or one or two failures might mean the network between Nagios and device is congested or having issues not relating directly with that device. This is important to know but it might also clear up by next check. If all pings fail completely, that's a good indication the device has gone down and I want to be alerted immediately to that. This problem wouldn't even be an issue if our network wasn't so...well, whatever. Fixing that will take some time though. > The only two ways I can think of doing this (and I'm sure there'll be > others) are: Do these solutions still hold true or am I possibly missing something about the syntax of the checks - or maybe the configuration of services.cfg? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From az at whoever.org Mon Oct 23 22:41:33 2006 From: az at whoever.org (Az) Date: Tue, 24 Oct 2006 06:41:33 +1000 Subject: change status from command line In-Reply-To: <20061023095338.9D1454F4047@desire.netways.de> References: <20061023095338.9D1454F4047@desire.netways.de> Message-ID: <453D28FD.10703@whoever.org> Michael Belik wrote: > I have stoped service and nagios was changed status for this service > to DOWN. After this I stop active and other checks. > > But service has still status DOWN. > I would consider that normal behaviour. The last state is remembered. Disabling checks won't change state. > Do you anybody know, how can I manualy or automaticly change status > (OK or Pending) for this stoped service? > > I kmow, I can plan downtimes, but if the service in status down, > setting downtimes not change status. > Again, if the service is already down, scheduling downtime after the fact wont make it up. But it will become *scheduled* down time, as opposed to *unscheduled*, and the logs will record it as such. You can submit a passive result via the web interface, or use an external command. See http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=114 for services, http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=115 for hosts. Cheers. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aweiss at nz1.ibm.com Mon Oct 23 23:00:18 2006 From: aweiss at nz1.ibm.com (Alex Weiss) Date: Tue, 24 Oct 2006 10:00:18 +1300 Subject: Alex Weiss is out of the office. Message-ID: I will be out of the office starting 24/10/2006 and will not return until 30/10/2006. Urgent matters please contact Glen Sinclair or Steve Ellis. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nene at sal.gbnet.cc Tue Oct 24 00:11:26 2006 From: nene at sal.gbnet.cc (Nene) Date: Mon, 23 Oct 2006 16:11:26 -0600 Subject: Installing issue. References: Message-ID: <008c01c6f6f0$5ec79580$6601a8c0@gbnetoh6awr6m3> Hello list, I'm newbie and this is my first Nagios Installation: OS: Fedora Core Release 3.0 I installed the binaries and didn't have any problem making the compilation, but I when I want to check my .cfg I got this error message: [root at ns1 /]# /usr/local/nagios/bin/nagios -v nagios.cfg Nagios 2.5 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 07-13-2006 License: GPL Reading configuration data... Error: Cannot open main configuration file '//nagios.cfg' for reading! ***> One or more problems was encountered while processing the config files... Should I continue with next configuration steps ?? It's normal to get this kind of error ?? David -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frcaen at gmail.com Tue Oct 24 00:23:33 2006 From: frcaen at gmail.com (Francois Caen) Date: Mon, 23 Oct 2006 15:23:33 -0700 Subject: Installing issue. In-Reply-To: <008c01c6f6f0$5ec79580$6601a8c0@gbnetoh6awr6m3> References: <008c01c6f6f0$5ec79580$6601a8c0@gbnetoh6awr6m3> Message-ID: <58cfe2840610231523w4cb5a8a4ge6be25468e5cf626@mail.gmail.com> On 10/23/06, Nene wrote: > I installed the binaries and didn't have any problem making the compilation, > but I when I want to check my .cfg I got this error message: You should get the RPMs from Dag: http://dag.wieers.com/packages/nagios/ then the conf files will be in /etc/nagios -- Francois Caen, RHCE, CCNA SpiderMaker, LLC ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Tue Oct 24 00:34:12 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Tue, 24 Oct 2006 08:34:12 +1000 Subject: auto-detecting of new hosts, routers etc... Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6ABE785E@mail01.ccia.local> One way would be to define the entire IP range as hosts and have a check which checks they are not responding (unless they are authorised devices) If a new device come on the lan, this check would fail and send an alert. If you're not comfortable having the existing config altered by a script, why not have nagios scan a folder for CFGs. A script could add/alter individual CFGs (archive older versins), and send you the result of a `nagios -v`, ready for you to bounce the service. Matthew Joyce 02 9382 0051 | 0412 309745 | IT Manager | Children's Cancer Institute Australia for Medical Research > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Curt Shaffer > Sent: Sunday, 22 October 2006 5:01 AM > To: Nagios Users mailinglist > Subject: Re: [Nagios-users] auto-detecting of new hosts, > routers etc... > > On Sat, 2006-10-21 at 18:19 +0200, Hugo van der Kooij wrote: > > On Sat, 21 Oct 2006, root root wrote: > > > > > Can Nagios gather information from my network > automatically in order > > > to add it to hosts.cfg file by itself, not by nagios > administrator? > > > > No. There are tools to detect hosts and write updated > config files out > > there. > > > > But someone installed equipment in your network and it must have > > passed a couple of checks before you installed it. Right? > Then what is > > the problem of adding it to your config as part of these checks? > > > > If someone installed something in your network without your > knowledge > > then why do you need to monitor it? > > > > The only automatic tool I would use is one that triggers an > alert if a > > new device was added to the network. So you can go on a search and > > destroy mission. > > > > Hugo. > > > > I have used nmap to Nagios with some success. I have been > thinking about how to automate this but I keep seeing > potential issues like rogue devices or adding services that I > don't care to monitor. Plus I just don't like the idea of a > program overwriting my configs without my concent when it > comes to this. I'm looking at modifying how it works to be a > bit more functional for this need. One thing that a lot of > new monitoring systems have is auto discovery and I think it > will be a good addition to Nagios to keep it as one of the > best. It may work fine for you so give it a look. > > http://www.nagiosexchange.org/Configuration.40.0.html?&tx_netn > agext_pi1[p_view]=147&tx_netnagext_pi1[page]=10%3A10 > > HTH > > Curt > > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier Download IBM WebSphere Application Server > v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Tue Oct 24 01:59:48 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 24 Oct 2006 12:59:48 +1300 Subject: Testing host notification recipients Message-ID: <12A6FDDD13C460408A6E47E5DB1235A244AA75@UXCHANGE3.UoA.auckland.ac.nz> Hi, does anyone know a method (or a utility, etc) with which I can test who will receive notifications of a particular host/service at a given time? We have a rather large number of hosts, hostgroups, contactgroups, and so on with a number of multiple time periods and it's getting somewhat confusing. I have one situation where I think the user should have received an alert, but the Nagios log says no alert was sent out (although other users WERE alerted). I need some way to check Nagios' logic, and either explain why no alert was sent or else point a finger at a Nagios bug... Using Nagios 1.4, at the moment. Cant go to 2.x until next year. Thanks in advance Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From siemsen at UCAR.EDU Tue Oct 24 02:25:16 2006 From: siemsen at UCAR.EDU (Pete Siemsen) Date: Mon, 23 Oct 2006 18:25:16 -0600 Subject: how to make check_snmp timeout CRITICAL Message-ID: <94778681-B887-4F77-8615-82348AF48DE2@UCAR.EDU> I have a host that won't do ping but will do SNMP, so I want Nagios to check this host's reachability using SNMP. I don't care what SNMP value I get, only that the host replies to SNMP. I tried using check_snmp to get the sysObjectID, and it works fine. When the machine is unreachable, check_snmp returns "SNMP problem - No data received from host", which is fine, but Nagios still shows the host as "ok". I assume check_snmp is returning a status of OK or something, even though the SNMP request totally failed. What can I do? -- Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Oct 24 02:32:47 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 23 Oct 2006 17:32:47 -0700 Subject: Testing host notification recipients In-Reply-To: <12A6FDDD13C460408A6E47E5DB1235A244AA75@UXCHANGE3.UoA.auckland.ac.nz> References: <12A6FDDD13C460408A6E47E5DB1235A244AA75@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: <20061024003247.GR10104@pmorris.usa.hp.com> I don't recall if you can use the web interface in 1.4 to submit a passive service check, but that works in 2.0 to simulate a failure. On Tue, 24 Oct 2006, Steve Shipway wrote: > Hi, does anyone know a method (or a utility, etc) with which I can test > who will receive notifications of a particular host/service at a given > time? > > We have a rather large number of hosts, hostgroups, contactgroups, and > so on with a number of multiple time periods and it's getting somewhat > confusing. I have one situation where I think the user should have > received an alert, but the Nagios log says no alert was sent out > (although other users WERE alerted). I need some way to check Nagios' > logic, and either explain why no alert was sent or else point a finger > at a Nagios bug... > > Using Nagios 1.4, at the moment. Cant go to 2.x until next year. > > Thanks in advance > > Steve > > -- > Steve Shipway > ITSS, University of Auckland > (09) 3737 599 x 86487 > s.shipway at auckland.ac.nz > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fritchie at keyon.com Tue Oct 24 03:14:48 2006 From: fritchie at keyon.com (fritchie) Date: Mon, 23 Oct 2006 18:14:48 -0700 Subject: check_snmp with Debian 3.1 hangs Message-ID: <6d7cc1a90504cf34e89e0816ec2d89de@localhost> HI all, when I try to run check_snmp commands with Debian 3.1 the command just hangs and never outputs any data. Snmpget with the same IP and OID is fine. Anyone else run across this? Thanks Frank ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Tue Oct 24 04:20:24 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Tue, 24 Oct 2006 12:20:24 +1000 Subject: Problems with plugins for V2.5 Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6ABE7864@mail01.ccia.local> Hi, I have v1.3 and am trying v2.5. The problem which is causing me most frustration is the previously very useful check_snmp_win.pl from http://www.manubulon.com/nagios/snmp_windows.html I have the command setup : define command{ command_name check_win_services_by_snmp command_line $USER1$/check_snmp_win.pl -H $HOSTADDRESS$ -C $USER5$ -n '$ARG1$' -N $ARG2$ } And the service define service{ use windows-service-template name win-services-SNMP host_name MYSERVER service_description MS SNMP Service check_command check_win_services_by_snmp!SNMP!1 } Resource.cfg has the correct values for $USER1$ and $USER5$ (I've replaced them withtheir values as a test, too). I've checked the command work manually from the Nagios machine : ./check_snmp_win.pl -H xx.xx.xx.xx -C xxxxxxxxxx -n SNMP -N 1 1 services active (matching "SNMP") : OK >From Nagios, the result is : [24-10-2006 11:13:05] SERVICE ALERT: xxxxxxxxxx;MS SNMP Service;CRITICAL;SOFT;2;(No output!) Permissions are the same as check_http which works fine. Any ideas, what have I missed ? Thanks Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Tue Oct 24 05:09:12 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 24 Oct 2006 16:09:12 +1300 Subject: Testing host notification recipients In-Reply-To: <20061024003247.GR10104@pmorris.usa.hp.com> References: <20061024003247.GR10104@pmorris.usa.hp.com> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A244AAE6@UXCHANGE3.UoA.auckland.ac.nz> Steve queried: > > Hi, does anyone know a method (or a utility, etc) with which I can test > > who will receive notifications of a particular host/service at a given > > time? Patrick replied: > I don't recall if you can use the web interface in 1.4 to submit a > passive service check, but that works in 2.0 to simulate a failure. This is true, however it would cause email alerts to go out to all the contacts and I'd have to then ask each person if they received one (I can't just stop the email delivery as other things are going on). Also, notification rules change over time periods - I might want to know what would happen out of hours without having to wait until after 6pm. What I really need is something to read the config files, untangle them, and then give a response based on options passed. Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Tue Oct 24 05:06:00 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 24 Oct 2006 16:06:00 +1300 Subject: how to make check_snmp timeout CRITICAL In-Reply-To: <94778681-B887-4F77-8615-82348AF48DE2@UCAR.EDU> References: <94778681-B887-4F77-8615-82348AF48DE2@UCAR.EDU> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A244AAE4@UXCHANGE3.UoA.auckland.ac.nz> I achieve this by using the check_snmp options to test for a known value in the response string (eg: '.'). This way, I can alert if anyone stops the SNMP daemon or changes the community strings. Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Pete Siemsen Sent: Tuesday, 24 October 2006 1:25 p.m. To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] how to make check_snmp timeout CRITICAL I have a host that won't do ping but will do SNMP, so I want Nagios to check this host's reachability using SNMP. I don't care what SNMP value I get, only that the host replies to SNMP. I tried using check_snmp to get the sysObjectID, and it works fine. When the machine is unreachable, check_snmp returns "SNMP problem - No data received from host", which is fine, but Nagios still shows the host as "ok". I assume check_snmp is returning a status of OK or something, even though the SNMP request totally failed. What can I do? -- Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ntserafica at yahoo.com Tue Oct 24 07:09:48 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Mon, 23 Oct 2006 22:09:48 -0700 (PDT) Subject: problem compiling in nagios 2.5 Message-ID: <20061024050949.6506.qmail@web62411.mail.re1.yahoo.com> Since there are new version, I decide to shift to 2.5 but i have problem compiling in 2.5. I got error in pthread which is the first time i encountered this problem when installing nagios. Here is the problem: checking pthread.h usability... no checking pthread.h presence... yes configure: WARNING: pthread.h: present but cannot be compiled configure: WARNING: pthread.h: check for missing prerequisite headers? configure: WARNING: pthread.h: see the Autoconf documentation configure: WARNING: pthread.h: section "Present But Cannot Be Compiled" configure: WARNING: pthread.h: proceeding with the preprocessor's result configure: WARNING: pthread.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ## checking for pthread.h... yes checking pthreads.h usability... no checking pthreads.h presence... no checking for pthreads.h... no After this, i tried "make all" but there's also an error which probably came from compiling it. Is there any missing plugins or anything that i need to install? Thanks in advance, NELSON SERAFICA This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. The recipient should check this email and any attachments for the presence of viruses. The sender accepts no liability for any damage caused by any virus transmitted by this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Tue Oct 24 09:27:31 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Tue, 24 Oct 2006 09:27:31 +0200 Subject: auto-detecting of new hosts, routers etc... In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6ABE785E@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6ABE785E@mail01.ccia.local> Message-ID: Actually, putting all the "active probing" solutions aside, wouldn't it be better to go about things the other way around? What we plan on doing is the following: Each of our servers gets installed with a standard build, consisting of OS, patches and various pieces of software + configuration. Included with this software is our Nagios client software, which is already fully configured. This Nagios client software includes a script that is run once, automatically after installation, and which alerts the Nagios servers of a new client system. The Nagios servers then proceed to automatically generate the relevant pieces of configuration. Seems like a nicer, safer way to go about things. Cheers, Thomas root root wrote: > Can Nagios gather information from my network automatically in order > to add it to hosts.cfg file by itself, not by nagios administrator? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Tue Oct 24 09:33:18 2006 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Tue, 24 Oct 2006 08:33:18 +0100 Subject: Installing issue. References: <008c01c6f6f0$5ec79580$6601a8c0@gbnetoh6awr6m3> Message-ID: <418B502A3861E242AFDED453F3D5B89C0EEBE05B@i2km99-ukbr.domain1.systemhost.net> Hi David, You have not said whether or not you have created your config files? By default when you install nagios no configuration files are installed. Have you checked that the /path-to-nagios/etc exists. Read the following faq http://www.nagios.org/faqs/viewfaq.php?faq_id=49&expand=false&showdesc=false Im almost positive this will be your problem. IF its not then drop me a line and i'll try and help u oout with a very basic first set off configs that will get u off the ground. Regards Tom -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net on behalf of Nene Sent: Mon 23/10/2006 23:11 To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Installing issue. Hello list, I'm newbie and this is my first Nagios Installation: OS: Fedora Core Release 3.0 I installed the binaries and didn't have any problem making the compilation, but I when I want to check my .cfg I got this error message: [root at ns1 /]# /usr/local/nagios/bin/nagios -v nagios.cfg Nagios 2.5 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 07-13-2006 License: GPL Reading configuration data... Error: Cannot open main configuration file '//nagios.cfg' for reading! ***> One or more problems was encountered while processing the config files... Should I continue with next configuration steps ?? It's normal to get this kind of error ?? David ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.belik at centrum.cz Tue Oct 24 11:27:27 2006 From: michael.belik at centrum.cz (Michael Belik) Date: Tue, 24 Oct 2006 11:27:27 +0200 (CEST) Subject: change status from command line In-Reply-To: <453D28FD.10703@whoever.org> References: <453D28FD.10703@whoever.org> Message-ID: <20061024092727.515BB4F4046@desire.netways.de> > Michael Belik wrote: > > I have stoped service and nagios was changed status for this service > > to DOWN. After this I stop active and other checks. > > > > But service has still status DOWN. > > > I would consider that normal behaviour. The last state is remembered. > Disabling checks won't change state. > > Do you anybody know, how can I manualy or automaticly change status > > (OK or Pending) for this stoped service? > > > > I kmow, I can plan downtimes, but if the service in status down, > > setting downtimes not change status. > > > Again, if the service is already down, scheduling downtime after the > fact wont make it up. But it will become *scheduled* down time, as > opposed to *unscheduled*, and the logs will record it as such. > > You can submit a passive result via the web interface, or use an > external command. See > http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?co mmand_id=114 > for services, > http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?co mmand_id=115 > for hosts. > > Cheers. > Hi, Many thanks, I used method using external commands. Michael ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mangoo at wpkg.org Tue Oct 24 13:14:32 2006 From: mangoo at wpkg.org (Tomasz Chmielewski) Date: Tue, 24 Oct 2006 13:14:32 +0200 Subject: executing plugins remotely via SSH Message-ID: <453DF598.4070609@wpkg.org> Hi, I wrote a little bash script which allows to execute nagios plugins, on remote machines, using SSH. The advantage over "check_by_ssh" is that nagios plugins don't need to be installed on the remote machine. The plugin, with description, is available here: http://wpkg.org/index.php/Nagios The page is a wiki, so feel free to edit it, discuss it, etc. :) -- Tomasz Chmielewski ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jczucco at ucs.br Tue Oct 24 21:18:34 2006 From: jczucco at ucs.br (Jeronimo Zucco) Date: Tue, 24 Oct 2006 16:18:34 -0300 Subject: Nagios to monitor Power Generator Message-ID: <453E670A.1000200@ucs.br> Hi, list. I have a Caterpillar Power Generator in my work, wich use RS-232 Caterpillar Communication Module (CCM), and CCM PC, a windows-based program for display and diagnostic ( http://www.cat.com/cda/components/securedFile/displaySecuredFileServletJSP?fileId=153544&languageId=7 ). Anyone use nagios to monitor your Power Generator ? How do you maked to do that thing ? Any linux compatible software for reading this data of Caterpillar Power Generator, like Network UPS Tools do with UPS ? Thank you for any tip -- Jeronimo Zucco LPIC-1 Linux Professional Institute Certified N?cleo de Processamento de Dados Universidade de Caxias do Sul http://jczucco.blogspot.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Tue Oct 24 22:40:27 2006 From: teng at dataway.com (Tedman Eng) Date: Tue, 24 Oct 2006 13:40:27 -0700 Subject: executing plugins remotely via SSH Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2EFB@dw-mail.dataway.com> Nice script, but one disadvantage is that it's terribly insecure. All our remote hosts' ssh keys are locked down to allow execution of restricted commands only. That way, if our Nagios server is somehow compromised, we don't need to worry about every remote host being at risk as well. The worst thing an attacker could do is DOS the remote machines with a flood of monitoring queries. That said, you could also just pipe the script contents directly over the ssh connection into bash and skip creation of the temp script altogether. > -----Original Message----- > From: Tomasz Chmielewski [mailto:mangoo at wpkg.org] > Sent: Tuesday, October 24, 2006 4:15 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] executing plugins remotely via SSH > > > Hi, > > I wrote a little bash script which allows to execute nagios > plugins, on > remote machines, using SSH. > > The advantage over "check_by_ssh" is that nagios plugins > don't need to > be installed on the remote machine. > > > The plugin, with description, is available here: > http://wpkg.org/index.php/Nagios > > > The page is a wiki, so feel free to edit it, discuss it, etc. :) > > > -- > Tomasz Chmielewski > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Tue Oct 24 22:52:34 2006 From: teng at dataway.com (Tedman Eng) Date: Tue, 24 Oct 2006 13:52:34 -0700 Subject: auto-detecting of new hosts, routers etc... Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2EFC@dw-mail.dataway.com> There's a wrapper for nmap which diff's successive network scans. http://pbnj.sourceforge.net/ Perhaps turning this into a nagios plugin would be a useful solution what's being discussed here. > -----Original Message----- > From: Matthew Joyce [mailto:MJoyce at ccia.unsw.edu.au] > Sent: Monday, October 23, 2006 3:34 PM > To: Curt Shaffer; Nagios Users mailinglist > Subject: Re: [Nagios-users] auto-detecting of new hosts, > routers etc... > > > > One way would be to define the entire IP range as hosts and > have a check > which checks they are not responding (unless they are authorised > devices) > If a new device come on the lan, this check would fail and send an > alert. > > If you're not comfortable having the existing config altered by a > script, why not have nagios scan a folder for CFGs. > A script could add/alter individual CFGs (archive older versins), and > send you the result of a `nagios -v`, ready for you to bounce the > service. > > > Matthew Joyce > 02 9382 0051 | 0412 309745 | IT Manager | Children's Cancer Institute > Australia for Medical Research > > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > Of Curt Shaffer > > Sent: Sunday, 22 October 2006 5:01 AM > > To: Nagios Users mailinglist > > Subject: Re: [Nagios-users] auto-detecting of new hosts, > > routers etc... > > > > On Sat, 2006-10-21 at 18:19 +0200, Hugo van der Kooij wrote: > > > On Sat, 21 Oct 2006, root root wrote: > > > > > > > Can Nagios gather information from my network > > automatically in order > > > > to add it to hosts.cfg file by itself, not by nagios > > administrator? > > > > > > No. There are tools to detect hosts and write updated > > config files out > > > there. > > > > > > But someone installed equipment in your network and it must have > > > passed a couple of checks before you installed it. Right? > > Then what is > > > the problem of adding it to your config as part of these checks? > > > > > > If someone installed something in your network without your > > knowledge > > > then why do you need to monitor it? > > > > > > The only automatic tool I would use is one that triggers an > > alert if a > > > new device was added to the network. So you can go on a > search and > > > destroy mission. > > > > > > Hugo. > > > > > > > I have used nmap to Nagios with some success. I have been > > thinking about how to automate this but I keep seeing > > potential issues like rogue devices or adding services that I > > don't care to monitor. Plus I just don't like the idea of a > > program overwriting my configs without my concent when it > > comes to this. I'm looking at modifying how it works to be a > > bit more functional for this need. One thing that a lot of > > new monitoring systems have is auto discovery and I think it > > will be a good addition to Nagios to keep it as one of the > > best. It may work fine for you so give it a look. > > > > http://www.nagiosexchange.org/Configuration.40.0.html?&tx_netn > > agext_pi1[p_view]=147&tx_netnagext_pi1[page]=10%3A10 > > > > HTH > > > > Curt > > > > > > -------------------------------------------------------------- > > ----------- > > Using Tomcat but need to do more? Need to support web > > services, security? > > Get stuff done quickly with pre-integrated technology to make > > your job easier Download IBM WebSphere Application Server > > v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > > dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Tue Oct 24 22:55:44 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Tue, 24 Oct 2006 15:55:44 -0500 Subject: Net-SNMP and SNMP4Nagios Message-ID: I'm reaching out of the comfort zone of just pinging hosts. I want to install SNMP4Nagios and recognize Net-snmp and rddtool as pre-reqs. I'm trying to install net-snmp and get an error (snippit....) libtool: link: cannot find the library `/usr/lib/libbeecrypt.la' ( librpmio.la: /usr/lib/libbeecrypt.la) make[1]: *** [snmpd] Error 1 make[1]: Leaving directory `/usr/local/nagios/libexec/SNMP4Nagios-0.3/net- snmp-5.3.1/agent' make: *** [installsubdirs] Error 1 I snooped around the mailing list and googled my errors, can't find anything concrete... I'm running FC3 and Nagios 2.4 Any ideas from anyone and let me know if more information is needed.....? -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mangoo at wpkg.org Tue Oct 24 23:07:03 2006 From: mangoo at wpkg.org (Tomasz Chmielewski) Date: Tue, 24 Oct 2006 23:07:03 +0200 Subject: executing plugins remotely via SSH In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2EFB@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2EFB@dw-mail.dataway.com> Message-ID: <453E8077.5050808@wpkg.org> Tedman Eng wrote: > Nice script, but one disadvantage is that it's terribly insecure. Yep, that's why I wrote - "use it on trusted machines" :) > All our remote hosts' ssh keys are locked down to allow execution of > restricted commands only. That way, if our Nagios server is somehow > compromised, we don't need to worry about every remote host being at risk as > well. The worst thing an attacker could do is DOS the remote machines with > a flood of monitoring queries. Well, for me it's more likely that remote hosts are compromised (although not very probable, as nagios server nor remote hosts don't even have public IPs). > That said, you could also just pipe the script contents directly over the > ssh connection into bash and skip creation of the temp script altogether. You can pipe the script, but for binaries (most nagios plugins), you can't do it. -- Tomasz Chmielewski http://wpkg.org ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Tue Oct 24 23:09:51 2006 From: btmanmeh at verizon.net (Max H.) Date: Tue, 24 Oct 2006 17:09:51 -0400 Subject: Net-SNMP and SNMP4Nagios In-Reply-To: References: Message-ID: <453E811F.6010202@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Justin Craig wrote: > I'm reaching out of the comfort zone of just pinging hosts. I want to > install SNMP4Nagios and recognize Net-snmp and rddtool as pre-reqs. > > I'm trying to install net-snmp and get an error > (snippit....) > libtool: link: cannot find the library `/usr/lib/libbeecrypt.la' > (librpmio.la : /usr/lib/libbeecrypt.la) > make[1]: *** [snmpd] Error 1 > make[1]: Leaving directory > `/usr/local/nagios/libexec/SNMP4Nagios-0.3/net-snmp-5.3.1/agent' > make: *** [installsubdirs] Error 1 > > I snooped around the mailing list and googled my errors, can't find > anything concrete... I'm running CentOS 4.4, but I did a yum whatprovides: [root at laptop ~]# yum whatprovides /usr/lib/libbeecrypt.la beecrypt-devel.i386 3.1.0-6 base Matched from: /usr/lib/libbeecrypt.la Importing Additional filelist information for packages I also verified that package is installed on my Nagios instance. So perhaps a yum install beecrypt beecrypt-devel and that will resolve your issues. Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFFPoEfHoeeepPau2ERAj8mAJwKkn7QYgqUIaYRXUceZAZOH0h8ZQCgmyjw bgg+QWhWj+NKVFQ6rXeWC4k= =ctw5 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Oct 24 23:46:16 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 24 Oct 2006 23:46:16 +0200 (CEST) Subject: Net-SNMP and SNMP4Nagios In-Reply-To: References: Message-ID: On Tue, 24 Oct 2006, Justin Craig wrote: > I'm reaching out of the comfort zone of just pinging hosts. I want to > install SNMP4Nagios and recognize Net-snmp and rddtool as pre-reqs. > > I'm trying to install net-snmp and get an error > (snippit....) > libtool: link: cannot find the library `/usr/lib/libbeecrypt.la' ( > librpmio.la: /usr/lib/libbeecrypt.la) > make[1]: *** [snmpd] Error 1 > make[1]: Leaving directory `/usr/local/nagios/libexec/SNMP4Nagios-0.3/net- > snmp-5.3.1/agent' > make: *** [installsubdirs] Error 1 > > I snooped around the mailing list and googled my errors, can't find anything > concrete... > > I'm running FC3 and Nagios 2.4 > > Any ideas from anyone and let me know if more information is needed.....? Any reason why you bother to compile net-snmp yourself? I think you are way better of using the available packages. Yum is your friend in this. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Wed Oct 25 01:58:10 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Wed, 25 Oct 2006 09:58:10 +1000 Subject: Problems with plugins for V2.5 Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6ABE786D@mail01.ccia.local> Does anyone else use the check_snmp_win.pl plugin succesfully with v2.5 ? Matthew Joyce 02 9382 0051 | 0412 309745 | IT Manager | Children's Cancer Institute Australia for Medical Research > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Matthew Joyce > Sent: Tuesday, 24 October 2006 12:20 PM > To: Nagios Users mailinglist > Subject: [Nagios-users] Problems with plugins for V2.5 > > > Hi, > > I have v1.3 and am trying v2.5. > > The problem which is causing me most frustration is the > previously very useful check_snmp_win.pl from > http://www.manubulon.com/nagios/snmp_windows.html > > I have the command setup : > > define command{ > command_name check_win_services_by_snmp > command_line $USER1$/check_snmp_win.pl -H $HOSTADDRESS$ -C > $USER5$ -n > '$ARG1$' -N $ARG2$ > } > > And the service > > > define service{ > use windows-service-template > name win-services-SNMP > host_name MYSERVER > service_description MS SNMP Service > check_command > check_win_services_by_snmp!SNMP!1 > } > > > Resource.cfg has the correct values for $USER1$ and $USER5$ > (I've replaced them withtheir values as a test, too). > > I've checked the command work manually from the Nagios machine : > > ./check_snmp_win.pl -H xx.xx.xx.xx -C xxxxxxxxxx -n SNMP -N 1 > 1 services active (matching "SNMP") : OK > > >From Nagios, the result is : > [24-10-2006 11:13:05] SERVICE ALERT: xxxxxxxxxx;MS SNMP > Service;CRITICAL;SOFT;2;(No output!) > > > Permissions are the same as check_http which works fine. > > > Any ideas, what have I missed ? > > Thanks > > > > > Matthew Joyce > 02 9382 0051 | IT Manager | Children's Cancer Institute > Australia for Medical Research > > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier Download IBM WebSphere Application Server > v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Wed Oct 25 03:04:34 2006 From: btmanmeh at verizon.net (Max H.) Date: Tue, 24 Oct 2006 21:04:34 -0400 Subject: Problems with plugins for V2.5 In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6ABE786D@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6ABE786D@mail01.ccia.local> Message-ID: <453EB822.6020400@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matthew Joyce wrote: > Does anyone else use the check_snmp_win.pl plugin succesfully with v2.5 > ? I'm guessing it's not liking one of your arguments I'm using version 0.5, I'm not sure if that's the newest or not. I think maybe the single quotes you have around your command_line statement are messing you up. Make your command_line look like this by deleting the single qoutes around $ARG1$. define command{ command_name check_win_services_by_snmp command_line $USER1$/check_snmp_win.pl -H $HOSTADDRESS$ -C $USER5$ -n $ARG1$ -N $ARG2$ } Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFFPrgiHoeeepPau2ERAsYCAJ9IxeCaBnEIS7jUoiSc6H5ZNXDgUgCfeq+i KqJg0om1cNs1YzbSORtg5Jg= =EVUa -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Wed Oct 25 07:23:57 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Wed, 25 Oct 2006 15:23:57 +1000 Subject: Problems with plugins for V2.5 Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6ABE7878@mail01.ccia.local> Thanks Max, that helped. I needed the quotes because I was looking for a specific match with escaped characters. I've removed them from around the token and instead supply them as the value. I also found an incorrect path specified in the check_snmp_win.pl file, I'd copied it from another install. Fixed , thanks. Matthew Joyce 02 9382 0051 | 0412 309745 | IT Manager | Children's Cancer Institute Australia for Medical Research > -----Original Message----- > From: Max H. [mailto:btmanmeh at verizon.net] > Sent: Wednesday, 25 October 2006 11:05 AM > To: Matthew Joyce > Cc: Nagios Users mailinglist > Subject: Re: [Nagios-users] Problems with plugins for V2.5 > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Matthew Joyce wrote: > > Does anyone else use the check_snmp_win.pl plugin succesfully with > > v2.5 ? > I'm guessing it's not liking one of your arguments > > I'm using version 0.5, I'm not sure if that's the newest or not. > > I think maybe the single quotes you have around your > command_line statement are messing you up. > > Make your command_line look like this by deleting the single > qoutes around $ARG1$. > > define command{ > command_name check_win_services_by_snmp > command_line $USER1$/check_snmp_win.pl -H $HOSTADDRESS$ -C > $USER5$ -n > $ARG1$ -N $ARG2$ > } > > Max > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org > > iD8DBQFFPrgiHoeeepPau2ERAsYCAJ9IxeCaBnEIS7jUoiSc6H5ZNXDgUgCfeq+i > KqJg0om1cNs1YzbSORtg5Jg= > =EVUa > -----END PGP SIGNATURE----- > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle at serv.co.za Wed Oct 25 09:28:07 2006 From: kyle at serv.co.za (Kyle Vorster) Date: Wed, 25 Oct 2006 09:28:07 +0200 Subject: Theme / website Message-ID: <453F1207.40101@serv.co.za> Hi Guys, Does any one know of a webend for Nagios that supports Themes, or to customize the pages. I am growing tired of the boring tables, and wish to spice it up a little. If any one can help, i would be great full. Kind Regards, -- Kyle Vorster Serve Hosting cc Email: kyle at serv.co.za Mobile: +27 (0) 82 929 4166 Skype: kylevorster Alternative Support: Phone: +27 (0) 14 736 5606 Fax: +27 (0) 86 655 8184 Email: support at serv.co.za Website: http://www.serv.co.za ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle at serv.co.za Wed Oct 25 09:29:00 2006 From: kyle at serv.co.za (Kyle Vorster) Date: Wed, 25 Oct 2006 09:29:00 +0200 Subject: Theme / website Message-ID: <453F123C.406@serv.co.za> Hi Guys, Does any one know of a webend for Nagios that supports Themes, or to customize the pages. I am growing tired of the boring tables, and wish to spice it up a little. If any one can help, i would be great full. Kind Regards, -- Kyle Vorster Serve Hosting cc Email: kyle at serv.co.za Mobile: +27 (0) 82 929 4166 Skype: kylevorster Alternative Support: Phone: +27 (0) 14 736 5606 Fax: +27 (0) 86 655 8184 Email: support at serv.co.za Website: http://www.serv.co.za ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle at serv.co.za Wed Oct 25 09:59:44 2006 From: kyle at serv.co.za (Kyle Vorster) Date: Wed, 25 Oct 2006 09:59:44 +0200 Subject: Theme / website In-Reply-To: <453F1507.2070007@riconet.de> References: <453F123C.406@serv.co.za> <453F1507.2070007@riconet.de> Message-ID: <453F1970.9080303@serv.co.za> Hi Christoph, Thank you for the link, but I am not looking for a icon set, something to replace the html of the cgi's Was just wondering if someone else out there have done it, or know of a package or ways. Regards, Kyle Vorster Christoph Otto wrote: > http://www.nagiosexchange.org/ > > > Kyle Vorster schrieb: >> Hi Guys, >> >> Does any one know of a webend for Nagios that supports Themes, or to >> customize the pages. >> >> I am growing tired of the boring tables, and wish to spice it up a >> little. >> >> If any one can help, i would be great full. >> >> Kind Regards, >> ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GilesC at CarmenMedia.com Wed Oct 25 10:10:22 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Wed, 25 Oct 2006 10:10:22 +0200 Subject: Theme / website Message-ID: <28919ADDC3E2C44BAD07B1EB44818493EAF39F@cmgexcdc01.CMG.local> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Kyle Vorster > Sent: 25 October 2006 10:00 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Theme / website > > Hi Christoph, > > Thank you for the link, but I am not looking for a icon set, > something to replace the html of the cgi's > > Was just wondering if someone else out there have done it, or > know of a package or ways. > http://www.nagiosexchange.org/Frontends.37.0.html > > Christoph Otto wrote: > > http://www.nagiosexchange.org/ > > > > > > Kyle Vorster schrieb: > >> Hi Guys, > >> > >> Does any one know of a webend for Nagios that supports > Themes, or to > >> customize the pages. > >> > >> I am growing tired of the boring tables, and wish to spice it up a > >> little. > >> > >> If any one can help, i would be great full. > >> > >> Kind Regards, > >> > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier Download IBM WebSphere Application Server > v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andreas.fladischer at ecofinance.com Wed Oct 25 08:50:25 2006 From: andreas.fladischer at ecofinance.com (Andreas Fladischer) Date: Wed, 25 Oct 2006 08:50:25 +0200 Subject: check webservice plugin Message-ID: <453F0931.1090701@ecofinance.com> hi at all! i'm searching a plugin to test the login on different webservices!can someone tell me, wheather there is such a plugin available? with best regards and thanks in advance Andreas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Wed Oct 25 12:08:42 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Wed, 25 Oct 2006 12:08:42 +0200 Subject: Debugging plugins Message-ID: <20061025100842.GD16498@eric.schwarzvogel.de> Hi! While debugging it would sometimes be nice to be able to run a plugin/check from the commandline in exactly the same fashion as Nagios does. What I'm after is a way of running (for example): simulate -c /etc/nagios/nagios.conf -p 'check_http!80!http://somewhere.com' The macros (like %HOSTADDRESS%) might come from the environment or additional cmdline options to simulate. This program should then show all the intermediate steps of unquoting, macro expansione etc. just like it happens in Nagios and finally showing the actual command executed (i.e. what's sent to exec()). That way, finding out you've got a % somewhere or missed something else would be nice. Also, you'd be able to test drive check_commands before using them in your configuration. Is there any such beast? If not, is anyone willing to code it? I'm no expert at C and I hardly know Nagios' internals, so I can't write it myself (or rather: I'd shoot off several of my appendages while doing so). Regards, Tobias -- Never touch a burning system. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Wed Oct 25 14:07:55 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Wed, 25 Oct 2006 22:07:55 +1000 Subject: becoming a plugin developer Message-ID: <610cb7a00610250507k443dc596ha427833671b17c93@mail.gmail.com> Greetings List, I have written a number of plugins, some of which I believe others might find very useful, and I was wondering if anyone can advise me on where I'll find what I need to know about becoming a Nagios plugin developer? Kind Regards, Alex Harvey -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Wed Oct 25 14:15:23 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Wed, 25 Oct 2006 14:15:23 +0200 Subject: becoming a plugin developer In-Reply-To: <610cb7a00610250507k443dc596ha427833671b17c93@mail.gmail.com> References: <610cb7a00610250507k443dc596ha427833671b17c93@mail.gmail.com> Message-ID: On 25 Oct, 2006, at 14:07, Alexander Harvey wrote: > I have written a number of plugins, some of which I believe others > might > find very useful, and I was wondering if anyone can advise me on > where I'll > find what I need to know about becoming a Nagios plugin developer? Judging by what you said, you're already one :) Feel free to share all your plugins on the Exchange, so all Nagios users can benefit from them. That's all there is to it :) If you want to get involved with the core plugin dev team, speak to Ton Voon... See if he needs more hands on his team. Cheers! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Wed Oct 25 14:45:46 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Wed, 25 Oct 2006 22:45:46 +1000 Subject: becoming a plugin developer In-Reply-To: References: <610cb7a00610250507k443dc596ha427833671b17c93@mail.gmail.com> Message-ID: <610cb7a00610250545i4588c724wc1aefc5406cb156b@mail.gmail.com> On 10/25/06, Thomas Sluyter wrote: > > On 25 Oct, 2006, at 14:07, Alexander Harvey wrote: > > > I have written a number of plugins, some of which I believe others > > might > > find very useful, and I was wondering if anyone can advise me on > > where I'll > > find what I need to know about becoming a Nagios plugin developer? > > Judging by what you said, you're already one :) Feel free to share > all your plugins on the Exchange, so all Nagios users can benefit > from them. That's all there is to it :) > > If you want to get involved with the core plugin dev team, speak to > Ton Voon... See if he needs more hands on his team. Well I suppose in that sense I am a plugin developer but I was really considering such things as: guidelines for interfacing with the Nagios host (i.e. must a plugin return an exit code? How much output text is appropriate? Performance considerations? Security considerations? Anything else before unleashing my plugin on someone else's production systems?:-D), style considerations, documentation, versioning, revision control, licensing, etc. Do such guidelines / conventions exist? As far as becoming a core developer, I don't think I have the C behind me.:-) Regards, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From n.hamaker at ic-s.nl Wed Oct 25 10:53:17 2006 From: n.hamaker at ic-s.nl (Niels Hamaker) Date: Wed, 25 Oct 2006 10:53:17 +0200 Subject: Theme / website In-Reply-To: <453F123C.406@serv.co.za> References: <453F123C.406@serv.co.za> Message-ID: <453F25FD.1090204@ic-s.nl> Hi, Oreon seems to be a decent frontend (http://www.oreon.org/). I don't know about it supporting templates, but it looks good. A colleague of mine is trying it out at the moment. Only problem is that the project is very frech-oriented, and the english translations leave a bit to be desired (I believe they are worked on, though). Hope this helps, Niels Hamaker Kyle Vorster wrote: > Hi Guys, > > Does any one know of a webend for Nagios that supports Themes, or to > customize the pages. > > I am growing tired of the boring tables, and wish to spice it up a little. > > If any one can help, i would be great full. > > Kind Regards, > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Wed Oct 25 14:51:16 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Wed, 25 Oct 2006 22:51:16 +1000 Subject: becoming a plugin developer In-Reply-To: References: <610cb7a00610250507k443dc596ha427833671b17c93@mail.gmail.com> Message-ID: <610cb7a00610250551n32c06aa1sb4a82febacd95cf6@mail.gmail.com> On 10/25/06, Thomas Sluyter wrote: > > On 25 Oct, 2006, at 14:07, Alexander Harvey wrote: > > > I have written a number of plugins, some of which I believe others > > might > > find very useful, and I was wondering if anyone can advise me on > > where I'll > > find what I need to know about becoming a Nagios plugin developer? > > Judging by what you said, you're already one :) Feel free to share > all your plugins on the Exchange, so all Nagios users can benefit > from them. That's all there is to it :) > > If you want to get involved with the core plugin dev team, speak to > Ton Voon... See if he needs more hands on his team. Well I suppose in that sense I am a plugin developer but I was really considering such things as: guidelines for interfacing with the Nagios host (i.e. standard plugin syntax?) How much output text is appropriate, performance considerations, security considerations, style considerations, documentation, versioning, revision control, licensing, anything else before unleashing my plugin onto someone else's production systems, etc. Do such guidelines / conventions exist? As far as becoming a core developer, I don't think I have the C behind me (like any).:-) Regards, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle at serv.co.za Wed Oct 25 14:49:31 2006 From: kyle at serv.co.za (Kyle Vorster) Date: Wed, 25 Oct 2006 14:49:31 +0200 Subject: Theme / website In-Reply-To: <453F25FD.1090204@ic-s.nl> References: <453F123C.406@serv.co.za> <453F25FD.1090204@ic-s.nl> Message-ID: <453F5D5B.8040901@serv.co.za> Thanks Niels, Will have a look Niels Hamaker wrote: > Hi, > > Oreon seems to be a decent frontend (http://www.oreon.org/). I don't > know about it supporting templates, but it looks good. A colleague of > mine is trying it out at the moment. > Only problem is that the project is very frech-oriented, and the > english translations leave a bit to be desired (I believe they are > worked on, though). > Hope this helps, > > Niels Hamaker > > > Kyle Vorster wrote: >> Hi Guys, >> >> Does any one know of a webend for Nagios that supports Themes, or to >> customize the pages. >> >> I am growing tired of the boring tables, and wish to spice it up a >> little. >> >> If any one can help, i would be great full. >> >> Kind Regards, >> > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From housey at sme-ecom.co.uk Wed Oct 25 14:57:57 2006 From: housey at sme-ecom.co.uk (Paul Houselander) Date: Wed, 25 Oct 2006 13:57:57 +0100 Subject: check_mailq plugin Message-ID: Hi Ive just started using nagios and have it set up on a Cent 0S 4.3 box. Seems to be working ok but ive ran into a problem where I want to check the size of the mail queue on another server. Ive installed nrpe on the remote server and checked its working by running on the nagios server:- /usr/lib/nagios/plugins/check_nrpe -H remote_server_name -c check_load I get back the load average from the remote machine. If I run /usr/lib/nagios/plugins/check_nrpe -H remote_server_name -c check_mailq I always get back OK: mailq is empty Ive installed the plugin on the remote server and if I run locally I get /usr/lib/nagios/plugins/check_mailq -w 100 -c 200 CRITICAL: mailq is 221 (threshold c = 200)|unsent=221;100;200;0 So I know the plugin is working. If I do check_mailq -h it mentions something about the mailq command can only be accessed by root or a TrustedUser - nrpe is running as nagios - does anyone know what I need to do to the mailq command to allow it to work? I tried added nagios to the /etc/mail/trusted-users file but this doesnt seem to have done the trick. Any help appreciated. Kind regards Paul ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Wed Oct 25 15:30:03 2006 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Wed, 25 Oct 2006 14:30:03 +0100 Subject: Viewing a subset of systems checked by Nagios Message-ID: I have a Nagios installation with ~700 hosts and ~11000 services. What we would like to do is to allow some users to view (via the web interface) only a subset of the systems being monitored; in the current instance this is just one host, but there could be other instances requiring a number of hosts . Is this possible ? I suspect not, but any comments would be useful. I am aware of the possibility that most users who have access to the web view should not have the ability to run commands. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From donnell.lewis at icoretechnology.com Wed Oct 25 15:43:48 2006 From: donnell.lewis at icoretechnology.com (Donnell Lewis) Date: Wed, 25 Oct 2006 09:43:48 -0400 Subject: Viewing a subset of systems checked by Nagios In-Reply-To: References: Message-ID: <1161783828.2074.72.camel@localhost.localdomain> Yes this is possible. You would need to add the client(person) to the contacts.cfg file and then either to an existing contact group in contactgroups.cfg or make a new contactgroup specifically for that client. Unless given ALL privs in cgi.cfg every each user that has been added to the authentication mechanism will only be allowed to see hosts/services for which they are contacts for. So remember to add the contactgroup you create to the host & the services for that host ( in services.cfg ) and they will then be able to see the host and associated services for it. By adding this new contact and contactgroup you can even specifically send them alerts of their own at intervals they want them at, and when they log in through the web interface they will only be able to see the hosts/services you have given them access to, and when they look at the status map they will only see the hosts/services you have assigned them, the rest will be ? marks on the map, everywhere else they will just see theirs. Hope that helps. -Don Lewis On Wed, 2006-10-25 at 14:30 +0100, Wheeler, JF (Jonathan) wrote: > I have a Nagios installation with ~700 hosts and ~11000 services. What > we would like to do is to allow some users to view (via the web > interface) only a subset of the systems being monitored; in the current > instance this is just one host, but there could be other instances > requiring a number of hosts . Is this possible ? I suspect not, but > any comments would be useful. I am aware of the possibility that most > users who have access to the web view should not have the ability to run > commands. > > Jonathan Wheeler > e-Science Centre > Rutherford Appleton Laboratory > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From donnell.lewis at icoretechnology.com Wed Oct 25 15:48:52 2006 From: donnell.lewis at icoretechnology.com (Donnell Lewis) Date: Wed, 25 Oct 2006 09:48:52 -0400 Subject: Viewing a subset of systems checked by Nagios In-Reply-To: References: Message-ID: <1161784132.2074.74.camel@localhost.localdomain> Oh, and a side note, make sure of course that you add the same username to the web auth that you use for the contact in contact.cfg. -Don Lewis On Wed, 2006-10-25 at 14:30 +0100, Wheeler, JF (Jonathan) wrote: > I have a Nagios installation with ~700 hosts and ~11000 services. What > we would like to do is to allow some users to view (via the web > interface) only a subset of the systems being monitored; in the current > instance this is just one host, but there could be other instances > requiring a number of hosts . Is this possible ? I suspect not, but > any comments would be useful. I am aware of the possibility that most > users who have access to the web view should not have the ability to run > commands. > > Jonathan Wheeler > e-Science Centre > Rutherford Appleton Laboratory > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Wed Oct 25 16:09:56 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Wed, 25 Oct 2006 09:09:56 -0500 Subject: Net-SNMP and SNMP4Nagios In-Reply-To: References: Message-ID: ok so YUM is my friend, I am just now learning this. Now, do I need to install beecrypt first, then YUM install net-snmp? On 10/24/06, Hugo van der Kooij wrote: > > On Tue, 24 Oct 2006, Justin Craig wrote: > > > I'm reaching out of the comfort zone of just pinging hosts. I want to > > install SNMP4Nagios and recognize Net-snmp and rddtool as pre-reqs. > > > > I'm trying to install net-snmp and get an error > > (snippit....) > > libtool: link: cannot find the library `/usr/lib/libbeecrypt.la' ( > > librpmio.la: /usr/lib/libbeecrypt.la) > > make[1]: *** [snmpd] Error 1 > > make[1]: Leaving directory `/usr/local/nagios/libexec/SNMP4Nagios-0.3 > /net- > > snmp-5.3.1/agent' > > make: *** [installsubdirs] Error 1 > > > > I snooped around the mailing list and googled my errors, can't find > anything > > concrete... > > > > I'm running FC3 and Nagios 2.4 > > > > Any ideas from anyone and let me know if more information is > needed.....? > > Any reason why you bother to compile net-snmp yourself? > > I think you are way better of using the available packages. > > Yum is your friend in this. > > Hugo. > > -- > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > This message is using 100% recycled electrons. > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Wed Oct 25 16:26:14 2006 From: btmanmeh at verizon.net (Max H.) Date: Wed, 25 Oct 2006 10:26:14 -0400 Subject: Net-SNMP and SNMP4Nagios In-Reply-To: References: Message-ID: <453F7406.4090904@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Justin Craig wrote: > ok so YUM is my friend, I am just now learning this. > > Now, do I need to install beecrypt first, then YUM install net-snmp? yum install net-snmp Yum is smart enough to pull all the dependencies down for you. MUCH MUCH better than up2date ever was, if you've used it before. :) Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFFP3QGHoeeepPau2ERAtdWAJsEDdBpi3WlKXW6QXZOw471VOhBAwCffTKV AfrOzk51KjO/UUTi4Uzw/x8= =yK1w -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sjaak at vsm-hosting.nl Wed Oct 25 16:30:37 2006 From: sjaak at vsm-hosting.nl (Sjaak Nabuurs) Date: Wed, 25 Oct 2006 16:30:37 +0200 Subject: check_mailq plugin In-Reply-To: References: Message-ID: <453F750D.5050702@vsm-hosting.nl> Hello Paul check_nrpe will running as nagios user. To check the mailq you need to be root. add this line with visudo: nagios ALL=NOPASSWD: /usr/local/nagios/libexec/check_mailq I'm running on Fedoracore4 Good luck Sjaak Paul Houselander wrote: >Hi > >Ive just started using nagios and have it set up on a Cent 0S 4.3 box. > >Seems to be working ok but ive ran into a problem where I want to check the >size of the mail queue on another server. Ive installed nrpe on the remote >server and checked its working by running on the nagios server:- > >/usr/lib/nagios/plugins/check_nrpe -H remote_server_name -c check_load > >I get back the load average from the remote machine. > >If I run > >/usr/lib/nagios/plugins/check_nrpe -H remote_server_name -c check_mailq > >I always get back > >OK: mailq is empty > >Ive installed the plugin on the remote server and if I run locally I get > >/usr/lib/nagios/plugins/check_mailq -w 100 -c 200 >CRITICAL: mailq is 221 (threshold c = 200)|unsent=221;100;200;0 > >So I know the plugin is working. If I do check_mailq -h it mentions >something about the mailq command can only be accessed by root or a >TrustedUser - nrpe is running as nagios - does anyone know what I need to do >to the mailq command to allow it to work? I tried added nagios to the >/etc/mail/trusted-users file but this doesnt seem to have done the trick. > >Any help appreciated. > >Kind regards > >Paul > > > > > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Wed Oct 25 16:34:40 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Wed, 25 Oct 2006 08:34:40 -0600 Subject: becoming a plugin developer Message-ID: <2D0245E43DEC724F81592D697F05689904C43198@SIDHQEXCHMB1.Cabelas.Corp> http://nagiosplug.sourceforge.net/developer-guidelines.html ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Alexander Harvey Sent: Wednesday, October 25, 2006 6:51 AM To: Thomas Sluyter Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] becoming a plugin developer On 10/25/06, Thomas Sluyter wrote: On 25 Oct, 2006, at 14:07, Alexander Harvey wrote: > I have written a number of plugins, some of which I believe others > might > find very useful, and I was wondering if anyone can advise me on > where I'll > find what I need to know about becoming a Nagios plugin developer? Judging by what you said, you're already one :) Feel free to share all your plugins on the Exchange, so all Nagios users can benefit from them. That's all there is to it :) If you want to get involved with the core plugin dev team, speak to Ton Voon... See if he needs more hands on his team. Well I suppose in that sense I am a plugin developer but I was really considering such things as: guidelines for interfacing with the Nagios host ( i.e. standard plugin syntax?) How much output text is appropriate, performance considerations, security considerations, style considerations, documentation, versioning, revision control, licensing, anything else before unleashing my plugin onto someone else's production systems, etc. Do such guidelines / conventions exist? As far as becoming a core developer, I don't think I have the C behind me (like any).:-) Regards, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Wed Oct 25 16:39:37 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Wed, 25 Oct 2006 09:39:37 -0500 Subject: Net-SNMP and SNMP4Nagios In-Reply-To: <453F7406.4090904@verizon.net> References: <453F7406.4090904@verizon.net> Message-ID: Maybe this thread will turn into a YUM troubleshooting issue? I get an error trying to install anything with yum. [root at nagonet libexec]# yum install net-snmp-5.3.1 Setting up Install Process Setting up Repo: base Cannot find a valid baseurl for repo: base [root at nagonet libexec]# And my yum.conf file is below. [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 retries=20 obsoletes=1 gpgcheck=1 # PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d On 10/25/06, Max H. wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Justin Craig wrote: > > ok so YUM is my friend, I am just now learning this. > > > > Now, do I need to install beecrypt first, then YUM install net-snmp? > > yum install net-snmp > > Yum is smart enough to pull all the dependencies down for you. MUCH MUCH > better than up2date ever was, if you've used it before. :) > > Max > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org > > iD8DBQFFP3QGHoeeepPau2ERAtdWAJsEDdBpi3WlKXW6QXZOw471VOhBAwCffTKV > AfrOzk51KjO/UUTi4Uzw/x8= > =yK1w > -----END PGP SIGNATURE----- > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sjaak at vsm-hosting.nl Wed Oct 25 16:52:26 2006 From: sjaak at vsm-hosting.nl (Sjaak Nabuurs) Date: Wed, 25 Oct 2006 16:52:26 +0200 Subject: Net-SNMP and SNMP4Nagios In-Reply-To: References: <453F7406.4090904@verizon.net> Message-ID: <453F7A2A.8070507@vsm-hosting.nl> Great !! I get this error as well on a few servers. Think it's something wrong with the "Yum" servers. Sjaak Justin Craig wrote: > Maybe this thread will turn into a YUM troubleshooting issue? > > I get an error trying to install anything with yum. > > [root at nagonet libexec]# yum install net-snmp-5.3.1 > Setting up Install Process > Setting up Repo: base > Cannot find a valid baseurl for repo: base > [root at nagonet libexec]# > > > And my yum.conf file is below. > > [main] > cachedir=/var/cache/yum > debuglevel=2 > logfile=/var/log/yum.log > pkgpolicy=newest > distroverpkg=redhat-release > tolerant=1 > exactarch=1 > retries=20 > obsoletes=1 > gpgcheck=1 > > # PUT YOUR REPOS HERE OR IN separate files named file.repo > # in /etc/yum.repos.d > > > On 10/25/06, *Max H.* > wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Justin Craig wrote: > > ok so YUM is my friend, I am just now learning this. > > > > Now, do I need to install beecrypt first, then YUM install > net-snmp? > > yum install net-snmp > > Yum is smart enough to pull all the dependencies down for you. > MUCH MUCH > better than up2date ever was, if you've used it before. :) > > Max > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org > > iD8DBQFFP3QGHoeeepPau2ERAtdWAJsEDdBpi3WlKXW6QXZOw471VOhBAwCffTKV > AfrOzk51KjO/UUTi4Uzw/x8= > =yK1w > -----END PGP SIGNATURE----- > > > > > -- > - Justin > >------------------------------------------------------------------------ > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >------------------------------------------------------------------------ > >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > >------------------------------------------------------------------------ > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.1.408 / Virus Database: 268.13.11/496 - Release Date: 24-10-2006 > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From raffaello.risso at gmail.com Wed Oct 25 16:54:48 2006 From: raffaello.risso at gmail.com (Raffaello Risso) Date: Wed, 25 Oct 2006 16:54:48 +0200 Subject: Configuring Nagios to Send SNMP trap to another monitoring tool Message-ID: <68f39cf70610250754s16ba6ca9h3fa0317c8e3d321a@mail.gmail.com> Hi all! I've a question for you: I've the need to define a new command in nagios to send an SNMP trap to another monitoring tool installed in my network. This event must happen in the case of ALERT/WARNING or CRITICAL result of check_ping instead of sending email. Anybody have a solution? Thanks all, Raffaello -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Wed Oct 25 16:55:44 2006 From: btmanmeh at verizon.net (Max H.) Date: Wed, 25 Oct 2006 10:55:44 -0400 Subject: Net-SNMP and SNMP4Nagios In-Reply-To: References: <453F7406.4090904@verizon.net> Message-ID: <453F7AF0.10509@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Justin Craig wrote: > Maybe this thread will turn into a YUM troubleshooting issue? > > I get an error trying to install anything with yum. Double check your yum.conf file is ok. Check out the FAQ's on FC3. They have a nice sample config file to check out. Also, you want yum install net-snmp to get the latest package, unless you want a specific version you don't need to specify the version after the package. Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFFP3rwHoeeepPau2ERArd6AJ9wuqh/GymHFwysyTqznaK34sFfuwCglwre q0Rqp8AY6yN4JHF2AXlZ7Ck= =H8jB -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Wed Oct 25 17:05:34 2006 From: btmanmeh at verizon.net (Max H.) Date: Wed, 25 Oct 2006 11:05:34 -0400 Subject: Net-SNMP and SNMP4Nagios In-Reply-To: References: <453F7406.4090904@verizon.net> Message-ID: <453F7D3E.7010507@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Justin Craig wrote: > Maybe this thread will turn into a YUM troubleshooting issue? > > I get an error trying to install anything with yum. Also, try cleaning out the repo data: yum clean all Then: yum install net-snmp After you check your files like I mentioned. Yum gets testy sometimes for me with cached things and what not. Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFFP30+HoeeepPau2ERAmIPAKCiweT22kzfL4u1hpBbiuL03spDfwCgiXy2 yEOvzW2PET8hK0P0T54VWbo= =nqXl -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Wed Oct 25 17:10:24 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Wed, 25 Oct 2006 09:10:24 -0600 Subject: Configuring Nagios to Send SNMP trap to anothermonitoring tool Message-ID: <2D0245E43DEC724F81592D697F05689904C43199@SIDHQEXCHMB1.Cabelas.Corp> I'm currently working on a notify plugin to do that exact thing. Let me know if you find a suitable solution. I'll let you know when I get mine working. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Raffaello Risso Sent: Wednesday, October 25, 2006 8:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Configuring Nagios to Send SNMP trap to anothermonitoring tool Hi all! I've a question for you: I've the need to define a new command in nagios to send an SNMP trap to another monitoring tool installed in my network. This event must happen in the case of ALERT/WARNING or CRITICAL result of check_ping instead of sending email. Anybody have a solution? Thanks all, Raffaello -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GilesC at CarmenMedia.com Wed Oct 25 17:18:18 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Wed, 25 Oct 2006 17:18:18 +0200 Subject: Configuring Nagios to Send SNMP trap toanothermonitoring tool Message-ID: <28919ADDC3E2C44BAD07B1EB44818493EAF43D@cmgexcdc01.CMG.local> I seem to remember that the OpenNMS project has a perl script that does just that - send SNMP traps: http://svn.sourceforge.net/viewvc/opennms/opennms/branches/OPENNMS_1_2_B RANCH/tools/contrib/send-trap.pl?view=markup Thanks Giles ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Aaron Segura Sent: 25 October 2006 17:10 To: Raffaello Risso; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Configuring Nagios to Send SNMP trap toanothermonitoring tool I'm currently working on a notify plugin to do that exact thing. Let me know if you find a suitable solution. I'll let you know when I get mine working. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Raffaello Risso Sent: Wednesday, October 25, 2006 8:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Configuring Nagios to Send SNMP trap to anothermonitoring tool Hi all! I've a question for you: I've the need to define a new command in nagios to send an SNMP trap to another monitoring tool installed in my network. This event must happen in the case of ALERT/WARNING or CRITICAL result of check_ping instead of sending email. Anybody have a solution? Thanks all, Raffaello ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Wed Oct 25 17:28:08 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Wed, 25 Oct 2006 17:28:08 +0200 Subject: becoming a plugin developer In-Reply-To: <610cb7a00610250551n32c06aa1sb4a82febacd95cf6@mail.gmail.com> References: <610cb7a00610250507k443dc596ha427833671b17c93@mail.gmail.com> <610cb7a00610250551n32c06aa1sb4a82febacd95cf6@mail.gmail.com> Message-ID: On 25 Oct, 2006, at 14:51, Alexander Harvey wrote: >> Judging by what you said, you're already one :) Feel free to share >> all your plugins on the Exchange, so all Nagios users can benefit >> from them. That's all there is to it :) > > Well I suppose in that sense I am a plugin developer but I was really > considering such things as: guidelines for interfacing with the > Nagios host Ah! I was thinking one step too far :) While I was writing this reply I was called away for a few hours and in the meantime Aaron linked to the official guidelines. That's always a good place to start reading :) In that case: > (i.e. standard plugin syntax?) How much output text is appropriate, We usually restrict ourselves to one line, through STDOUT. And a plugin should indeed limit itself to a certain number of exit codes (0=ok, 1=warn, 2=crit, 3=unknown). The exit code stuff can also be derived from utils.sh and utils.pm in $NAGIOS_LIBEXEC. See the guidelines. > performance considerations, I'm sure there are loads of'em :) Just try to keep the runtime of your plugin as short as possible. Naturally, also try to limit the amount of resources you claim on the client. Monitoring shouldn't be intrusive :) > style considerations, When it comes to coding style, choose what feels natural to you. When it comes to code layout, please keep things as clean as possible. I don't believe there's one standard for the contributed Nagios plugins though. Search the web for a few examples and try to stick to them. This should help keep your source clean and readable. > documentation, In general it is well appreciated if you include a semi-lengthy description of your plugin at the top of the source. Describe its function, and its behaviour depending on various situation. Describe input and output. Describe on which platforms (OS. Nagios. Versions) your plugin has been tested and proven to work. Also include a short comment at crucial points in the code. Basic programming "best practices", really. > versioning, revision control, AFAIK there is no standardised versioning scheme that was agreed upon for contributed Nagios plugins. > licensing, Most of us release our plugins under GPL license, or no license at all. Most of the stuff I write I don't deem worthy of any licensing, since it really isn't that complicated. I just see it as helping people out by saving them the time of writing the same script. On the other hand, I _could_ start GPLing my plugins since it'll help in dick-waving contest :D (Lookit me! I have my name on a copyright!)... > anything else before unleashing my plugin onto someone else's > production systems, etc. I've got one word for you: testing. Testing. _TESTING_. Okay, so that's one word, repeated thrice, but that's only to imprint on you that _testing_ is important. Try running your plugin through all its paces and all permutations of the environment it might encounter. This will help you to get rid of most bugs. You won't catch all of them, but you'll come a long way. Also, for the more complicated plugins write a test script to help you automate the testing. That way you'll be able to reproduce the exact same testing routine every time. It'll also save you a lot of time :p And if people run into problems with your plugin, you could send them the script and ask for the returned output and/or logfile. Speaking of... Build hooks into your more complex plugins for some sort of debugging mode. In said debugging mode the plugin will generate loads of status information so you can check exactly where things are going wrong. > As far as becoming a core developer, I don't think I have the C > behind me Me either :3 Cheers! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Wed Oct 25 17:33:20 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Wed, 25 Oct 2006 10:33:20 -0500 Subject: Net-SNMP and SNMP4Nagios In-Reply-To: <453F7D3E.7010507@verizon.net> References: <453F7406.4090904@verizon.net> <453F7D3E.7010507@verizon.net> Message-ID: I updated my num.conf file with the example provided and cleaned yum. Now, it's looks like progresion, but still get an error when trying to install net-snmp. Ideas? [root at nagonet SNMP4Nagios-0.3]# yum install net-snmp Setting up Install Process Setting up Repo: livna-stable repomd.xml 100% |=========================| 951 B 00:00 Setting up Repo: livna-unstable repomd.xml 100% |=========================| 951 B 00:00 Setting up Repo: updates-released Cannot find a valid baseurl for repo: updates-released On 10/25/06, Max H. wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Justin Craig wrote: > > Maybe this thread will turn into a YUM troubleshooting issue? > > > > I get an error trying to install anything with yum. > > > Also, try cleaning out the repo data: > > yum clean all > > Then: > > yum install net-snmp > > After you check your files like I mentioned. Yum gets testy sometimes > for me with cached things and what not. > > Max > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org > > iD8DBQFFP30+HoeeepPau2ERAmIPAKCiweT22kzfL4u1hpBbiuL03spDfwCgiXy2 > yEOvzW2PET8hK0P0T54VWbo= > =nqXl > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 25 17:34:32 2006 From: ae at op5.se (Andreas Ericsson) Date: Wed, 25 Oct 2006 17:34:32 +0200 Subject: External Commands segfault In-Reply-To: <20061020175637.0F8994F4046@desire.netways.de> References: <453761D5.1090303@op5.se> <20061020175637.0F8994F4046@desire.netways.de> Message-ID: <453F8408.5080007@op5.se> David Schlecht wrote: > Hi Andreas > > > > Thanks for your attention. I didn't get a core dump but doing a > stack trace on the hanging process I get: > > > > #0 0x002de7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 > > #1 0x003b4eb3 in __open_nocancel () from /lib/tls/libc.so.6 > > #2 0x0035854d in _IO_new_file_fopen () from /lib/tls/libc.so.6 > > #3 0x0034f0c9 in __fopen_internal () from /lib/tls/libc.so.6 > > #4 0x0034f11d in fopen@@GLIBC_2.1 () from /lib/tls/libc.so.6 > > #5 0x0804b6e0 in ?? () > > #6 0x08071f20 in stdin () > > #7 0x080613af in _IO_stdin_used () > > #8 0xbfff6680 in ?? () > > #9 0x080693da in _IO_stdin_used () > > #10 0x0000fd00 in ?? () > > #11 0x00000000 in ?? () > > > > I tried repeatedly to generate a core dump but they aren't as common > as this -- however, this looks like it's the same think. What do > you think? > Not much from this output, I'm afraid. You will have to re-compile nagios and make sure that it isn't installed as a stripped binary. The trace output above shows only function names from the standard C library and the dynamic link loader, which doesn't help in the slightest. I think the stripping is done when doing "make install", so skip that step and just do "cp base/nagios /path/to/your/nagios" and you should be fine. The gdb/bt output of such a process hanging should provide a much more verbose output. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 25 17:41:54 2006 From: ae at op5.se (Andreas Ericsson) Date: Wed, 25 Oct 2006 17:41:54 +0200 Subject: becoming a plugin developer In-Reply-To: <610cb7a00610250507k443dc596ha427833671b17c93@mail.gmail.com> References: <610cb7a00610250507k443dc596ha427833671b17c93@mail.gmail.com> Message-ID: <453F85C2.8050000@op5.se> Alexander Harvey wrote: > Greetings List, > > I have written a number of plugins, some of which I believe others might > find very useful, and I was wondering if anyone can advise me on where I'll > find what I need to know about becoming a Nagios plugin developer? > The easiest way, for you and for those active on the list, is if you publish your plugins here, in separate emails, writing a short and concise description of what each plugin does and how. Peer review is a powerful thing, and useful for all parties. Abuse it as much as possible ;-) -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Wed Oct 25 17:59:43 2006 From: btmanmeh at verizon.net (Max H.) Date: Wed, 25 Oct 2006 11:59:43 -0400 Subject: Net-SNMP and SNMP4Nagios In-Reply-To: References: <453F7406.4090904@verizon.net> <453F7D3E.7010507@verizon.net> Message-ID: <453F89EF.6040906@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Justin Craig wrote: > I updated my num.conf file with the example provided and cleaned yum. > > Now, it's looks like progresion, but still get an error when trying to > install net-snmp. > > Ideas? I hate to turn you to another mailing list, but see what you can dig up on the Fedora forums. If you have a good yum.conf file things should be a go, unless they are having issues with the yum mirrors for FC3. I don't have any FC instances up at the moment or I could try to see if I get any errors either. You don't have any proxy in the way do you? I'd perhaps look at that, if you do. Sorry I can't help you more! After you get that figured out, though, installing snmp is a snap. ;) Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFFP4nvHoeeepPau2ERAtPcAJ4yUA/jsTeSc3bAMGHIHkLHnQ82iACgl2qj pF5RlILGCuEN5TkwLrMG1PU= =qLMJ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sfeng at stanford.edu Wed Oct 25 18:48:53 2006 From: sfeng at stanford.edu (Xueshan Feng) Date: Wed, 25 Oct 2006 09:48:53 -0700 Subject: Theme / website In-Reply-To: <453F123C.406@serv.co.za> References: <453F123C.406@serv.co.za> Message-ID: <1161794933.23773.82.camel@hoss.stanford.edu> On Wed, 2006-10-25 at 09:29 +0200, Kyle Vorster wrote: > Hi Guys, > > Does any one know of a webend for Nagios that supports Themes, or to > customize the pages. We customized our nagios interface by changing the css files under /usr/share/nagios2/htdocs/stylesheets (Debian nagios2-doc package). Xueshan > > I am growing tired of the boring tables, and wish to spice it up a little. > > If any one can help, i would be great full. > > Kind Regards, > -- ------------------------------ Xueshan Feng (aka. Susan Feng) Shared Services, ITSS Stanford University, CA 94305-3090 255 Panama St. Room 157, Polya Hall Stanford University Stanford, CA 94305-4136 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mfrazier at achievedata.com Wed Oct 25 19:08:25 2006 From: mfrazier at achievedata.com (Malcolm Frazier) Date: Wed, 25 Oct 2006 10:08:25 -0700 Subject: Service Check Timeouts Message-ID: <453F9A09.70407@achievedata.com> Hi, I've been using Nagios for a while and I love it, but recently I switched my gateway in the office from old FreeBSD 4 machine to IPcop. This seems to have had an effect on my Nagios monitoring, most of the time and most of my service checks time out. The host checks are always find and the latency is always low, but like I said my service checks seem to time out all the time ever since I changed my Internet Gateway. I use plugins and check_by_ssh for my service checks, if anyone has had this problem and maybe could help me out a bit I'd really appreciate it, thank you. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ratty at they.org Wed Oct 25 19:42:30 2006 From: ratty at they.org (frank) Date: Wed, 25 Oct 2006 10:42:30 -0700 (PDT) Subject: Net-SNMP and SNMP4Nagios In-Reply-To: <453F89EF.6040906@verizon.net> References: <453F7406.4090904@verizon.net> <453F7D3E.7010507@verizon.net> <453F89EF.6040906@verizon.net> Message-ID: It seems that RedHat broke their Fedora HTTP servers with the recent release of Fedora Core 6. My yum setup has been solid for a long time but now I'm getting errors as well. Trying going to any URL other than / on fedora.redhat.com (like http://fedora.redhat.com/download/) will get a 404 with a redirect to a page that says: Fedora Core 6 We are working hard to bring fedora.redhat.com back up to its fully operational state. Until then, please visit our BitTorrent tracker or list of mirrors if you are trying to download Fedora Core 6. Fedora Infrastructre Team For status updates and information on what systems are affected please visit fedora wiki Fedora is a trademark of Red Hat, Inc. The Fedora Project is maintained and driven by the community and sponsored by Red Hat, Inc. -f On Wed, 25 Oct 2006, Max H. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Justin Craig wrote: >> I updated my num.conf file with the example provided and cleaned yum. >> >> Now, it's looks like progresion, but still get an error when trying to >> install net-snmp. >> >> Ideas? > > I hate to turn you to another mailing list, but see what you can dig up > on the Fedora forums. If you have a good yum.conf file things should be > a go, unless they are having issues with the yum mirrors for FC3. > > I don't have any FC instances up at the moment or I could try to see if > I get any errors either. You don't have any proxy in the way do you? I'd > perhaps look at that, if you do. Sorry I can't help you more! > > After you get that figured out, though, installing snmp is a snap. ;) > > Max > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org > > iD8DBQFFP4nvHoeeepPau2ERAtPcAJ4yUA/jsTeSc3bAMGHIHkLHnQ82iACgl2qj > pF5RlILGCuEN5TkwLrMG1PU= > =qLMJ > -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxwellb at oclc.org Wed Oct 25 20:15:14 2006 From: maxwellb at oclc.org (Maxwell,Brady) Date: Wed, 25 Oct 2006 14:15:14 -0400 Subject: Charts and Graphs and Nagios Oh My! Message-ID: <632EDB1E16D4E041A0EF1DB3ADF67B2B07B9FA83@OAEXCH1SERVER.oa.oclc.org> Hello Nagios Users, I have a need to setup some performance and trending graphing or charts for many of the service checks I am performing with Nagios. My question to the group is what approach have others taken to provide similar functionality in their own environments? I have already done some research on some of these products and just want to see if anyone has any advice, strong feelings or negative comments on which package or add-on has worked best in your environment. Brady Maxwell Systems Engineer Online Computer Library Center, Inc. 614.764.6133 | maxwellb at oclc.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Wed Oct 25 20:27:34 2006 From: btmanmeh at verizon.net (Max H.) Date: Wed, 25 Oct 2006 14:27:34 -0400 Subject: Net-SNMP and SNMP4Nagios In-Reply-To: References: <453F7406.4090904@verizon.net> Message-ID: <453FAC96.4070905@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hugo van der Kooij wrote: > On Wed, 25 Oct 2006, Max H. wrote: >> Justin Craig wrote: > > ... > > PLEASE. I read the mailinglist and do not like duplicate messages. So > address the mailinglist only. > SORRY, Hugo. Please chill. If when you click Reply it would actually reply to only nagios-users, then this wouldn't be a problem. For example, on most mailing lists, if I click Reply or Reply All I get the appropriate reply to filled in correctly to only the mailing list and no other addresses. I don't respond much on this list, and so I'm very used to my other lists automatically being good when it comes to the reply-tos. When you click a reply all on this, you get the original sender, you, and the list instead of just the list. If you only click reply, you get just the sender. I apologize for being to quick to click send instead of taking a peek at the To: fields. Is this working as designed on the Nagios list? Since other lists I'm part of seem to do it the way I mentioned so that you never worry about sending dups. Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFFP6yWHoeeepPau2ERAhIvAJ9VYmuldvexQT5jLsUmV4yfwCFliQCfedak jvXBdGsgEiFT0u7yMRgcwAU= =eOFE -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Wed Oct 25 20:32:35 2006 From: knobdy at gmail.com (Brian Loe) Date: Wed, 25 Oct 2006 13:32:35 -0500 Subject: Charts and Graphs and Nagios Oh My! In-Reply-To: <632EDB1E16D4E041A0EF1DB3ADF67B2B07B9FA83@OAEXCH1SERVER.oa.oclc.org> References: <632EDB1E16D4E041A0EF1DB3ADF67B2B07B9FA83@OAEXCH1SERVER.oa.oclc.org> Message-ID: <3c4611bc0610251132l6447c50fr1010057900f46bbd@mail.gmail.com> I've had fun with Cacti - if thats the sort of thing you're looking for. On 10/25/06, Maxwell,Brady wrote: > > > > > Hello Nagios Users, > > > > I have a need to setup some performance and trending graphing or charts for > many of the service checks I am performing with Nagios. My question to the > group is what approach have others taken to provide similar functionality in > their own environments? I have already done some research on some of these > products and just want to see if anyone has any advice, strong feelings or > negative comments on which package or add-on has worked best in your > environment. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From creyes at co.ibm.com Wed Oct 25 21:52:44 2006 From: creyes at co.ibm.com (Carlos Mauricio Reyes Sanmiguel) Date: Wed, 25 Oct 2006 14:52:44 -0500 Subject: Charts and Graphs and Nagios Oh My! In-Reply-To: <3c4611bc0610251132l6447c50fr1010057900f46bbd@mail.gmail.com> References: <3c4611bc0610251132l6447c50fr1010057900f46bbd@mail.gmail.com> Message-ID: Hi there.. regarding this question.. does Cacti works for information captured by the NRPE applications?, Thanks.. creyes "Brian Loe" Sent by: nagios-users-bounces at lists.sourceforge.net 25/10/2006 01:32 p.m. To "Maxwell,Brady" cc Nagios Users mailinglist Subject Re: [Nagios-users] Charts and Graphs and Nagios Oh My! I've had fun with Cacti - if thats the sort of thing you're looking for. On 10/25/06, Maxwell,Brady wrote: > > > > > Hello Nagios Users, > > > > I have a need to setup some performance and trending graphing or charts for > many of the service checks I am performing with Nagios. My question to the > group is what approach have others taken to provide similar functionality in > their own environments? I have already done some research on some of these > products and just want to see if anyone has any advice, strong feelings or > negative comments on which package or add-on has worked best in your > environment. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Oct 25 22:11:11 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 25 Oct 2006 22:11:11 +0200 (CEST) Subject: Theme / website In-Reply-To: <453F1207.40101@serv.co.za> References: <453F1207.40101@serv.co.za> Message-ID: On Wed, 25 Oct 2006, Kyle Vorster wrote: > Does any one know of a webend for Nagios that supports Themes, or to > customize the pages. > > I am growing tired of the boring tables, and wish to spice it up a little. Well you could just write your own add-on if you are really bored. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Oct 25 22:26:07 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 25 Oct 2006 22:26:07 +0200 (CEST) Subject: Net-SNMP and SNMP4Nagios In-Reply-To: References: <453F7406.4090904@verizon.net> <453F7D3E.7010507@verizon.net> Message-ID: On Wed, 25 Oct 2006, Justin Craig wrote: > I updated my num.conf file with the example provided and cleaned yum. > > Now, it's looks like progresion, but still get an error when trying to > install net-snmp. > > Ideas? > > [root at nagonet SNMP4Nagios-0.3]# yum install net-snmp > Setting up Install Process > Setting up Repo: livna-stable > repomd.xml 100% |=========================| 951 B 00:00 > Setting up Repo: livna-unstable > repomd.xml 100% |=========================| 951 B 00:00 > Setting up Repo: updates-released > Cannot find a valid baseurl for repo: updates-released You are using an out of support Fedora Core version. So you need to fix your yum config file and use the Legacy support links instead. See also: http://www.fedoralegacy.org/ Please note that full support of Fedora Core 3 will be gone in about half a year as well. The short life span of Fedora Core makes it a bad companion for Nagios servers in my view. If you don want to spend money on RHEL I suggest you look at Centos for servers. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Wed Oct 25 22:33:20 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Wed, 25 Oct 2006 15:33:20 -0500 Subject: Net-SNMP and SNMP4Nagios In-Reply-To: References: <453F7406.4090904@verizon.net> <453F7D3E.7010507@verizon.net> Message-ID: This is getting uglier for me. I just wanted to install SNMP. Now I am getting: [root at nagonet libxml]# yum install net-snmp Traceback (most recent call last): File "/usr/bin/yum", line 28, in ? import yummain File "/usr/share/yum-cli/yummain.py", line 23, in ? from yum import plugins ImportError: cannot import name plugins I have another question going on a different mailing list for YUM help. It's not going anywhere yet. I'm not sure what's happened at this point. Can anyone help get yum working? I know this isn't yum forum, it's Nagios forum. I'm figuring someone has the expertise on this list.... I've changed my yum.conf file multiple times... nothing is working.... On 10/25/06, Hugo van der Kooij wrote: > > On Wed, 25 Oct 2006, Justin Craig wrote: > > > I updated my num.conf file with the example provided and cleaned yum. > > > > Now, it's looks like progresion, but still get an error when trying to > > install net-snmp. > > > > Ideas? > > > > [root at nagonet SNMP4Nagios-0.3]# yum install net-snmp > > Setting up Install Process > > Setting up Repo: livna-stable > > repomd.xml 100% |=========================| 951 > B 00:00 > > Setting up Repo: livna-unstable > > repomd.xml 100% |=========================| 951 > B 00:00 > > Setting up Repo: updates-released > > Cannot find a valid baseurl for repo: updates-released > > You are using an out of support Fedora Core version. So you need to fix > your yum config file and use the Legacy support links instead. > > See also: http://www.fedoralegacy.org/ > > Please note that full support of Fedora Core 3 will be gone in about half > a year as well. > > The short life span of Fedora Core makes it a bad companion for Nagios > servers in my view. If you don want to spend money on RHEL I suggest you > look at Centos for servers. > > Hugo. > > -- > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > This message is using 100% recycled electrons. > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Oct 25 22:38:49 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 25 Oct 2006 13:38:49 -0700 Subject: Net-SNMP and SNMP4Nagios In-Reply-To: References: <453F7406.4090904@verizon.net> <453F7D3E.7010507@verizon.net> Message-ID: <20061025203849.GM10104@pmorris.usa.hp.com> On Wed, 25 Oct 2006, Justin Craig wrote: > This is getting uglier for me. I just wanted to install SNMP. If all you really want is net-snmp, then download the RPM for it, and try to install it. If it chokes on a dependency, install that, too. Repeat until net-snmp is installed. This is really basic system admin stuff, and there are definitely much, much better places than here to learn about that kind of thing. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From LEHMANJ at us.panasonic.com Wed Oct 25 22:39:00 2006 From: LEHMANJ at us.panasonic.com (Lehman, John) Date: Wed, 25 Oct 2006 16:39:00 -0400 Subject: failover In-Reply-To: References: Message-ID: Question for everyone. I have 2 nagios servers and one is active all the time and the other is standby. I have read the documentation on implementing failover but I am finding it difficult implementing. Is there anyone that could give me sample scripts which "on the standby host" would "check the nagios master" and if the nagios master were down then the standby would become the active host? I am losing my mind trying to implement from the documentation and I would appreciate any advice on this one. John -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Wed Oct 25 22:47:29 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Wed, 25 Oct 2006 15:47:29 -0500 Subject: Net-SNMP and SNMP4Nagios In-Reply-To: <20061025203849.GM10104@pmorris.usa.hp.com> References: <453F7406.4090904@verizon.net> <453F7D3E.7010507@verizon.net> <20061025203849.GM10104@pmorris.usa.hp.com> Message-ID: Right, I only wanted SNMP4Nagios which I thought required net-snmp and possibly rdd. Forgive me oh hp sys admin GOD. I'm not a sys admin, I'm a Cisco VoIP engineer. I've successfully installed fc3 linux OS, and compiled Nagios, monitoring about 500 hosts. (kudos to me, no need to congratulate). So I'm learning this sys admin thing and how to install these packages and dependencies and all that goes with it. Fortunately, you don't need to be a system administrator to use Nagios, or I'd be in trouble. I conduct my own due diligence and research before I post to this forum. Sometimes topics wander, as there are a lot of different technologies touched when troubleshooting these types of things. So forgive me for exploiting my lack of "basic system administration" and annoying you experts with these petty questions. As always, any help is always appreciated. Without the open source community support, we'd regress for sure. On 10/25/06, Patrick Morris wrote: > > On Wed, 25 Oct 2006, Justin Craig wrote: > > > This is getting uglier for me. I just wanted to install SNMP. > > If all you really want is net-snmp, then download the RPM for it, and > try to install it. If it chokes on a dependency, install that, too. > Repeat until net-snmp is installed. > > This is really basic system admin stuff, and there are definitely much, > much better places than here to learn about that kind of thing. > > > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtownrobbrown at gmail.com Wed Oct 25 22:56:08 2006 From: dtownrobbrown at gmail.com (Rob Brown) Date: Wed, 25 Oct 2006 13:56:08 -0700 Subject: failover In-Reply-To: References: Message-ID: <015601c6f878$00a22c70$fc3af13f@RobBrown> Here's what I use: Running in cron every 5 minutes. Works like a charm. #!/bin/sh HOST=`hostname` NAGIOS_HOST=nagios1.mysite.com NRPE=/usr/local/nagios/libexec/check_nrpe CMD_FILE=/usr/local/nagios/var/rw/nagios.cmd CHECK_STATUS=/usr/local/nagios/var/master.status LOG_FILE=/usr/local/nagios/var/master.status.log echocmd="/bin/echo -e" mailcmd="/bin/mail" mailto="admin at mysite.com" datetime=$(date +%s) datelog=$(date +%F\ %T) ## functions function down_mail() { $echocmd "Slave Nagios server $HOST has entered ACTIVE mode and taken over network monitoring responsibilities!\nSomeone needs to check out $NAGIOS_HOST" | $mailcmd -s "ALERT: $HOST Has Entered ACTIVE Mode" $mailto } function up_mail() { $echocmd "Slave Nagios server $HOST has returned to STANDBY mode because master server $NAGIOS_HOST is now running." | $mailcmd -s "RECOVERY: $HOST Has Entered STANDBY Mode" $mailto } function warn_mail() { $echocmd "Warning: status of master Nagios server $NAGIOS_HOST is unknown.\nStandby server was NOT activated.\nSomeone needs to check the script $0\nHere is a tail of the logfile:\n `tail -n 5 $LOG_FILE`" | $mailcmd -s "WARNING: master nagios server status UNKNOWN" $mailto } ## end functions if ! test -d $(dirname $CHECK_STATUS); then mkdir -p $(dirname $CHECK_STATUS) fi if ! test -p $CMD_FILE; then echo "[$datelog] error writing to command file" | tee -a $LOG_FILE; exit 1; fi ## Run the check $NRPE -H $NAGIOS_HOST $* -c check_nagios > /dev/null 2>&1 n=$? last=`cat $CHECK_STATUS` ## big ugly if if ! [ $last = $n ]; then echo "[$datelog] state change detected: from $last to $n" | tee -a $LOG_FILE; if test $n -eq 0; then echo "[$datelog] master is OK: disabling notifications and svc checks" | tee -a $LOG_FILE echo "[$datetime] DISABLE_NOTIFICATIONS;$datetime" >> $CMD_FILE echo "[$datetime] STOP_EXECUTING_SVC_CHECKS" >> $CMD_FILE up_mail elif test $n -eq 2; then echo "[$datelog] master is NOT OK: enabling notifications and svc checks" | tee -a $LOG_FILE echo "[$datetime] ENABLE_NOTIFICATIONS;$datetime" >> $CMD_FILE echo "[$datetime] START_EXECUTING_SVC_CHECKS" >> $CMD_FILE down_mail else echo "[$datelog] master status warning or unknown" | tee -a $LOG_FILE warn_mail fi else if [ `date +%M` -eq 0 ]; then echo "[$datelog] no change detected: current status is $n" | tee -a $LOG_FILE fi fi ## end big ugly if ## write current state to status file echo "$n" >$CHECK_STATUS ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Lehman, John Sent: Wednesday, October 25, 2006 1:39 PM To: Nagios Users mailinglist Subject: [Nagios-users] failover Question for everyone. I have 2 nagios servers and one is active all the time and the other is standby. I have read the documentation on implementing failover but I am finding it difficult implementing. Is there anyone that could give me sample scripts which "on the standby host" would "check the nagios master" and if the nagios master were down then the standby would become the active host? I am losing my mind trying to implement from the documentation and I would appreciate any advice on this one. John ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cecil.williams at autozone.com Wed Oct 25 23:01:49 2006 From: cecil.williams at autozone.com (cecil.williams at autozone.com) Date: Wed, 25 Oct 2006 16:01:49 -0500 Subject: Cecil Williams/STS/AUTOZONE is out of the office. Message-ID: I will be out of the office starting 10/24/2006 and will not return until 10/30/2006. Please send all requests/problems to IT AIX SUPPORT via lotus notes. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Oct 25 23:24:40 2006 From: teng at dataway.com (Tedman Eng) Date: Wed, 25 Oct 2006 14:24:40 -0700 Subject: Configuring Nagios to Send SNMP trap to anothe r monitoring tool Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2EFF@dw-mail.dataway.com> Have a peek at the Nagios FAQ: Sending SNMP traps to a management host http://nagios.org/faqs/viewfaq.php?faq_id=28 -----Original Message----- From: Raffaello Risso [mailto:raffaello.risso at gmail.com] Sent: Wednesday, October 25, 2006 7:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Configuring Nagios to Send SNMP trap to another monitoring tool Hi all! I've a question for you: I've the need to define a new command in nagios to send an SNMP trap to another monitoring tool installed in my network. This event must happen in the case of ALERT/WARNING or CRITICAL result of check_ping instead of sending email. Anybody have a solution? Thanks all, Raffaello ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jczucco at ucs.br Wed Oct 25 23:27:55 2006 From: jczucco at ucs.br (Jeronimo Zucco) Date: Wed, 25 Oct 2006 18:27:55 -0300 Subject: Alerts with sendxmpp in Google Talk Message-ID: <453FD6DB.5010809@ucs.br> Hi. Anybody use sendxmpp to do nagios alerts in Google Talk (jabber protocol) ? If yes, what line command was used? I try this: # echo "test" | /usr/bin/sendxmpp -i -t -c -u sender at gmail.com -p password -j talk.google.com:5222 receiver at gmail.com But no success. Thank you for any tip. -- Jeronimo Zucco LPIC-1 Linux Professional Institute Certified N?cleo de Processamento de Dados Universidade de Caxias do Sul http://jczucco.blogspot.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscribe at aehome.net Wed Oct 25 23:33:29 2006 From: subscribe at aehome.net (subscribe) Date: Wed, 25 Oct 2006 16:33:29 -0500 Subject: *****SPAM***** failover In-Reply-To: References: Message-ID: <00dc01c6f87d$48ba30c0$0208090a@a1> Long ago a guy gave me the following but I never got to try it. I would love to hear what actually works. Maybe a howto Configuration doc on slave server... Failover Configuration: Master Server (10.1.1.3): Configure NSCA: Install Libmcrypt: tar -xzvf libmcrypt-2.5.7.tar.gz cd libmcrypt-2.5.7 ./configure make make install Update system to find the library: vi /etc/ld.so.conf add the following line: /usr/local/lib/ run ldconfig: /sbin/ldconfig tar -xzvf nsca-2.4.tar.gz cd nsca-2.4 ./configure --prefix=/usr/local/nagios --with-nsca-user=nagios --with-nsca-grp=nagios output should be the following: General Options: ------------------------- NSCA port: 5667 NSCA user: nagios NSCA group: nagios make all cp src/nsca /usr/local/nagios/bin/ cp nsca.cfg /usr/local/nagios/etc/ vi /usr/local/nagios/etc/nsca.cfg modify the following: allowed_hosts=10.1.1.3 password=password decryption_method=2 start the service /usr/local/nagios/bin/nsca -c /usr/local/nagios/etc/nsca.cfg Slave Server (10.1.1.4): Disable the following in nagios.cfg: retain_state_information=0 execute_service_checks=0 enable_notifications=0 Enable the the following in nagios.cfg: check_external_commands=1 retention_update_interval=30 use_retained_program_state=0 Create enable/disable service checks script: vi /usr/local/nagios/libexec/eventhandlers/disable_active_service_checks #!/bin/sh echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] STOP_EXECUTING_SVC_CHECKS" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` write the file chown nagios:nagios /usr/local/nagios/libexec/eventhandlers/disable_active_service_checks vi /usr/local/nagios/libexec/eventhandlers/enable_active_service_checks #!/bin/sh echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] START_EXECUTING_SVC_CHECKS" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` write the file chown nagios:nagios /usr/local/nagios/libexec/eventhandlers/enable_active_service_checks Create enable/disable notifications scripts: vi /usr/local/nagios/libexec/eventhandlers/enable_notifications #!/bin/sh echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] ENABLE_NOTIFICATIONS;$datetime" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` write the file chown nagios:nagios /usr/local/nagios/libexec/eventhandlers/enable_notifications vi /usr/local/nagios/libexec/eventhandlers/disable_notifications #!/bin/sh echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] DISABLE_NOTIFICATIONS;$datetime" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` write the file chown nagios:nagios /usr/local/nagios/libexec/eventhandlers/disable_notifications Create monitoring enable script: vi /usr/local/nagios/libexec/eventhandlers/check_master_host_enable #!/bin/sh RES=`/usr/local/nagios/libexec/check_nrpe -H 10.1.1.3 -c check_nagios_proc` STATUS=$? if [ $STATUS != 0 ]; then sleep 35 RES=`/usr/local/nagios/libexec/check_nrpe -H 10.1.1.3 -c check_nagios_proc` STATUS=$? if [ $STATUS != 0 ]; then echo "Activate Sentinel Local : RES=$RES ; Status=$STATUS" /usr/local/nagios/libexec/eventhandlers/enable_active_service_checks sleep 5 /usr/local/nagios/libexec/eventhandlers/enable_notifications fi fi exit write the file Setup a cron job to call the above script every 1 min vi /usr/local/nagios/libexec/eventhandlers/check_master_host_disable #!/bin/sh RES=`/usr/local/nagios/libexec/check_nrpe -H 10.1.1.3 -c check_nagios_proc` STATUS=$? if [ $STATUS != 1 ]; then sleep 35 RES=`/usr/local/nagios/libexec/check_nrpe -H 10.1.1.3 -c check_nagios_proc` STATUS=$? if [ $STATUS != 1 ]; then echo "De-activate Sentinel Local : RES=$RES ; Status=$STATUS" /usr/local/nagios/libexec/eventhandlers/disable_active_service_checks sleep 5 /usr/local/nagios/libexec/eventhandlers/disable_notifications fi fi exit write the file make the files executable: chmod 755 /usr/local/nagios/libexec/eventhandlers/* Setup a cron job to call the above script every 1 minute. _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Lehman, John Sent: Wednesday, October 25, 2006 15:39 To: Nagios Users mailinglist Subject: *****SPAM***** [Nagios-users] failover Question for everyone. I have 2 nagios servers and one is active all the time and the other is standby. I have read the documentation on implementing failover but I am finding it difficult implementing. Is there anyone that could give me sample scripts which "on the standby host" would "check the nagios master" and if the nagios master were down then the standby would become the active host? I am losing my mind trying to implement from the documentation and I would appreciate any advice on this one. John -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Wed Oct 25 23:47:10 2006 From: knobdy at gmail.com (Brian Loe) Date: Wed, 25 Oct 2006 16:47:10 -0500 Subject: Charts and Graphs and Nagios Oh My! In-Reply-To: References: <3c4611bc0610251132l6447c50fr1010057900f46bbd@mail.gmail.com> Message-ID: <3c4611bc0610251447l1af4144dw9a1a265e4be31df7@mail.gmail.com> I BELIEVE it can, but I don't know that for sure. You can build a template for just about anything though...and in fact there is a nagios plugin already available though its mostly a frontend (the version I'm running anyway). Check out cacti.org and cacti.net and cactiusers.org. On 10/25/06, Carlos Mauricio Reyes Sanmiguel wrote: > > > Hi there.. regarding this question.. does Cacti works for information > captured by the NRPE applications?, > > Thanks.. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dfinkle at epixpharma.com Thu Oct 26 00:19:28 2006 From: dfinkle at epixpharma.com (Dan Finkle) Date: Wed, 25 Oct 2006 18:19:28 -0400 Subject: NSClient++ weirdness Message-ID: Hi, I?m using NSClient++ to monitor a pair of w2k3 servers and trying to use both Nsclient and NRPE funtions I am getting funky data. For example, when running... monitor: sysadmin$ ./check_nt -H 172.16.232.37 -p 1248 -v UPTIME System Uptime - 49710 day(s) 6 hour(s) 28 minute(s) My sever has not been up for 49710 days. Also trying to get use check_disk I get: UNKNOWN: Drive is not a fixed drive: MinWarnUsed (it is a: 1) I am able to run the standalone check_disk, but whenever I try to use thresholds the error is returned. I?ve checked the clock on my sever, and reinstalled several times, hoping someone else has seen this. Thanks, Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david.garvey at gmail.com Thu Oct 26 00:30:19 2006 From: david.garvey at gmail.com (David Garvey) Date: Wed, 25 Oct 2006 15:30:19 -0700 Subject: troubles with check_by_ssh Message-ID: <2e90c57d0610251530y42391aa2vdf9e1d1ccc0d7baf@mail.gmail.com> I am have problems using the most recent libraries of ssh2 the commerial version. Here is the error when nagios runs the plug-in. Remote command execution failed: warning: You have no controlling tty. Cannot read confirmation. Here is the command line execution... -bash-3.00$ libexec/check_by_ssh -H host18 -t 30 -S 25 -C "libexec/check_load -w 50 -c 75" OK - load average: 0.00, 0.00, 0.00|load1=0.000000;50.000000;75.000000;0.000000 load5=0.000000;50.000000;75.000000;0.000000 load15=0.000000 ;50.000000;75.000000;0.000000 You have new mail in /var/spool/mail/nagios Here is the /var/log/messages on host18... Oct 25 15:10:10 host18 sshd2[870]: connection from "10.1.1.1" Oct 25 15:10:10 host18 sshd2[13080]: DNS lookup failed for "10.1.1.1". Oct 25 15:10:10 host18 sshd2[13080]: Remote host disconnected: Key exchange failed. Oct 25 15:10:10 host18 sshd2[13080]: Key exchange failed in remote: 'Key exchange failed.' The ssh versions... host18 ssh2 -V ssh2: SSH Secure Shell 2.2.0 on i686-pc-linux-gnu nagios ssh -V ssh: SSH Secure Shell 3.2.9.1 on i686-pc-linux-gnu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Thu Oct 26 01:00:55 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Thu, 26 Oct 2006 09:00:55 +1000 Subject: Charts and Graphs and Nagios Oh My! Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6ABE787C@mail01.ccia.local> We use Cacti, on the Nagios machine, but in isolation, though I understand this needn't be the case. Cacti is nice, but imo, a bugger to make do what you want unless you're prepared to invest significant time/coffee. It's one of those products that if you spend a couple of days on you can get the hang of it, but then you stop because it works and the next time you look at it you're a noob again. Matthew Joyce 02 9382 0051 | 0412 309745 | IT Manager | Children's Cancer Institute Australia for Medical Research ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Maxwell,Brady Sent: Thursday, 26 October 2006 4:15 AM To: Nagios Users mailinglist Subject: [Nagios-users] Charts and Graphs and Nagios Oh My! Hello Nagios Users, I have a need to setup some performance and trending graphing or charts for many of the service checks I am performing with Nagios. My question to the group is what approach have others taken to provide similar functionality in their own environments? I have already done some research on some of these products and just want to see if anyone has any advice, strong feelings or negative comments on which package or add-on has worked best in your environment. Brady Maxwell Systems Engineer Online Computer Library Center, Inc. 614.764.6133 | maxwellb at oclc.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Thu Oct 26 01:06:40 2006 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 25 Oct 2006 18:06:40 -0500 (CDT) Subject: Charts and Graphs and Nagios Oh My! In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6ABE787C@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6ABE787C@mail01.ccia.local> Message-ID: On Thu, 26 Oct 2006, Matthew Joyce wrote: > We use Cacti, on the Nagios machine, but in isolation, though I > understand this needn't be the case. > Cacti is nice, but imo, a bugger to make do what you want unless you're > prepared to invest significant time/coffee. > > It's one of those products that if you spend a couple of days on you can > get the hang of it, but then you stop because it works and the next time > you look at it you're a noob again. > > I'll chime in here with a recommendation for Ganglia, http://ganglia.sourceforge.net/. I run both Ganglia and Cacti for similar purposes but pointed at different devices. As a bit of a "new school" guy, I don't particularly like SNMP monitoring my linux hosts. Instead, Ganglia supplies a thin client that is multicast based along with the ability to create a monitoring hierarchy that I really like. Nagios and Ganglia have been installed promptly in every environment I've worked and and the two have covered all my requirements for years. -D ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Thu Oct 26 08:06:50 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 26 Oct 2006 08:06:50 +0200 Subject: Charts and Graphs and Nagios Oh My! In-Reply-To: <632EDB1E16D4E041A0EF1DB3ADF67B2B07B9FA83@OAEXCH1SERVER.oa.oclc.org> References: <632EDB1E16D4E041A0EF1DB3ADF67B2B07B9FA83@OAEXCH1SERVER.oa.oclc.org> Message-ID: <200610260806.50869.pitchfork@ederdrom.de> Am Mittwoch, 25. Oktober 2006 20:15 schrieb Maxwell,Brady: > I have a need to setup some performance and trending graphing or charts > for many of the service checks I am performing with Nagios. [...] I use PNP http://www.ederdrom.de/doku.php/nagios/pnp_en PNP stores the Performance Data from the Nagios Plugins in RRDTool Archives. You need: Perl without special Modules PHP to Display the RRD Graphs RRDTool to do the work. Nagios 2.x and Plugins producing valid Perfdata. Try it. J?rg ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ahh at inbodan.dk Thu Oct 26 08:05:24 2006 From: ahh at inbodan.dk (Allan Holdt Hansen INBODAN) Date: Thu, 26 Oct 2006 08:05:24 +0200 Subject: NSClient++ weirdness In-Reply-To: References: Message-ID: <2F04E1B72633234494667B5DB0B8B8170F8333@TULKAS.inbodan.dk> Be sure to run the latest version of nsclient++. Iirc there was some problems with uptime once. I only use the NRPE functions of nsclient++, so i cannot comment on check_disk, but this works fine: check_nrpe -H a.b.c.d-c CheckDriveSize -a Drive=C:\ MinWarnFree=500M You should check out nsclient's own homepage at http://nscplus.medin.name - there is also a searchable forum. /Allan ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dan Finkle Sent: 26. oktober 2006 00:19 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSClient++ weirdness Hi, I'm using NSClient++ to monitor a pair of w2k3 servers and trying to use both Nsclient and NRPE funtions I am getting funky data. For example, when running... monitor: sysadmin$ ./check_nt -H 172.16.232.37 -p 1248 -v UPTIME System Uptime - 49710 day(s) 6 hour(s) 28 minute(s) My sever has not been up for 49710 days. Also trying to get use check_disk I get: UNKNOWN: Drive is not a fixed drive: MinWarnUsed (it is a: 1) I am able to run the standalone check_disk, but whenever I try to use thresholds the error is returned. I've checked the clock on my sever, and reinstalled several times, hoping someone else has seen this. Thanks, Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Anton.Kornexl at rz.uni-passau.de Thu Oct 26 09:36:11 2006 From: Anton.Kornexl at rz.uni-passau.de (Anton Kornexl) Date: Thu, 26 Oct 2006 09:36:11 +0200 Subject: Charts and Graphs and Nagios Oh My! In-Reply-To: <200610260806.50869.pitchfork@ederdrom.de> References: <632EDB1E16D4E041A0EF1DB3ADF67B2B07B9FA83@OAEXCH1SERVER.oa.oclc.org> <200610260806.50869.pitchfork@ederdrom.de> Message-ID: <4540656B.8010007@rz.uni-passau.de> Joerg Linge schrieb: > Am Mittwoch, 25. Oktober 2006 20:15 schrieb Maxwell,Brady: >> I have a need to setup some performance and trending graphing or charts >> for many of the service checks I am performing with Nagios. > [...] > > I use PNP http://www.ederdrom.de/doku.php/nagios/pnp_en > > PNP stores the Performance Data from the Nagios Plugins in RRDTool Archives. > You need: > Perl without special Modules > PHP to Display the RRD Graphs > RRDTool to do the work. > Nagios 2.x and Plugins producing valid Perfdata. > I use Nagiosgrapher (see http://www.nagiosexchange.org/) Its one of the best tools to graph performance data. -- Kind regards Anton Kornexl Rechenzentrum Universit?t Passau Innstr. 33 D-90432 Passau Tel.: 0851/509-1812 Fax: 0851/509-1802 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From raffaello.risso at gmail.com Thu Oct 26 09:53:22 2006 From: raffaello.risso at gmail.com (Raffaello Risso) Date: Thu, 26 Oct 2006 09:53:22 +0200 Subject: Configuring Nagios to Send SNMP trap to anothe r monitoring tool In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2EFF@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2EFF@dw-mail.dataway.com> Message-ID: <68f39cf70610260053v6899a066lbc6fe9980935a1a4@mail.gmail.com> Hi, Thanks for your suggest. As a test of the service event_handler, I defined: define command { command_name newcommand command_line /bin/echo $SERVICESTATE$ >> /root/test.txt } define service { use generice-service host_name switch.mydomain.com service_description PING is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 event_handler newcommand event_handler_enabled 1 contact_groups me notification_interval 300 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% } After this I reload the nagios configuration file, but nothing seems happen. On 10/25/06, Tedman Eng wrote: > > Have a peek at the Nagios FAQ: > > Sending SNMP traps to a management host > http://nagios.org/faqs/viewfaq.php?faq_id=28 > > > > -----Original Message----- > From: Raffaello Risso [mailto:raffaello.risso at gmail.com] > Sent: Wednesday, October 25, 2006 7:55 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Configuring Nagios to Send SNMP trap to another > monitoring tool > > > Hi all! > > I've a question for you: > > I've the need to define a new command in nagios to send an SNMP trap to > another monitoring tool installed in my network. > This event must happen in the case of ALERT/WARNING or CRITICAL result of > check_ping instead of sending email. > Anybody have a solution? > > Thanks all, > Raffaello > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iamyolanda at gmail.com Thu Oct 26 10:15:28 2006 From: iamyolanda at gmail.com (Yolanda Santos) Date: Thu, 26 Oct 2006 10:15:28 +0200 Subject: String to expect in the content of a web secure Message-ID: Hello, I want to find a string in a specific url, but it's a secure web. If I try in a web (not secure) i don't have problems: ./check_http -H host -u url -s string And the response is correct, OK if it find it the string, or CRITICAL if not. But when I try in a web secure, Nagios say that the '-s' command is not found, and after this, Invalid HTTP response received from host on port 444 ./check_http -H host -p 444 -S -u url_secure -s string -s: command not found Invalid HTTP response received from host on port 444 (The url is something like this: https://xxxxxxx.com:444/part1/part2/part3 ) Can sombedy help me to know, how I can find a string in a web secure? Thanks, Yolanda -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Oct 26 10:33:23 2006 From: ae at op5.se (Andreas Ericsson) Date: Thu, 26 Oct 2006 10:33:23 +0200 Subject: Net-SNMP and SNMP4Nagios In-Reply-To: <453FAC96.4070905@verizon.net> References: <453F7406.4090904@verizon.net> <453FAC96.4070905@verizon.net> Message-ID: <454072D3.1000409@op5.se> Max H. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hugo van der Kooij wrote: >> On Wed, 25 Oct 2006, Max H. wrote: >>> Justin Craig wrote: >> ... >> >> PLEASE. I read the mailinglist and do not like duplicate messages. So >> address the mailinglist only. >> > > > SORRY, Hugo. Please chill. If when you click Reply it would actually > reply to only nagios-users, then this wouldn't be a problem. For > example, on most mailing lists, if I click Reply or Reply All I get the > appropriate reply to filled in correctly to only the mailing list and no > other addresses. > > I don't respond much on this list, and so I'm very used to my other > lists automatically being good when it comes to the reply-tos. When you > click a reply all on this, you get the original sender, you, and the > list instead of just the list. If you only click reply, you get just the > sender. > This is actually the preferred way of sending to mailinglists where non-subscribers are allowed to post, because the original poster would otherwise be cut out of the loop. As there's no way of telling if a poster *is* on this list (no, I don't know if it can be posted to without subscribing, and I can't be bothered with checking), the only sane way to make sure the original poster and everyone participating in a thread is to reply to all and hope that people on the list have taken the 3 minutes it takes to set up filters to delete duplicate messages *hint, hint*. > I apologize for being to quick to click send instead of taking a peek at > the To: fields. Is this working as designed on the Nagios list? Since > other lists I'm part of seem to do it the way I mentioned so that you > never worry about sending dups. > The "send-only-to-list-when-replying" option is really only useful if only subscribers can post to the list. I assume those other lists are of that kind. Hugo, chill out. Max, you did the right thing. If this list is subscriber only, then whoever set it up botched the job and need to fix it (although I'm sure SF would be perfectly capable of screwing it up and leaving it screwed for all eternity no matter how much grief it causes). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From me at renux.de Thu Oct 26 10:35:46 2006 From: me at renux.de (Rene Fertig) Date: Thu, 26 Oct 2006 10:35:46 +0200 Subject: Charts and Graphs and Nagios Oh My! In-Reply-To: <632EDB1E16D4E041A0EF1DB3ADF67B2B07B9FA83@OAEXCH1SERVER.oa.oclc.org> References: <632EDB1E16D4E041A0EF1DB3ADF67B2B07B9FA83@OAEXCH1SERVER.oa.oclc.org> Message-ID: <200610261035.47063.me@renux.de> I use nagiostat (see http://sourceforge.net/projects/nagiostat/ or http://www.nagiosexchange.org/Charts.42.0.html?&tx_netnagext_pi1[p_view]=118) It's ok for some hosts/services. But if you like to monitor a lot of hosts/services it may be not the right choice, because of the amount for configuration. There is AFAIK no configuration tool. Bye, Rene -- Tipps & Tricks f?r Linux, MySQL & Webdesign -> http://home.telebel.de/~referti/blog/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From raffaello.risso at gmail.com Thu Oct 26 10:39:12 2006 From: raffaello.risso at gmail.com (Raffaello Risso) Date: Thu, 26 Oct 2006 10:39:12 +0200 Subject: Configuring Nagios to Send SNMP trap to anothe r monitoring tool In-Reply-To: <68f39cf70610260053v6899a066lbc6fe9980935a1a4@mail.gmail.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2EFF@dw-mail.dataway.com> <68f39cf70610260053v6899a066lbc6fe9980935a1a4@mail.gmail.com> Message-ID: <68f39cf70610260139o7c1ea4e9rbc42e21e03aaf594@mail.gmail.com> Ok It's work fine. The Test I created for the service event_handler works. .... the nagios user can't write a file in /root/test.txt.... Now I proceed sending an SNMP trap through NET-SNMP package Thanx all On 10/26/06, Raffaello Risso wrote: > > Hi, > Thanks for your suggest. > > As a test of the service event_handler, I defined: > > define command { > command_name newcommand > command_line /bin/echo $SERVICESTATE$ >> /root/test.txt > } > > define service { > use generice-service > host_name switch.mydomain.com > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > event_handler newcommand > event_handler_enabled 1 > contact_groups me > notification_interval 300 > notification_period 24x7 > check_command check_ping!100.0,20%!500.0,60% > } > > After this I reload the nagios configuration file, but nothing seems > happen. > > > On 10/25/06, Tedman Eng wrote: > > > > Have a peek at the Nagios FAQ: > > > > Sending SNMP traps to a management host > > http://nagios.org/faqs/viewfaq.php?faq_id=28 > > > > > > > > -----Original Message----- > > From: Raffaello Risso [mailto:raffaello.risso at gmail.com] > > Sent: Wednesday, October 25, 2006 7:55 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Configuring Nagios to Send SNMP trap to another > > monitoring tool > > > > > > Hi all! > > > > I've a question for you: > > > > I've the need to define a new command in nagios to send an SNMP trap to > > another monitoring tool installed in my network. > > This event must happen in the case of ALERT/WARNING or CRITICAL result > > of > > check_ping instead of sending email. > > Anybody have a solution? > > > > Thanks all, > > Raffaello > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Thu Oct 26 12:31:50 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Thu, 26 Oct 2006 11:31:50 +0100 Subject: Service Check Timeouts In-Reply-To: <453F9A09.70407@achievedata.com> References: <453F9A09.70407@achievedata.com> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 25/10/2006 18:08:25: > Hi, > > I've been using Nagios for a while and I love it, but recently I > switched my gateway in the office from old FreeBSD 4 machine to IPcop. > This seems to have had an effect on my Nagios monitoring, most of the > time and most of my service checks time out. The host checks are always > find and the latency is always low, but like I said my service checks > seem to time out all the time ever since I changed my Internet Gateway. > I use plugins and check_by_ssh for my service checks, if anyone has had > this problem and maybe could help me out a bit I'd really appreciate it, > thank you. There are so many parts of your own infrastructure that you haven't told us about that answering this question is impossible.. So you changed your monitoring enviornment, and things don't work the same way.. What did you expect? I will recommend one thing: Diagnose your network. If you can't do that, find someone who can: your I.T. staff or a Consultant. What is different between your old setup and your new setup which has problems? That is a question you need to ask yourself and the rest of your I.T. staff, posting a question like this to a mailing list is pointless. Good luck! rob This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eusebio_e at vodafone.es Thu Oct 26 12:51:43 2006 From: eusebio_e at vodafone.es (eusebio_e at vodafone.es) Date: Thu, 26 Oct 2006 12:51:43 +0200 Subject: Database server Message-ID: Nagios 2.x does not provide native database support for configuration and data storage, can I use database server Firebird? Best regards and thank you. Eusebio Esteban ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Thu Oct 26 13:25:47 2006 From: btmanmeh at verizon.net (Max H.) Date: Thu, 26 Oct 2006 07:25:47 -0400 Subject: Net-SNMP and SNMP4Nagios In-Reply-To: <454072D3.1000409@op5.se> References: <453F7406.4090904@verizon.net> <453FAC96.4070905@verizon.net> <454072D3.1000409@op5.se> Message-ID: <45409B3B.8040605@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andreas Ericsson wrote: > > This is actually the preferred way of sending to mailinglists where > non-subscribers are allowed to post, because the original poster would > otherwise be cut out of the loop. As there's no way of telling if a > poster *is* on this list (no, I don't know if it can be posted to > without subscribing, and I can't be bothered with checking), the only > sane way to make sure the original poster and everyone participating in > a thread is to reply to all and hope that people on the list have taken > the 3 minutes it takes to set up filters to delete duplicate messages > *hint, hint*. > >> I apologize for being to quick to click send instead of taking a peek at >> the To: fields. Is this working as designed on the Nagios list? Since >> other lists I'm part of seem to do it the way I mentioned so that you >> never worry about sending dups. >> > > The "send-only-to-list-when-replying" option is really only useful if > only subscribers can post to the list. I assume those other lists are of > that kind. > > Hugo, chill out. Max, you did the right thing. If this list is > subscriber only, then whoever set it up botched the job and need to fix > it (although I'm sure SF would be perfectly capable of screwing it up > and leaving it screwed for all eternity no matter how much grief it > causes). > Hi Andreas, After doing a bit of thinking and Googling, I did come across the Reply-To munging debate. I found a nice link here explaining why not to add Reply-To: After you read this, things do make sense as to why a list wouldn't add a Reply-To header, but this comes with some other annoyances as well. Even the author of the above link explains at the ends, that it generally runs smooth but you should expect to receive a few e-mails privately when not using Reply-To headers and it's basically something you have to learn to deal with. I don't mean to beat a dead horse, but with that being said, I believe that if you aren't going to use the Reply-To then you should be a bit tolerant on receiving a private message for that simple reason. I understand everyone is busy and doesn't want to receive duplicate messages, but at the same time many people don't ever even bother to look at e-mail headers. They just want to get a response back and not have to worry about it. Generally, I don't do this, but I got in a hurry doing way too many things at the same time and didn't take the time to delete the extra addresses on one or two e-mails, because I'm used to a few of my other lists where I don't have to worry about it. Again, Hugo I'm sorry for being a bit testy, but I hope this explains my self a little more, and Andreas, thanks for your input! Can't we all just get along. ;) Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFFQJs7HoeeepPau2ERAioNAKCliTPfO02Byj8nSKOqtzH0WtedEQCgxCNx e1pxuplSLhcs4OgFHB4lrX4= =K/BG -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Oct 26 14:25:06 2006 From: ae at op5.se (Andreas Ericsson) Date: Thu, 26 Oct 2006 14:25:06 +0200 Subject: Net-SNMP and SNMP4Nagios In-Reply-To: <45409B3B.8040605@verizon.net> References: <453F7406.4090904@verizon.net> <453FAC96.4070905@verizon.net> <454072D3.1000409@op5.se> <45409B3B.8040605@verizon.net> Message-ID: <4540A922.2030206@op5.se> Max H. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Andreas Ericsson wrote: >> This is actually the preferred way of sending to mailinglists where >> non-subscribers are allowed to post, because the original poster would >> otherwise be cut out of the loop. As there's no way of telling if a >> poster *is* on this list (no, I don't know if it can be posted to >> without subscribing, and I can't be bothered with checking), the only >> sane way to make sure the original poster and everyone participating in >> a thread is to reply to all and hope that people on the list have taken >> the 3 minutes it takes to set up filters to delete duplicate messages >> *hint, hint*. >> >>> I apologize for being to quick to click send instead of taking a peek at >>> the To: fields. Is this working as designed on the Nagios list? Since >>> other lists I'm part of seem to do it the way I mentioned so that you >>> never worry about sending dups. >>> >> The "send-only-to-list-when-replying" option is really only useful if >> only subscribers can post to the list. I assume those other lists are of >> that kind. >> >> Hugo, chill out. Max, you did the right thing. If this list is >> subscriber only, then whoever set it up botched the job and need to fix >> it (although I'm sure SF would be perfectly capable of screwing it up >> and leaving it screwed for all eternity no matter how much grief it >> causes). >> > > Hi Andreas, > > After doing a bit of thinking and Googling, I did come across the > Reply-To munging debate. I found a nice link here explaining why not to > add Reply-To: > > After you read this, things do make sense as to why a list wouldn't add > a Reply-To header, but this comes with some other annoyances as well. > Even the author of the above link explains at the ends, that it > generally runs smooth but you should expect to receive a few e-mails > privately when not using Reply-To headers and it's basically something > you have to learn to deal with. > > I don't mean to beat a dead horse, but with that being said, I believe > that if you aren't going to use the Reply-To then you should be a bit > tolerant on receiving a private message for that simple reason. I > understand everyone is busy and doesn't want to receive duplicate > messages, but at the same time many people don't ever even bother to > look at e-mail headers. They just want to get a response back and not > have to worry about it. > True that. What I object against are messages that start with "Hi Andreas. Glad you could help" addressed only to me, because I get the feeling that they are purposely sent *only* to me, which is very bad form. That said, I don't even see emails addressed only to me anymore as I set up a filter to automatically delete all such emails that should have gone on the Nagios list. Hopefully people that need help will then re-send their requests and then make sure they send it to the right place. > Generally, I don't do this, but I got in a hurry doing way too many > things at the same time and didn't take the time to delete the extra > addresses on one or two e-mails, because I'm used to a few of my other > lists where I don't have to worry about it. > > Again, Hugo I'm sorry for being a bit testy, but I hope this explains my > self a little more, and Andreas, thanks for your input! Can't we all > just get along. ;) > We can certainly try. Hugs and beer all around! ;-) -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Thu Oct 26 14:32:40 2006 From: btmanmeh at verizon.net (Max H.) Date: Thu, 26 Oct 2006 08:32:40 -0400 Subject: Net-SNMP and SNMP4Nagios In-Reply-To: <4540A922.2030206@op5.se> References: <453F7406.4090904@verizon.net> <453FAC96.4070905@verizon.net> <454072D3.1000409@op5.se> <45409B3B.8040605@verizon.net> <4540A922.2030206@op5.se> Message-ID: <4540AAE8.1050802@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andreas Ericsson wrote: > > True that. What I object against are messages that start with "Hi > Andreas. Glad you could help" addressed only to me, because I get the > feeling that they are purposely sent *only* to me, which is very bad > form. That said, I don't even see emails addressed only to me anymore as > I set up a filter to automatically delete all such emails that should > have gone on the Nagios list. Hopefully people that need help will then > re-send their requests and then make sure they send it to the right place. > I agree. My filter dumps the duplicates into my mailing list folders, and since I have an extension for Thunderbird to remove duplicates messages, I just run that once in a blue moon to delete them all. > > We can certainly try. Hugs and beer all around! ;-) > I second the beers all around! Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFFQKroHoeeepPau2ERAl79AJ9Vkz4bzrHwi7QerDGwOEq43OwGDwCePkur ghI3+ceCrrmathoYbSS1pcU= =1/w4 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From odenbach at uni-paderborn.de Thu Oct 26 14:45:49 2006 From: odenbach at uni-paderborn.de (Christopher Odenbach) Date: Thu, 26 Oct 2006 14:45:49 +0200 Subject: String to expect in the content of a web secure In-Reply-To: References: Message-ID: <200610261445.50373.odenbach@uni-paderborn.de> Hi, > But when I try in a web secure, Nagios say that the '-s' command is > not found, and after this, Invalid HTTP response received from host > on port 444 > > ./check_http -H host -p 444 -S -u url_secure -s string > > -s: command not found > Invalid HTTP response received from host on port 444 This look like a shell error, not a plugin output. Maybe a semicolon somewhere in url_secure? > (The url is something like this: > https://xxxxxxx.com:444/part1/part2/part3 ) > > Can sombedy help me to know, how I can find a string in a web secure? Please post the complete command line you use. There is no point in hiding the URL - either it is public, then who cares. Or it is private, then we won't be able to access it, so no problem again. Christopher -- ====================================================== Dipl.-Ing. Christopher Odenbach Zentrum fuer Informations- und Medientechnologien Universitaet Paderborn Raum N5.110 odenbach at uni-paderborn.de Tel.: +49 5251 60 5315 ====================================================== -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iamyolanda at gmail.com Thu Oct 26 15:27:27 2006 From: iamyolanda at gmail.com (Yolanda Santos) Date: Thu, 26 Oct 2006 15:27:27 +0200 Subject: String to expect in the content of a web secure In-Reply-To: <200610261445.50373.odenbach@uni-paderborn.de> References: <200610261445.50373.odenbach@uni-paderborn.de> Message-ID: Hi, I get it!! Well, the problem was in the content of the url. It has special caracters like: ? _ - = So, I have only to add " before and after argument. Like this: ./check_http -H host -p 444 -S -u "url_secure" -s "string" That's all!! (It was easy) On 10/26/06, Christopher Odenbach wrote: > > > Hi, > > > But when I try in a web secure, Nagios say that the '-s' command is > > not found, and after this, Invalid HTTP response received from host > > on port 444 > > > > ./check_http -H host -p 444 -S -u url_secure -s string > > > > -s: command not found > > Invalid HTTP response received from host on port 444 > > This look like a shell error, not a plugin output. Maybe a semicolon > somewhere in url_secure? > > > (The url is something like this: > > https://xxxxxxx.com:444/part1/part2/part3 ) > > > > Can sombedy help me to know, how I can find a string in a web secure? > > Please post the complete command line you use. There is no point in > hiding the URL - either it is public, then who cares. Or it is private, > then we won't be able to access it, so no problem again. > > Christopher > > -- > ====================================================== > Dipl.-Ing. Christopher Odenbach > Zentrum fuer Informations- und Medientechnologien > Universitaet Paderborn > Raum N5.110 > odenbach at uni-paderborn.de > Tel.: +49 5251 60 5315 > ====================================================== > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ktynagios at richard-group.com Thu Oct 26 15:43:04 2006 From: ktynagios at richard-group.com (Kurt Yoder) Date: Thu, 26 Oct 2006 09:43:04 -0400 Subject: troubles with check_by_ssh In-Reply-To: <2e90c57d0610251530y42391aa2vdf9e1d1ccc0d7baf@mail.gmail.com> References: <2e90c57d0610251530y42391aa2vdf9e1d1ccc0d7baf@mail.gmail.com> Message-ID: On Oct 25, 2006, at 6:30 PM, David Garvey wrote: > > I am have problems using the most recent libraries of ssh2 the > commerial version. Here is the error when nagios runs the plug-in. > > Remote command execution failed: warning: You have no controlling > tty. Cannot read confirmation. Sounds like it wants to echo a message to the tty, but can't. Have you tried "su - nagios" (or whatever user nagios is running under) and then ssh'ing to the machine in question? I'd imagine you'll get a message asking whether to trust that host, which may be what is throwing a wrench in the works for you. -- Kurt Yoder The Richard Group ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Thu Oct 26 15:54:03 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Thu, 26 Oct 2006 07:54:03 -0600 Subject: Database server Message-ID: <2D0245E43DEC724F81592D697F05689904C431A5@SIDHQEXCHMB1.Cabelas.Corp> Yes. No. Wait... Yes. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of eusebio_e at vodafone.es Sent: Thursday, October 26, 2006 4:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Database server Nagios 2.x does not provide native database support for configuration and data storage, can I use database server Firebird? Best regards and thank you. Eusebio Esteban ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From housey at sme-ecom.co.uk Thu Oct 26 16:25:02 2006 From: housey at sme-ecom.co.uk (Paul Houselander) Date: Thu, 26 Oct 2006 15:25:02 +0100 Subject: Open Relay Check Plugin? Message-ID: Hi Am kind of new to nagios but have a working installation now. Ive looked in nagios exchange and couldnt find a plugin that would check for an open relay and wondered if anyone knew if one existed. Ive got a few basic scripts that I use at the moment to check if one of my customers has gone open relay but thought it would sit nicely with nagios? Cheers Paul ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Thu Oct 26 16:40:23 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Thu, 26 Oct 2006 16:40:23 +0200 Subject: Open Relay Check Plugin? In-Reply-To: References: Message-ID: <25A463F4-1D51-48FA-BE12-617C4C9AE840@kilala.nl> On 26 Oct, 2006, at 16:25, Paul Houselander wrote: > Ive looked in nagios exchange and couldnt find a plugin that would > check for > an open relay and wondered if anyone knew if one existed. Ive got a > few > basic scripts that I use at the moment to check if one of my > customers has > gone open relay but thought it would sit nicely with nagios? I think it'd be a great idea if you put these checks together into one nicely polished plugin! It's not something I have a need for right now, but I'm sure there are hundreds of people who'd love to have a check for this. You can post it on the Exchange when its done. Keep us posted :) Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Thu Oct 26 16:56:17 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Thu, 26 Oct 2006 15:56:17 +0100 Subject: troubles with check_by_ssh In-Reply-To: <2e90c57d0610251530y42391aa2vdf9e1d1ccc0d7baf@mail.gmail.com> References: <2e90c57d0610251530y42391aa2vdf9e1d1ccc0d7baf@mail.gmail.com> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 25/10/2006 23:30:19: [snip] > Here is the /var/log/messages on host18... > > Oct 25 15:10:10 host18 sshd2[870]: connection from "10.1.1.1" > Oct 25 15:10:10 host18 sshd2[13080]: DNS lookup failed for "10.1.1.1". > Oct 25 15:10:10 host18 sshd2[13080]: Remote host disconnected: Key > exchange failed. > Oct 25 15:10:10 host18 sshd2[13080]: Key exchange failed in remote: > 'Key exchange failed.' The log file is telling exactly what the problem is.. The ssh key exchange failed.. Fix the key exchange.. There's a problem with the private/public keys.. Maybe they don't exist on the remote server, or aren't set up right, or don't have the right permissions. With the commercial SSH package I'm using, it uses keys in the ~/.ssh2 folder.. It's not the same as OpenSSH, and the keys are in a different format. You should look up the documentation for SSH2 for your operating system and set up keynegotiation for the user that is connecting to host host18. You need key exchange to work before you can use the check_by_ssh plugin. There is good documentation for Commercial SSH, that's why you pay for it. rob This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at gridshield.net Thu Oct 26 17:31:39 2006 From: marc at gridshield.net (Marc DeTrano) Date: Thu, 26 Oct 2006 09:31:39 -0600 Subject: Charts and Graphs and Nagios Oh My! In-Reply-To: References: Message-ID: <4540D4DB.1020004@gridshield.net> My company has this project: http://perf2rrd.sourceforge.net/ We use perf2rrd in combination with DRRAW to chart perfdata. It requires plugins that support the perfdata standard (I'd rather rewrite some plugins than try to regex this data out of standard output--just my preference). perf2rrd itself requires very little configuration. Performs ok for our needs--one of our installs has about 3500 items of perfdata being updated every 2 minutes. Marc DeTrano Gridshield, S.A. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From NRogers at netopia.com Thu Oct 26 18:31:20 2006 From: NRogers at netopia.com (Rogers, Nick) Date: Thu, 26 Oct 2006 11:31:20 -0500 Subject: Referencing hostgroups in hostgroup definitions In-Reply-To: <4540D4DB.1020004@gridshield.net> References: <4540D4DB.1020004@gridshield.net> Message-ID: Hi folks, I have devices on my network that are "dumb" (unmanaged switches, DSL/cable modems, etc.) that I have host definitions for but set to never notify. These devices are simply entered to get displayed in the Status map diagram to show parent device relationships. I have a hostgroup defined that explicitly lists the dumb hosts in the members directive named DUMBHOSTS. I want a hostgroup that includes everything except the dumb hosts so I can have just the responsive hosts listed in the Service Status Details For All Hosts page. I tried !DUMBHOSTS in the members directive, but Nagios complains about Error: Could not find any host matching 'DUMBHOSTS' Error: Could not expand member hosts specified in hostgroup (config file ..