From h.januschka at krone.at Wed Oct 1 09:55:05 2003 From: h.januschka at krone.at (Helmut Januschka) Date: Wed, 1 Oct 2003 09:55:05 +0200 Subject: AW: Stale log files Message-ID: <481EAEA6BAED9A4EAF26BA149197AA3E87F43B@office1.online.krone.at> hope outlook doesnt smash my script :))) copy paste it into check_filemtime.sh chmod +x it and run ./check_filemtime.sh -h cu klewan -------------------------- #!/bin/bash export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin PROGNAME=`basename $0` PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` REVISION=`echo '$Revision: 1.0 $' | sed -e 's/[^0-9.]//g'` . $PROGPATH/utils.sh print_usage() { echo -e "File mTime Check Plugin $REVISION\nWritten by Helmut Januschka(klewan at chello.at)" echo -e "* Checks if Given FILE F has been written within last N Hours "; echo "---------------------Usage-----------------------------------------------" echo "-F File Def:/var/log/messages"; echo "-w If not written in W hours WARN Def:2"; echo "-c If not written in C hours CRITICAL Def:3"; echo "-X Xtended Evaluate for FILE (e.g ls|grep new) Def:"; echo "-Y Newest file from Directory -F (Must be a directory) Def:"; echo "-h Show This Help" echo "-------------------------------------------------------------------------" print_revision } #Seconds Converter conv_sec() { SEC=$ODIFF; DAYS=`perl -e "print int($SEC/(24*60*60))"`; HOURS=`perl -e "print int(($SEC/(60*60))%24)"`; MINUTES=`perl -e "print int(($SEC/60)%60)"`; SECONDS=`perl -e "print int($SEC%60)"`; DIFF="$DAYS d $HOURS h $MINUTES m $SECONDS s"; } ##### #Defs: FILE=/var/log/messages WARN=2 CRIT=3 YEST=0; while getopts F:w:c:X:Y:h o do case $o in F) FILE=$OPTARG;; w) WARN=$OPTARG;; c) CRIT=$OPTARG;; X) FILE=$FILE/`eval "$OPTARG"`;; Y) YEST=1;; h) print_usage; exit $STATE_UNKOWN;; esac done if [ $YEST = 1 ]; then # get neweset file from $FILE (wich is a directory) FILE=$FILE/`ls -t $FILE|head -n 1`; fi; if [ -e $FILE ]; then #Fige is here FTIME=`stat -t $FILE|awk '{print $13}'`; else echo "FileChecker($FILE, not found) [FigeNotFound] unkown `date`"; exit $STATE_CRITICAL; fi; TNOW=`date +%s` DIFF=`expr $TNOW \- $FTIME` ODIFF=$DIFF; EXT="" WARN=`expr $WARN \* 60 \* 60`; CRIT=`expr $CRIT \* 60 \* 60`; conv_sec; if [ $ODIFF -gt $CRIT ]; then #ahhh criticallll!!! echo "FileChecker($FILE, Differenc: $DIFF $EXT needed $CRIT seconds) [DiffCheck] critical `date`" exit $STATE_CRITICAL; fi; if [ $ODIFF -gt $WARN ]; then #then oooops we should warn :) echo "FileChecker($FILE, Differenc: $DIFF $EXT needed $WARN seconds) [DiffCheck] warning `date`" exit $STATE_WARNING; fi; echo "FileChecker($FILE, Differenc: $DIFF $EXT) [DiffCheck] ok `date`" ------------------------ -----Urspr?ngliche Nachricht----- Von: Mark Snyder [mailto:Mark.Snyder at worldgaming.com] Gesendet: Dienstag, 30. September 2003 22:26 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Stale log files Is there a pluggin to check for stale log files? What I mean is if a log file has not been updated in x amount of time an error should be generated. I saw the check_log file and it could be modified to check for this. I just thought I should check and see if there was something to do this already. Mark Snyder ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomas.fischer at quadriga.com Wed Oct 1 11:07:41 2003 From: thomas.fischer at quadriga.com (Fischer, Thomas) Date: Wed, 1 Oct 2003 10:07:41 +0100 Subject: check_nagios isn't very smart. Message-ID: <5D339AE687B0C8438185AE62ED06697D035BA4@ukchmail01.mail.quadriga.com> Using Nagios to monitor itself is quite useless anyway. If Nagios falls over then you won't see any results until it is restarted. An additional way is to use service freshness checks. The cron approach is the only way i see this going forward. If you use a distributed set-up you can use nsca_send to transfer the status back to a central server. If not then let the cron job mail or page you. An additional way is to use service freshness checks with a distrributed set-up. If no status is transfered for a certain amount of time you write a check_command that alerts you. And yes nagios can fork multiple processes out so 1+ processes is OK. Zombie processes you can watch with Nagios itself and you can (and should) also incorporate this into the cron job to see if there are any dead nagios processes. To be honest i never really had any zombies with Nagios for what i can remember. Tom -----Original Message----- From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] Sent: 30 September 2003 17:51 To: nagios-users Subject: [Nagios-users] check_nagios isn't very smart. Okay, I tuned our nagios system, here. With an increase in efficiency and "intelligence" there's a lot less false alerts. However, that in itself is causing another problem. Since check_nagios depends on the log being updated to figure out if nagios is running, it often thinks it's dead. We can easily go an hour without an update to the log file. I fixed this by setting log_service_retries=1, but that seems ridiculous. Turning on what amounts to debugging to trick another element of nagios. So, my question is, is there another way to watch nagios that doesn't cause me to have to pile tons of garbage into my filesystem? Some things I was considering, and the reasons I haven't [yet?]: option 1 - cron once per 1 min (and have a 2 min nagios_check max): if [ "`ps -ef |grep nagios|grep -v grep|wc`" -gt 2 ]; then echo "[`date +%s`] Heartbeat">> nagios.log; fi problem - What about zombied processes? I'm falsely assuming 1 or more nagios processes means it's okay. option 2 - change the nagios_check_command in cgi.cfg to use a script with a bunch more logic, but basically use 'lynx -head -dump -auth=user:pwd \ "http://localhost/nagios/cgi-bin/extinfo.cgi?type=1&host=hostname"' problem - I'm depending on http, which I guess is okay, since if http is failing, I'd be updating the nagios.log anyway with that error and sending out alerts. also, I have to re-invent the process with, so far, unknown feasibility, and I don't have much time to waste if it turns out this is a bad idea for reasons I didn't think of (hence my asking). Thoughts? If I do end up figuring out a new way to do it, I'll certainly post it. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail is the property of Quadriga Worldwide Ltd The message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company. N????????X???'???u???)???Y?\?g????????????b?H zG(??5?"???z?&j)b? b??Z?*,????X???(?? ~??zw???i?????l???q????z????l?X??)?????*,?????^j????nu?Z?*,????????"????*'???9,!zz?????x?(????z???0??h??.??+?)??w??)e?+$m????????u????e From Alexis.chauvin at courtsplc.com Wed Oct 1 13:11:30 2003 From: Alexis.chauvin at courtsplc.com (Alexis Chauvin) Date: Wed, 1 Oct 2003 12:11:30 +0100 Subject: (no subject) Message-ID: <9CE577193CB1344E9F9315263C7172DE2815C0@perceval.london.courtsplc.com> Hi, Does anybody has a problem with macros and notification by email ? It appears that I can't have $SERVISTATE$ and $SERVICEDESC$ in the notification by email. In the documentation, it is written that these macros should be available for service notifications. I checked that the variables in the config files are not blank, and I use the "default" command for emailing, provided by the "make install-config". Any ideas ? Thanks Alexis Alexis Chauvin International IT tel +44(0)2084109476 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Wed Oct 1 15:12:27 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 1 Oct 2003 08:12:27 -0500 Subject: (no subject) Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EF09@mismail.ena.com> This works for me -- # 'service-notify-by-email' command definition define command{ command_name service-notify-by-email command_line /bin/echo -e "Subject: Service $SERVICEDESC$ $SERVICESTATE$ alert for $HOSTNAME$!\n\n***** Nagios *****\n\ nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $SERVICESTATE$\nAddress: $HOSTADDRESS$\n\nService: $SERVICEDESC$\nI nfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail -s '** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **' $CONTACTEMAIL$ } When you say that you checked the variables in the config files and they weren't blank, what do you mean? They shouldn't be specified as they are used internally by nagios and change for each notification. -- Marc ________________________________________ From: Alexis Chauvin [mailto:Alexis.chauvin at courtsplc.com] Sent: Wednesday, October 01, 2003 6:12 AM To: nagios-users at lists.sourceforge.net Hi, ? Does anybody has a problem ?with macros and notification by email ? It appears that I can't have $SERVISTATE$ and $SERVICEDESC$ in the notification by email. In the documentation, it is written that these macros should be available for service notifications. ? I checked that the variables in the config files are not blank, and I use the "default" command for emailing, provided by the "make install-config". ? Any ideas ? ? Thanks ? Alexis ? ? ? Alexis Chauvin International IT tel +44(0)2084109476 ? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Alexis.chauvin at courtsplc.com Wed Oct 1 15:18:38 2003 From: Alexis.chauvin at courtsplc.com (Alexis Chauvin) Date: Wed, 1 Oct 2003 14:18:38 +0100 Subject: (no subject) Message-ID: <9CE577193CB1344E9F9315263C7172DE432955@perceval.london.courtsplc.com> Well, I 've got the same command, but what I meant is that I filled all options in the config files. But the macros don't get the values, that is, I receive email with blank spaces instead of informations Cheers, alex -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: 01 October 2003 14:12 To: Alexis Chauvin; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] (no subject) This works for me -- # 'service-notify-by-email' command definition define command{ command_name service-notify-by-email command_line /bin/echo -e "Subject: Service $SERVICEDESC$ $SERVICESTATE$ alert for $HOSTNAME$!\n\n***** Nagios *****\n\ nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $SERVICESTATE$\nAddress: $HOSTADDRESS$\n\nService: $SERVICEDESC$\nI nfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail -s '** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **' $CONTACTEMAIL$ } When you say that you checked the variables in the config files and they weren't blank, what do you mean? They shouldn't be specified as they are used internally by nagios and change for each notification. -- Marc ________________________________________ From: Alexis Chauvin [mailto:Alexis.chauvin at courtsplc.com] Sent: Wednesday, October 01, 2003 6:12 AM To: nagios-users at lists.sourceforge.net Hi, ? Does anybody has a problem ?with macros and notification by email ? It appears that I can't have $SERVISTATE$ and $SERVICEDESC$ in the notification by email. In the documentation, it is written that these macros should be available for service notifications. ? I checked that the variables in the config files are not blank, and I use the "default" command for emailing, provided by the "make install-config". ? Any ideas ? ? Thanks ? Alexis ? ? ? Alexis Chauvin International IT tel +44(0)2084109476 ? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Oct 1 15:26:45 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 1 Oct 2003 08:26:45 -0500 Subject: (no subject) Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EF0E@mismail.ena.com> Well, without seeing your specific host, service and notify commands and a sample notification email, it's going to be hard to diagnose further. This functionality is very stable within nagios itself (i.e. it's very unlikely that it's a bug) and is more likely the result of a formatting error or the use of some unusual character in a definition somewhere. Also, since we're relying on other components of the OS like /bin/mail, OS vendor and version information might prove useful as well for vendor specific implementation issues. Finally, as the footer says -- ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Marc > -----Original Message----- > From: Alexis Chauvin [mailto:Alexis.chauvin at courtsplc.com] > Sent: Wednesday, October 01, 2003 8:19 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > > Well, I 've got the same command, but what I meant is that I filled all > options in the config files. But the macros don't get the values, that is, > I receive email with blank spaces instead of informations > > > Cheers, > > alex > > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: 01 October 2003 14:12 > To: Alexis Chauvin; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] (no subject) > > This works for me -- > > # 'service-notify-by-email' command definition > define command{ > command_name service-notify-by-email > command_line /bin/echo -e "Subject: Service $SERVICEDESC$ > $SERVICESTATE$ alert for $HOSTNAME$!\n\n***** Nagios *****\n\ > nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $SERVICESTATE$\nAddress: $HOSTADDRESS$\n\nService: $SERVICEDESC$\nI > nfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail -s '** > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ > **' $CONTACTEMAIL$ > } > > When you say that you checked the variables in the config files and they > weren't blank, what do you mean? They shouldn't be specified as they are > used internally by nagios and change for each notification. > > -- > Marc > > ________________________________________ > From: Alexis Chauvin [mailto:Alexis.chauvin at courtsplc.com] > Sent: Wednesday, October 01, 2003 6:12 AM > To: nagios-users at lists.sourceforge.net > > Hi, > > Does anybody has a problem ?with macros and notification by email ? > It appears that I can't have $SERVISTATE$ and $SERVICEDESC$ in the > notification by email. > In the documentation, it is written that these macros should be available > for service notifications. > > I checked that the variables in the config files are not blank, and I use > the "default" command for emailing, provided by the "make install-config". > > Any ideas ? > > Thanks > > Alexis > > > > Alexis Chauvin > International IT > tel +44(0)2084109476 > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Alexis.chauvin at courtsplc.com Wed Oct 1 15:39:33 2003 From: Alexis.chauvin at courtsplc.com (Alexis Chauvin) Date: Wed, 1 Oct 2003 14:39:33 +0100 Subject: (no subject) Message-ID: <9CE577193CB1344E9F9315263C7172DE2815C1@perceval.london.courtsplc.com> Glad this one wasn't > /dev/null ;-) Sorry, this is the informations : OS :redhat 9.0, nagios 1.1. So I'm sure there are no problems with /bin/mail ... And your first answer, marc, made me think ... In fact, I had only one command to send email, which is the one by default : "notify-by-email", and I was using it for both services and hosts. Now, I have (in $NAGIOS_DIR/etc/miscommands.cfg ) : # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\n State: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } (I just copied this from your first message ..) # 'service-notify-by-email' command definition define command{ command_name service-notify-by-email command_line /bin/echo -e "Subject: Service $SERVICEDESC$ $SERVICESTATE$ alert for $HOSTNAME$!\n\n***** Nagios **** *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $SERVICESTATE$\nAddress: $HOSTADDRESS$\n\nService: $SERVI CEDESC$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail -s '** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **' $CONTACTEMAIL$ } and surprisingly, I now have all the informations I need : ***** Nagios ***** Notification Type: PROBLEM Host: test State: DOWN Address: 10.100.10.15 Info: PING CRITICAL - Host Unreachable (10.100.10.15) Date/Time: Wed Oct 1 14:13:45 BST 2003 For the host notification at least, didn't test yet for services. Thank you very much for that. Regards Alexis -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: 01 October 2003 14:27 To: Alexis Chauvin Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] (no subject) Well, without seeing your specific host, service and notify commands and a sample notification email, it's going to be hard to diagnose further. This functionality is very stable within nagios itself (i.e. it's very unlikely that it's a bug) and is more likely the result of a formatting error or the use of some unusual character in a definition somewhere. Also, since we're relying on other components of the OS like /bin/mail, OS vendor and version information might prove useful as well for vendor specific implementation issues. Finally, as the footer says -- ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Marc > -----Original Message----- > From: Alexis Chauvin [mailto:Alexis.chauvin at courtsplc.com] > Sent: Wednesday, October 01, 2003 8:19 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > > Well, I 've got the same command, but what I meant is that I filled all > options in the config files. But the macros don't get the values, that is, > I receive email with blank spaces instead of informations > > > Cheers, > > alex > > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: 01 October 2003 14:12 > To: Alexis Chauvin; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] (no subject) > > This works for me -- > > # 'service-notify-by-email' command definition > define command{ > command_name service-notify-by-email > command_line /bin/echo -e "Subject: Service $SERVICEDESC$ > $SERVICESTATE$ alert for $HOSTNAME$!\n\n***** Nagios *****\n\ > nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $SERVICESTATE$\nAddress: $HOSTADDRESS$\n\nService: $SERVICEDESC$\nI > nfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail -s '** > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ > **' $CONTACTEMAIL$ > } > > When you say that you checked the variables in the config files and they > weren't blank, what do you mean? They shouldn't be specified as they are > used internally by nagios and change for each notification. > > -- > Marc > > ________________________________________ > From: Alexis Chauvin [mailto:Alexis.chauvin at courtsplc.com] > Sent: Wednesday, October 01, 2003 6:12 AM > To: nagios-users at lists.sourceforge.net > > Hi, > > Does anybody has a problem ?with macros and notification by email ? > It appears that I can't have $SERVISTATE$ and $SERVICEDESC$ in the > notification by email. > In the documentation, it is written that these macros should be available > for service notifications. > > I checked that the variables in the config files are not blank, and I use > the "default" command for emailing, provided by the "make install-config". > > Any ideas ? > > Thanks > > Alexis > > > > Alexis Chauvin > International IT > tel +44(0)2084109476 > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Snyder at worldgaming.com Wed Oct 1 15:49:21 2003 From: Mark.Snyder at worldgaming.com (Mark Snyder) Date: Wed, 1 Oct 2003 09:49:21 -0400 Subject: Stale log files Message-ID: <44DEF9C222BF4A47B3A361765EC173370EF1D0@anakin.worldgaming.local> I need to specify the WARN and CRIT values as seconds. It looks like this script does the check of ODIFF and WARN or CRIT in seconds. If I change the text to read seconds instead of hours and remove the following lines WARN=`expr $WARN \* 60 \* 60`; CRIT=`expr $CRIT \* 60 \* 60`; Should this work? I will be testing it. Just commenting on the script. Mark Snyder -----Original Message----- From: Helmut Januschka [mailto:h.januschka at krone.at] Sent: Wednesday, October 01, 2003 3:55 AM To: Mark Snyder; nagios-users at lists.sourceforge.net Subject: AW: [Nagios-users] Stale log files hope outlook doesnt smash my script :))) copy paste it into check_filemtime.sh chmod +x it and run ./check_filemtime.sh -h cu klewan -------------------------- #!/bin/bash export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin PROGNAME=`basename $0` PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` REVISION=`echo '$Revision: 1.0 $' | sed -e 's/[^0-9.]//g'` . $PROGPATH/utils.sh print_usage() { echo -e "File mTime Check Plugin $REVISION\nWritten by Helmut Januschka(klewan at chello.at)" echo -e "* Checks if Given FILE F has been written within last N Hours "; echo "---------------------Usage-----------------------------------------------" echo "-F File Def:/var/log/messages"; echo "-w If not written in W hours WARN Def:2"; echo "-c If not written in C hours CRITICAL Def:3"; echo "-X Xtended Evaluate for FILE (e.g ls|grep new) Def:"; echo "-Y Newest file from Directory -F (Must be a directory) Def:"; echo "-h Show This Help" echo "-------------------------------------------------------------------------" print_revision } #Seconds Converter conv_sec() { SEC=$ODIFF; DAYS=`perl -e "print int($SEC/(24*60*60))"`; HOURS=`perl -e "print int(($SEC/(60*60))%24)"`; MINUTES=`perl -e "print int(($SEC/60)%60)"`; SECONDS=`perl -e "print int($SEC%60)"`; DIFF="$DAYS d $HOURS h $MINUTES m $SECONDS s"; } ##### #Defs: FILE=/var/log/messages WARN=2 CRIT=3 YEST=0; while getopts F:w:c:X:Y:h o do case $o in F) FILE=$OPTARG;; w) WARN=$OPTARG;; c) CRIT=$OPTARG;; X) FILE=$FILE/`eval "$OPTARG"`;; Y) YEST=1;; h) print_usage; exit $STATE_UNKOWN;; esac done if [ $YEST = 1 ]; then # get neweset file from $FILE (wich is a directory) FILE=$FILE/`ls -t $FILE|head -n 1`; fi; if [ -e $FILE ]; then #Fige is here FTIME=`stat -t $FILE|awk '{print $13}'`; else echo "FileChecker($FILE, not found) [FigeNotFound] unkown `date`"; exit $STATE_CRITICAL; fi; TNOW=`date +%s` DIFF=`expr $TNOW \- $FTIME` ODIFF=$DIFF; EXT="" WARN=`expr $WARN \* 60 \* 60`; CRIT=`expr $CRIT \* 60 \* 60`; conv_sec; if [ $ODIFF -gt $CRIT ]; then #ahhh criticallll!!! echo "FileChecker($FILE, Differenc: $DIFF $EXT needed $CRIT seconds) [DiffCheck] critical `date`" exit $STATE_CRITICAL; fi; if [ $ODIFF -gt $WARN ]; then #then oooops we should warn :) echo "FileChecker($FILE, Differenc: $DIFF $EXT needed $WARN seconds) [DiffCheck] warning `date`" exit $STATE_WARNING; fi; echo "FileChecker($FILE, Differenc: $DIFF $EXT) [DiffCheck] ok `date`" ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From h.januschka at krone.at Wed Oct 1 16:20:06 2003 From: h.januschka at krone.at (Helmut Januschka) Date: Wed, 1 Oct 2003 16:20:06 +0200 Subject: AW: Stale log files Message-ID: <481EAEA6BAED9A4EAF26BA149197AA3E87F442@office1.online.krone.at> yeah the lines just calculates the given hours into seconds coz we "mainly" use it for 24 hour check of files cu -----Urspr?ngliche Nachricht----- Von: Mark Snyder [mailto:Mark.Snyder at worldgaming.com] Gesendet: Mittwoch, 01. Oktober 2003 15:49 An: Helmut Januschka; nagios-users at lists.sourceforge.net Betreff: RE: [Nagios-users] Stale log files I need to specify the WARN and CRIT values as seconds. It looks like this script does the check of ODIFF and WARN or CRIT in seconds. If I change the text to read seconds instead of hours and remove the following lines WARN=`expr $WARN \* 60 \* 60`; CRIT=`expr $CRIT \* 60 \* 60`; Should this work? I will be testing it. Just commenting on the script. Mark Snyder -----Original Message----- From: Helmut Januschka [mailto:h.januschka at krone.at] Sent: Wednesday, October 01, 2003 3:55 AM To: Mark Snyder; nagios-users at lists.sourceforge.net Subject: AW: [Nagios-users] Stale log files hope outlook doesnt smash my script :))) copy paste it into check_filemtime.sh chmod +x it and run ./check_filemtime.sh -h cu klewan -------------------------- #!/bin/bash export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin PROGNAME=`basename $0` PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` REVISION=`echo '$Revision: 1.0 $' | sed -e 's/[^0-9.]//g'` . $PROGPATH/utils.sh print_usage() { echo -e "File mTime Check Plugin $REVISION\nWritten by Helmut Januschka(klewan at chello.at)" echo -e "* Checks if Given FILE F has been written within last N Hours "; echo "---------------------Usage-----------------------------------------------" echo "-F File Def:/var/log/messages"; echo "-w If not written in W hours WARN Def:2"; echo "-c If not written in C hours CRITICAL Def:3"; echo "-X Xtended Evaluate for FILE (e.g ls|grep new) Def:"; echo "-Y Newest file from Directory -F (Must be a directory) Def:"; echo "-h Show This Help" echo "-------------------------------------------------------------------------" print_revision } #Seconds Converter conv_sec() { SEC=$ODIFF; DAYS=`perl -e "print int($SEC/(24*60*60))"`; HOURS=`perl -e "print int(($SEC/(60*60))%24)"`; MINUTES=`perl -e "print int(($SEC/60)%60)"`; SECONDS=`perl -e "print int($SEC%60)"`; DIFF="$DAYS d $HOURS h $MINUTES m $SECONDS s"; } ##### #Defs: FILE=/var/log/messages WARN=2 CRIT=3 YEST=0; while getopts F:w:c:X:Y:h o do case $o in F) FILE=$OPTARG;; w) WARN=$OPTARG;; c) CRIT=$OPTARG;; X) FILE=$FILE/`eval "$OPTARG"`;; Y) YEST=1;; h) print_usage; exit $STATE_UNKOWN;; esac done if [ $YEST = 1 ]; then # get neweset file from $FILE (wich is a directory) FILE=$FILE/`ls -t $FILE|head -n 1`; fi; if [ -e $FILE ]; then #Fige is here FTIME=`stat -t $FILE|awk '{print $13}'`; else echo "FileChecker($FILE, not found) [FigeNotFound] unkown `date`"; exit $STATE_CRITICAL; fi; TNOW=`date +%s` DIFF=`expr $TNOW \- $FTIME` ODIFF=$DIFF; EXT="" WARN=`expr $WARN \* 60 \* 60`; CRIT=`expr $CRIT \* 60 \* 60`; conv_sec; if [ $ODIFF -gt $CRIT ]; then #ahhh criticallll!!! echo "FileChecker($FILE, Differenc: $DIFF $EXT needed $CRIT seconds) [DiffCheck] critical `date`" exit $STATE_CRITICAL; fi; if [ $ODIFF -gt $WARN ]; then #then oooops we should warn :) echo "FileChecker($FILE, Differenc: $DIFF $EXT needed $WARN seconds) [DiffCheck] warning `date`" exit $STATE_WARNING; fi; echo "FileChecker($FILE, Differenc: $DIFF $EXT) [DiffCheck] ok `date`" ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jalbr at groupwise.umn.edu Wed Oct 1 16:31:16 2003 From: jalbr at groupwise.umn.edu (James M. Albright) Date: Wed, 01 Oct 2003 09:31:16 -0500 Subject: Help with NRPE 2.0 Message-ID: I check out the new FAQ and did everything it said and still getting the same error. The command I entered to disable SSL was './configure --disable-ssl' I have no clue what it could be. Jim Albright >>> "Dave van Nierop" 09/30/03 11:33AM >>> Check out the FAQ. Ethan updated this ..... http://www.nagios.org/faqs/viewfaq.php?faq_id=191&expand=false&showdesc= true -----Original Message----- From: James M. Albright [mailto:jalbr at groupwise.umn.edu] Sent: Tuesday, September 30, 2003 11:10 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help with NRPE 2.0 I just installed Nagios on a RedHat 7.3 and have everything running great with monitoring NT boxes for disk space and process. Now I want to monitor Solaris boxes. So I added NRPE to the remote host following the instruction step by step. After getting everything started I get CHECK_NRPE: Error - Could not complete SSL handshake on the Nagios. I reconfigured with out SSL and still get the same error. I have done a lot of searches and have not been able to find any solution to my problem any help would be great Thanks Jim Albright This e-mail and its attachments have been scanned for viruses. OIT/NDIS - University of Minnesota ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From schneider at wor.net Wed Oct 1 16:36:54 2003 From: schneider at wor.net (Albert Schneider) Date: Wed, 01 Oct 2003 16:36:54 +0200 Subject: Message-ID: <3F7AE686.7000304@wor.net> confirm 968459 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Wed Oct 1 16:42:41 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Wed, 1 Oct 2003 15:42:41 +0100 Subject: Passive checks, freshness and notification. Message-ID: <136701c3882a$447491c0$03bff40a@Exponentiale.com> Hi all, I have a problem getting passive check notification working after I had set it up for the first time. I could see the SERVICE ALERT in nagios.log from the passive check but no SERVICE NOTIFICATIONS. The only way I could get it working was to enable check_freshness. Then the notifications started. So my configuration looked as below: define service{ name my-service active_checks_enabled no passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 1 freshness_threshold 86400 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 is_volatile 0 check_period none max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 contact_groups some-group notification_interval 120 notification_period 24x7 notification_options w,c,r } define service{ use my-service ; template host_name myhost service_description interface1 check_command check_ifoperstatus!35 } Today just over 24 hours after I got it working (note the freshness_threshold) it has stopped working. If I turn check_freshness off it now works, when it originally wouldn't work with check_freshness off. So, I need to understand what I am doing wrong in configuring passive checks. Any ideas what's wrong with the configuration? Thanks, Jim ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Oct 1 16:45:21 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 1 Oct 2003 09:45:21 -0500 Subject: Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EF14@mismail.ena.com> Roger. 968459. The pie is on the shelf. Repeat. The pie is on the shelf. Over and out. > -----Original Message----- > From: Albert Schneider [mailto:schneider at wor.net] > Sent: Wednesday, October 01, 2003 9:37 AM > To: nagios-users at lists.sourceforge.net > > confirm 968459 > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschelin at hq.nasa.gov Wed Oct 1 17:08:51 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 01 Oct 2003 11:08:51 -0400 Subject: In-Reply-To: <5DB017510818EC468B05BD7BD9EACF8303E7EF14@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF8303E7EF14@mismail.ena.com> Message-ID: <1065020930.31416.545.camel@unixgod.hq.nasa.gov> Warning: Wrong confirmation phrase. The Wind is in The Buffalo. Confirm. On Wed, 2003-10-01 at 10:45, Marc Powell wrote: > Roger. 968459. The pie is on the shelf. Repeat. The pie is on the shelf. > Over and out. > > > -----Original Message----- > > From: Albert Schneider [mailto:schneider at wor.net] > > Sent: Wednesday, October 01, 2003 9:37 AM > > To: nagios-users at lists.sourceforge.net > > > > confirm 968459 > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 yahoo.com Wed Oct 1 17:27:04 2003 From: td3201 at yahoo.com (Terry) Date: Wed, 1 Oct 2003 08:27:04 -0700 (PDT) Subject: check_nt_disk - perfdata not being put into emails Message-ID: <20031001152705.46916.qmail@web60303.mail.yahoo.com> Hello, I am using the check_nt plugin to check disk information on a windows box. On the webpage I am getting all the necessary information: D:\ - total: 13.01 Gb - used: 10.57 Gb (81%) - free 2.43 Gb (19%) However, for 'Additional Info' in the emails I am only getting: D: This is all I have for illegal_macro_output_chars: `~$&|'"<> I even tried disabling that option and i am still not getting the additional info. Any ideas? Thanks! ===== Terry __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tex at techmergency.com Wed Oct 1 17:29:25 2003 From: tex at techmergency.com (Tex Mitchell) Date: Wed, 1 Oct 2003 10:29:25 -0500 Subject: newbie stuff? Message-ID: <4B150442E2198E45A373FB5FAA9F4EBF6E06@executive.techmergency.com> I'm having a problem with the nagios.lock file. It complains that it's not there. I made the file with nothing in it (As I understand it, it's supposed to be auto-propagated with the current Nagios PID) to see if that would kick-start it, but then it complains that it can't do a "ps -p" without a PID. Paul? Anybody? Thanks, Tex Mitchell tex at techmergency.com http://techmergency.com TECHMERGENCY, Inc 3915 Guadalupe St Austin, TX 78751 ph:(866)NEED-TECH fax:(877)708-0970 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Alexis.chauvin at courtsplc.com Wed Oct 1 17:44:00 2003 From: Alexis.chauvin at courtsplc.com (Alexis Chauvin) Date: Wed, 1 Oct 2003 16:44:00 +0100 Subject: Passive checks, freshness and notification. Message-ID: <9CE577193CB1344E9F9315263C7172DE432957@perceval.london.courtsplc.com> Hey, It seems like you never check this service, Cause check_period is set to "none". Plus, you should add this line to my-service : Register no, because it's a template. Alexis -----Original Message----- From: Jim Mozley [mailto:jim.mozley at exponential-e.com] Sent: 01 October 2003 15:43 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Passive checks, freshness and notification. Hi all, I have a problem getting passive check notification working after I had set it up for the first time. I could see the SERVICE ALERT in nagios.log from the passive check but no SERVICE NOTIFICATIONS. The only way I could get it working was to enable check_freshness. Then the notifications started. So my configuration looked as below: define service{ name my-service active_checks_enabled no passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 1 freshness_threshold 86400 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 is_volatile 0 check_period none max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 contact_groups some-group notification_interval 120 notification_period 24x7 notification_options w,c,r } define service{ use my-service ; template host_name myhost service_description interface1 check_command check_ifoperstatus!35 } Today just over 24 hours after I got it working (note the freshness_threshold) it has stopped working. If I turn check_freshness off it now works, when it originally wouldn't work with check_freshness off. So, I need to understand what I am doing wrong in configuring passive checks. Any ideas what's wrong with the configuration? Thanks, Jim ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.pounsett at cira.ca Wed Oct 1 17:48:11 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 1 Oct 2003 11:48:11 -0400 (EDT) Subject: newbie stuff? In-Reply-To: <4B150442E2198E45A373FB5FAA9F4EBF6E06@executive.techmergency.com> References: <4B150442E2198E45A373FB5FAA9F4EBF6E06@executive.techmergency.com> Message-ID: On Wed, 1 Oct 2003, Tex Mitchell wrote: > I'm having a problem with the nagios.lock file. It complains that it's not > there. I made the file with nothing in it (As I understand it, it's > supposed to be auto-propagated with the current Nagios PID) to see if that > would kick-start it, but then it complains that it can't do a "ps -p" > without a PID. Paul? Anybody? The startup script produces that error if, after starting Nagios, the lockfile still doesn't exist. This is a bit misleading... the real complaint is that Nagios didn't start properly. Check your nagios.log file for error messages -- most likely something is there about a missing or malformed config file. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Wed Oct 1 17:49:42 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Wed, 1 Oct 2003 16:49:42 +0100 Subject: Passive checks, freshness and notification. References: <9CE577193CB1344E9F9315263C7172DE432957@perceval.london.courtsplc.com> Message-ID: <142801c38833$a11a2260$03bff40a@Exponentiale.com> It seems like you never check this service, Cause check_period is set to "none". Plus, you should add this line to my-service : Register no, because it's a template. Alexis I had check_period as none because I only wanted to use passive checks. Is this wrong? I had "register 0" in the template, is this the same as "register no". Using 0 seemed to follow the examples, in fact I had "active_check_enabled 0" rather than using "no" but changed this when I googled and found an example. Jim define service{ name my-service active_checks_enabled no passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 1 freshness_threshold 86400 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 is_volatile 0 check_period none max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 contact_groups some-group notification_interval 120 notification_period 24x7 notification_options w,c,r } ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Oct 1 17:53:00 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 1 Oct 2003 10:53:00 -0500 Subject: newbie stuff? Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EF17@mismail.ena.com> This could be an indication that you have a problem with your config files. I would stop nagios (killing any processes by hand that remain), verify that nagios.lock and rw/nagios.cmd do not exist and run '/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg' to verify your config files. If all looks good, start nagios using the init script. If it fails, look in nagios.log for information. If nothing indicative of a problem is there, verify that the nagios user can write to /usr/local/nagios/var/nagios.lock to create the pid file. Creating the file by hand will cause nagios to fail every time. -- Marc > -----Original Message----- > From: Tex Mitchell [mailto:tex at techmergency.com] > Sent: Wednesday, October 01, 2003 10:29 AM > To: nagios-users at lists.sourceforge.net > > I'm having a problem with the nagios.lock file. It complains that it's > not there. I made the file with nothing in it (As I understand it, it's > supposed to be auto-propagated with the current Nagios PID) to see if that > would kick-start it, but then it complains that it can't do a "ps -p" > without a PID. Paul? Anybody? > > Thanks, > Tex Mitchell > tex at techmergency.com > http://techmergency.com > > TECHMERGENCY, Inc > 3915 Guadalupe St > Austin, TX 78751 > ph:(866)NEED-TECH > fax:(877)708-0970 > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Wed Oct 1 17:52:52 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 1 Oct 2003 09:52:52 -0600 Subject: check_rrd modifications Message-ID: Is anyone using check_rrd to monitor/alarm on bandwidth thresholds? I started working with it yesterday and have since made a few modifications, as it didn't seem to do what I needed. I have one remaining problem that I am trying to work out, perhaps someone can assist... The output of check_rrd run from the command line appears like so: OK - Current BW In: 1132077 bps However, when run from within Nagios the output appears this way: OK - Current BW In: bps As you can see, the actual data is not passed to the cgi or something. This seems odd, because both the 'In' and '1132077' are variables within the script, so the first one is displayed and the second is not. Any ideas? Also, let me know if anyone is interested in the modified script and I'll be glad to post it once I get this last bit figured out. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SteveH at brendata.co.uk Wed Oct 1 18:11:11 2003 From: SteveH at brendata.co.uk (Steve Hanselman) Date: Wed, 1 Oct 2003 17:11:11 +0100 Subject: check_nt_disk - perfdata not being put into em ails Message-ID: <11720FFB22BED511A66800E07D923B3729E53B@prodntsc2.brendata> Edit check nt and remove the slash from the disk name (see my note in the sourceforge forums) i.e C: rather than C:\ -----Original Message----- From: Terry To: nagios-users at lists.sourceforge.net Sent: 01/10/03 16:27 Subject: [Nagios-users] check_nt_disk - perfdata not being put into emails Hello, I am using the check_nt plugin to check disk information on a windows box. On the webpage I am getting all the necessary information: D:\ - total: 13.01 Gb - used: 10.57 Gb (81%) - free 2.43 Gb (19%) However, for 'Additional Info' in the emails I am only getting: D: This is all I have for illegal_macro_output_chars: `~$&|'"<> I even tried disabling that option and i am still not getting the additional info. Any ideas? Thanks! ===== Terry __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lists at Miwi-dv.com Wed Oct 1 18:14:53 2003 From: Lists at Miwi-dv.com (Lists at Miwi-dv.com) Date: Wed, 1 Oct 2003 18:14:53 +0200 Subject: Help with NRPE 2.0 Message-ID: <77AFA7FE1D1F6D4DBCB63CBC5066A2B4385C29@ws_server.intern.westernsystems.de> Jim, apologies if I'm stating something obvious, but did you rebuild on BOTH ends? > -----Original Message----- > From: James M. Albright [mailto:jalbr at groupwise.umn.edu] > Sent: Wednesday, October 01, 2003 4:31 PM > To: dvn at campana.com > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Help with NRPE 2.0 > > > I check out the new FAQ and did everything it said and still > getting the > same error. > The command I entered to disable SSL was './configure --disable-ssl' > I have no clue what it could be. > > Jim Albright > > >>> "Dave van Nierop" 09/30/03 11:33AM >>> > Check out the FAQ. Ethan updated this ..... > > http://www.nagios.org/faqs/viewfaq.php?faq_id=191&expand=false > &showdesc= > > true > -----Original Message----- > From: James M. Albright [mailto:jalbr at groupwise.umn.edu] > Sent: Tuesday, September 30, 2003 11:10 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Help with NRPE 2.0 > > > I just installed Nagios on a RedHat 7.3 and have everything running > great with monitoring NT boxes for disk space and process. Now I > want > to monitor Solaris boxes. So I added NRPE to the remote host > following > the instruction step by step. After getting everything started I get > CHECK_NRPE: Error - Could not complete SSL handshake on the Nagios. I > reconfigured with out SSL and still get the same error. I have done a > lot of searches and have not been able to find any solution to my > problem any help would be great > Thanks > Jim Albright > > > This e-mail and its attachments have been scanned for viruses. > OIT/NDIS > - University of Minnesota > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tomer at metnix.com Wed Oct 1 19:12:45 2003 From: tomer at metnix.com (Tomer H.) Date: Wed, 1 Oct 2003 19:12:45 +0200 Subject: Displaying full output (verbose) for a service. Message-ID: <1671026321546.20031001191245@metnix.com> Hello, I would like to know if it's possible to see the complete output of a service(command) that has been executed as an additional information to the single(/first) output line of the command. Also, is it possible to include that complete verbose in the email delivery (notify-by-email command) ? Thanks, Tomer. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jalbr at groupwise.umn.edu Wed Oct 1 18:31:07 2003 From: jalbr at groupwise.umn.edu (James M. Albright) Date: Wed, 01 Oct 2003 11:31:07 -0500 Subject: Help with NRPE 2.0 Message-ID: Do you mean delete all files and start over. I have not done that, I was thinking I was close, but if you think I should I will do anything right now. Jim A. >>> 10/01/03 11:14AM >>> Jim, apologies if I'm stating something obvious, but did you rebuild on BOTH ends? > -----Original Message----- > From: James M. Albright [mailto:jalbr at groupwise.umn.edu] > Sent: Wednesday, October 01, 2003 4:31 PM > To: dvn at campana.com > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Help with NRPE 2.0 > > > I check out the new FAQ and did everything it said and still > getting the > same error. > The command I entered to disable SSL was './configure --disable-ssl' > I have no clue what it could be. > > Jim Albright > > >>> "Dave van Nierop" 09/30/03 11:33AM >>> > Check out the FAQ. Ethan updated this ..... > > http://www.nagios.org/faqs/viewfaq.php?faq_id=191&expand=false > &showdesc= > > true > -----Original Message----- > From: James M. Albright [mailto:jalbr at groupwise.umn.edu] > Sent: Tuesday, September 30, 2003 11:10 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Help with NRPE 2.0 > > > I just installed Nagios on a RedHat 7.3 and have everything running > great with monitoring NT boxes for disk space and process. Now I > want > to monitor Solaris boxes. So I added NRPE to the remote host > following > the instruction step by step. After getting everything started I get > CHECK_NRPE: Error - Could not complete SSL handshake on the Nagios. I > reconfigured with out SSL and still get the same error. I have done a > lot of searches and have not been able to find any solution to my > problem any help would be great > Thanks > Jim Albright > > > This e-mail and its attachments have been scanned for viruses. > OIT/NDIS > - University of Minnesota > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Oct 1 18:28:50 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 1 Oct 2003 11:28:50 -0500 Subject: Displaying full output (verbose) for a service. Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EF18@mismail.ena.com> There is no differentiation between output of a plugin and 'complete' output of a plugin. They're one and the same. As a general rule, plugin output must be one line only (for nagios) and less than 80 characters for readability. http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOUTPUT Now, that being said, I don't believe there is anything to prevent you from ignoring the 80 character recommendation and single-lining your plugin output by substituting '
' for '\n' in the plugin output for display on the web page and doing the opposite in your notification script. -- Marc > -----Original Message----- > From: Tomer H. [mailto:tomer at metnix.com] > Sent: Wednesday, October 01, 2003 12:13 PM > To: nagios-users at lists.sourceforge.net > > Hello, > > I would like to know if it's possible to see the complete output of > a service(command) that has been executed as an additional > information to the single(/first) output line of the command. > > Also, is it possible to include that complete verbose in the email > delivery (notify-by-email command) ? > > Thanks, Tomer. > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lists at Miwi-dv.com Wed Oct 1 18:43:12 2003 From: Lists at Miwi-dv.com (Lists at Miwi-dv.com) Date: Wed, 1 Oct 2003 18:43:12 +0200 Subject: Help with NRPE 2.0 Message-ID: <77AFA7FE1D1F6D4DBCB63CBC5066A2B4284185@ws_server.intern.westernsystems.de> Jim, No!!! my point was, did you recompile NRPE on Solaris, as well as check_nrpe on RedHat? The error you see, usually means one of two things: a) Your NRPE and check_nrpe versions do not match (V1.8/1.9 vs. V2.x) b) One end of the connection is compiled with SSL support, the other end is not... Posting the output of NagiosHost#check_nrpe -v and NRPEHost#nrpe would help a lot. cheers MiWi > -----Original Message----- > From: James M. Albright [mailto:jalbr at groupwise.umn.edu] > Sent: Wednesday, October 01, 2003 6:31 PM > To: Lists at Miwi-dv.com > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Help with NRPE 2.0 > > > Do you mean delete all files and start over. I have not done that, I > was thinking I was close, but if you think I should I will do anything > right now. > Jim A. > > >>> 10/01/03 11:14AM >>> > Jim, > > apologies if I'm stating something obvious, but did you rebuild on > BOTH > ends? > > > -----Original Message----- > > From: James M. Albright [mailto:jalbr at groupwise.umn.edu] > > Sent: Wednesday, October 01, 2003 4:31 PM > > To: dvn at campana.com > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Help with NRPE 2.0 > > > > > > I check out the new FAQ and did everything it said and still > > getting the > > same error. > > The command I entered to disable SSL was './configure --disable-ssl' > > I have no clue what it could be. > > > > Jim Albright > > > > >>> "Dave van Nierop" 09/30/03 11:33AM >>> > > Check out the FAQ. Ethan updated this ..... > > > > http://www.nagios.org/faqs/viewfaq.php?faq_id=191&expand=false > > &showdesc= > > > > true > > -----Original Message----- > > From: James M. Albright [mailto:jalbr at groupwise.umn.edu] > > Sent: Tuesday, September 30, 2003 11:10 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Help with NRPE 2.0 > > > > > > I just installed Nagios on a RedHat 7.3 and have everything running > > great with monitoring NT boxes for disk space and process. Now I > > want > > to monitor Solaris boxes. So I added NRPE to the remote host > > following > > the instruction step by step. After getting everything started I > get > > CHECK_NRPE: Error - Could not complete SSL handshake on the Nagios. > I > > reconfigured with out SSL and still get the same error. I have done > a > > lot of searches and have not been able to find any solution to my > > problem any help would be great > > Thanks > > Jim Albright > > > > > > This e-mail and its attachments have been scanned for viruses. > > OIT/NDIS > > - University of Minnesota > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From visigoth at home.nl Wed Oct 1 18:55:58 2003 From: visigoth at home.nl (R. F.) Date: Wed, 1 Oct 2003 18:55:58 +0200 Subject: Running nagios as root Message-ID: <000001c3883c$e62dea90$524178d9@cp132919a> Hi, I've been messing with Nagios for a week now and I can't get it to access/execute /bin/ping or /usr/local/sbin/fping. So I was wondering, is it wise to run Nagios as root? Is there a way to do it safely? If so, how, because it looks like the only option for me :( Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tomer=RL7P4Sh1DTjQT0dZR+AlfA at public.gmane.org Wed Oct 1 20:16:58 2003 From: tomer=RL7P4Sh1DTjQT0dZR+AlfA at public.gmane.org (Tomer H.) Date: Wed, 1 Oct 2003 20:16:58 +0200 Subject: [Nagios-users] Displaying full output (verbose) for a service. In-Reply-To: <5DB017510818EC468B05BD7BD9EACF8303E7EF18@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF8303E7EF18@mismail.ena.com> Message-ID: <651030174156.20031001201658@metnix.com> Hello Marc, Yes, I have read the guidelines and coded my personal plugins according to them. To be more accurate, this is a client/server app which I coded a nagios plugin for running (cron-alike) and monitoring it. The problem is, I'm try to find a way to show the complete output of the client without logging using ssh and running it manually (again) for getting this verbose, nor coding a second web interface just for that. I made the output that the first line will be a short status line (According to the guidelines you refered me to) and after that the complete output is being showed. Maybe it's a good time to add this one as an nagios feature request. Speaking of feature requests, it would be nice if there would be a way to insert a password auth to the NRPE client/server for having a bit sense of security and not counting on hosts.allow/firewall rules for dealing with executation and 'user logging auth'.. (This one is mostly good for client/monitor machines which are shared-user boxes and the rest of the users of the box shouldn't be able to log to the remote NRPE server). -- Tomer. Wednesday, October 1, 2003, 6:28:50 PM, you wrote: MP> There is no differentiation between output of a plugin and 'complete' MP> output of a plugin. They're one and the same. As a general rule, plugin MP> output must be one line only (for nagios) and less than 80 characters MP> for readability. MP> http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOUTPUT MP> Now, that being said, I don't believe there is anything to prevent you MP> from ignoring the 80 character recommendation and single-lining your MP> plugin output by substituting '
' for '\n' in the plugin output for MP> display on the web page and doing the opposite in your notification MP> script. MP> -- MP> Marc >> -----Original Message----- >> From: Tomer H. [mailto:tomer=RL7P4Sh1DTjQT0dZR+AlfA at public.gmane.org] >> Sent: Wednesday, October 01, 2003 12:13 PM >> To: nagios-users=5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org >> >> Hello, >> >> I would like to know if it's possible to see the complete output of >> a service(command) that has been executed as an additional >> information to the single(/first) output line of the command. >> >> Also, is it possible to include that complete verbose in the email >> delivery (notify-by-email command) ? >> >> Thanks, Tomer. >> >> >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users=5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagiosplug-devel mailing list Nagiosplug-devel=5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Oct 1 19:33:11 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 1 Oct 2003 12:33:11 -0500 Subject: Running nagios as root Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EF19@mismail.ena.com> That's actually a really bad idea. The simpler and better solution is to make ping and fping executable by the nagios user -- [root at betelgeuse bes]# ls -al /bin/ping -rwsr-xr-x 1 root root 35192 Apr 18 2002 /bin/ping [root at betelgeuse bes]# ls -l /usr/local/sbin/fping -rwsr-xr-x 1 root root 83254 Nov 15 2002 /usr/local/sbin/fping chmod 4755 /bin/ping /usr/local/sbin/fping -- Marc ________________________________________ From: R. F. [mailto:visigoth at home.nl] Sent: Wednesday, October 01, 2003 11:56 AM To: nagios-users at lists.sourceforge.net Hi, I've been messing with Nagios for a week now and I can't get it to access/execute /bin/ping or /usr/local/sbin/fping. So I was wondering, is it wise to run Nagios as root? Is there a way to do it safely? If so, how, because it looks like the only option for me :( Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcioqueiroz at vicom.com.br Wed Oct 1 19:43:24 2003 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Wed, 1 Oct 2003 14:43:24 -0300 Subject: RES: check_rrd modifications Message-ID: Hi, i?m using check_rrd_data.pl (contrib directory) to monitor bandwith usage, and i make a litle script that gives a warning and critical messages in 70% or 90% of the bandwith. It work?s for what i need. I call that script check_rrd. If you could send me your when you have finished the modificatios. here is the script : #/sbin/sh # usage : check_rrd " exitstatus=0 saida=`/usr/local/nagios/libexec/check_rrd_data.pl $1 'return "Traffic over 70%: Warning\n" if ($value > '$2');' 'return "T raffic over 90%: Critical\n" if ($value > '$3');' 'printf"Traffic Ok - Value = %.2fKbytes\n", $value; return 0;' $4` if [ "$saida" = "Traffic over 70%: Warning" ]; then exitstatus=1 else if [ "$saida" = "Traffic over 90%: Critical" ]; then exitstatus=2 else if [ "$saida" = "Traffic Ok - Value = nanKbytes" ]; then saida="Unknown" exitstatus=3 else if [ "$saida" = "Can't open data file for $1" ]; then exitstatus=3 fi fi fi fi echo $saida exit $exitstatus bye, Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com > ----- Mensagem original ----- > De: Cook, Garry [SMTP:GWCOOK at mactec.com] > Enviada em: quarta-feira, 1 de outubro de 2003 12:53 > Para: nagios-users at lists.sourceforge.net > Assunto: [Nagios-users] check_rrd modifications > > Is anyone using check_rrd to monitor/alarm on bandwidth thresholds? I > started working with it yesterday and have since made a few > modifications, as it didn't seem to do what I needed. > > I have one remaining problem that I am trying to work out, perhaps > someone can assist... > > The output of check_rrd run from the command line appears like so: > OK - Current BW In: 1132077 bps > However, when run from within Nagios the output appears this way: > OK - Current BW In: bps > > As you can see, the actual data is not passed to the cgi or something. > This seems odd, because both the 'In' and '1132077' are variables within > the script, so the first one is displayed and the second is not. > > Any ideas? > > Also, let me know if anyone is interested in the modified script and > I'll be glad to post it once I get this last bit figured out. > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jalbr at groupwise.umn.edu Wed Oct 1 19:49:52 2003 From: jalbr at groupwise.umn.edu (James M. Albright) Date: Wed, 01 Oct 2003 12:49:52 -0500 Subject: Help with NRPE 2.0 Message-ID: MiWi , Here is what my NagiosHost#check_nrpe -v looks like ---------------------------------------------------------------------- NRPE Plugin for Nagios Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Version: 2.0 Last Modified: 09-08-2003 License: GPL with exemptions (-l for more info) SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required Usage: check_nrpe -H [-p ] [-t ] [-c ] [-a ] Options: = The address of the host running the NRPE daemon [port] = The port on which the daemon is running (default=5666) [timeout] = Number of seconds before connection times out (default=10) [command] = The name of the command that the remote daemon should run [arglist] = Optional arguments that should be passed to the command. Multiple arguments should be separated by a space. If provided, this must be the last option supplied on the command line. Note: This plugin requires that you have the NRPE daemon running on the remote host. You must also have configured the daemon to associate a specific plugin command with the [command] option you are specifying here. Upon receipt of the [command] argument, the NRPE daemon will run the appropriate plugin command and send the plugin output and return code back to *this* plugin. This allows you to execute plugins on remote hosts and 'fake' the results to make Nagios think the plugin is being run locally. ----------------------------------------------------------------------------------------------------------- And my NRPEHost#nrpe looks like ----------------------------------------------------------------------------------------------------------- NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Version: 2.0 Last Modified: 09-08-2003 License: GPL with exemptions (-l for more info) Usage: nrpe -c Options: = Name of config file to use = One of the following two operating modes: -i = Run as a service under inetd or xinetd -d = Run as a standalone daemon Notes: This program is designed to process requests from the check_nrpe plugin on the host(s) running Nagios. It can run as a service under inetd or xinetd (read the docs for info on this), or as a standalone daemon. Once a request is received from an authorized host, NRPE will execute the command/plugin (as defined in the config file) and return the plugin output and return code to the check_nrpe plugin. ----------------------------------------------------------------------------------------- On both the boxes I ran ./configure --disable-ssl, thinking this would disable the SSL on both boxes. Thanks for taking time out of your day to help me Jim A. This e-mail and its attachments have been scanned for viruses. OIT/NDIS - University of Minnesota ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Gick at wieland-electric.com Wed Oct 1 20:06:51 2003 From: Thomas.Gick at wieland-electric.com (Gick Thomas) Date: Wed, 1 Oct 2003 20:06:51 +0200 Subject: Monitoring SAP R/3 : Could not read monitoring data with nagios-p lugins-sap-ccms but login works ok Message-ID: Hi folks, i have a r/3 system, 46d and tied to read some monitorinformation direct with check_sap command. I installed the plugin under RedHat 7.3 by extracting all necessary files out of the rpm package and did all according to nagios-plugins-sap-ccms.spec. copying files, compiling, settings user-rights und edit config files. The login to r/3 works o.k, but there goes something else wrong: Here is my configuration: /etc/sapmon/login.cfg [LOGIN_PRM] LOGIN=-d PRM -u gick -p xxxx -h sn2500 -s 00 -c 100 /etc/sapmon/agent.cfg [TEMPLATE_GICK] DESCRIPTION ="Test" MONI_SET_NAME="SAP CCMS Monitor Templates" MONI_NAME="Dialog Overview" MAX_TREE_DEPTH=0 PATTERN_0="PRM\*" /etc/sapmon/moni_tr.cfg DIALOG_RESPONSE_TIME#SAP CCMS Monitor Templates#Dialog Overview#Dialog Response Time# CHECK_SAP_SYSTEMS#SAP CCMS Monitor Templates#Availability and Performance Overview## CHECK_SAP_SYSTEMS#JAN#TEST## I tried to call the template gick: /usr/local/nagios/libexec/check_sap GICK PRM No line came back. the exit code was 99 and on the R/3 system i found the following logentries: in /usr/sap/PRM/DVEBMGS00/work/dev_rfc1 **** Trace file opened at 20031001 194356 MEST, REL 46D,0,1364, VER 3 ======> CPIC-CALL: 'ThSAPCMRCV' CPIC program connection ended (read error) Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 2890 CPIC-CALL: 'ThSAPCMRCV' CPIC program connection ended (read error) Eintrag danach in /usr/sap/PRM/DVEBMGS00/work/dev_rd Wed Oct 1 19:43:56 2003 ***LOG S23=> GwDisconnectClient, client disconnected (296) [gwxxrd.c 9936] ***LOG S74=> GwDisconnectClient, client disconnected ( webnsr1) [gwxxrd.c 99 47] ***LOG S0R=> GwDisconnectClient, client disconnected () [gwxxrd.c 9963] ***LOG S0I=> GwDisconnectClient, client disconnected ( SAPCPIC) [gwxxrd.c 99 84] **************************************************************************** * * * LOCATION SAP-Gateway on host sn2500 / sapgw00 * ERROR connection to client SAPCPIC on host localhost broken (read) * * TIME Wed Oct 1 19:43:56 2003 * RELEASE 46D * COMPONENT SAP-Gateway * VERSION 2 * RC 223 * MODULE gwxxrd.c * LINE 9990 * COUNTER 1178294 * **************************************************************************** * in /usr/sap/PRM/DVEBMGS00/work/dev_w1 M **************************************************************************** * M * M * LOCATION SAP-Gateway on host sn2500 / sapgw00 M * ERROR connection to partner broken M * M * TIME Wed Oct 1 19:43:56 2003 M * RELEASE 46D M * COMPONENT NI (network interface) M * VERSION 34 M * RC -6 M * MODULE niuxi.c M * LINE 1186 M * DETAIL NiPRead M * SYSTEM CALL recv M * COUNTER 1178295 M * M **************************************************************************** * M A RFC 2888 CONVID 30235998 A * CMRC=20 DATA=1 STATUS=1 SAPRC=223 ThSAPCMRCV A RFC> ABAP Programm: SAPMSSY1 (Transaction: ) A RFC> User: GICK (Client: 100) A RFC> Destination: PRM (handle: 1, ) A RFC> Called function module: SXMI_LOGOFF A RFC SERVER> RFC Server Session (handle: 1, ) A RFC SERVER> Caller host: webnsr1 A RFC SERVER> Caller transaction code: A RFC SERVER> Called function module: SXMI_LOGOFF A RFC 2779 CONVID 30235998 A * CMRC=20 DATA=1 STATUS=1 SAPRC=223 comread ~ has anybody an idea was happened.. thx, Thomas sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo at nssecurity.com.br Wed Oct 1 20:11:31 2003 From: hugo at nssecurity.com.br (hugo at nssecurity.com.br) Date: Wed, 1 Oct 2003 15:11:31 -0300 Subject: SNMP monitor Message-ID: <1065031891.3f7b18d3ef432@www.nssecurity.com.br> I want to monitor my routers and switches by SNMP using check_snmp(Net_SNMP). However I don't have a example of sintaxe. Please. Could anybody send me a example of check_snmp command ? Thank you very much. Regards, Hugo ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsmedley at architelpartners.com Wed Oct 1 20:13:08 2003 From: jsmedley at architelpartners.com (Jason Smedley) Date: Wed, 01 Oct 2003 13:13:08 -0500 Subject: Service Execution Problem Message-ID: <1065031988.4152.7.camel@beavis.architelpartners.com> I'm trying to get Service Dependencies working. I have set up a single dependency as follows: define servicedependency{ host_name dalnt05 service_description check-host-alive dependent_host_name dalnt05 dependent_service_description Disk_Space-C execution_failure_criteria w,u,c notification_failure_criteria n } I don't want Disk_Space-C to be run if check-host-alive fails. Have I got this set up correctly? If so, it doesn't work. The Disk_Space-C check still runs if check-host-alive fails. I've also set soft_state_dependencies=1 Thanks -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From Keith.Hochberg at mtvi.com Wed Oct 1 20:35:45 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Wed, 1 Oct 2003 14:35:45 -0400 Subject: SNMP monitor Message-ID: <5F29693503507B4FB4032686ADF862673B5A62@mtviny25.mtvi.com> here goes: [root at nagios-slave-435 etc]# ../libexec/check_snmp Incorrect arguments supplied Usage: check_snmp -H -o [-w warn_range] [-c crit_range] [-C community] [-s string] [-r regex] [-R regexi] [-t timeout] [-l label] [-u units] [-p port-number] [-d delimiter] [-D output-delimiter] [-m miblist] [-P snmp version] [-L seclevel] [-U secname] [-a authproto] [-A authpasswd] [-X privpasswd] check_snmp (-h | --help) for detailed help check_snmp (-V | --version) for version information [root at nagios-slave-435 etc]# ../libexec/check_snmp -H example.vni.com -C mrtyu -o .1.5.6.1.4.1.4356.76.1.3.1.0 -w 20000 -c 25000 SNMP OK - 15769 There are many different ways to use this command... you really need to just check out usage for the command above and experiment. -Keith -----Original Message----- From: hugo at nssecurity.com.br [mailto:hugo at nssecurity.com.br] Sent: Wednesday, October 01, 2003 2:12 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SNMP monitor I want to monitor my routers and switches by SNMP using check_snmp(Net_SNMP). However I don't have a example of sintaxe. Please. Could anybody send me a example of check_snmp command ? Thank you very much. Regards, Hugo ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Oct 1 20:43:11 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 1 Oct 2003 13:43:11 -0500 Subject: Running nagios as root Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EF21@mismail.ena.com> Being owned by user and group nagios isn't sufficient. The programs must be owned _and_ executed as the root user to be able to make the appropriate ICMP requests. Note the addition of the sticky bit ('s') in the permissions below and the ownership by root. The +rx permissions for the 'other' group make the programs executable by nagios and the sticky bit guarantees that that it is executed as the owner of the program, in this case root. -- Marc > -----Original Message----- > From: R. F. [mailto:visigoth at home.nl] > Sent: Wednesday, October 01, 2003 1:36 PM > To: Marc Powell > > If it was only that easy. I was unable to do so. Fping and its directory > are owned by user and group nagios, yet still I get a 'Warning' because > it can't execute it. Same goes for Ping, I've already discussed it with > several people on this mailing list. As root, they all work. > > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: 01 October 2003 19:33 > To: R. F.; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Running nagios as root > > That's actually a really bad idea. The simpler and better solution is to > make ping and fping executable by the nagios user -- > > [root at betelgeuse bes]# ls -al /bin/ping > -rwsr-xr-x 1 root root 35192 Apr 18 2002 /bin/ping > [root at betelgeuse bes]# ls -l /usr/local/sbin/fping > -rwsr-xr-x 1 root root 83254 Nov 15 2002 > /usr/local/sbin/fping > > chmod 4755 /bin/ping /usr/local/sbin/fping > > -- > Marc > > ________________________________________ > From: R. F. [mailto:visigoth at home.nl] > Sent: Wednesday, October 01, 2003 11:56 AM > To: nagios-users at lists.sourceforge.net > > Hi, I've been messing with Nagios for a week now and I can't get it to > access/execute /bin/ping or /usr/local/sbin/fping. So I was wondering, > is it wise to run Nagios as root? Is there a way to do it safely? If so, > how, because it looks like the only option for me :( > > Thanks. > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Wed Oct 1 20:45:43 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Wed, 01 Oct 2003 14:45:43 -0400 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20[Nagios-users]=20SNMP=20monitor?= Message-ID: in /usr/local/nagios/libexec/ type "./check_snmp --h" Here is one example in my checkcommands.cfg... where ".1.3.6.1..." is the OID for the uptime of your router. $ARG1$ is the community string (usually "public", you should change that for security if you know what you are doing) ---------------------- # AJOUT *** Pour voir le sysuptime (sysuptime de la partie reseau) (tout ce qui fait du SNMP) # SNMP define command{ command_name snmp_sysuptime command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.2.1.1.3.0 -l SNMPuptime } ------------------------ Alex --------------------------------------------------- Alexandre Racine Laval-Montr?al, Qu?bec, Canada >>> 01/10/03 14h11 >>> I want to monitor my routers and switches by SNMP using check_snmp(Net_SNMP). However I don't have a example of sintaxe. Please. Could anybody send me a example of check_snmp command ? Thank you very much. Regards, Hugo ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Wed Oct 1 21:40:59 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Wed, 01 Oct 2003 15:40:59 -0400 Subject: =?ISO-8859-1?Q?Re:=20R=E9p.=20:=20[Nagios-users]=20SNMP=20monito?= =?ISO-8859-1?Q?r?= Message-ID: not in this case... I am simply displaying the uptime. And it is ./check_snmp --help OR ./check_snmp -h for help on every external command in libexec, sorry for that :) Alex --------------------------------------------------- Alexandre Racine Laval-Montr?al, Qu?bec, Canada >>> 01/10/03 15h34 >>> We don't use -w -c options ? Thank you. Hugo Citando Serveur-Faucon Surveillance : > in /usr/local/nagios/libexec/ > > type "./check_snmp --h" > > > Here is one example in my checkcommands.cfg... where > > ".1.3.6.1..." is the OID for the uptime of your router. > $ARG1$ is the community string (usually "public", you should change that for > security if you know what you are doing) > > ---------------------- > # AJOUT *** Pour voir le sysuptime (sysuptime de la partie reseau) (tout ce > qui fait du SNMP) > # SNMP > define command{ > command_name snmp_sysuptime > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o > .1.3.6.1.2.1.1.3.0 -l SNMPuptime > } > > ------------------------ > Alex > > --------------------------------------------------- > Alexandre Racine > Laval-Montr?al, Qu?bec, Canada > > >>> 01/10/03 14h11 >>> > I want to monitor my routers and switches by SNMP using check_snmp(Net_SNMP). > > However I don't have a example of sintaxe. > > Please. Could anybody send me a example of check_snmp command ? > > Thank you very much. > > Regards, > Hugo > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo at nssecurity.com.br Wed Oct 1 21:34:24 2003 From: hugo at nssecurity.com.br (hugo at nssecurity.com.br) Date: Wed, 1 Oct 2003 16:34:24 -0300 Subject: =?iso-8859-1?b?UulwLg==?= : SNMP monitor In-Reply-To: References: Message-ID: <1065036864.3f7b2c40d6da4@www.nssecurity.com.br> We don't use -w -c options ? Thank you. Hugo Citando Serveur-Faucon Surveillance : > in /usr/local/nagios/libexec/ > > type "./check_snmp --h" > > > Here is one example in my checkcommands.cfg... where > > ".1.3.6.1..." is the OID for the uptime of your router. > $ARG1$ is the community string (usually "public", you should change that for > security if you know what you are doing) > > ---------------------- > # AJOUT *** Pour voir le sysuptime (sysuptime de la partie reseau) (tout ce > qui fait du SNMP) > # SNMP > define command{ > command_name snmp_sysuptime > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o > .1.3.6.1.2.1.1.3.0 -l SNMPuptime > } > > ------------------------ > Alex > > --------------------------------------------------- > Alexandre Racine > Laval-Montr?al, Qu?bec, Canada > > >>> 01/10/03 14h11 >>> > I want to monitor my routers and switches by SNMP using check_snmp(Net_SNMP). > > However I don't have a example of sintaxe. > > Please. Could anybody send me a example of check_snmp command ? > > Thank you very much. > > Regards, > Hugo > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Shaun.Reitan at NDCHost.com Wed Oct 1 22:36:36 2003 From: Shaun.Reitan at NDCHost.com (Shaun Reitan :: NDC Host) Date: Wed, 1 Oct 2003 13:36:36 -0700 Subject: Dependencies? Message-ID: <009a01c3885b$b5d34830$7800000a@lunchbox> i have a bunch of hosts and since the monitor is off site, i setup the core router as a dependency. I also set the core router up as being a parrent but if the off site monitor cannot reach anything i still get messages for everything. This sucks because i get a bizzilian messages to my phone :). Here's what i got... Core Router Config ##################### define host{ host_name oc-int-r1.core01.********* alias oc-int-r1.core01.********* address 216.xxx.xxx.xxx check_command check-host-alive max_check_attempts 2 retain_nonstatus_information 0 notification_interval 30 notification_period 24x7 notification_options d,u,r } ##################### One machine's config define host{ host_name zoe.**************** alias zoe.****************** address 216.********** check_command check-host-alive max_check_attempts 2 notification_interval 30 notification_period 24x7 notification_options d,u,r parents oc-int-r1.core01.********** } ###################### Dependancy ########################## define hostdependency{ dependent_host_name oc-int-r1.core01.*********** host_name zoe.******************** notification_failure_criteria d } ########################### Anybody know what i'm doing wrong? Best Regards, Shaun Reitan CTO Shaun.Reitan at NDCHost.com www.NDCHost.com www.cPlicensing.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From Keith.Hochberg at mtvi.com Wed Oct 1 22:59:29 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Wed, 1 Oct 2003 16:59:29 -0400 Subject: Dependencies? Message-ID: <5F29693503507B4FB4032686ADF862673B5A6B@mtviny25.mtvi.com> yeah I think you have the hosts switched in your dependencies.cfg. If you want to stop getting pages for zoe when core01 goes down reverse it: Dependancy ########################## define hostdependency{ host_name oc-int-r1.core01.*********** dependant_host_name zoe.******************** notification_failure_criteria d } ########################### also note parents and dependencies are different. parents are for the status map and dependencies are for notifications... -Keith -----Original Message----- From: Shaun Reitan :: NDC Host [mailto:Shaun.Reitan at NDCHost.com] Sent: Wednesday, October 01, 2003 4:37 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Dependencies? i have a bunch of hosts and since the monitor is off site, i setup the core router as a dependency. I also set the core router up as being a parrent but if the off site monitor cannot reach anything i still get messages for everything. This sucks because i get a bizzilian messages to my phone :). Here's what i got... Core Router Config ##################### define host{ host_name oc-int-r1.core01.********* alias oc-int-r1.core01.********* address 216.xxx.xxx.xxx check_command check-host-alive max_check_attempts 2 retain_nonstatus_information 0 notification_interval 30 notification_period 24x7 notification_options d,u,r } ##################### One machine's config define host{ host_name zoe.**************** alias zoe.****************** address 216.********** check_command check-host-alive max_check_attempts 2 notification_interval 30 notification_period 24x7 notification_options d,u,r parents oc-int-r1.core01.********** } ###################### Dependancy ########################## define hostdependency{ dependent_host_name oc-int-r1.core01.*********** host_name zoe.******************** notification_failure_criteria d } ########################### Anybody know what i'm doing wrong? Best Regards, Shaun Reitan CTO Shaun.Reitan at NDCHost.com www.NDCHost.com www.cPlicensing.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From darrenh at gallagher.co.nz Wed Oct 1 22:41:14 2003 From: darrenh at gallagher.co.nz (Darren Harrison) Date: Thu, 2 Oct 2003 08:41:14 +1200 Subject: check_nt_disk - perfdata not being put into emails In-Reply-To: References: Message-ID: Hi Terry, Try changing your 'notify-by-email' command to something like this... /bin/echo -e "" | /usr/bin/mail -s '' $CONTACTEMAIL$ The back slash is being 'interpreted'. Using /bin/echo -e will stop this from happening. Darren. > Date: Wed, 1 Oct 2003 08:27:04 -0700 (PDT) > From: Terry > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_nt_disk - perfdata not being put into emails > > Hello, > > I am using the check_nt plugin to check disk > information on a windows box. On the webpage I am > getting all the necessary information: > D:\ - total: 13.01 Gb - used: 10.57 Gb (81%) - free > 2.43 Gb (19%) > > However, for 'Additional Info' in the emails I am only > getting: > D: > > This is all I have for illegal_macro_output_chars: > `~$&|'"<> > > I even tried disabling that option and i am still not > getting the additional info. > > Any ideas? > > Thanks! > > > ===== > Terry ########################################################################### This e-mail is confidential and may contain information subject to legal privilege. If you are not the intended recipient please advise us of our error by return e-mail then delete this e-mail and any attached files. You may not copy, disclose or use the contents in any way. The views expressed in this e-mail may not be those of Gallagher Group Ltd or subsidiary companies thereof. ########################################################################### -------------- next part -------------- An HTML attachment was scrubbed... URL: From td3201 at yahoo.com Wed Oct 1 23:26:35 2003 From: td3201 at yahoo.com (Terry) Date: Wed, 1 Oct 2003 14:26:35 -0700 (PDT) Subject: check_nt_disk - perfdata not being put into emails In-Reply-To: References: Message-ID: <20031001212635.88092.qmail@web60306.mail.yahoo.com> Thanks, I already recompiled the source of check_nt to not include this backslash but I didnt think of this, clever. :) Thanks! --- Darren Harrison wrote: > Hi Terry, > Try changing your 'notify-by-email' command to > something like this... > /bin/echo -e "" | /usr/bin/mail -s > '' > $CONTACTEMAIL$ > > The back slash is being 'interpreted'. Using > /bin/echo -e will stop this > from happening. > > Darren. > > > Date: Wed, 1 Oct 2003 08:27:04 -0700 (PDT) > > From: Terry > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_nt_disk - perfdata > not being put into > emails > > > > Hello, > > > > I am using the check_nt plugin to check disk > > information on a windows box. On the webpage I am > > getting all the necessary information: > > D:\ - total: 13.01 Gb - used: 10.57 Gb (81%) - > free > > 2.43 Gb (19%) > > > > However, for 'Additional Info' in the emails I am > only > > getting: > > D: > > > > This is all I have for illegal_macro_output_chars: > > `~$&|'"<> > > > > I even tried disabling that option and i am still > not > > getting the additional info. > > > > Any ideas? > > > > Thanks! > > > > > > ===== > > Terry > > ########################################################################### > This e-mail is confidential and may contain > information subject to legal > privilege. If you are not the intended recipient > please advise us of our > error by return e-mail then delete this e-mail and > any attached files. > You may not copy, disclose or use the contents in > any way. > > The views expressed in this e-mail may not be those > of Gallagher Group > Ltd or subsidiary companies thereof. > ########################################################################### > ===== Terry __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Thu Oct 2 02:55:11 2003 From: noah at mac.com (Noah Leaman) Date: Wed, 1 Oct 2003 17:55:11 -0700 Subject: GD or not GD (version 2.0.15 is the question) Message-ID: <13698C3E-F473-11D7-B1AE-000393ACBF0C@mac.com> (My apologies to Mr. Shakespeare for that subject line) Anyway, it seems Nagios w/ GD 1.8.4 is pretty much the stable way to go, but at this time does Nagios take advantage of any GD 2.0.15 specific functions (antialiased line drawing for example) and if so, is it a stable setup? -- Noah ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kagoryu at cssr.edu.ph Thu Oct 2 02:55:41 2003 From: kagoryu at cssr.edu.ph (Federico A. Gregorio) Date: Thu, 2 Oct 2003 08:55:41 +0800 (PHT) Subject: Help with NRPE 2.0 In-Reply-To: References: Message-ID: <2914.192.168.0.6.1065056141.squirrel@magdalene.cssr.edu.ph> hi, > NRPE Plugin for Nagios > Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) > Version: 2.0 > Last Modified: 09-08-2003 > License: GPL with exemptions (-l for more info) > SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required this one got SSL... > NRPE - Nagios Remote Plugin Executor > Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) > Version: 2.0 > Last Modified: 09-08-2003 > License: GPL with exemptions (-l for more info) this one doesn't... also if u want to run SSL, check the version, upgrade to OpenSSL 0.9.6 or higher. hope this helps. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Oct 2 05:20:28 2003 From: teng at dataway.com (Tedman Eng) Date: Wed, 1 Oct 2003 20:20:28 -0700 Subject: Failover device monitoring? Message-ID: Hi folks, I've had Nagios deployed for quite some time now and am fairly familiar with most configuration scenarios. However, I'm stumped trying to figure a solution to one particular configuration dilemma: Our company monitors a cluster of High Availability services. At any one time, only one service out of the cluster is "OK", the others are down but waiting to take over if there's a problem. Cluster is OK if Service A - OK, Service B - down, Service C - down Cluster is OK if Service A - down, Service B - OK, Service C - down Cluster is Critical if Service A - down, Service B - down, Service C - down The check_cluster plugin works well (see http://nagios.sourceforge.net/docs/1_0/clusters.html ), since it checks to make sure at least one of the services is up. We don't actually care to about the state of the individual services, so long as the Cluster checks out OK, so we turn off notifications for the individual services . In addition to not being notified, is there a way to "hide" those services somehow so that they don't show as always down in the summary screens? One possible solution I considered was moving the individual and cluster checks to a separate Nagios machine, and then send only the cluster results back to the main Nagios. This effectively hides everything but the cluster from the main Nagios, but also adds another machine and another Nagios to have to administer. Anyone else monitoring "HA" or failover devices? How do you do it? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ciriarte at personal.com.py Thu Oct 2 10:30:10 2003 From: ciriarte at personal.com.py (Ciro Arnaldo Iriarte) Date: Thu, 2 Oct 2003 04:30:10 -0400 Subject: RTA and Timed Out Checks Message-ID: <04256DB3.002F0CCE.00@asusis-mx1.personal.com.py> Two days ago, the response time of the PING check against my servers increased a lot (from 0.3 ms to 200 ms!!!). I didn't change any configuration as far as I remember (just played a little with snmp mibs). But when i check the RTA from the same machine (nagios test machine) with ping in the shell it doesn't have any problem. The same happends with snmp checks (timed out). Any idea?? #LOG: [1065079525] SERVICE ALERT: server1;PING;WARNING;HARD;3;PING WARNING - Packet loss = 0%, RTA = 194.70 ms [1065079533] SERVICE ALERT: server2;PING;WARNING;HARD;3;PING WARNING - Packet loss = 0%, RTA = 256.26 ms [1065080027] SERVICE ALERT: server1;Espacio libre en /oradata;CRITICAL;HARD;3;(Service Check Timed Out) [1065080028] SERVICE ALERT: server1;Espacio libre en /usr;CRITICAL;HARD;3;(Service Check Timed Out) [1065080029] SERVICE ALERT: server1;Espacio libre en /usr/users/ingres;CRITICAL;HARD;3;(Service Check Timed Out) # ping server1 PING nucleo3 (10.129.4.74) 56(84) bytes of data. 64 bytes from server1 (10.129.4.74): icmp_seq=1 ttl=64 time=0.259 ms 64 bytes from server1 (10.129.4.74): icmp_seq=2 ttl=64 time=0.310 ms 64 bytes from server1 (10.129.4.74): icmp_seq=3 ttl=64 time=0.318 ms 64 bytes from server1 (10.129.4.74): icmp_seq=4 ttl=64 time=0.337 ms 64 bytes from server1 (10.129.4.74): icmp_seq=5 ttl=64 time=0.323 ms ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Alexis.chauvin at courtsplc.com Thu Oct 2 10:15:13 2003 From: Alexis.chauvin at courtsplc.com (Alexis Chauvin) Date: Thu, 2 Oct 2003 09:15:13 +0100 Subject: Message-ID: <9CE577193CB1344E9F9315263C7172DE2815C4@perceval.london.courtsplc.com> We are losing you 968459.Confirm. The buffalo is eating the pie.repeat.The buffalo is eating the pie.over. -----Original Message----- From: Carl Schelin [mailto:cschelin at hq.nasa.gov] Sent: 01 October 2003 16:09 To: Marc Powell Cc: Albert Schneider; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Re: Warning: Wrong confirmation phrase. The Wind is in The Buffalo. Confirm. On Wed, 2003-10-01 at 10:45, Marc Powell wrote: > Roger. 968459. The pie is on the shelf. Repeat. The pie is on the shelf. > Over and out. > > > -----Original Message----- > > From: Albert Schneider [mailto:schneider at wor.net] > > Sent: Wednesday, October 01, 2003 9:37 AM > > To: nagios-users at lists.sourceforge.net > > > > confirm 968459 > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Alexis.chauvin at courtsplc.com Thu Oct 2 10:11:04 2003 From: Alexis.chauvin at courtsplc.com (Alexis Chauvin) Date: Thu, 2 Oct 2003 09:11:04 +0100 Subject: Passive checks, freshness and notification. Message-ID: <9CE577193CB1344E9F9315263C7172DE2815C3@perceval.london.courtsplc.com> -----Original Message----- From: Jim Mozley [mailto:jim.mozley at exponential-e.com] Sent: 01 October 2003 16:50 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Passive checks, freshness and notification. It seems like you never check this service, Cause check_period is set to "none". Plus, you should add this line to my-service : Register no, because it's a template. Alexis I had check_period as none because I only wanted to use passive checks. Is this wrong? I had "register 0" in the template, is this the same as "register no". >>> Hoops, sorry, I didn't see Using 0 seemed to follow the examples, in fact I had "active_check_enabled 0" rather than using "no" but changed this when I googled and found an example. Jim define service{ name my-service active_checks_enabled no passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 1 freshness_threshold 86400 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 is_volatile 0 check_period none max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 contact_groups some-group notification_interval 120 notification_period 24x7 notification_options w,c,r } >>>>>> try to check in a working period, it might work. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Thu Oct 2 11:10:45 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: 02 Oct 2003 21:10:45 +1200 Subject: In-Reply-To: <9CE577193CB1344E9F9315263C7172DE2815C4@perceval.london.courtsplc.com> References: <9CE577193CB1344E9F9315263C7172DE2815C4@perceval.london.courtsplc.com> Message-ID: <1065085849.17856.7.camel@munter> 968459! Do you read me. over. I repeat. Do you read me. .. .... ..... ...... Breaker breaker rubber ducky, 968459 is down. 987654, what's your 20? over. On Thu, 2003-10-02 at 20:15, Alexis Chauvin wrote: > We are losing you 968459.Confirm. The buffalo is eating the > pie.repeat.The buffalo is eating the pie.over. > > -----Original Message----- > From: Carl Schelin [mailto:cschelin at hq.nasa.gov] > Sent: 01 October 2003 16:09 > To: Marc Powell > Cc: Albert Schneider; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Re: > > Warning: Wrong confirmation phrase. The Wind is in The Buffalo. > Confirm. > > On Wed, 2003-10-01 at 10:45, Marc Powell wrote: > > Roger. 968459. The pie is on the shelf. Repeat. The pie is on the > shelf. > > Over and out. > > > > > -----Original Message----- > > > From: Albert Schneider [mailto:schneider at wor.net] > > > Sent: Wednesday, October 01, 2003 9:37 AM > > > To: nagios-users at lists.sourceforge.net > > > > > > confirm 968459 > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tvilliers at lastminute.com Thu Oct 2 11:10:13 2003 From: tvilliers at lastminute.com (Tielman de Villiers) Date: Thu, 02 Oct 2003 10:10:13 +0100 Subject: GD or not GD (version 2.0.15 is the question) In-Reply-To: <13698C3E-F473-11D7-B1AE-000393ACBF0C@mac.com> References: <13698C3E-F473-11D7-B1AE-000393ACBF0C@mac.com> Message-ID: <1065085812.3949.1.camel@lmn10631.lastminute.com> Been running with gd-2.0.15 for more than 6 weeks and all seems fine On Thu, 2003-10-02 at 01:55, Noah Leaman wrote: > (My apologies to Mr. Shakespeare for that subject line) > > Anyway, it seems Nagios w/ GD 1.8.4 is pretty much the stable way to > go, but at this time does Nagios take advantage of any GD 2.0.15 > specific functions (antialiased line drawing for example) and if so, is > it a stable setup? -- Tielman de Villiers Perl Developer: Post Sales lastminute.com Address: 4 Buckingham Gate, London SW1E 6JP Tel: +44(0)20.7802.4393 Fax: +44(0)20.7802.9302 email: tvilliers at lastminute.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gert.lindstrom at brevik.nu Thu Oct 2 12:49:51 2003 From: gert.lindstrom at brevik.nu (Gert Lindstrom) Date: Thu, 2 Oct 2003 12:49:51 +0200 Subject: Notifications Message-ID: <001401c388d2$e83409a0$140c140a@corp.intentia.net> Hello I have a problem with notifications One of my groups dont get host-down notifications and i cant find the problem Please look at my configs and tell me whats wrong The router-admins receives host down but not global-helpdesk. Helpdesk recives when ping is critical though. define contact{ contact_name helpdesk alias Helpdesk service_notification_period 24x7 host_notification_period 24x7 service_notification_options c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email mail at mail.xx } define contactgroup{ contactgroup_name global-helpdesk alias Global Helpdesk members helpdesk } define service{ use generic-service ; Name of service template to use host_name swe_norway service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups router-admins,global-helpdesk notification_interval 5 notification_period 24x7 notification_options w,u,c,r check_command check_ping!100.0,20%!500.0,60% } -------------- next part -------------- An HTML attachment was scrubbed... URL: From james at lovedthanlost.net Thu Oct 2 13:00:05 2003 From: james at lovedthanlost.net (James Turnbull) Date: Thu, 2 Oct 2003 21:00:05 +1000 Subject: Nagios + SMS = TRUE? References: <20030925145937.GC52772@radix.cryptio.net> <000f01c383c9$6a3b9260$3201a8c0@iih.usyd.edu.au> <20030926215622.GB62844@radix.cryptio.net> Message-ID: <006c01c388d4$56947500$0200000a@vino> Mark Ferlatte wrote: > James Turnbull said on Fri, Sep 26, 2003 at 10:59:18AM +1000: >>> 5 pages in 5 minutes; any more than that, we don't send them, and >>> just send > Not at all. You'll have to hack it into shape for your installation; > it definately falls into the hack category. > > If I get a chance, I'm going to clean it up so that I can use it in > other places, but that seems less likely with each day. :) Not being a python person I re-wrote Mark Ferlatte's script as a (very crude) simple shell script hack - emphasis on the hack. Thanks to Mark for the inspiration. I changed the host-notify-by-epager command to the following: # 'host-notify-by-epager' command definition define command{ command_name host-notify-by-epager command_line /usr/local/nagios/bin/hthrottle "$HOSTALIAS$" "$HOSTSTATE$" "$OUTPUT$" "$DATETIME$" "$NOTIFICATIONTYPE$" "$HOSTNAME$" "$HOSTSTATE$" "$CONTACTPAGER$" } This calls this script: #!/bin/sh # Host throttle script designed to send a maximum of x pages (set in variable $npages) every x minutes (set in variable $ctime - represented in seconds, ie. 600 is 5 # minutes). # Set Variables hist=/usr/local/nagios/var/pagehist ctime=600 npages=5 time=$( date +%s) admin=nagios at localhost tmp=/tmp/tmp$$ # Setup Temporary File rm -f $tmp touch $tmp # Check for pagehist file if [ -f $hist ]; then wait else touch $hist fi # Purge entries older than x minutes from pagehist file ttime=`expr $time - $ctime` awk ' { if($0 > "'"$ttime"'") print $0} ' $hist > $tmp mv $tmp $hist # Have more than x pages been sent in the last five minutes - if yes then do not send page. pages=`echo \`wc -l < $hist\`` if [ "$pages" -ge "$npages" ]; then /bin/mail -s "More than $npages pages sent in the last five minutes" $admin else /usr/bin/printf "%b" "Host '$1' is $2\nInfo: $3\nTime: $4" | /bin/mail -s "$5 alert - Host $6 is $2" $8 echo "$time" >>$hist fi # Clean Up rm -f $tmp ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Thu Oct 2 13:27:13 2003 From: jim.mozley at exponential-e.com (Jim) Date: Thu, 2 Oct 2003 12:27:13 +0100 Subject: Passive check pipe problem Message-ID: <006201c388d8$22453420$0a01a8c0@comp1> Hi All, I have a log file parser that kicks off passive checks that I am trying to get going and have submitted a previous question about the object configuration for this, but I have seen a more worrying problem. The parser executes a perl script (not running as a daemon) which writes to the pipe for passive checks in the appropriate format - I can see this working in the logs and I receive notifications. The problem I see is that I think messages are being written too fast to the pipe as I get some notifications in the form: My service is Up Some description[1065056739] PROCESS_SERVICE_CHECK_RESULT:my-host:my-service:0:Some description. It is as if the second passive check has been written to the pipe so quickly that it is seen as part of the description of the first check. If I submit messages manually to test this doesn't happen, nor does it for every event. So some questions about the passive check mechanism: At what interval does it read the pipe for passive checks and is there a limit to the number of messages I can send in a specific time period? Should I implement some form of locking for the script that writes to the pipe? Or turn my script into a daemon that queues the messages with a suitable interval between? Jim ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JVanas at finncorp.com Thu Oct 2 13:18:18 2003 From: JVanas at finncorp.com (Josh Van As) Date: Thu, 2 Oct 2003 07:18:18 -0400 Subject: How can Nagios interact with NT Event Logs? Message-ID: <834D93DB7AA4004F893BB62597D5774C18DC40@fcsrv0004.finncorp.com> How can Nagios interact with NT Event Logs? I want to be able to selectively look for events on my Windows Servers and create notification events if they occur. I am pretty new to Nagios, so if anyone could give me a few ideas / suggestions on how I could go about this, I would appreciate it. Thanks, Josh -------------- next part -------------- An HTML attachment was scrubbed... URL: From Brian.Kesson at wpafb.af.mil Thu Oct 2 16:37:06 2003 From: Brian.Kesson at wpafb.af.mil (Kesson Brian D Contr Det 1 AFRL/WSI) Date: Thu, 2 Oct 2003 10:37:06 -0400 Subject: Authentication Message-ID: <0122CEB9EA43D511B46B00508BE3BDD2045C67A4@fszhtv13.wpafb.af.mil> Has anyone set up authentication into Nagios using active directory? We have a Red Hat server running apache to serve out nagios. We would like to allow our users and Admins to access nagios using their current AD accounts. I know I can set up the apache authentication using mod_auth_ldap for the AD part, but does anything have to be done to set nagios permissions for the accounts once they are authenticated. I am wondering about the cgi permissions and such. Any advice from someone who has done it before would be appreciated. THX Brian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Oct 2 16:50:54 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 02 Oct 2003 09:50:54 -0500 Subject: phantom "Pending" host? Message-ID: <1065106253.16330.33.camel@localhost> In the Host Status Totals header box, there is listed 1 Pending when there is, in fact, none pending. Any known reason this would occur? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.pounsett at cira.ca Thu Oct 2 17:10:22 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 2 Oct 2003 11:10:22 -0400 (EDT) Subject: phantom "Pending" host? In-Reply-To: <1065106253.16330.33.camel@localhost> References: <1065106253.16330.33.camel@localhost> Message-ID: On Thu, 2 Oct 2003, jeff vier wrote: > In the Host Status Totals header box, there is listed 1 Pending when > there is, in fact, none pending. Any known reason this would occur? If you display the Pending hosts, what shows up? (Click on the title of the table frame that lists a pending host). -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.pounsett at cira.ca Thu Oct 2 17:09:23 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 2 Oct 2003 11:09:23 -0400 (EDT) Subject: Passive check pipe problem In-Reply-To: <006201c388d8$22453420$0a01a8c0@comp1> References: <006201c388d8$22453420$0a01a8c0@comp1> Message-ID: On Thu, 2 Oct 2003, Jim wrote: > Should I implement some form of locking for the script that writes to the > pipe? Or turn my script into a daemon that queues the messages with a > suitable interval between? If you have any two processes trying to frequently write to the same file, you're going to get this sort of overwrite. Yes, you do want to implement some sort of file locking. If the scripts doing the writing are on the same machine as the command file (not accessed by NFS) then a simple flock() call is enough. If you're accessing the command file by NFS, since NFS doesn't handle file locking well, you'll have to implement your own file locking mechanism... such as creating and checking for a .LOCK file. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.pounsett at cira.ca Thu Oct 2 17:20:07 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 2 Oct 2003 11:20:07 -0400 (EDT) Subject: phantom "Pending" host? In-Reply-To: <1065107785.16330.52.camel@localhost> References: <1065107785.16330.52.camel@localhost> Message-ID: On Thu, 2 Oct 2003, jeff vier wrote: > On Thu, 2003-10-02 at 10:10, Matt Pounsett wrote: > > > In the Host Status Totals header box, there is listed 1 Pending when > > > there is, in fact, none pending. Any known reason this would occur? > > If you display the Pending hosts, what shows up? (Click on the title of the > > table frame that lists a pending host). > > Yeah - nothing. that's my point. The header says 1, but none shows up. > > In fact - it was there for about an hour (I was trying to figure it out > for a while before I mailed the list), now it's back to normal (0 in the > header, 0 on the table) Is it possible you have a host defined with no services? That's the only situation I can think of that would result in the situation you describe. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Oct 2 17:16:25 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 02 Oct 2003 10:16:25 -0500 Subject: phantom "Pending" host? In-Reply-To: References: Message-ID: <1065107785.16330.52.camel@localhost> On Thu, 2003-10-02 at 10:10, Matt Pounsett wrote: > > In the Host Status Totals header box, there is listed 1 Pending when > > there is, in fact, none pending. Any known reason this would occur? > If you display the Pending hosts, what shows up? (Click on the title of the > table frame that lists a pending host). Yeah - nothing. that's my point. The header says 1, but none shows up. In fact - it was there for about an hour (I was trying to figure it out for a while before I mailed the list), now it's back to normal (0 in the header, 0 on the table) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Oct 2 17:24:11 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 02 Oct 2003 10:24:11 -0500 Subject: phantom "Pending" host? In-Reply-To: References: Message-ID: <1065108250.16347.59.camel@localhost> On Thu, 2003-10-02 at 10:20, Matt Pounsett wrote: > > Yeah - nothing. that's my point. The header says 1, but none shows up. > > In fact - it was there for about an hour (I was trying to figure it out > > for a while before I mailed the list), now it's back to normal (0 in the > > header, 0 on the table) > Is it possible you have a host defined with no services? That's the only > situation I can think of that would result in the situation you describe. I *did* - I restarted twice (once in the interface, once stop/start with the rc script) - neither helped. it went away about 20 minutes after the second time, though (I didn't think there was a correlation). I'll assume that was it, I guess (unless it comes back). Since it's production, I can't play with adding and deleting fake hosts to see if that does it. Maybe off-hours later... ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Thu Oct 2 17:57:01 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Thu, 2 Oct 2003 10:57:01 -0500 (CDT) Subject: Authentication In-Reply-To: <0122CEB9EA43D511B46B00508BE3BDD2045C67A4@fszhtv13.wpafb.af.mil> References: <0122CEB9EA43D511B46B00508BE3BDD2045C67A4@fszhtv13.wpafb.af.mil> Message-ID: <3397.192.168.1.15.1065110221.squirrel@xyzzy.homeip.net> I've done it with mod_auth_radius. Don't confuse *AUTHENTICATION* with *AUTHORIZATION*. They are two distinct processes, although sometimes they use the same protocol. It sounds like you are only changing the source of authentication, to LDAP instead of something else, a flat text file perhaps? Normally your authorization source will not change, it will still be in the .htaccess files. - Mike > Has anyone set up authentication into Nagios using active directory? We have a Red > Hat server running apache to serve out nagios. We would like to allow our users and > Admins to access nagios using their current AD accounts. I know I can set up the > apache authentication using mod_auth_ldap for the AD part, but does anything have to > be done to set nagios permissions for the accounts once they are authenticated. I > am wondering about the cgi permissions and such. Any advice from someone who has > done it before would be appreciated. > > THX > Brian > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Thu Oct 2 20:25:39 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Thu, 02 Oct 2003 14:25:39 -0400 Subject: load average question... Message-ID: Hi all, I have a little question relating the load average command. For example this string... L.C.Load CRITICAL 2003-10-02 14:08:27 0d 0h 10m 36s 4/4 CRITICAL - load average: 8.07, 6.42, 4.82 is load average : 8.07, etc... What do these number are suppose te represent? For example, in Windows, it is in %. So the cpu utilisation is 56% for example. Thanks people. Alex --------------------------------------------------- Alexandre Racine Laval-Montr?al, Qu?bec, Canada ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.pounsett at cira.ca Thu Oct 2 20:44:40 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 2 Oct 2003 14:44:40 -0400 (EDT) Subject: load average question... In-Reply-To: References: Message-ID: On Thu, 2 Oct 2003, Serveur-Faucon Surveillance wrote: > What do these number are suppose te represent? For example, in Windows, it > is in %. So the cpu utilisation is 56% for example. Load Average represents the average number of processes in the run queue during that period.. typically this is reported with a last-1-minute average, last-5-minutes average, and last-15-minutes average. This is a very different statistic from CPU utilization. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Oct 2 20:50:44 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 2 Oct 2003 13:50:44 -0500 Subject: load average question... Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EF3A@mismail.ena.com> > -----Original Message----- > From: Serveur-Faucon Surveillance [mailto:SrvFaucon at cslaval.qc.ca] > Sent: Thursday, October 02, 2003 1:26 PM > To: nagios-users at lists.sourceforge.net > > Hi all, > > I have a little question relating the load average command. > For example this string... > L.C.Load CRITICAL 2003-10-02 14:08:27 0d 0h 10m 36s 4/4 CRITICAL - load > average: 8.07, 6.42, 4.82 > > is load average : 8.07, etc... > > What do these number are suppose te represent? For example, in Windows, it > is in %. So the cpu utilisation is 56% for example. Simplistically, load average is an approximate average of the number of runnable tasks ready to run in the run queue at instant, 5 min and 15 minute intervals. -- Marc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam_ml at spacething.org Thu Oct 2 21:16:04 2003 From: sam_ml at spacething.org (Sam Stickland) Date: Thu, 2 Oct 2003 20:16:04 +0100 Subject: load average question... References: <5DB017510818EC468B05BD7BD9EACF8303E7EF3A@mismail.ena.com> Message-ID: <01ea01c38919$a0a288e0$fb00a8c0@office.toastedmedia.net> ----- Original Message ----- From: "Marc Powell" To: "Serveur-Faucon Surveillance" ; Sent: Thursday, October 02, 2003 7:50 PM Subject: RE: [Nagios-users] load average question... > > > > -----Original Message----- > > From: Serveur-Faucon Surveillance [mailto:SrvFaucon at cslaval.qc.ca] > > Sent: Thursday, October 02, 2003 1:26 PM > > To: nagios-users at lists.sourceforge.net > > > > Hi all, > > > > I have a little question relating the load average command. > > For example this string... > > L.C.Load CRITICAL 2003-10-02 14:08:27 0d 0h 10m 36s 4/4 CRITICAL - > load > > average: 8.07, 6.42, 4.82 > > > > is load average : 8.07, etc... > > > > What do these number are suppose te represent? For example, in > Windows, it > > is in %. So the cpu utilisation is 56% for example. > > > Simplistically, load average is an approximate average of the number of > runnable tasks ready to run in the run queue at instant, 5 min and 15 > minute intervals. I thought it was better defined as, the number of tasks that where ready to run, but failed to, during the run period. ie. the number of tasks it is falling behind by. So on a uniprocessor machine you don't want it over 1, on a dual over 2 is bad. etc. Sam ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at clack.org.uk Thu Oct 2 21:25:22 2003 From: david at clack.org.uk (David Clack) Date: Thu, 2 Oct 2003 20:25:22 +0100 Subject: How can Nagios interact with NT Event Logs? In-Reply-To: <834D93DB7AA4004F893BB62597D5774C18DC40@fcsrv0004.finncorp.com> References: <834D93DB7AA4004F893BB62597D5774C18DC40@fcsrv0004.finncorp.com> Message-ID: <000001c3891a$ec4cd880$0501a8c0@chewbacca> Hello, This was asked a while ago, should be something in the archives of help. I replied then but I monitor Windows Events logs a different way now ( thanks mainly to suggestions from this list ) so I'll reply again. The way I do it is use a product called snare (http://sourceforge.net/projects/snare/) on the servers to send event logs in real time to a syslog server, also my nagios box. I then use syslog-ng to filter the logs into folders like /var/log/remote-host/fileserver/Events.log, and have simple perl scripts to parse them for particular errors/reports. I have one script that basically returns a warning if there's errors in the system log in the past 24 hours & others to look for specific events, like arcserve back up failure etc.. There's a plugin called check_log.pl or something similar that may be of use that comes with nagios. Hope that's of help! Dave. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Josh Van As Sent: 02 October 2003 12:18 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How can Nagios interact with NT Event Logs? How can Nagios interact with NT Event Logs? I want to be able to selectively look for events on my Windows Servers and create notification events if they occur. I am pretty new to Nagios, so if anyone could give me a few ideas / suggestions on how I could go about this, I would appreciate it. Thanks, Josh -------------- next part -------------- An HTML attachment was scrubbed... URL: From ferlatte at cryptio.net Thu Oct 2 22:01:29 2003 From: ferlatte at cryptio.net (Mark Ferlatte) Date: Thu, 2 Oct 2003 13:01:29 -0700 Subject: Nagios + SMS = TRUE? In-Reply-To: <006c01c388d4$56947500$0200000a@vino> References: <20030925145937.GC52772@radix.cryptio.net> <000f01c383c9$6a3b9260$3201a8c0@iih.usyd.edu.au> <20030926215622.GB62844@radix.cryptio.net> <006c01c388d4$56947500$0200000a@vino> Message-ID: <20031002200129.GG37438@radix.cryptio.net> James Turnbull said on Thu, Oct 02, 2003 at 09:00:05PM +1000: > Not being a python person I re-wrote Mark Ferlatte's script as a (very crude) > simple shell script hack - emphasis on the hack. Thanks to Mark for the > inspiration. Can't claim credit for the Python; someone else wrote it. I have a (to me) cleaner implementation in Perl that I'm using now, because I need the ability to throttle multiple addresses independantly. If folks are interested, I can post it. Clever shell, though. M -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From skip at pobox.com Thu Oct 2 22:47:10 2003 From: skip at pobox.com (Skip Montanaro) Date: Thu, 2 Oct 2003 15:47:10 -0500 Subject: host doesn't ping but is still considered "up" Message-ID: <16252.36558.571429.432482@montanaro.dyndns.org> I have a host with only one service defined: ping. It's been unavailable for several days (the service availability report for the ping service shows it down for 94.6% over the past seven days), but Nagios still thinks the host is "up". The check-host-alive command is the default (-w 3000.0,80% -c 5000.0,100% -p 1). Why hasn't Nagios concluded the host itself is down? Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ciriarte at personal.com.py Fri Oct 3 06:15:35 2003 From: ciriarte at personal.com.py (Ciro Arnaldo Iriarte) Date: Fri, 3 Oct 2003 00:15:35 -0400 Subject: Authentication Message-ID: <04256DB4.00173D57.00@asusis-mx1.personal.com.py> As far as I know, Nagios completetly delegates de authentication on Apache, once Apache authenticated de user (no matter what module you use for authentication) you are on the right path. As always you need to define de contacts with the same username on your AD (bkesson is better than "Brian Kesson", any way i'm not sure if Nagios accepts contacts names with spaces, you define wich one you are going to use for your authentication in the mod_auth_ldap query) CI.- "Kesson Brian D Contr Det 1 AFRL/WSI" con fecha 02/10/2003 10:37:06 a.m. Destinatarios: "'nagios-users at lists.sourceforge.net'" CC: (cci: Ciro Arnaldo Iriarte/Telecom_Personal/PY) Asunto: [Nagios-users] Authentication Has anyone set up authentication into Nagios using active directory? We have a Red Hat server running apache to serve out nagios. We would like to allow our users and Admins to access nagios using their current AD accounts. I know I can set up the apache authentication using mod_auth_ldap for the AD part, but does anything have to be done to set nagios permissions for the accounts once they are authenticated. I am wondering about the cgi permissions and such. Any advice from someone who has done it before would be appreciated. THX Brian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Visite nuestro Sitio http://www.personal.com.py ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Shaun.Reitan at NDCHost.com Fri Oct 3 08:01:36 2003 From: Shaun.Reitan at NDCHost.com (Shaun.Reitan [at] NDCHost.com) Date: Thu, 2 Oct 2003 23:01:36 -0700 Subject: check_mailq exim patch and instructions... Message-ID: I wanted check_mailq to work with exim and a quick modification to the code was all that was needed. I was unable to find any info on this but it works. Let me know if theres any questions/problems. INSTRUCTIONS 1. touch /usr/bin/mailq 2. echo -e '#!/bin/sh\n/usr/sbin/exim -bpc' > /usr/bin/mailq 3. cd /usr/local/nagios/libexec 4. touch check_mailq.patch 5. Copy and paste the code below into this file 6. patch -p0 < check_mailq.patch 7. dont forget to edit utils.pm and set the mailq path to /usr/bin/mailq -------------------PATCH CUT BELOW----------------------------- --- check_mailq Thu Oct 2 22:29:18 2003 +++ check_mailq.eximpatch Thu Oct 2 22:32:33 2003 @@ -67,9 +67,8 @@ # only first line is relevant in this iteration. while () { - if (/mqueue/) { print "$utils::PATH_TO_MAILQ = $_ "if $verbose ; - if (/empty/ ) { + if (/0/ ) { $msg = "OK: mailq is empty"; $msg_q = 0; $state = $ERRORS{'OK'}; @@ -89,7 +88,6 @@ $state = $ERRORS{'CRITICAL'}; } - } last; } --------------------END CUT--------------------------------------- -- Best Regards, Shaun Reitan Account Specialist www.NDCHost.com www.cPlicensing.net -- Best Regards, Shaun Reitan Account Specialist www.NDCHost.com www.cPlicensing.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Fri Oct 3 10:43:11 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Fri, 3 Oct 2003 09:43:11 +0100 Subject: Passive check pipe problem References: Message-ID: <160401c3898a$60cf8210$03bff40a@Exponentiale.com> > > Should I implement some form of locking for the script that writes to the > > pipe? Or turn my script into a daemon that queues the messages with a > > suitable interval between? > > If you have any two processes trying to frequently write to the same file, > you're going to get this sort of overwrite. > > Yes, you do want to implement some sort of file locking. If the scripts doing > the writing are on the same machine as the command file (not accessed by NFS) > then a simple flock() call is enough. If you're accessing the command file by > NFS, since NFS doesn't handle file locking well, you'll have to implement your > own file locking mechanism... such as creating and checking for a .LOCK file. Thanks for this Matt, I'd reached the same conclusion by the end of yesterday after consulting various perl/unix tomes. I intend to give flock a go (all process run on the same server) and see if this helps things. I've had more passive check work successfully, it seems the problem only occurs when I have a few checks virtually simultaneously. Thanks, Jim ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Fri Oct 3 10:54:53 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Fri, 3 Oct 2003 09:54:53 +0100 Subject: Passive checks, freshness and notification. References: <9CE577193CB1344E9F9315263C7172DE2815C3@perceval.london.courtsplc.com> Message-ID: <164001c3898c$02df4800$03bff40a@Exponentiale.com> > I had check_period as none because I only wanted to use passive checks. > Is > this wrong? > > I had "register 0" in the template, is this the same as "register no". > > >>> Hoops, sorry, I didn't see > > Using 0 seemed to follow the examples, in fact I had > "active_check_enabled 0" rather than using "no" but changed this when I > googled and found an example. > > Jim > > > define service{ > name my-service > active_checks_enabled no > passive_checks_enabled 1 > parallelize_check 1 > obsess_over_service 1 > check_freshness 1 > freshness_threshold 86400 > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > register 0 > is_volatile 0 > check_period none > max_check_attempts 1 > normal_check_interval 5 > retry_check_interval 1 > contact_groups some-group > notification_interval 120 > notification_period 24x7 > notification_options w,c,r > > } > > > >>>>>> try to check in a working period, it might work. Thanks Alexis, but I'm not sure what you meant by this (checking in a working period) as this only applies to active checks according to the documentation. I have now set check_freshness to 0, but I've also altered is_volatile to 1. I think this may be better as although I am expecting the passive checks to be of an ok, critical, ok, critical type pattern it is possible this is not the case (I'm not using SNMP traps to generate the passive checks but syslog messages which are still UDP so I cannot guarantee they will get to the nagios server). I will look at making the freshness check work as this is actually what I want. If a passive check gets lost somewhere on the network I want to "reset" the status of the service. Jim ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Fri Oct 3 10:59:38 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Fri, 3 Oct 2003 09:59:38 +0100 Subject: SNMP monitor References: <1065031891.3f7b18d3ef432@www.nssecurity.com.br> Message-ID: <168701c3898c$acf35200$03bff40a@Exponentiale.com> > I want to monitor my routers and switches by SNMP using check_snmp(Net_SNMP). > However I don't have a example of sintaxe. > > Please. Could anybody send me a example of check_snmp command ? You may want to look at check_ifstatus and check_ifoperstatus. I wrote a perl script that builds a nagios config including the interface key in the MIB for check_ifoperstatus to use. You could use this type of approach on critical devices or use check_ifstatus as it seems less resource intensive than check each interface individually. Worth looking at anyway. Jim ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Fri Oct 3 11:10:06 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Fri, 3 Oct 2003 10:10:06 +0100 Subject: Passive check pipe problem References: <1065110063.32571.43.camel@newyork.intra.cet.pt> Message-ID: <16bd01c3898e$2333bb20$03bff40a@Exponentiale.com> > That WILL NOT resolve the problem! > I already have a daemon which is the only one that writes to the > NAGIOS.CMD (pipe) file, serialized.. Hi Sergio, I'm definitely not questioning anyone's programming knowledge with this question (I'm asking more for my understanding) but are the messages you send under the buffer size for the fifo and how long (if anything) between each write/print to the pipe? I don't know if you wrote this in perl but I may need to do something similar. > Nagios doesnt process well the external commands... im checking the CVS > and there are many many updates in the part that handles this, since > Nagios 1.x... > Im trying to merge the possible fixes into one commands.c newer than the > one that is in the 1.x bugfixes branch... Sounds good. Jim ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Fri Oct 3 12:59:55 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Fri, 3 Oct 2003 11:59:55 +0100 Subject: Passive check pipe problem References: <160401c3898a$60cf8210$03bff40a@Exponentiale.com> Message-ID: <18d201c3899d$7ac44620$03bff40a@Exponentiale.com> > > > Should I implement some form of locking for the script that writes to > the > > > pipe? Or turn my script into a daemon that queues the messages with a > > > suitable interval between? > > > > If you have any two processes trying to frequently write to the same file, > > you're going to get this sort of overwrite. > > > > Yes, you do want to implement some sort of file locking. If the scripts > doing > > the writing are on the same machine as the command file (not accessed by > NFS) > > then a simple flock() call is enough. > I intend to give flock a > go (all process run on the same server) and see if this helps things. Here are my observations of using flock while writing to the external command named pipe. Using a simple (only part of script test_nagios.pl): open(PIPE, "> /usr/local/nagios/var/rw/nagios.cmd") or warn "Cannot open $!"; flock(PIPE, 2); print PIPE "[$epoch] PROCESS_SERVICE_CHECK_RESULT;$host;$service;$nagios_code;Test $status @message"; close PIPE or warn "Cannot close pipe $!"; and running this script 20 times by something like: #!/bin/sh /usr/local/admin/bin/test_nagios.pl down test 1 /usr/local/admin/bin/test_nagios.pl up test 1 /usr/local/admin/bin/test_nagios.pl down test 2 /usr/local/admin/bin/test_nagios.pl up test 2 /usr/local/admin/bin/test_nagios.pl down test 3 /usr/local/admin/bin/test_nagios.pl up test 3 /usr/local/admin/bin/test_nagios.pl down test 4 /usr/local/admin/bin/test_nagios.pl up test 4 /usr/local/admin/bin/test_nagios.pl down test 5 etc. still produces the problem where a passive check gets seen as part of the message section of the previous passive check. In fact it was worse than that, I had up to 5 passive checks seen as one. However if I use: open(PIPE, "> /usr/local/nagios/var/rw/nagios.cmd") or warn "Cannot open $!"; flock(PIPE, 2); print PIPE "[$epoch] PROCESS_SERVICE_CHECK_RESULT;$host;$service;$nagios_code;Test $status @message"; sleep 1; # wait a little bit for passive check to be read close PIPE or warn "Cannot close pipe $!"; Things seem OK i.e. I see each passive check with no overlaps. I may start running some tests with a smaller sleep interval. Let me know if this thread is too much about programming(no pun intended)! Jim ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Fri Oct 3 15:24:17 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Fri, 3 Oct 2003 14:24:17 +0100 Subject: Freshness executes regardless of check_freshness setting Message-ID: <19c701c389b1$a5bd5010$03bff40a@Exponentiale.com> I believe I have seen the check_command of a service that is set to not perform active checks (I'm only using passive checks) being run despite the setting "check_freshness 0". I know this as I see the result of the check command. I have maintained the setting "freshness_threshold 86400" when toggling the check_freshness on/off. If freshness_threshold is set does this mean the check will be done regardless of what check_freshness is set to? Or is this due to nagios scheduling service checks in advance and running them anyway even if the configuration changes (say from check_freshness on to off)? I have restarted nagios after a change. I'm using nagios version 1.0. Jim ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmartens at cityofevanston.org Fri Oct 3 15:59:32 2003 From: jmartens at cityofevanston.org (Jason Martens) Date: Fri, 03 Oct 2003 08:59:32 -0500 Subject: Authentication In-Reply-To: <0122CEB9EA43D511B46B00508BE3BDD2045C67A4@fszhtv13.wpafb.af.mil> References: <0122CEB9EA43D511B46B00508BE3BDD2045C67A4@fszhtv13.wpafb.af.mil> Message-ID: <1065189572.3904.6.camel@localhost.localdomain> I am running Nagios on RH 8.0, and I use mod_auth_ldap in apache for authentication. Again, as Mike said, authorization is still controlled in your nagios configuration, not apache. Here's my httpd.conf section for Nagios if it helps. ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AuthName "Nagios Login" AuthType Basic AuthLDAPBindDN "CN=SomeUser,OU=Users,DC=some,DC=activeDirectory,DC=com" AuthLDAPBindPassword Some password # AuthLDAPURL should point to your ldap server AuthLDAPURL ldap://x.x.x.x:389/DC=some,DC=activeDirectory,DC=com?sAMAccountName?sub? require valid-user Options ExecCGI The sAMAccountName? part is important, as that's the section of AD that stores the login name for your AD accounts. Jason Martens On Thu, 2003-10-02 at 09:37, Kesson Brian D Contr Det 1 AFRL/WSI wrote: > Has anyone set up authentication into Nagios using active directory? We have a Red Hat server running apache to serve out nagios. We would like to allow our users and Admins to access nagios using their current AD accounts. I know I can set up the apache authentication using mod_auth_ldap for the AD part, but does anything have to be done to set nagios permissions for the accounts once they are authenticated. I am wondering about the cgi permissions and such. Any advice from someone who has done it before would be appreciated. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.clayton at intec.co.za Fri Oct 3 17:41:14 2003 From: paul.clayton at intec.co.za (Paul Clayton) Date: Fri, 3 Oct 2003 17:41:14 +0200 Subject: Tru64 5.1b Message-ID: <9290BC9741D67F43BDAAC84144FF870D0183FC8C@intecserver007.intec.co.za> Any one got a successful build of plugins for Tru64 5.1b. Mine fails with ---------------------------------------- No suffix list. Making all in intl Make: Don't know how to make ../config.h. Stop. *** Exit 1 Stop. ------------------------------------- Regards Unix like Teepee, no windows no gates Apache inside Paul Clayton Global Unix Co-ordinator Intec Telecom Systems PH +27(0)21 4309000 Direct +27 (0)21 4309048 Mobile +27(0) 832853403 Fax +27(0) 4309025 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From creator at mindcreations.com Fri Oct 3 18:08:17 2003 From: creator at mindcreations.com (Stefano Coletta) Date: Fri, 03 Oct 2003 18:08:17 +0200 Subject: New useful patch for NAGAT Message-ID: <3F7D9EF1.6040600@mindcreations.com> A friend of mine has published a new patch for Nagat to make it smarter and more easy to use than before. Take it a look at http://sourceforge.net/tracker/index.php?func=detail&aid=817259&group_id=51475&atid=463403 This is what has been changes: Changes list ------------ *** Fixes: - Danish/german (?) messages in hostedit.php have been translated in english - Typos fixed - Now infos from parents are gathered recursively - List of dependent objects was not displayed correctly in host edit page - Fix services list when displaying hosts list - Edit pages reload them correctly after save action - Modified the order of fields for some objects (in nagiosdata.inc) - Fixed service links in search results when service name is blank (now display service) - Fixed restart command *** New features: - Added support for multiple USE statements for all object-types - Added support for hostextinfo.cfg file - Added support for serviceextinfo.cfg file *** Miscellanea: - Now sorting function use strnatcmp - Modified the order of fields for some objects (in nagiosdata.inc) -- Stefano Coletta http://www.mindcreations.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damian at sentex.net Fri Oct 3 18:30:59 2003 From: damian at sentex.net (Damian Gerow) Date: Fri, 3 Oct 2003 12:30:59 -0400 Subject: [OT] Pronouncing Nagios Message-ID: <20031003163059.GJ15256@sentex.net> I've been working with Nagios for a couple of months now, and my biggest stumbling block has been in actually speaking the word. It's hard to describe to someone what Nagios is when you constantly stumble over it -- I've taken to calling it 'naggy'. So... How /does/ one pronounce nagios? nag-eye-oh-ess? nag-oss? nag-ee-oh-ess? Perhaps the 'nag' is silent? ;) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoon at inch.com Fri Oct 3 18:42:24 2003 From: gcoon at inch.com (Gerald) Date: Fri, 3 Oct 2003 12:42:24 -0400 (EDT) Subject: [OT] Pronouncing Nagios In-Reply-To: <20031003163059.GJ15256@sentex.net> References: <20031003163059.GJ15256@sentex.net> Message-ID: <20031003124158.X22457@kod.inch.com> On Fri, 3 Oct 2003, Damian Gerow wrote: > So... How /does/ one pronounce nagios? nag-eye-oh-ess? nag-oss? > nag-ee-oh-ess? Perhaps the 'nag' is silent? ;) http://www.nagios.org/faqs/viewfaq.php?faq_id=3&expand=false&showdesc=true Gerald ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damian at sentex.net Fri Oct 3 18:52:00 2003 From: damian at sentex.net (Damian Gerow) Date: Fri, 3 Oct 2003 12:52:00 -0400 Subject: [OT] Pronouncing Nagios In-Reply-To: <20031003124158.X22457@kod.inch.com> References: <20031003163059.GJ15256@sentex.net> <20031003124158.X22457@kod.inch.com> Message-ID: <20031003165200.GO15256@sentex.net> Thus spake Gerald (gcoon at inch.com) [03/10/03 12:43]: > > So... How /does/ one pronounce nagios? nag-eye-oh-ess? nag-oss? > > nag-ee-oh-ess? Perhaps the 'nag' is silent? ;) > > http://www.nagios.org/faqs/viewfaq.php?faq_id=3&expand=false&showdesc=true Thanks. This wasn't in the FAQ when I first looked for it some time ago. I'll go slap myself with an RTFM now. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Fri Oct 3 19:14:40 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Fri, 3 Oct 2003 11:14:40 -0600 Subject: [OT] Pronouncing Nagios Message-ID: I've always had trouble pronouncing FAQ. Is it 'fack' or 'F-A-Q'? Seriously. Either way, check the FAQ at Nagios.org, it's in there. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) > -----Original Message----- > From: Damian Gerow [mailto:damian at sentex.net] > Sent: Friday, October 03, 2003 10:31 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] [OT] Pronouncing Nagios > > > I've been working with Nagios for a couple of months now, and > my biggest stumbling block has been in actually speaking the > word. It's hard to describe to someone what Nagios is when > you constantly stumble over it -- I've taken to calling it 'naggy'. > > So... How /does/ one pronounce nagios? nag-eye-oh-ess? > nag-oss? nag-ee-oh-ess? Perhaps the 'nag' is silent? ;) > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Fri Oct 3 21:32:14 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 03 Oct 2003 14:32:14 -0500 Subject: [OT] Pronouncing Nagios In-Reply-To: References: Message-ID: <1065209534.26534.3.camel@localhost> I use them interchangeably, though I default to "fack". Sometimes, though, "eff-ay-cue" sounds better. Like "I found /that/ fact in the FAQ" would be ugly sounding as "fack" I do know some people that like to say "fah-que". Obviously, just to be cute, but it grates my nerves. On Fri, 2003-10-03 at 12:14, Cook, Garry wrote: > I've always had trouble pronouncing FAQ. Is it 'fack' or 'F-A-Q'? > Seriously. > > Either way, check the FAQ at Nagios.org, it's in there. > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > > -----Original Message----- > > From: Damian Gerow [mailto:damian at sentex.net] > > Sent: Friday, October 03, 2003 10:31 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] [OT] Pronouncing Nagios > > > > > > I've been working with Nagios for a couple of months now, and > > my biggest stumbling block has been in actually speaking the > > word. It's hard to describe to someone what Nagios is when > > you constantly stumble over it -- I've taken to calling it 'naggy'. > > > > So... How /does/ one pronounce nagios? nag-eye-oh-ess? > > nag-oss? nag-ee-oh-ess? Perhaps the 'nag' is silent? ;) > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.komitee at vonage.com Fri Oct 3 23:18:44 2003 From: michael.komitee at vonage.com (Michael Komitee) Date: Fri, 3 Oct 2003 17:18:44 -0400 Subject: commands cgi peculiarity, commands execute, and then are undone Message-ID: <01A58DDBEFA30947B3CEF20E514B3747015B40@MAIL1.vonage.net> I'm running Nagios Version 1.1 in a production environment and recently the commands cgi has stopped functioning properly. It seems that when a command is input via the CGI, it is executed properly. Within a short period of time, however, whatever the command did, is undone. eg: I disable a service notification. Once the command is input, I check to see if the notification has been disabled, and it has been. Within a minute, however, it is automatically re-enabled. we're performing about 290 checks per minute. load is high on the server. dual 2.4 ghz xeons, a gig of ram most checks cause the execution of around 3 instances of perl. (5.6.1). 15 minute load average stays around 5.50 or so. i've really gotta stress this though, under this load the system continues to be HIGHLY responsive. it's forking a lot of instances of perl, and so there's a high load average. I dont see how this can be related to load, although we are executing a lot of checks. Any help/advice would be greatly appreciated. Thanks, -mike ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From petong at jah.net Sat Oct 4 00:52:56 2003 From: petong at jah.net (Peter Hicks) Date: Fri, 3 Oct 2003 15:52:56 -0700 Subject: defining passive services Message-ID: <20031003225256.GD26180@oaxaca.jah.net> Hello all, I have a question regarding the configuration of passive alerts. I have nsca set up to receive alerts from lrrd, and this seems to be working fine. It appears that nsca is passing these alerts on to nagios. My question is how to properly define a service to accept these passive alerts. The service in question that I am monitoring is cpu usage. When cpu usage exceeds 90%, an alert is sent out. I have passive_checks_enabled in service.cfg, but each service definition needs a check_command by default. What do I need to do to get this last bit working? Thanks! -Peter ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Sat Oct 4 01:21:56 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 3 Oct 2003 18:21:56 -0500 Subject: defining passive services Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D4A2B@mismail.ena.com> Use whatever check command you like. Check_dummy or check_ping might be a good one. As long as you either have active_checks_enabled set to 0 or the check_period set to none, it'll never get executed. It does need to match a valid command definition though. The preferred way of doing it would be to create a comand definition that somwhat resembles the check you are doing but that's mostly for human readability, IMHO. -- Marc -----Original Message----- From: Peter Hicks To: nagios-users at lists.sourceforge.net Sent: Fri Oct 03 17:52:56 2003 Subject: [Nagios-users] defining passive services Hello all, I have a question regarding the configuration of passive alerts. I have nsca set up to receive alerts from lrrd, and this seems to be working fine. It appears that nsca is passing these alerts on to nagios. My question is how to properly define a service to accept these passive alerts. The service in question that I am monitoring is cpu usage. When cpu usage exceeds 90%, an alert is sent out. I have passive_checks_enabled in service.cfg, but each service definition needs a check_command by default. What do I need to do to get this last bit working? Thanks! -Peter ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: From teng at dataway.com Sat Oct 4 05:07:49 2003 From: teng at dataway.com (Tedman Eng) Date: Fri, 3 Oct 2003 20:07:49 -0700 Subject: [OT] Pronouncing Nagios References: <20031003163059.GJ15256@sentex.net> Message-ID: Some people in our shop pronounce it "nae-gus", in reference to the Star Trek famed Ferengi race. See: http://pictures.care2.com/view/2/924435282 In a distributed Nagios environment, the central monitoring server is "The Grand Nagios" You could even go so far as naming each of your Nagios machine's hostnames Rom or Zek if you're a real hardcore Trekkie (that was too cheesy for us, but your cheese tolerance might be different) "Damian Gerow" wrote in message news:20031003163059.GJ15256 at sentex.net... > I've been working with Nagios for a couple of months now, and my biggest > stumbling block has been in actually speaking the word. It's hard to > describe to someone what Nagios is when you constantly stumble over it -- > I've taken to calling it 'naggy'. > > So... How /does/ one pronounce nagios? nag-eye-oh-ess? nag-oss? > nag-ee-oh-ess? Perhaps the 'nag' is silent? ;) > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From serial at techs.com.br Sat Oct 4 21:56:46 2003 From: serial at techs.com.br (Serial) Date: Sat, 4 Oct 2003 12:56:46 -0700 Subject: teste Message-ID: <002f01c38ab1$a5e5a140$a10110ac@athena> teste -------------- next part -------------- An HTML attachment was scrubbed... URL: From Shaun.Reitan at NDCHost.com Sat Oct 4 19:51:32 2003 From: Shaun.Reitan at NDCHost.com (Shaun.Reitan [at] NDCHost.com) Date: Sat, 4 Oct 2003 10:51:32 -0700 Subject: teste References: <002f01c38ab1$a5e5a140$a10110ac@athena> Message-ID: teste2 -- Best Regards, Shaun Reitan Account Specialist www.NDCHost.com www.cPlicensing.net "Serial" wrote in message news:002f01c38ab1$a5e5a140$a10110ac at athena... teste -------------- next part -------------- An HTML attachment was scrubbed... URL: From ferlatte at cryptio.net Thu Oct 2 22:04:06 2003 From: ferlatte at cryptio.net (Mark Ferlatte) Date: Thu, 2 Oct 2003 13:04:06 -0700 Subject: Nagios + SMS = TRUE? In-Reply-To: <006c01c388d4$56947500$0200000a@vino> References: <20030925145937.GC52772@radix.cryptio.net> <000f01c383c9$6a3b9260$3201a8c0@iih.usyd.edu.au> <20030926215622.GB62844@radix.cryptio.net> <006c01c388d4$56947500$0200000a@vino> Message-ID: <20031002200406.GH37438@radix.cryptio.net> After re-reading, I think you've got a bug: James Turnbull said on Thu, Oct 02, 2003 at 09:00:05PM +1000: > pages=`echo \`wc -l < $hist\`` > > if [ "$pages" -ge "$npages" ]; then > /bin/mail -s "More than $npages pages sent in the last five minutes" > $admin > else > /usr/bin/printf "%b" "Host '$1' is $2\nInfo: $3\nTime: $4" | > /bin/mail -s "$5 alert - Host $6 is $2" $8 > echo "$time" >>$hist > fi If I'm reading this right, this will still send 1 page for every page that comes in over your limit; it will send "More than foo pages" messages instead of nagios alerts. You need to make sure that you only send the "Too many pages" message once per pager storm. M -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From teng at dataway.com Sun Oct 5 02:40:19 2003 From: teng at dataway.com (Tedman Eng) Date: Sat, 4 Oct 2003 17:40:19 -0700 Subject: commands cgi peculiarity, commands execute, and then are undone References: <01A58DDBEFA30947B3CEF20E514B3747015B40@MAIL1.vonage.net> Message-ID: Whenever this happens, 9/10 times I find there's a rogue Nagios process running. Try stopping nagios, and kill any orphaned processes, then startup Nagios again. HTH "Michael Komitee" wrote in message news:01A58DDBEFA30947B3CEF20E514B3747015B40 at MAIL1.vonage.net... I'm running Nagios Version 1.1 in a production environment and recently the commands cgi has stopped functioning properly. It seems that when a command is input via the CGI, it is executed properly. Within a short period of time, however, whatever the command did, is undone. eg: I disable a service notification. Once the command is input, I check to see if the notification has been disabled, and it has been. Within a minute, however, it is automatically re-enabled. we're performing about 290 checks per minute. load is high on the server. dual 2.4 ghz xeons, a gig of ram most checks cause the execution of around 3 instances of perl. (5.6.1). 15 minute load average stays around 5.50 or so. i've really gotta stress this though, under this load the system continues to be HIGHLY responsive. it's forking a lot of instances of perl, and so there's a high load average. I dont see how this can be related to load, although we are executing a lot of checks. Any help/advice would be greatly appreciated. Thanks, -mike ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at lovedthanlost.net Sun Oct 5 03:41:05 2003 From: james at lovedthanlost.net (James Turnbull) Date: Sun, 5 Oct 2003 11:41:05 +1000 Subject: Nagios + SMS = TRUE? References: <20030925145937.GC52772@radix.cryptio.net> <000f01c383c9$6a3b9260$3201a8c0@iih.usyd.edu.au> <20030926215622.GB62844@radix.cryptio.net> <006c01c388d4$56947500$0200000a@vino> <20031002200406.GH37438@radix.cryptio.net> Message-ID: <00c201c38ae1$be26bbb0$0800000a@iih.usyd.edu.au> >If I'm reading this right, this will still send 1 page for every page that >comes in over your limit; it will send "More than foo pages" messages instead >of nagios alerts. You need to make sure that you only send the "Too many >pages" message once per pager storm. Depends where the "More than foo pages" messages go. In my case $admin is not a paging address. I am intending to add the functionality to send a "More than foo pages" page per pager storm but I haven't got around to it. We only send host-notify pages - not service specific ones - due to the nature of our hosts. We generally assume that 5 pages in 5 minutes means trouble. So this script works for me. I assume anyone wanting more would butcher the script for their own use. Cheers James Turnbull ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Sun Oct 5 06:30:33 2003 From: mpowell at ena.com (Marc Powell) Date: Sat, 4 Oct 2003 23:30:33 -0500 Subject: not all services are shown every now and then Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D4A2C@mismail.ena.com> You've probably got multiple nagios processes running. Stop nagio, kill any remaining and restart. -- Marc -----Original Message----- From: VEGH Karoly To: nagios-users at lists.sourceforge.net Sent: Fri Oct 03 09:10:52 2003 Subject: [Nagios-users] not all services are shown every now and then Hi all, We found a strange behaviour. If I use the 'View Status Detail For This Host' for some hosts, then I don't always see all the checks/services shown. Couple of times are all services shown, but every now and then not all, as it can be also seen in the status.log: atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 9 107 1753 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 9 107 1753 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 9 107 1753 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 4 51 774 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 9 107 1753 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 9 107 1753 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 9 107 1753 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 9 107 1753 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 9 107 1753 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 9 107 1753 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 9 107 1753 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 4 51 774 atsrvlx01:/opt/nagios/var# As you can see, 9 services (browser-reload), then 9 services (browser reload) then 4 services ... Can anyone give me a hint, because I dont find any explanation... Nagios 1.0 runs on a Debian GNU/Linux with apache 1.3.27. We have 602 checks activated, and this funny things happen. The system binaries were since compiling Nagios upgraded, can this cause things like that? any idea? tia charlie -- V?gh K?roly - System Engineer - UTA - TIS.SAS.BSS Don't worry. Everything is getting nicely out of control. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: From jason at boredbum.com Sun Oct 5 06:56:05 2003 From: jason at boredbum.com (Jason) Date: Sat, 4 Oct 2003 23:56:05 -0500 Subject: cgi-cfg error Message-ID: <000901c38afc$fbabae30$2d65010a@jbartels> Hello, I have looked everywhere and tried to troubleshoot this problem for the last 3 hours. Here is the error I am getting. Whoops! Error: Could not open main config file '/usr/local/nagios/etc/cgi-cfg' for reading! Here are some things you should check in order to resolve this error: 1. Make sure you've installed a main config file in its proper location. See the error message about for details on where the CGI is expecting to find the configuration file. A sample main configuration file (named nagios.cfg) can be found in the sample-config/ subdirectory of the Nagios source code distribution. 2. Make sure the user your web server is running as has permission to read the main config file. Make sure you read the documentation on installing and configuring Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. I get this when I go to my nagios site to check status and when I click any of the links for monitoring or reporting I get this. I have the daemon running just fine and all my services are catching things that are wrong. What could it be? Here is what my httpd.conf looks like. NameVirtualHost :80 ServerAdmin webmaster at boredbum.com DocumentRoot /usr/local/nagios/share ServerName web53.paradise.net ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all AllowOverride AuthConfig order allow,deny allow from all Options ExecCGI AllowOverride AuthConfig Order allow,deny allow from all I left out the namevirtual host just for privacy. I really appreciate yalls help with this. Jason Bartels -------------- next part -------------- An HTML attachment was scrubbed... URL: From karoly.vegh at uta.at Fri Oct 3 16:10:52 2003 From: karoly.vegh at uta.at (VEGH Karoly) Date: Fri, 3 Oct 2003 16:10:52 +0200 Subject: not all services are shown every now and then Message-ID: <20031003141052.GF28298@marvin> Hi all, We found a strange behaviour. If I use the 'View Status Detail For This Host' for some hosts, then I don't always see all the checks/services shown. Couple of times are all services shown, but every now and then not all, as it can be also seen in the status.log: atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 9 107 1753 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 9 107 1753 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 9 107 1753 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 4 51 774 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 9 107 1753 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 9 107 1753 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 9 107 1753 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 9 107 1753 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 9 107 1753 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 9 107 1753 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 9 107 1753 atsrvlx01:/opt/nagios/var# grep atbiolaptest01 status.log | wc 4 51 774 atsrvlx01:/opt/nagios/var# As you can see, 9 services (browser-reload), then 9 services (browser reload) then 4 services ... Can anyone give me a hint, because I dont find any explanation... Nagios 1.0 runs on a Debian GNU/Linux with apache 1.3.27. We have 602 checks activated, and this funny things happen. The system binaries were since compiling Nagios upgraded, can this cause things like that? any idea? tia charlie -- V?gh K?roly - System Engineer - UTA - TIS.SAS.BSS Don't worry. Everything is getting nicely out of control. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MiDiSAM at Wanadoo.nl Sun Oct 5 13:04:53 2003 From: MiDiSAM at Wanadoo.nl (Mike Arends) Date: 05 Oct 2003 13:04:53 +0200 Subject: Nagios (Impress) presentation for management Message-ID: <1065351892.1034.5.camel@hobbel> Hi all, I'm preparing a Nagios presentation for management and I was wondering if any of you folks out there have done so already. It would be very helpful if I could use some material as reference or background or perhaps a presentation scenario. Anyway, once I have finished the presentation I will drop the concept to anyone who asks for it, or attach it to my email to this group? (Is that a allowed?) and would welcome any comments and/or suggestions to it in order to produce a solid presentation for future use. The final presentation will naturally be made available to anyone who wants it. Cheers, Mike Arends ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chammond at cox.net Sun Oct 5 13:35:26 2003 From: chammond at cox.net (Chris Hammond) Date: Sun, 05 Oct 2003 07:35:26 -0400 Subject: Nagios (Impress) presentation for management In-Reply-To: <1065351892.1034.5.camel@hobbel> References: <1065351892.1034.5.camel@hobbel> Message-ID: <1065353725.28839.1.camel@MandrakeWS> I have to do the same thing at the end of the month, though I just found out and haven't started yet. I would very much like to see what you have so far and will add anything I think of. Chris On Sun, 2003-10-05 at 07:04, Mike Arends wrote: > Hi all, > > I'm preparing a Nagios presentation for management and I was wondering > if any of you folks out there have done so already. It would be very > helpful if I could use some material as reference or background or > perhaps a presentation scenario. > ::: Messages without supporting info will risk being sent to /dev/null -- Chris Hammond ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Mon Oct 6 05:10:34 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Sun, 5 Oct 2003 22:10:34 -0500 (CDT) Subject: different views for the webinterface In-Reply-To: <200309301415.22759@tg> References: <200309301415.22759@tg> Message-ID: <1742.192.168.1.9.1065409834.squirrel@xyzzy.homeip.net> > Hello there. Howdy. > I am currently working on a system for different view to the webinterace. > > To the situation: > > We have many interal machines, monitored by nagios. Works very well. Thanks > for the nice piece of Software. No, we want to offer monitoring as a service > to our "customers". BUT, they are not allowed to view our internal machines, > because of ... uhm ... *cough* ... they are not allowed. ;) > > Email should be no problem here. Is there a easy way to manage that with the > webinterface, without patching huge amounts of the original sources? Yes. If you configure your "customers" as contacts and contact groups, along with CGI authentication and authorization, they can only view the hosts and services for which they are configured. This is already a feature of the CGI programs included with Nagios. http://nagios.sourceforge.net/docs/1_0/cgiauth.html > I thought of a wrapper script, which polls nagios and displays the results on > after authentication. I would like to hear the thoughts of this list about > this or any other method to manage this situation. Again, this feature is already a part of the CGI programs. > Any clues welcome, any help greatly appreciated. -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mbailey at empoweredsystems.com Mon Oct 6 05:13:28 2003 From: mbailey at empoweredsystems.com (Michael Bailey) Date: Sun, 05 Oct 2003 23:13:28 -0400 (EST) Subject: feshness checks Message-ID: <200310060313.XAA29658@swiftsure.cnchost.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From james at lovedthanlost.net Mon Oct 6 07:37:51 2003 From: james at lovedthanlost.net (James Turnbull) Date: Mon, 6 Oct 2003 15:37:51 +1000 Subject: Nagios + SMS = TRUE? References: <20030925145937.GC52772@radix.cryptio.net> <000f01c383c9$6a3b9260$3201a8c0@iih.usyd.edu.au> <20030926215622.GB62844@radix.cryptio.net> <006c01c388d4$56947500$0200000a@vino> <20031002200129.GG37438@radix.cryptio.net> Message-ID: <00be01c38bcb$fc2d1220$0800000a@iih.usyd.edu.au> I've attached a version of my throttle script which now offers a single 'pager storm' message if overloaded and throttles the potential numbers of pages sent per a time frame (both set by variables). Cheers James Turnbull -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: hthrottle.txt URL: From Ton.Voon at egg.com Mon Oct 6 09:20:36 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Mon, 6 Oct 2003 08:20:36 +0100 Subject: Tru64 5.1b Message-ID: Paul, I've seen something similar - should work if you cp or ln plugins/config.h to ./config.h in the top-level directory. Not sure why this is happening... Ton > -----Original Message----- > From: Paul Clayton [mailto:paul.clayton at intec.co.za] > Sent: Friday, October 03, 2003 4:41 PM > To: Nagios Users (E-mail) > Subject: [Nagios-users] Tru64 5.1b > > > > Any one got a successful build of plugins for Tru64 5.1b. > Mine fails with > ---------------------------------------- > No suffix list. > Making all in intl > Make: Don't know how to make ../config.h. Stop. > *** Exit 1 > Stop. > ------------------------------------- > Regards > > Unix like Teepee, no windows no gates Apache inside > > Paul Clayton > Global Unix Co-ordinator > Intec Telecom Systems > PH +27(0)21 4309000 > Direct +27 (0)21 4309048 > Mobile +27(0) 832853403 > Fax +27(0) 4309025 > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Mon Oct 6 10:11:57 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Mon, 6 Oct 2003 09:11:57 +0100 Subject: defining passive services References: <20031003225256.GD26180@oaxaca.jah.net> Message-ID: <011601c38be1$82c077e0$03bff40a@Exponentiale.com> > I have a question regarding the configuration of passive alerts. I have > nsca set up to receive alerts from lrrd, and this seems to be working > fine. It appears that nsca is passing these alerts on to nagios. My > question is how to properly define a service to accept these passive > alerts. > > The service in question that I am monitoring is cpu usage. When > cpu usage exceeds 90%, an alert is sent out. I have > passive_checks_enabled in service.cfg, but each service definition needs > a check_command by default. I have had some problems getting passive checks going (see recent threads within the last week). One thing you may need to do is set the is_volatile option. The example on setting up SNMP monitoring in the documentation discusses this and why you may need it (its not applicable to all passive monitoring). Jim ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karoly.vegh at uta.at Mon Oct 6 09:55:37 2003 From: karoly.vegh at uta.at (VEGH Karoly) Date: Mon, 6 Oct 2003 09:55:37 +0200 Subject: not all services are shown every now and then In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83032D4A2C@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83032D4A2C@mismail.ena.com> Message-ID: <20031006075537.GB19393@marvin> On Sat, Oct 04, 2003 at 11:30:33PM -0500, Marc Powell wrote: > You've probably got multiple nagios processes running. Stop nagio, kill > any remaining and restart. good point, thanks, seems to help. One question more about Nagios-processes, is this OK so, I mean that so many Nagios processes running? I understand the ones which really do sonething, like plugins executing, but the rest? USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 1204 384 ? S Mar06 51:17 init [2] root 2 0.0 0.0 0 0 ? SW Mar06 0:00 [keventd] root 3 0.0 0.0 0 0 ? SWN Mar06 0:04 [ksoftirqd_CPU0] root 4 0.0 0.0 0 0 ? SWN Mar06 0:04 [ksoftirqd_CPU1] root 5 0.0 0.0 0 0 ? SW Mar06 18:54 [kswapd] root 6 0.0 0.0 0 0 ? SW Mar06 0:00 [bdflush] root 7 0.0 0.0 0 0 ? SW Mar06 15:36 [kupdated] root 9 0.0 0.0 0 0 ? SW Mar06 28:01 [kjournald] root 67 0.0 0.0 0 0 ? SW Mar06 42:33 [kjournald] root 68 0.0 0.0 0 0 ? SW Mar06 56:13 [kjournald] root 69 0.0 0.0 0 0 ? SW Mar06 84:05 [kjournald] root 70 0.0 0.0 0 0 ? SW Mar06 39:47 [kjournald] root 71 0.0 0.0 0 0 ? SW Mar06 162:12 [kjournald] root 182 0.0 0.0 2128 4 ? S Mar06 0:00 /sbin/klogd daemon 230 0.0 0.0 1384 52 ? S Mar06 0:00 /usr/sbin/atd root 236 0.0 0.0 1256 4 tty1 S Mar06 0:00 /sbin/getty 38400 tty1 root 237 0.0 0.0 1256 4 tty2 S Mar06 0:00 /sbin/getty 38400 tty2 root 238 0.0 0.0 1256 4 tty3 S Mar06 0:00 /sbin/getty 38400 tty3 root 239 0.0 0.0 1256 4 tty4 S Mar06 0:00 /sbin/getty 38400 tty4 root 240 0.0 0.0 1256 4 tty5 S Mar06 0:00 /sbin/getty 38400 tty5 root 241 0.0 0.0 1256 4 tty6 S Mar06 0:00 /sbin/getty 38400 tty6 mail 7717 0.0 0.1 2680 1012 ? S Mar06 30:01 /usr/sbin/exim -q5s root 21093 0.0 0.1 1812 892 ? S Apr28 166:04 /sbin/syslog-ng root 19552 0.0 0.6 19440 3328 ? S Apr29 51:05 /usr/bin/python ./nagios-statd-3.08 -a 172.21.16.41 root 32379 0.0 0.0 1240 448 ? S Apr30 0:02 /usr/sbin/inetd root 28485 0.0 0.1 1400 600 ? S May02 0:57 /usr/sbin/cron root 4575 0.0 0.1 1992 812 ? S Sep01 0:00 /bin/sh /usr/bin/safe_mysqld mysql 4608 0.0 1.6 44876 8668 ? S Sep01 0:27 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking mysql 4609 0.0 1.6 44876 8668 ? S Sep01 1:06 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking mysql 4610 0.0 1.6 44876 8668 ? S Sep01 3:51 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking mysql 4611 0.0 1.6 44876 8668 ? S Sep01 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking root 22041 0.0 0.1 2532 840 ? S Sep11 0:04 /usr/sbin/sshd root 31845 0.0 0.1 1688 672 ? S Oct02 0:00 /USR/SBIN/CRON root 31850 0.0 0.1 1968 764 ? S Oct02 0:00 /bin/sh -c /opt/Cerberus/bin/run-cerberus.sh >/dev/null 2>&1 root 31853 0.0 0.1 1972 788 ? S Oct02 0:00 /bin/sh /opt/Cerberus/bin/run-cerberus.sh root 31912 0.0 0.1 1964 768 ? S Oct02 0:00 /bin/sh /opt/Cerberus/bin/run-bapclarify.sh root 31916 0.0 0.1 2832 728 ? S Oct02 0:00 /opt/Cerberus/bin/cerberus /opt/Cerberus/conf/config_bapclarify.xml DEBUG /opt/Cerberus/logs/bapclarify.log root 21097 0.0 0.0 1224 260 ? S Oct03 0:07 svscan daemon 21098 0.0 0.0 1192 204 ? S Oct03 0:00 multilog t /var/log/svscan root 32698 0.0 0.4 136592 2388 ? S Oct03 0:10 /usr/sbin/apache bss 8842 0.0 0.2 5684 1440 ? S Oct03 0:00 /usr/sbin/sshd bss 8843 0.0 0.1 3084 912 pts/2 S Oct03 0:00 -bash root 9042 0.0 0.2 2184 1216 pts/2 S Oct03 0:00 -su mysql 26448 0.0 1.6 44876 8668 ? S 08:37 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking mysql 26512 0.0 1.6 44876 8668 ? S 08:37 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking mysql 26513 0.0 1.6 44876 8668 ? S 08:37 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking www-data 30120 0.1 0.8 137840 4316 ? S 10:11 0:01 /usr/sbin/apache www-data 4810 0.1 0.8 137836 4324 ? S 10:13 0:01 /usr/sbin/apache www-data 5327 0.0 0.7 137596 4040 ? S 10:13 0:00 /usr/sbin/apache www-data 12097 0.0 0.7 137588 4032 ? S 10:15 0:00 /usr/sbin/apache www-data 13893 0.0 0.7 137560 4004 ? S 10:16 0:00 /usr/sbin/apache nagios 25641 0.4 0.4 3016 2192 ? S 10:20 0:03 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg www-data 28324 0.0 0.7 137596 4044 ? S 10:21 0:00 /usr/sbin/apache www-data 1487 0.0 0.5 136688 2708 ? S 10:23 0:00 /usr/sbin/apache www-data 2133 0.0 0.7 137596 4040 ? S 10:23 0:00 /usr/sbin/apache www-data 12536 0.4 0.8 137760 4248 ? S 10:27 0:01 /usr/sbin/apache www-data 12548 0.0 0.5 136688 2704 ? S 10:27 0:00 /usr/sbin/apache nagios 13505 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13570 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13572 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13577 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13599 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13602 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13606 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13639 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13651 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13785 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13913 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13943 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14111 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14142 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14338 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14343 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14369 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14391 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14414 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14487 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14584 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14617 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14683 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14688 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15071 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15198 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15202 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15204 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15226 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15344 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15441 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15466 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15604 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15746 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15783 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15845 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15851 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15904 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16002 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16038 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16112 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16193 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16246 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16263 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16274 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16280 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16290 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16320 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16333 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16437 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16464 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16534 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16572 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16584 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16620 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16637 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16641 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16663 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16672 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16696 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16767 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16812 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16818 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16885 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16897 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16905 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16996 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17002 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17005 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17090 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17103 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17111 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17289 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17295 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17298 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17321 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17339 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17409 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17411 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17419 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17421 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17426 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17463 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17467 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17473 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17530 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17568 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17583 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17588 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17611 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17627 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17652 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17668 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17832 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17835 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17838 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17843 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18077 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18117 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18124 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18167 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18180 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18193 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18225 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18227 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18289 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18312 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18384 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18673 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18707 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18852 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19277 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19283 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19392 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19398 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19403 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19409 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19414 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19418 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19425 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19597 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19606 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19609 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19612 0.1 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19875 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19879 0.2 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20050 0.0 0.4 3020 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20051 0.5 0.2 2044 1036 ? S 10:31 0:00 /bin/bash /opt/nagios/apan/apan.sh ping tisdwh05 Ping 1065429101 100.0,20% 500.0,60% nagios 20070 0.0 0.0 1224 484 ? S 10:31 0:00 /opt/nagios/libexec/check_ping -H tisdwh05 -w 100.0,20% -c 500.0,60% nagios 20071 0.0 0.1 1392 600 ? S 10:31 0:00 /bin/ping -n -c 5 tisdwh05 nagios 20136 0.3 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20139 0.0 0.4 3020 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20141 1.0 0.2 2044 1036 ? S 10:31 0:00 /bin/bash /opt/nagios/apan/apan.sh ping atbrwat70 Ping 1065429102 100.0,20% 500.0,60% nagios 20142 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20145 0.0 0.4 3020 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20146 2.0 0.2 2044 1036 ? S 10:31 0:00 /bin/bash /opt/nagios/apan/apan.sh ping atcccgen03 Ping 1065429102 100.0,20% 500.0,60% nagios 20194 0.5 0.0 1224 484 ? S 10:31 0:00 /opt/nagios/libexec/check_ping -H atbrwat70 -w 100.0,20% -c 500.0,60% nagios 20195 0.0 0.1 1392 600 ? S 10:31 0:00 /bin/ping -n -c 5 atbrwat70 nagios 20210 0.0 0.0 1224 484 ? S 10:31 0:00 /opt/nagios/libexec/check_ping -H atcccgen03 -w 100.0,20% -c 500.0,60% nagios 20211 0.5 0.1 1392 600 ? S 10:31 0:00 /bin/ping -n -c 5 atcccgen03 nagios 20255 1.0 0.4 3020 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20257 0.0 0.0 1224 484 ? S 10:31 0:00 /opt/nagios/libexec/check_ping -H atcccgen01.utalan.at -w 100.0,20% -c 500.0,60% -p 5 nagios 20258 1.0 0.1 1388 592 ? S 10:31 0:00 /bin/ping -n -c 5 atcccgen01.utalan.at nagios 20259 0.0 0.4 3020 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20261 3.0 0.2 2044 1036 ? S 10:31 0:00 /bin/bash /opt/nagios/apan/apan.sh ping anocets02 Ping 1065429103 100.0,20% 500.0,60% nagios 20262 0.0 0.4 3020 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20264 5.0 0.2 2044 1036 ? S 10:31 0:00 /bin/bash /opt/nagios/apan/apan.sh ping atbi01 Ping 1065429103 100.0,20% 500.0,60% nagios 20265 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20283 1.0 0.4 3020 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20284 2.0 0.2 2044 1036 ? S 10:31 0:00 /bin/bash /opt/nagios/apan/apan.sh ping tisdwh04 Ping 1065429103 100.0,20% 500.0,60% nagios 20384 1.0 0.0 1224 484 ? S 10:31 0:00 /opt/nagios/libexec/check_ping -H tisdwh04 -w 100.0,20% -c 500.0,60% nagios 20388 0.0 0.1 1392 600 ? S 10:31 0:00 /bin/ping -n -c 5 tisdwh04 nagios 20397 0.0 0.0 1224 484 ? S 10:31 0:00 /opt/nagios/libexec/check_ping -H anocets02 -w 100.0,20% -c 500.0,60% nagios 20398 0.0 0.0 1224 484 ? S 10:31 0:00 /opt/nagios/libexec/check_ping -H atbi01 -w 100.0,20% -c 500.0,60% nagios 20399 1.0 0.1 1392 600 ? S 10:31 0:00 /bin/ping -n -c 5 anocets02 nagios 20400 0.0 0.1 1392 600 ? S 10:31 0:00 /bin/ping -n -c 5 atbi01 nagios 20480 0.0 0.4 3020 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20482 0.0 0.0 1224 484 ? S 10:31 0:00 /opt/nagios/libexec/check_ping -H atcccgen04.utalan.at -w 100.0,20% -c 500.0,60% -p 5 nagios 20483 0.0 0.1 1388 580 ? S 10:31 0:00 /bin/ping -n -c 5 atcccgen04.utalan.at nagios 20484 0.0 0.4 3020 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20486 0.0 0.0 1224 484 ? S 10:31 0:00 /opt/nagios/libexec/check_ping -H atcccivr02.utalan.at -w 100.0,20% -c 500.0,60% -p 5 nagios 20492 0.0 0.4 3020 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20493 0.0 0.2 2044 1036 ? S 10:31 0:00 /bin/bash /opt/nagios/apan/apan.sh ping atbrwat72 Ping 1065429104 100.0,20% 500.0,60% nagios 20494 0.0 0.1 1388 580 ? S 10:31 0:00 /bin/ping -n -c 5 atcccivr02.utalan.at nagios 20529 0.0 0.0 1224 484 ? S 10:31 0:00 /opt/nagios/libexec/check_ping -H atbrwat72 -w 100.0,20% -c 500.0,60% nagios 20530 0.0 0.1 1392 588 ? S 10:31 0:00 /bin/ping -n -c 5 atbrwat72 root 20531 0.0 0.1 2492 764 pts/2 R 10:31 0:00 ps aux root 20532 0.0 0.1 1332 532 pts/2 S 10:31 0:00 mailx charlie at uta.at sorry for the long post. charlie -- V?gh K?roly - System Engineer - UTA - TIS.SAS.BSS Don't worry. Everything is getting nicely out of control. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Mon Oct 6 11:42:05 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: 06 Oct 2003 11:42:05 +0200 Subject: stale service? Message-ID: <1065433325.23086.24.camel@roy-sin> hi I found the following error messages in the log after the weekend. It seems that the CP_FILTER_SUMMARY service check was run, but somehow never finished. This is a custom plugin that checks an error log in a mssql database (using a modified version of my check_mssql perl plugin) and updates a 'last read error' identifier in a configuration table. the script queries the db, updates the 'last read', and creates an HTML status page before exiting. it seems like that the last thing the script did was before it went 'stale' was to update the 'last read'... below is parts of the output any ideas? messages:Oct 6 08:30:55 utility nagios: Warning: The results of service 'CP_FILTER_SUMMARY' on host 'display01' are stale by 45 seconds (threshold=1815 seconds). I'm forcing an immediate check of the service. messages:Oct 6 08:55:55 utility nagios: Warning: The results of service 'CP_FILTER_SUMMARY' on host 'display00' are stale by 45 seconds (threshold=1815 seconds). I'm forcing an immediate check of the service. messages:Oct 6 10:31:56 utility nagios: Warning: The results of service 'CP_FILTER_SUMMARY' on host 'display01' are stale by 46 seconds (threshold=1815 seconds). I'm forcing an immediate check of the service. messages:Oct 6 10:32:15 utility nagios: SERVICE ALERT: display01;CP_FILTER_SUMMARY;CRITICAL;HARD;1;CP_FILTER_SUMMARY: 0 warnings, 5 errors. Check http://utility.pronto.tv/nagios/filter_summary/20031006103206.html for more ... ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From serial at techs.com.br Mon Oct 6 17:48:48 2003 From: serial at techs.com.br (Serial) Date: Mon, 6 Oct 2003 08:48:48 -0700 Subject: Erro no cgi Message-ID: <003101c38c21$55d556c0$a10110ac@athena> Bom dia, Utilizo o nagios-mysql em um Debian e estou com o seguinte problema, o nagios esta autenticando normalmente mas quando mando abrir a op??o "Status Overview" ele me mostra a seguinte tela: Whoops! Error: Could not read host and service status information! The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios. Some other things you should check in order to resolve this error include: 1.. Check the Nagios log file for messages relating to startup or status data errors. 2.. Always verify configuration options using the -v command-line option before starting or restarting Nagios! 3.. Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems. Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. Bom, fui verificar o s nagios.log atrav?s do tail -f e me mostrou o seguinte erro: Error: Could not connect to MySQL database 'nagios' on host 'localhost' using username 'usuario' and password 'senha' for downtime data! Ae troquei o "localhost" pelo ip da maquina e tambem da o mesmo erro. Alguem sabe o que pode estar acontecendo? Obrigado Serial -------------- next part -------------- An HTML attachment was scrubbed... URL: From Samba at guidemail.com Mon Oct 6 13:51:30 2003 From: Samba at guidemail.com (Samba) Date: Mon, 6 Oct 2003 06:51:30 -0500 Subject: not all services are shown every now and then Message-ID: I had this same problem until I made a change suggested eariler in this group. I set "service_reaper_frequency=2" in the nagios.cfg file. It was set at 10. HTH Josh -----Original Message----- From: VEGH Karoly [mailto:karoly.vegh at uta.at] Sent: Monday, October 06, 2003 2:56 AM To: nagios-users at lists.sourceforge.net; mpowell at ena.com Subject: Re: [Nagios-users] not all services are shown every now and then On Sat, Oct 04, 2003 at 11:30:33PM -0500, Marc Powell wrote: > You've probably got multiple nagios processes running. Stop nagio, kill > any remaining and restart. good point, thanks, seems to help. One question more about Nagios-processes, is this OK so, I mean that so many Nagios processes running? I understand the ones which really do sonething, like plugins executing, but the rest? USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 1204 384 ? S Mar06 51:17 init [2] root 2 0.0 0.0 0 0 ? SW Mar06 0:00 [keventd] root 3 0.0 0.0 0 0 ? SWN Mar06 0:04 [ksoftirqd_CPU0] root 4 0.0 0.0 0 0 ? SWN Mar06 0:04 [ksoftirqd_CPU1] root 5 0.0 0.0 0 0 ? SW Mar06 18:54 [kswapd] root 6 0.0 0.0 0 0 ? SW Mar06 0:00 [bdflush] root 7 0.0 0.0 0 0 ? SW Mar06 15:36 [kupdated] root 9 0.0 0.0 0 0 ? SW Mar06 28:01 [kjournald] root 67 0.0 0.0 0 0 ? SW Mar06 42:33 [kjournald] root 68 0.0 0.0 0 0 ? SW Mar06 56:13 [kjournald] root 69 0.0 0.0 0 0 ? SW Mar06 84:05 [kjournald] root 70 0.0 0.0 0 0 ? SW Mar06 39:47 [kjournald] root 71 0.0 0.0 0 0 ? SW Mar06 162:12 [kjournald] root 182 0.0 0.0 2128 4 ? S Mar06 0:00 /sbin/klogd daemon 230 0.0 0.0 1384 52 ? S Mar06 0:00 /usr/sbin/atd root 236 0.0 0.0 1256 4 tty1 S Mar06 0:00 /sbin/getty 38400 tty1 root 237 0.0 0.0 1256 4 tty2 S Mar06 0:00 /sbin/getty 38400 tty2 root 238 0.0 0.0 1256 4 tty3 S Mar06 0:00 /sbin/getty 38400 tty3 root 239 0.0 0.0 1256 4 tty4 S Mar06 0:00 /sbin/getty 38400 tty4 root 240 0.0 0.0 1256 4 tty5 S Mar06 0:00 /sbin/getty 38400 tty5 root 241 0.0 0.0 1256 4 tty6 S Mar06 0:00 /sbin/getty 38400 tty6 mail 7717 0.0 0.1 2680 1012 ? S Mar06 30:01 /usr/sbin/exim -q5s root 21093 0.0 0.1 1812 892 ? S Apr28 166:04 /sbin/syslog-ng root 19552 0.0 0.6 19440 3328 ? S Apr29 51:05 /usr/bin/python ./nagios-statd-3.08 -a 172.21.16.41 root 32379 0.0 0.0 1240 448 ? S Apr30 0:02 /usr/sbin/inetd root 28485 0.0 0.1 1400 600 ? S May02 0:57 /usr/sbin/cron root 4575 0.0 0.1 1992 812 ? S Sep01 0:00 /bin/sh /usr/bin/safe_mysqld mysql 4608 0.0 1.6 44876 8668 ? S Sep01 0:27 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking mysql 4609 0.0 1.6 44876 8668 ? S Sep01 1:06 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking mysql 4610 0.0 1.6 44876 8668 ? S Sep01 3:51 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking mysql 4611 0.0 1.6 44876 8668 ? S Sep01 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking root 22041 0.0 0.1 2532 840 ? S Sep11 0:04 /usr/sbin/sshd root 31845 0.0 0.1 1688 672 ? S Oct02 0:00 /USR/SBIN/CRON root 31850 0.0 0.1 1968 764 ? S Oct02 0:00 /bin/sh -c /opt/Cerberus/bin/run-cerberus.sh >/dev/null 2>&1 root 31853 0.0 0.1 1972 788 ? S Oct02 0:00 /bin/sh /opt/Cerberus/bin/run-cerberus.sh root 31912 0.0 0.1 1964 768 ? S Oct02 0:00 /bin/sh /opt/Cerberus/bin/run-bapclarify.sh root 31916 0.0 0.1 2832 728 ? S Oct02 0:00 /opt/Cerberus/bin/cerberus /opt/Cerberus/conf/config_bapclarify.xml DEBUG /opt/Cerberus/logs/bapclarify.log root 21097 0.0 0.0 1224 260 ? S Oct03 0:07 svscan daemon 21098 0.0 0.0 1192 204 ? S Oct03 0:00 multilog t /var/log/svscan root 32698 0.0 0.4 136592 2388 ? S Oct03 0:10 /usr/sbin/apache bss 8842 0.0 0.2 5684 1440 ? S Oct03 0:00 /usr/sbin/sshd bss 8843 0.0 0.1 3084 912 pts/2 S Oct03 0:00 -bash root 9042 0.0 0.2 2184 1216 pts/2 S Oct03 0:00 -su mysql 26448 0.0 1.6 44876 8668 ? S 08:37 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking mysql 26512 0.0 1.6 44876 8668 ? S 08:37 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking mysql 26513 0.0 1.6 44876 8668 ? S 08:37 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking www-data 30120 0.1 0.8 137840 4316 ? S 10:11 0:01 /usr/sbin/apache www-data 4810 0.1 0.8 137836 4324 ? S 10:13 0:01 /usr/sbin/apache www-data 5327 0.0 0.7 137596 4040 ? S 10:13 0:00 /usr/sbin/apache www-data 12097 0.0 0.7 137588 4032 ? S 10:15 0:00 /usr/sbin/apache www-data 13893 0.0 0.7 137560 4004 ? S 10:16 0:00 /usr/sbin/apache nagios 25641 0.4 0.4 3016 2192 ? S 10:20 0:03 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg www-data 28324 0.0 0.7 137596 4044 ? S 10:21 0:00 /usr/sbin/apache www-data 1487 0.0 0.5 136688 2708 ? S 10:23 0:00 /usr/sbin/apache www-data 2133 0.0 0.7 137596 4040 ? S 10:23 0:00 /usr/sbin/apache www-data 12536 0.4 0.8 137760 4248 ? S 10:27 0:01 /usr/sbin/apache www-data 12548 0.0 0.5 136688 2704 ? S 10:27 0:00 /usr/sbin/apache nagios 13505 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13570 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13572 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13577 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13599 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13602 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13606 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13639 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13651 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13785 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13913 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 13943 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14111 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14142 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14338 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14343 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14369 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14391 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14414 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14487 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14584 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14617 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14683 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 14688 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15071 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15198 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15202 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15204 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15226 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15344 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15441 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15466 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15604 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15746 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15783 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15845 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15851 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 15904 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16002 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16038 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16112 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16193 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16246 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16263 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16274 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16280 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16290 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16320 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16333 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16437 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16464 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16534 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16572 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16584 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16620 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16637 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16641 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16663 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16672 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16696 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16767 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16812 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16818 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16885 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16897 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16905 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 16996 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17002 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17005 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17090 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17103 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17111 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17289 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17295 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17298 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17321 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17339 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17409 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17411 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17419 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17421 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17426 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17463 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17467 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17473 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17530 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17568 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17583 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17588 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17611 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17627 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17652 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17668 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17832 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17835 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17838 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 17843 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18077 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18117 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18124 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18167 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18180 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18193 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18225 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18227 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18289 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18312 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18384 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18673 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18707 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 18852 0.0 0.4 3016 2192 ? S 10:30 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19277 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19283 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19392 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19398 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19403 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19409 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19414 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19418 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19425 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19597 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19606 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19609 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19612 0.1 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19875 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 19879 0.2 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20050 0.0 0.4 3020 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20051 0.5 0.2 2044 1036 ? S 10:31 0:00 /bin/bash /opt/nagios/apan/apan.sh ping tisdwh05 Ping 1065429101 100.0,20% 500.0,60% nagios 20070 0.0 0.0 1224 484 ? S 10:31 0:00 /opt/nagios/libexec/check_ping -H tisdwh05 -w 100.0,20% -c 500.0,60% nagios 20071 0.0 0.1 1392 600 ? S 10:31 0:00 /bin/ping -n -c 5 tisdwh05 nagios 20136 0.3 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20139 0.0 0.4 3020 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20141 1.0 0.2 2044 1036 ? S 10:31 0:00 /bin/bash /opt/nagios/apan/apan.sh ping atbrwat70 Ping 1065429102 100.0,20% 500.0,60% nagios 20142 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20145 0.0 0.4 3020 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20146 2.0 0.2 2044 1036 ? S 10:31 0:00 /bin/bash /opt/nagios/apan/apan.sh ping atcccgen03 Ping 1065429102 100.0,20% 500.0,60% nagios 20194 0.5 0.0 1224 484 ? S 10:31 0:00 /opt/nagios/libexec/check_ping -H atbrwat70 -w 100.0,20% -c 500.0,60% nagios 20195 0.0 0.1 1392 600 ? S 10:31 0:00 /bin/ping -n -c 5 atbrwat70 nagios 20210 0.0 0.0 1224 484 ? S 10:31 0:00 /opt/nagios/libexec/check_ping -H atcccgen03 -w 100.0,20% -c 500.0,60% nagios 20211 0.5 0.1 1392 600 ? S 10:31 0:00 /bin/ping -n -c 5 atcccgen03 nagios 20255 1.0 0.4 3020 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20257 0.0 0.0 1224 484 ? S 10:31 0:00 /opt/nagios/libexec/check_ping -H atcccgen01.utalan.at -w 100.0,20% -c 500.0,60% -p 5 nagios 20258 1.0 0.1 1388 592 ? S 10:31 0:00 /bin/ping -n -c 5 atcccgen01.utalan.at nagios 20259 0.0 0.4 3020 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20261 3.0 0.2 2044 1036 ? S 10:31 0:00 /bin/bash /opt/nagios/apan/apan.sh ping anocets02 Ping 1065429103 100.0,20% 500.0,60% nagios 20262 0.0 0.4 3020 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20264 5.0 0.2 2044 1036 ? S 10:31 0:00 /bin/bash /opt/nagios/apan/apan.sh ping atbi01 Ping 1065429103 100.0,20% 500.0,60% nagios 20265 0.0 0.4 3016 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20283 1.0 0.4 3020 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20284 2.0 0.2 2044 1036 ? S 10:31 0:00 /bin/bash /opt/nagios/apan/apan.sh ping tisdwh04 Ping 1065429103 100.0,20% 500.0,60% nagios 20384 1.0 0.0 1224 484 ? S 10:31 0:00 /opt/nagios/libexec/check_ping -H tisdwh04 -w 100.0,20% -c 500.0,60% nagios 20388 0.0 0.1 1392 600 ? S 10:31 0:00 /bin/ping -n -c 5 tisdwh04 nagios 20397 0.0 0.0 1224 484 ? S 10:31 0:00 /opt/nagios/libexec/check_ping -H anocets02 -w 100.0,20% -c 500.0,60% nagios 20398 0.0 0.0 1224 484 ? S 10:31 0:00 /opt/nagios/libexec/check_ping -H atbi01 -w 100.0,20% -c 500.0,60% nagios 20399 1.0 0.1 1392 600 ? S 10:31 0:00 /bin/ping -n -c 5 anocets02 nagios 20400 0.0 0.1 1392 600 ? S 10:31 0:00 /bin/ping -n -c 5 atbi01 nagios 20480 0.0 0.4 3020 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20482 0.0 0.0 1224 484 ? S 10:31 0:00 /opt/nagios/libexec/check_ping -H atcccgen04.utalan.at -w 100.0,20% -c 500.0,60% -p 5 nagios 20483 0.0 0.1 1388 580 ? S 10:31 0:00 /bin/ping -n -c 5 atcccgen04.utalan.at nagios 20484 0.0 0.4 3020 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20486 0.0 0.0 1224 484 ? S 10:31 0:00 /opt/nagios/libexec/check_ping -H atcccivr02.utalan.at -w 100.0,20% -c 500.0,60% -p 5 nagios 20492 0.0 0.4 3020 2192 ? S 10:31 0:00 /opt/nagios/bin/nagios -d /opt/nagios/etc/nagios.cfg nagios 20493 0.0 0.2 2044 1036 ? S 10:31 0:00 /bin/bash /opt/nagios/apan/apan.sh ping atbrwat72 Ping 1065429104 100.0,20% 500.0,60% nagios 20494 0.0 0.1 1388 580 ? S 10:31 0:00 /bin/ping -n -c 5 atcccivr02.utalan.at nagios 20529 0.0 0.0 1224 484 ? S 10:31 0:00 /opt/nagios/libexec/check_ping -H atbrwat72 -w 100.0,20% -c 500.0,60% nagios 20530 0.0 0.1 1392 588 ? S 10:31 0:00 /bin/ping -n -c 5 atbrwat72 root 20531 0.0 0.1 2492 764 pts/2 R 10:31 0:00 ps aux root 20532 0.0 0.1 1332 532 pts/2 S 10:31 0:00 mailx charlie at uta.at sorry for the long post. charlie -- V?gh K?roly - System Engineer - UTA - TIS.SAS.BSS Don't worry. Everything is getting nicely out of control. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From serial at techs.com.br Mon Oct 6 18:57:25 2003 From: serial at techs.com.br (Serial) Date: Mon, 6 Oct 2003 09:57:25 -0700 Subject: Erro no cgi References: <003101c38c21$55d556c0$a10110ac@athena> Message-ID: <004101c38c2a$ed338ec0$a10110ac@athena> Galera Consegui arrumar, era um problema com a senha do usuario que estava errada, se ajudar para alguem, o que eu fiz foi isso mysql> SET PASSWORD FOR 'nagios'@'localhost' = PASSWORD ('password'); []?s Serial ----- Original Message ----- From: Serial To: nagios-users at lists.sourceforge.net Sent: Monday, October 06, 2003 8:48 AM Subject: [Nagios-users] Erro no cgi Bom dia, Utilizo o nagios-mysql em um Debian e estou com o seguinte problema, o nagios esta autenticando normalmente mas quando mando abrir a op??o "Status Overview" ele me mostra a seguinte tela: Whoops! Error: Could not read host and service status information! The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios. Some other things you should check in order to resolve this error include: 1.. Check the Nagios log file for messages relating to startup or status data errors. 2.. Always verify configuration options using the -v command-line option before starting or restarting Nagios! 3.. Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems. Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. Bom, fui verificar o s nagios.log atrav?s do tail -f e me mostrou o seguinte erro: Error: Could not connect to MySQL database 'nagios' on host 'localhost' using username 'usuario' and password 'senha' for downtime data! Ae troquei o "localhost" pelo ip da maquina e tambem da o mesmo erro. Alguem sabe o que pode estar acontecendo? Obrigado Serial -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stuart.Webster at shell.com Mon Oct 6 15:12:46 2003 From: Stuart.Webster at shell.com (Webster, Stuart SITI-ITDIUR) Date: Mon, 6 Oct 2003 15:12:46 +0200 Subject: Nagios on 64bit Linux Message-ID: <5539FB0922D5E544B12A031DBD255E55010B8AFB@rijpat-s-346.europe.shell.com> Hi, I have a quick question. Does anyone know if Nagios will run ok on 64 bit Linux on an Itanium2, im hearing it might not run well on a 64 bit machine. Thanks Stuart Webster -------------- next part -------------- An HTML attachment was scrubbed... URL: From BSnead at infosysnetworks.com Mon Oct 6 16:19:25 2003 From: BSnead at infosysnetworks.com (Brian Snead) Date: Mon, 6 Oct 2003 10:19:25 -0400 Subject: NSClient Socket Error in Event Log Message-ID: <17AB77FB5F32F140BE3517E7FBAF82B53655B2@patton.infosysnetworks.com> I posted this on the TSMG Support site, but no response. I could really use some help tracking this down. We are seeing the following errors in the event log on our Win 2K server. Can anyone shed some light on what might be the problem? The agent seems to be responding to queries ok. Notice the end of the error talks about an Asynchronous socket error. I appreciate any help you can provide. Brian. Event Type: Error Event Source: pNSClient.exe Event Category: None Event ID: 1 Date: 9/30/2003 Time: 2:20:36 AM User: N/A Description: The description for Event ID ( 1 ) in Source ( pNSClient.exe ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: Asynchronous socket error 10053. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthewwilson at dsl.pipex.com Mon Oct 6 17:15:04 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: Mon, 6 Oct 2003 16:15:04 +0100 Subject: nagios and apan cause server to crash... Message-ID: <002a01c38c1c$9f0e6700$0300a8c0@optiplex> Hi guys, I have read in the list archives in the last couple of months a few threads about nagios and apan chewing up memory. I have tried a few of the solutions posted but still have no joy. Here's my situation: Hardware - Dell Poweredge PIII 500 w/ 374MB memory, SCSI hard drive Software - RedHat 9, Nagios 1.1 (installed from RPM) and apan. The only other stuff of any signifance running is ssh and httpd (for nagios alone) Nagios is checking about 50 service on 50 hosts using apan to ping every 5 mins. The machine will run for about 5 days and then seize up to point that it requires power cycling. (This is particular pain as I administer the box remotely ;-) Rebooting will sort it out and after getting nagios going again the same will happen. Looking at my /var/log/messages, I see the kernel shutting down processes due to a lack of memory. However, it's not nagios that is shut down but httpd (which normally consumes about 8MB). It's a little difficult for me to see what's actually happeninng as I look after this machine on a contract remotely, and nobody is watching it 24-7. Watching free on a daily basis I gradually see free memory decreasing and buffer and cache sizes increasing, (to the point where there is only about 16MB memory free) but I understand this is what linux is supposed to do. My nagios process doesn't apparently grow (or not when the machine is stable) and is normmaly using about 1.5MB. Here's what I have tried: - Reducing max concurrent checks to 20. No apparent affect other than giving big check latencies. - Daily restart of nagios process via cron job - no apparent affect any helping in diagnosing/fixing this much appreciated. Also please bear in mind that I only learnt linux for this project, so may be missing something obvious ;-) cheers Matthew Wilson DCSat.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From eduardo at tupy.com.br Mon Oct 6 18:11:28 2003 From: eduardo at tupy.com.br (Eduardo Bittelbrunn) Date: Mon, 6 Oct 2003 13:11:28 -0300 Subject: Check_load - Check Mem - Check Disk. References: <002a01c38c1c$9f0e6700$0300a8c0@optiplex> Message-ID: <019401c38c24$80083a40$740210ac@micro16116> Hi Guys I need help to configure nagios for monitoring cpu, disk e memory of remote computer. (NT and AIX) I like of example for help me. Tks Eduardo Bittelbrunn Analista Informatica - TI Fundi??es Tupy Ltda (47) 441-8275 (47) 9972-1292 -------------- next part -------------- An HTML attachment was scrubbed... URL: From strombrg at dcs.nac.uci.edu Mon Oct 6 19:18:00 2003 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: 06 Oct 2003 10:18:00 -0700 Subject: Nagios on 64bit Linux In-Reply-To: <5539FB0922D5E544B12A031DBD255E55010B8AFB@rijpat-s-346.europe.shell.com> References: <5539FB0922D5E544B12A031DBD255E55010B8AFB@rijpat-s-346.europe.shell.com> Message-ID: <1065460680.13438.65.camel@tesuji.nac.uci.edu> On Mon, 2003-10-06 at 06:12, Webster, Stuart SITI-ITDIUR wrote: > Hi, > > I have a quick question. Does anyone know if Nagios will run ok on 64 > bit Linux on an Itanium2, im hearing it might not run well on a 64 bit > machine. > > Thanks > > Stuart Webster My question is, why would you want to? Itaniums are expensive boxes. Nagios performs fine for us on a pentium 3 monitoring about 300 hosts. If you actually need more hosts than a 32 bit system can handle, you could easily buy multiple 32 bit systems, and then have the added benefit of having one nagios host check up on the other, and vice versa. I saw a 32 bit system for $127.99 today. I'd save the itanium for compute-bound tasks, and even then, it might be better to go AMD. -- Dan Stromberg DCS/NACS/UCI -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From paul.clayton at intec.co.za Mon Oct 6 19:56:08 2003 From: paul.clayton at intec.co.za (Paul Clayton) Date: Mon, 6 Oct 2003 19:56:08 +0200 Subject: check_disk and upper case device names Message-ID: <9290BC9741D67F43BDAAC84144FF870D0183FC9B@intecserver007.intec.co.za> Got an interesting one here. If the file systems device name is in upper case as /dev/vg03/DBUSERS I get a "DISK UNKNOWN - free space:|" being returned from nrpe. version 1.9, however everything in lower case works fine. Any ideas Regards Unix like Teepee, no windows no gates Apache inside Paul Clayton Global Unix Co-ordinator Intec Telecom Systems PH +27(0)21 4309000 Direct +27 (0)21 4309048 Mobile +27(0) 832853403 Fax +27(0) 4309025 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.heslin at us.mizuho-sc.com Mon Oct 6 21:52:33 2003 From: peter.heslin at us.mizuho-sc.com (Heslin, Peter) Date: Mon, 6 Oct 2003 15:52:33 -0400 Subject: Notification Limit?? Message-ID: <530FC437A78CD611B7E90002A542ED4B01969E33@chpnexch.fujisec.com> Hello, I was wondering if there was a way to limit host/service notifications to a certain number? I have been searching all day to no avail. I know that if I put a "0" for notification interval, nagios will only send 1 message. But what if I want it to send 5 and then stop? Is this possible? Thanks! Pete CONFIDENTIAL: This email, including its content and attachments, if any, are confidential. It is neither an offer to buy or sell, nor a solicitation of an offer to buy or sell, any securities or any related financial instruments mentioned in it. If you are not the named recipient please notify the sender and immediately delete it. You may not disseminate, distribute, or forward this email message or disclose its contents to anyone else. Unless otherwise indicated, copyright and any other intellectual property rights in its contents are the sole property of Mizuho Securities USA Inc. Email transmission cannot be guaranteed to be secure or error-free. The sender does not accept liability for any errors or omissions of this message due to email transmission. If verification is required please request a hardcopy version. Although we routinely screen for viruses, addressees should check this email and any attachments for viruses. We make no representation or warranty as to the absence of viruses in this email or any attachments. Please note that to ensure regulatory compliance and for the protection of our customers and business, we may monitor and read emails sent to and from our server(s). ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Mon Oct 6 23:47:56 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Mon, 6 Oct 2003 16:47:56 -0500 (CDT) Subject: Notification Limit?? In-Reply-To: <530FC437A78CD611B7E90002A542ED4B01969E33@chpnexch.fujisec.com> References: <530FC437A78CD611B7E90002A542ED4B01969E33@chpnexch.fujisec.com> Message-ID: <16120.64.219.133.155.1065476876.squirrel@xyzzy.homeip.net> You can use service, host, and hostgroup escalations to do exactly that. By the way, that is some disclaimer you have there. Can I get your email in hardcopy please? :) > Hello, > > I was wondering if there was a way to limit host/service notifications to a > certain number? I have been searching all day to no avail. I know that if > I put a "0" for notification interval, nagios will only send 1 message. But > what if I want it to send 5 and then stop? Is this possible? Thanks! > > Pete > CONFIDENTIAL: This email, including its content and attachments, if any, are > confidential. It is neither an offer to buy or sell, nor a solicitation of > an offer to buy or sell, any securities or any related financial instruments > mentioned in it. If you are not the named recipient please notify the sender > and immediately delete it. You may not disseminate, distribute, or forward > this email message or disclose its contents to anyone else. Unless otherwise > indicated, copyright and any other intellectual property rights in its > contents are the sole property of Mizuho Securities USA Inc. Email > transmission cannot be guaranteed to be secure or error-free. The sender > does not accept liability for any errors or omissions of this message due to > email transmission. If verification is required please request a hardcopy > version. Although we routinely screen for viruses, addressees should check > this email and any attachments for viruses. We make no representation or > warranty as to the absence of viruses in this email or any attachments. > Please note that to ensure regulatory compliance and for the protection of > our customers and business, we may monitor and read emails sent to and from > our server(s). > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Mon Oct 6 23:38:52 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Tue, 07 Oct 2003 07:38:52 +1000 Subject: UCE from Clearcentral Software Message-ID: <5.2.0.9.2.20031007073640.019500d8@imap.qut.edu.au> Hi all, Below is a message I received from Clearcentral Software - has anyone else received this (i.e. have they harvested email addx from nagios.org) or is this just me? I'll be sending them a strongly worded message and will be filtering messages from clearcentral.net to /tmp/spam I think... Greg >X-Mailer: Smartcode ObjectSet 1.0 >From: "Tim Shouldice" >Subject: Nagios and BMC Patrol - does your organization use both? >Date: Mon, 6 Oct 2003 14:18:00 +0000 >Organization: ClearCentral Software Inc. >To: > >Attention Nagios users: > > >Many organizations perform server monitoring with BMC Patrol. However, >many of the same organizations also use Nagios. > >Nagios provides a wide assortment of network service monitoring plug-ins >such as SSH, Telnet, DNS, HTTP, FTP, NFS and countless others. BMC Patrol >on the other hand includes none of these with the standard Unix or Windows >Operating System knowledge modules. > >BMC clients can purchase the Internet Services Manager, an add-in tool to >monitor web-related services. This add-in however is priced per server and >per monitored server so it gets very expensive to monitor even a moderate >number of servers. > >Both Patrols ISM and Nagios promote an architecture of remote monitoring >of network services. Patrol promotes this due the high cost of the >Internet Services Manager. Nagios promotes this because of its centralized >architecture. Some Nagios users install Nagios and the full suite of >plug-ins on each server and submit the results using passive checks, but >this prevents any centralization of configuration. > >However, monitoring network services remotely is not an effective method. >Disruptions to the network (which are very common) cause multiple false >alerts. Busy networks cause intermittent false alerts. The proper solution >is to perform service monitoring locally on each host. This can be done >with Patrol. > >To monitor network services from BMC Patrol in a cost-effective manner, >ClearCentral Software Inc. has released the Net Services Knowledge Module >for Patrol. This knowledge module (KM) is sold on a site-license basis, >enabling it to be installed on every server in a client's Patrol >environment. Yet, as a Patrol knowledge module, it is still configured and >viewed from the central Patrol Console. > >The KM uses the same plug-in architecture as Nagios and includes a custom >check function where any user-written script or executable can be added >into the Patrol environment. Many of the current Nagios plug-ins can be >added with no modification. > >A 31-day evaluation copy of the knowledge module is available from >ClearCentral's web site at >www.clearcentral.net. Use of the KM requires >an existing Patrol installation of at least one console and one Patrol >agent. Client's wishing a full evaluation kit including a printed copy of >the manual can get one by emailing >sales at clearcentral.net. > >Timothy Shouldice >ClearCentral Software Inc. >www.clearcentral.net > >Specifications: > >Services Monitored: > >DNS >FTP >IMAP >LDAP >NEWS >NFS >PING >POP >SMTP >SSH >Telnet >Websites >SSL Websites >Website Content checks >User-defined TCP >User-defined UDP >User-defined RPC >Custom Check (user supplied script) > >Supported Agent Platforms: > >Linux >Solaris >Windows NT and Windows 2000 >HP-UX >(other platform releases in progress, email a request for details) > >Supported Patrol Consoles > >Classic Windows Console >Classic Unix Console >Patrol Central Windows Console >Patrol Central Web Console ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 -------------- next part -------------- An HTML attachment was scrubbed... URL: From skip at pobox.com Mon Oct 6 23:54:05 2003 From: skip at pobox.com (Skip Montanaro) Date: Mon, 6 Oct 2003 16:54:05 -0500 Subject: Some acks aren't retained across reloads/restarts Message-ID: <16257.58493.512876.609102@montanaro.dyndns.org> I'm using NagMIN to administer my Nagios (1.1) configuration through the web. At one point I changed NagMIN's activate button to tell Nagios to reload its configuration instead of restarting the server. At the moment, some acknowledgements aren't retained across activates even though nagios.cfg contains these settings: retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav retention_update_interval=10 use_retained_program_state=1 For example, before my most recent activate click in NagMIN, the HTTPS service on brynmawr was ack'd as down. Two hosts, garfield and luis, were ack'd as down. Garfield and luis are still shown as down (and ack'd). Brynmawr's HTTPS service is still critical with a status message of "connection refused", however the ack - as represented by the little man-with-a-shovel icon - has been lost. I manually restarted Nagios using "/etc/init.d/nagios restart" (the vanilla rc script which comes with Nagios). Same problem, so it doesn't appear my restart->reload change in NagMIN was the culprit. I've also confirmed that restart->there is only a single Nagios instance running and that restart->/usr/local/nagios/var/status.sav is being updated. Here's the restart->latest record from status.sav for the HTTPS service on brynmawr: SERVICE: brynmawr;HTTPS;2;1065476326;0;191;0;0;363;1065476343;1;1;1;1;1;1;1;1;1;0;1065476343;Connection refused Which field records the service down acknowledgement? Feature request for future versions: Since it appears the logfile parser understands comments, how about sticking a comment in the various logfiles which says which fields are which? Any idea what's going on? Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Neal.Starr at cox.com Tue Oct 7 01:04:46 2003 From: Neal.Starr at cox.com (Starr, Neal (CCI-Wichita)) Date: Mon, 6 Oct 2003 18:04:46 -0500 Subject: check_ifstatus plugin help Message-ID: <4E09216370093E45A09C86686F29843601C5E992@ckan0ms01.corp.cox.com> I have been taking a look at using the check_ifstatus plugin for Nagios against several hosts in my network. I'm currently running Nagios 1.1 on a Solaris 9 platform (SunFire 280R). The first problem I encountered is on with a couple of CMTS devices in my network, I get the following error message if I try using version 2c of SNMP with the plugin: CRITICAL: Message size exceeded buffer maxMsgSize for 1.3.6.1.2.1.2.2.1.2 with snmp version 2 Has anyone seen this before, and if so how can I correct? Here is an example of the kind of data I believe is causing the problem: .1.3.6.1.2.1.2.2.1.2.10092546 = STRING: HFC Downstream: Broadcom BCM3033 on chassis 1, slot 6, port 2 I only get this warning when using SNMP v2c with the CMTSs in my network. Other devices seem to have much shorter strings. The only way I can avoid getting this message with these devices is to use SNMP v1 instead, and then I run into the problem below. Now, if the plugin does not find any down interfaces, everything works just fine. However, if there is one or more down interfaces, when the plugin returns its data I get messages of the following for each down interface that was seen: Use of uninitialized value in sprintf at ./check_ifstatus line 194. Use of uninitialized value in sprintf at ./check_ifstatus line 194. CRITICAL: host '172.26.49.100', interfaces up: 11, down: 2, dormant: 0
fbus:3: down ->
fbus:4: down ->
When looking at the source for the plugin, it appears to be in here: $ifmessage .= sprintf("%s: down -> %s
", $ifStatus{$key}{$snmpIfDescr}, $ifStatus{$key}{$snmpIfName}); Which appears in a for structure for looping through each of the down interfaces and printing a message about them. My guess is that one or the other or both of the variables for storing ifDescr and ifName are coming back empty. Is there a way to find out why? When I walk those MIBs manually using Net-SNMP I'm not seeing a problem. Any suggestions would be greatly appreciated. Thanks. Neal Starr ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From billy at DOH.STATE.NM.US Tue Oct 7 01:06:31 2003 From: billy at DOH.STATE.NM.US (billy at DOH.STATE.NM.US) Date: Mon, 6 Oct 2003 17:06:31 -0600 Subject: Notification Limit?? In-Reply-To: <16120.64.219.133.155.1065476876.squirrel@xyzzy.homeip.net> References: <16120.64.219.133.155.1065476876.squirrel@xyzzy.homeip.net> Message-ID: fyi, i think hostgroup escalations are scheduled for deprecation in v2.0. William York, MS, MCP+I, MCSE (NT4 & W2K) New Mexico Department of Health Network Operations Center Vice President - PODNet POD, Inc. desk: 505.827.2420 office: 505.243.2287 "Mike McClure" Sent by: nagios-users-admin at lists.sourceforge.net 10/06/2003 03:47 PM To nagios-users at lists.sourceforge.net cc Subject Re: [Nagios-users] Notification Limit?? You can use service, host, and hostgroup escalations to do exactly that. By the way, that is some disclaimer you have there. Can I get your email in hardcopy please? :) > Hello, > > I was wondering if there was a way to limit host/service notifications to a > certain number? I have been searching all day to no avail. I know that if > I put a "0" for notification interval, nagios will only send 1 message. But > what if I want it to send 5 and then stop? Is this possible? Thanks! > > Pete > CONFIDENTIAL: This email, including its content and attachments, if any, are > confidential. It is neither an offer to buy or sell, nor a solicitation of > an offer to buy or sell, any securities or any related financial instruments > mentioned in it. If you are not the named recipient please notify the sender > and immediately delete it. You may not disseminate, distribute, or forward > this email message or disclose its contents to anyone else. Unless otherwise > indicated, copyright and any other intellectual property rights in its > contents are the sole property of Mizuho Securities USA Inc. Email > transmission cannot be guaranteed to be secure or error-free. The sender > does not accept liability for any errors or omissions of this message due to > email transmission. If verification is required please request a hardcopy > version. Although we routinely screen for viruses, addressees should check > this email and any attachments for viruses. We make no representation or > warranty as to the absence of viruses in this email or any attachments. > Please note that to ensure regulatory compliance and for the protection of > our customers and business, we may monitor and read emails sent to and from > our server(s). > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: From amen at oreilly.com Tue Oct 7 01:54:11 2003 From: amen at oreilly.com (Bob Amen) Date: Mon, 06 Oct 2003 16:54:11 -0700 Subject: UCE from Clearcentral Software References: <5.2.0.9.2.20031007073640.019500d8@imap.qut.edu.au> Message-ID: <3F8200A3.4070409@oreilly.com> Greg Vickers wrote: > Hi all, > > Below is a message I received from Clearcentral Software - has anyone > else received this (i.e. have they harvested email addx from nagios.org) > or is this just me? I also received one. My guess is it's because I signed up for the forum at TSMGSoftware.com so that I could download NSClient. I seem to remember that Tim Shouldice is one of the principles of TSMG Software. Or maybe they did harvest addresses from nagios-users. > I'll be sending them a strongly worded message and will be filtering > messages from clearcentral.net to /tmp/spam I think... I fired off a nasty gram to them. Bob -- Bob Amen O'Reilly & Associates, Inc. http://www.ora.com/ http://www.oreilly.com/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 7 05:38:58 2003 From: teng at dataway.com (Tedman Eng) Date: Mon, 6 Oct 2003 20:38:58 -0700 Subject: Some acks aren't retained across reloads/restarts References: <16257.58493.512876.609102@montanaro.dyndns.org> Message-ID: Those settings are for global configuration. Make sure each individual service (or it's designated template) is set to retain status or non-status information as well. "Skip Montanaro" wrote in message news:16257.58493.512876.609102 at montanaro.dyndns.org... > > I'm using NagMIN to administer my Nagios (1.1) configuration through the > web. At one point I changed NagMIN's activate button to tell Nagios to > reload its configuration instead of restarting the server. At the moment, > some acknowledgements aren't retained across activates even though > nagios.cfg contains these settings: > > retain_state_information=1 > state_retention_file=/usr/local/nagios/var/status.sav > retention_update_interval=10 > use_retained_program_state=1 > > For example, before my most recent activate click in NagMIN, the HTTPS > service on brynmawr was ack'd as down. Two hosts, garfield and luis, were > ack'd as down. Garfield and luis are still shown as down (and ack'd). > Brynmawr's HTTPS service is still critical with a status message of > "connection refused", however the ack - as represented by the little > man-with-a-shovel icon - has been lost. > > I manually restarted Nagios using "/etc/init.d/nagios restart" (the vanilla > rc script which comes with Nagios). Same problem, so it doesn't appear my > restart->reload change in NagMIN was the culprit. I've also confirmed that > restart->there is only a single Nagios instance running and that > restart->/usr/local/nagios/var/status.sav is being updated. Here's the > restart->latest record from status.sav for the HTTPS service on brynmawr: > > SERVICE: brynmawr;HTTPS;2;1065476326;0;191;0;0;363;1065476343;1;1;1;1;1;1;1;1;1;0;106 5476343;Connection refused > > Which field records the service down acknowledgement? > > Feature request for future versions: Since it appears the logfile parser > understands comments, how about sticking a comment in the various logfiles > which says which fields are which? > > Any idea what's going on? > > Thanks, > > -- > Skip Montanaro > Got gigs? http://www.musi-cal.com/ > http://www.mojam.com/ > Got spam? http://spambayes.sf.net/ > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 nagios.org Tue Oct 7 06:56:49 2003 From: nagios at nagios.org (Ethan Galstad) Date: Mon, 06 Oct 2003 23:56:49 -0500 Subject: UCE from Clearcentral Software In-Reply-To: <3F8200A3.4070409@oreilly.com> References: <3F8200A3.4070409@oreilly.com> Message-ID: <3F820141.1487.1947F3F@localhost> If others have gotten these (or continue to get spam like this) I would like to know. If it is indeed TSMGSoftware or an affiliate of theirs, I would be inclined to remove the links to their addons from the downloads page. I get more than enough spam and I'm sure the rest of you do too. On 6 Oct 2003 at 16:54, Bob Amen wrote: > Greg Vickers wrote: > > Hi all, > > > > Below is a message I received from Clearcentral Software - has > > anyone else received this (i.e. have they harvested email addx from > > nagios.org) or is this just me? > > I also received one. My guess is it's because I signed up for the > forum > at TSMGSoftware.com so that I could download NSClient. I seem to > remember that Tim Shouldice is one of the principles of TSMG Software. > Or maybe they did harvest addresses from nagios-users. > > > I'll be sending them a strongly worded message and will be filtering > > messages from clearcentral.net to /tmp/spam I think... > > I fired off a nasty gram to them. > > Bob > -- > Bob Amen > O'Reilly & Associates, Inc. > http://www.ora.com/ > http://www.oreilly.com/ > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at lovedthanlost.net Tue Oct 7 08:11:17 2003 From: james at lovedthanlost.net (James Turnbull) Date: Tue, 7 Oct 2003 16:11:17 +1000 Subject: UCE from Clearcentral Software References: <3F820141.1487.1947F3F@localhost> Message-ID: <018801c38c99$d2a15820$3201a8c0@iih.usyd.edu.au> I also received it. Not knowing of Tim Shouldice's connection to TSMGSoftware I presumed it came through BMC - though how they knew I used Nagios had me stumped. Regards James Turnbull ----- Original Message ----- From: "Ethan Galstad" To: Sent: Tuesday, October 07, 2003 2:56 PM Subject: Re: [Nagios-users] UCE from Clearcentral Software > If others have gotten these (or continue to get spam like this) I > would like to know. If it is indeed TSMGSoftware or an affiliate of > theirs, I would be inclined to remove the links to their addons from > the downloads page. I get more than enough spam and I'm sure the > rest of you do too. > > remember that Tim Shouldice is one of the principles of TSMG Software. > > Or maybe they did harvest addresses from nagios-users. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BKwan at thoughtworks.com Tue Oct 7 08:33:44 2003 From: BKwan at thoughtworks.com (Barrow H Kwan) Date: Mon, 6 Oct 2003 23:33:44 -0700 Subject: CGI auth: nagios not getting user from Apache Message-ID: I have the same problem with Nagios report "Logged in as ?". To solve this problem, put your ".htaccess" under the the sbin where all the nagios'cgi are located. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fredrik.wanglund at datavis.se Tue Oct 7 09:09:49 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 07 Oct 2003 09:09:49 +0200 Subject: nagios and apan cause server to crash... References: <002a01c38c1c$9f0e6700$0300a8c0@optiplex> Message-ID: <3F8266BD.4080305@datavis.se> I your Nagios compiled with embedded Perl? /FredrikW Matthew Wilson wrote: > Hi guys, > I have read in the list archives in the last couple of months a few > threads about nagios and apan chewing up memory. I have tried a few > of the solutions posted but still have no joy. Here's my situation: > > Hardware - Dell Poweredge PIII 500 w/ 374MB memory, SCSI hard drive > Software - RedHat 9, Nagios 1.1 (installed from RPM) and apan. The > only other stuff of any signifance running is ssh and httpd (for > nagios alone) > > Nagios is checking about 50 service on 50 hosts using apan to ping > every 5 mins. The machine will run for about 5 days and then seize up > to point that it requires power cycling. (This is particular pain as > I administer the box remotely ;-) Rebooting will sort it out and after > getting nagios going again the same will happen. Looking at my > /var/log/messages, I see the kernel shutting down processes due to a > lack of memory. However, it's not nagios that is shut down but httpd > (which normally consumes about 8MB). It's a little difficult for me > to see what's actually happeninng as I look after this machine on a > contract remotely, and nobody is watching it 24-7. Watching free on a > daily basis I gradually see free memory decreasing and buffer and > cache sizes increasing, (to the point where there is only about 16MB > memory free) but I understand this is what linux is supposed to do. > My nagios process doesn't apparently grow (or not when the machine is > stable) and is normmaly using about 1.5MB. > Here's what I have tried: > > - Reducing max concurrent checks to 20. No apparent affect other than > giving big check latencies. > - Daily restart of nagios process via cron job - no apparent affect > > any helping in diagnosing/fixing this much appreciated. Also please > bear in mind that I only learnt linux for this project, so may be > missing something obvious ;-) > > cheers > Matthew Wilson > DCSat.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Webster at shell.com Tue Oct 7 09:12:09 2003 From: Stuart.Webster at shell.com (Webster, Stuart SITI-ITDIUR) Date: Tue, 7 Oct 2003 09:12:09 +0200 Subject: Nagios on 64bit Linux Message-ID: <5539FB0922D5E544B12A031DBD255E55010B8B02@rijpat-s-346.europe.shell.com> Hi Dan The Itanium2 is not just for Nagios but for another purpose. The idea was to also have Nagios on it to monitor some local services. And someone mentioned to me that it wouldnt run too well on 64bit Stuart -----Original Message----- From: Dan Stromberg [mailto:strombrg at dcs.nac.uci.edu] Sent: 06 October 2003 19:18 To: Webster, Stuart SITI-ITDIUR Cc: Dan Stromberg; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios on 64bit Linux On Mon, 2003-10-06 at 06:12, Webster, Stuart SITI-ITDIUR wrote: > Hi, > > I have a quick question. Does anyone know if Nagios will run ok on 64 > bit Linux on an Itanium2, im hearing it might not run well on a 64 bit > machine. > > Thanks > > Stuart Webster My question is, why would you want to? Itaniums are expensive boxes. Nagios performs fine for us on a pentium 3 monitoring about 300 hosts. If you actually need more hosts than a 32 bit system can handle, you could easily buy multiple 32 bit systems, and then have the added benefit of having one nagios host check up on the other, and vice versa. I saw a 32 bit system for $127.99 today. I'd save the itanium for compute-bound tasks, and even then, it might be better to go AMD. -- Dan Stromberg DCS/NACS/UCI ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthewwilson at dsl.pipex.com Tue Oct 7 14:26:55 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: Tue, 7 Oct 2003 13:26:55 +0100 Subject: nagios and apan cause server to crash... References: <002a01c38c1c$9f0e6700$0300a8c0@optiplex> <3F8266BD.4080305@datavis.se> Message-ID: <002401c38cce$4c538740$0300a8c0@optiplex> I am not entirely sure, as I installed from RPM rather than source. Is there an easy way to figure this out? ----- Original Message ----- From: "Fredrik W?nglund" To: "Matthew Wilson" Cc: Sent: Tuesday, October 07, 2003 8:09 AM Subject: Re: [Nagios-users] nagios and apan cause server to crash... > I your Nagios compiled with embedded Perl? > > /FredrikW > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dack at msi.umn.edu Tue Oct 7 15:09:50 2003 From: dack at msi.umn.edu (Dack Anderson) Date: Tue, 7 Oct 2003 08:09:50 -0500 (CDT) Subject: Nagios on 64bit Linux In-Reply-To: <5539FB0922D5E544B12A031DBD255E55010B8B02@rijpat-s-346.europe.shell.com> References: <5539FB0922D5E544B12A031DBD255E55010B8B02@rijpat-s-346.europe.shell.com> Message-ID: I have the plugins and nrpe running on two SGI Altix hosts and it works just fine. nagios itself builds fine as 64-bit, can't say that I've run it as that though. On Tue, 7 Oct 2003, Webster, Stuart SITI-ITDIUR wrote: > Hi Dan > > The Itanium2 is not just for Nagios but for another purpose. The idea was to also have Nagios on it to monitor some local services. And someone mentioned to me that it wouldnt run too well on 64bit > > > Stuart > > > -----Original Message----- > From: Dan Stromberg [mailto:strombrg at dcs.nac.uci.edu] > Sent: 06 October 2003 19:18 > To: Webster, Stuart SITI-ITDIUR > Cc: Dan Stromberg; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios on 64bit Linux > > > On Mon, 2003-10-06 at 06:12, Webster, Stuart SITI-ITDIUR wrote: > > Hi, > > > > I have a quick question. Does anyone know if Nagios will run ok on 64 > > bit Linux on an Itanium2, im hearing it might not run well on a 64 bit > > machine. > > > > Thanks > > > > Stuart Webster > > My question is, why would you want to? Itaniums are expensive boxes. > Nagios performs fine for us on a pentium 3 monitoring about 300 hosts. > If you actually need more hosts than a 32 bit system can handle, you > could easily buy multiple 32 bit systems, and then have the added > benefit of having one nagios host check up on the other, and vice > versa. I saw a 32 bit system for $127.99 today. I'd save the itanium > for compute-bound tasks, and even then, it might be better to go AMD. > > -- Dack ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thiago at ntime.com.br Tue Oct 7 15:24:46 2003 From: thiago at ntime.com.br (Thiago Conde =?ISO-8859-1?Q?Figueir=F3?=) Date: Tue, 7 Oct 2003 10:24:46 -0300 Subject: nrpe: Thresholds x Time periods Message-ID: <20031007102446.41a235f5.thiago@ntime.com.br> Hello, I have stumbled on the need to define different warning and critical values for certain times of the day on nrpe.cfg. For instance, if nobody sends an email between 02:00am and 08:00am, that is just fine. I thought about creating several nrpe.cfg and setting up cron jobs to replace the old one at the correct time. Does anyone have a better idea? I don't think Nagios (or nrpe for that matter) support this feature yet. Regards, -- Thiago Figueir? Ger?ncia de Opera??es thiago at ntime.com.br Cel.: (21) 8817-3632 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hogaboom at ll.mit.edu Tue Oct 7 15:30:58 2003 From: hogaboom at ll.mit.edu (Richard A. Hogaboom) Date: 07 Oct 2003 09:30:58 -0400 Subject: Unexpected token or statement Message-ID: <1065533459.3541.65.camel@capella> On 6-18 Michael A. Carpenter got this same error: Unexpected token or statement in file ".../nagios.cfg" on line n. when I was running /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/capella_test1/nagios.cfg I'm getting the same. His email and RE:'s did not find a solution. Has anybody? I've used only mods to the sample files. If I remove the first log_file=... line and move it down the nagios.cfg file, then the same error occurs on the first non comment line which happens to be a cfg_file=... line. The error is being detected in xodtemplate.c line 438. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 egg.com Tue Oct 7 14:43:39 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Tue, 7 Oct 2003 13:43:39 +0100 Subject: check_disk and upper case device names Message-ID: Paul, Which version of check_disk are you running? What is the command used? Ton -----Original Message----- From: Paul Clayton [mailto:paul.clayton at intec.co.za] Sent: 06 October 2003 18:56 To: Nagios Users (E-mail) Subject: [Nagios-users] check_disk and upper case device names Got an interesting one here. If the file systems device name is in upper case as /dev/vg03/DBUSERS I get a "DISK UNKNOWN - free space:|" being returned from nrpe. version 1.9, however everything in lower case works fine. Any ideas Regards Unix like Teepee, no windows no gates Apache inside Paul Clayton This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve at sliderule.demon.co.uk Tue Oct 7 15:50:44 2003 From: steve at sliderule.demon.co.uk (Burton, Steven) Date: Tue, 7 Oct 2003 14:50:44 +0100 Subject: check_nt and task manager Message-ID: Hi, we are having trouble with a service on our WinNT boxes which I monitor using Nagios/check_nt. When I set this up with the -v COUNTER object on one server the troublesome process (McAfee ePO frameworkservice) showed as 4.16% processor time with check_nt while showing 95-97% in task manager's process list. It is the same with the command line. I used: cd /usr/local/nagios/libexec ./check_nt -H -v COUNTER -l "\Process(FrameworkServic)\% Processor Time","%.2f%%" and yes, 'FrameworkServic' is the correct instance :-) Can anyone shed any light on this as WinNT is not my strongest subject? Steve Burton ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From uzurutuza at eps.mondragon.edu Tue Oct 7 17:18:17 2003 From: uzurutuza at eps.mondragon.edu ((infor) urko zurutuza) Date: Tue, 7 Oct 2003 17:18:17 +0200 Subject: Error: Could not connect to MySQL database Message-ID: Hi, Got a problem with Nagios mysql support. We've been looking some other mails but can't find solution: [10-07-2003 15:20:54] Error: Could not connect to MySQL database 'nagios' on host 'localhost' using username 'nagios' and password '********' for downtime data! [10-07-2003 15:20:54] Error: Could not connect to MySQL database 'nagios' on host 'localhost' using username 'nagios' and password '********' for comment data! [10-07-2003 15:20:54] Error: Could not re-connect to database server on host 'localhost' for status data. I'll keep trying every 60 seconds... [10-07-2003 15:20:54] Error: Could not connect to MySQL database 'nagios' on host 'localhost' using username 'nagios' and password '********'. Retention data will not be processed or saved! [10-07-2003 15:20:54] Error: Could not connect to MySQL database 'nagios' on host 'localhost' using username 'nagios' and password '********'. Status data will not be saved! [10-07-2003 15:20:54] Finished daemonizing... (New PID=2019) [10-07-2003 15:20:54] Nagios 1.1 starting... (PID=2018) ----- OS: RedHat 8 Versions: Nagios 1.1, mysql 4.0.12 ----- We've already chowned/chgrped config-files to nagios user (so that the nagios process can read them), and still doesn't work. Also, connecting mysql from shell works well: >mysql -u nagios -p ----- Config directives in cgi.cfg & resource.cfg: x-ddb_host=localhost #x-ddb_port=someport (takes by default) x-ddb_database=nagios x-ddb_username=nagios x-ddb_password=******** ... Can anyone help us??? Thank you all __________________________________________________ MONDRAGON UNIBERTSITATEA Urko Zurutuza Dpto. Inform?tica Loramendi 4 - Aptdo.23 20500 Arrasate-Modragon Tel. +34 943 794700 Ext.305 www.eps.mondragon.edu uzurutuza at eps.mondragon.edu ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bdilworth at mco.edu Tue Oct 7 17:33:40 2003 From: bdilworth at mco.edu (Bob Dilworth) Date: Tue, 07 Oct 2003 11:33:40 -0400 Subject: List of All Services For Which Notifications Are Disabled? Message-ID: Hi All! We're using Nagios 1.1. I'm looking for a way to obtain a current list of all services for which we have notifications disabled. I realize one can go into the monitor and look this up by host and individual service but it would be really nice to have a consolidated list of just those services for which notifications have been disabled. Along the same lines - has anyone modified the source code to perhaps build such a list and write it out to a text file? Once could then read the text file via a Perl script or something and toggle the notifications back on (or off again) via a command line call to the approriate URL. Any info on this topic would be highly appreciated! Thanks in Advance!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Bob Dilworth Medical College of Ohio Toledo, Ohio (419)383-6071 (419)383-3125 (fax) bdilworth at mco.edu ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Tue Oct 7 17:38:18 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue, 7 Oct 2003 10:38:18 -0500 Subject: Some acks aren't retained across reloads/restarts In-Reply-To: References: <16257.58493.512876.609102@montanaro.dyndns.org> Message-ID: <16258.56810.536279.928439@montanaro.dyndns.org> Tedman> Those settings are for global configuration. Make sure each Tedman> individual service (or it's designated template) is set to Tedman> retain status or non-status information as well. Thanks for the suggestion. I wasn't aware there was anything other than the global settings for these items. Now to poke all the buttons in NagMIN... -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.pounsett at cira.ca Tue Oct 7 17:39:04 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 7 Oct 2003 11:39:04 -0400 (EDT) Subject: Error: Could not connect to MySQL database In-Reply-To: References: Message-ID: On Tue, 7 Oct 2003, (infor) urko zurutuza wrote: > Can anyone help us??? Wht do your mySQL logs say? -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Oct 7 17:41:05 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 7 Oct 2003 10:41:05 -0500 Subject: Error: Could not connect to MySQL database Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EF90@mismail.ena.com> One reason I saw this with postgres was because nagios didn't have update rights to the tables themselves. Unfortunately nagios doesn't pass you any database error messages it might get when attempting to update data. I had to use strace to determine the exact cause. -- Marc > -----Original Message----- > From: (infor) urko zurutuza [mailto:uzurutuza at eps.mondragon.edu] > Sent: Tuesday, October 07, 2003 10:18 AM > To: nagios-users at lists.sourceforge.net > > Hi, > > Got a problem with Nagios mysql support. We've been looking some other > mails but can't find solution: > > [10-07-2003 15:20:54] Error: Could not connect to MySQL database 'nagios' > on host 'localhost' using username 'nagios' and password '********' for > downtime data! > [10-07-2003 15:20:54] Error: Could not connect to MySQL database 'nagios' > on host 'localhost' using username 'nagios' and password '********' for > comment data! > [10-07-2003 15:20:54] Error: Could not re-connect to database server on > host 'localhost' for status data. I'll keep trying every 60 seconds... > [10-07-2003 15:20:54] Error: Could not connect to MySQL database 'nagios' > on host 'localhost' using username 'nagios' and password '********'. > Retention data will not be processed or saved! > [10-07-2003 15:20:54] Error: Could not connect to MySQL database 'nagios' > on host 'localhost' using username 'nagios' and password '********'. > Status data will not be saved! > [10-07-2003 15:20:54] Finished daemonizing... (New PID=2019) > [10-07-2003 15:20:54] Nagios 1.1 starting... (PID=2018) > ----- > OS: RedHat 8 > Versions: Nagios 1.1, mysql 4.0.12 > ----- > We've already chowned/chgrped config-files to nagios user (so that the > nagios process can read them), and still doesn't work. > Also, connecting mysql from shell works well: > >mysql -u nagios -p > ----- > Config directives in cgi.cfg & resource.cfg: > > x-ddb_host=localhost > #x-ddb_port=someport (takes by default) > x-ddb_database=nagios > x-ddb_username=nagios > x-ddb_password=******** > ... > > Can anyone help us??? > Thank you all > __________________________________________________ > MONDRAGON UNIBERTSITATEA > Urko Zurutuza > Dpto. Inform?tica > Loramendi 4 - Aptdo.23 > 20500 Arrasate-Modragon > Tel. +34 943 794700 Ext.305 > www.eps.mondragon.edu > uzurutuza at eps.mondragon.edu > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardo at tupy.com.br Tue Oct 7 18:17:33 2003 From: eduardo at tupy.com.br (Eduardo Bittelbrunn) Date: Tue, 7 Oct 2003 13:17:33 -0300 Subject: Fw: Check_load - Check Mem - Check Disk. Message-ID: <00d201c38cee$836eaf00$740210ac@micro16116> ----- Original Message ----- From: Eduardo Bittelbrunn To: nagios-users at lists.sourceforge.net Sent: Monday, October 06, 2003 1:11 PM Subject: Check_load - Check Mem - Check Disk. Hi Guys I need help to configure nagios for monitoring cpu, disk e memory of remote computer. (NT and AIX) I like of example for help me. Tks Eduardo Bittelbrunn Analista Informatica - TI Fundi??es Tupy Ltda (47) 441-8275 (47) 9972-1292 -------------- next part -------------- An HTML attachment was scrubbed... URL: From vdidenko at Getcollc.com Tue Oct 7 18:27:05 2003 From: vdidenko at Getcollc.com (Vlad Didenko) Date: Tue, 7 Oct 2003 11:27:05 -0500 Subject: UCE from Clearcentral Software Message-ID: I got that, too, since I am a subscriber of the board. I do assume that is the same Tim, since here is the post on the board: http://support.tsmgsoftware.com/viewtopic.php?t=2 TSMG Software Inc. announces ClearCentral Server Suite will be available September 2003. I am concerned, that NT clients' monitoring will be diverted to best suite the BMC integration, not the community needs. Even if it is good to make money on Open Source software and contribute, bad business practices should not be welcomed. Vlad. -----Original Message----- From: Ethan Galstad [mailto:nagios at nagios.org] Sent: Monday, October 06, 2003 11:57 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] UCE from Clearcentral Software If others have gotten these (or continue to get spam like this) I would like to know. If it is indeed TSMGSoftware or an affiliate of theirs, I would be inclined to remove the links to their addons from the downloads page. I get more than enough spam and I'm sure the rest of you do too. On 6 Oct 2003 at 16:54, Bob Amen wrote: > Greg Vickers wrote: > > Hi all, > > > > Below is a message I received from Clearcentral Software - has > > anyone else received this (i.e. have they harvested email addx from > > nagios.org) or is this just me? > > I also received one. My guess is it's because I signed up for the > forum > at TSMGSoftware.com so that I could download NSClient. I seem to > remember that Tim Shouldice is one of the principles of TSMG Software. > Or maybe they did harvest addresses from nagios-users. > > > I'll be sending them a strongly worded message and will be filtering > > messages from clearcentral.net to /tmp/spam I think... > > I fired off a nasty gram to them. > > Bob > -- > Bob Amen > O'Reilly & Associates, Inc. > http://www.ora.com/ > http://www.oreilly.com/ > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From demian.m.ginther at BOEING.COM Tue Oct 7 18:46:33 2003 From: demian.m.ginther at BOEING.COM (Ginther, Demian M) Date: Tue, 07 Oct 2003 10:46:33 -0600 Subject: How do I change the from: address on the email notifications? Message-ID: <1065545193.2813.18.camel@akira> My exchange admin would like a real address associated with the notification emails that get sent from Nagios. Currently they are from nagios at hostname. Is there somewhere I can set this? I've looked through the config files pretty thoroughly. Thanks! Demian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Tue Oct 7 20:45:16 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue, 7 Oct 2003 13:45:16 -0500 Subject: How do I change the from: address on the email notifications? In-Reply-To: <1065545193.2813.18.camel@akira> References: <1065545193.2813.18.camel@akira> Message-ID: <16259.2492.785818.797168@montanaro.dyndns.org> Demian> My exchange admin would like a real address associated with the Demian> notification emails that get sent from Nagios. Currently they Demian> are from nagios at hostname. Is there somewhere I can set this? Demian> I've looked through the config files pretty thoroughly. Take a look at your notify-by-email and host-notify-by-email commands. They probably look something like /usr/bin/printf blah blah blah | mail -s blahblahblah The From: field will be set based upon the user running Nagios. This is usually "nagios". That's a real user as far as Unix is concerned. Your easiest path will probably be to create a .forward file in ~nagios which contains one or more emails which you want to catch those mails: demian.m.ginther at boeing.com skip at pobox.com You can likely (depending on the mailer you run on the Nagios machine) also edit /etc/aliases or /etc/mail/aliases appropriately and then tickle your mailer (newaliases does the trick on machines running Sendmail). -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Tue Oct 7 22:16:52 2003 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: 07 Oct 2003 13:16:52 -0700 Subject: world viewable Message-ID: <1065557812.21896.56.camel@tesuji.nac.uci.edu> We've been using IP based authentication with nagios, instead of passworded access. In the beginning it was easier, but DHCP is making this a pain. I've been asked to: 1) Switch to passworded access. Can this be done over ssl/tls? 2) Make our nagios visible to anyone on the web. Are there security risks involved with this? "admin risks" involved with endusers being able to see what's up and what's down? We entirely drive our nagios configs by a locally-written set of CGI scripts - is there a way to make the entire web interface readonly? Are there other things I should watch out for in this security transition? TIA. -- Dan Stromberg DCS/NACS/UCI -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From mmcclure at pneservices.com Tue Oct 7 23:32:54 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Tue, 7 Oct 2003 16:32:54 -0500 (CDT) Subject: world viewable In-Reply-To: <1065557812.21896.56.camel@tesuji.nac.uci.edu> References: <1065557812.21896.56.camel@tesuji.nac.uci.edu> Message-ID: <18056.64.219.133.155.1065562374.squirrel@xyzzy.homeip.net> > We've been using IP based authentication with nagios, instead of > passworded access. In the beginning it was easier, but DHCP is making > this a pain. Not to mention that stealing an IP address is extremely simple. > I've been asked to: > > 1) Switch to passworded access. Can this be done over ssl/tls? Generally, yes, but it really depends on the HTTP server you are using. Apache is fully capable of such a configuration. The SSL/TLS protocol is exclusive of the HTTP authentication protocol. > 2) Make our nagios visible to anyone on the web. Are there security > risks involved with this? Of course. There are always risks with making any system accessible on a public network like the Internet. > "admin risks" involved with endusers being > able to see what's up and what's down? A big part of attacking a network is reconnaissance. The more information you provide to an attacker, the easier you make their "task". > We entirely drive our nagios > configs by a locally-written set of CGI scripts - is there a way to make > the entire web interface readonly? Yes. Don't allow access to any CGI scripts which can change the state of the system. The method for doing so depends on your HTTP server. > Are there other things I should > watch out for in this security transition? Policies, policies, policies. If you don't clearly define them, you are just guessing, and that's not good. Also, if you're worried about security, use a highly secure platform like OpenBSD or SE Linux. And don't enable services on it that you don't need. > > TIA. > > -- > Dan Stromberg DCS/NACS/UCI > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Wed Oct 8 00:09:50 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 08 Oct 2003 08:09:50 +1000 Subject: How do I change the from: address on the email notifications? In-Reply-To: <1065545193.2813.18.camel@akira> References: <1065545193.2813.18.camel@akira> Message-ID: <5.2.0.9.2.20031008080737.022980c0@imap.qut.edu.au> Hey, I use exim as my mta - there is a configuration option in exim that lists users who are authorised to change the From: field and the nagios users is one of those, so my email notification command looks like this: define command{ command_name service-notify-by-email command_line echo -e "Note: DO NOT REPLY TO THIS EMAIL\n\nThe service \"$SERVICEDESC$\" on host \"$HOSTALIAS$\" at IP $HOSTADDRESS$ is in a $SERVICESTATE$ state.\n\nThe output from the service check: $OUTPUT$" | mail -s "$HOSTNAME$ has a service in an $SERVICESTATE$ state" $CONTACTEMAIL$ -a "From: xxx at xxx.xxx" } The important part is the -a "From: blah blah blah" HTH, Greg At 02:46 AM 08/10/2003, Ginther, Demian M wrote: >My exchange admin would like a real address associated with the >notification emails that get sent from Nagios. Currently they are from >nagios at hostname. Is there somewhere I can set this? I've looked >through the config files pretty thoroughly. > >Thanks! > >Demian > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drew.cullis at gwl.com Wed Oct 8 00:57:55 2003 From: drew.cullis at gwl.com (Drew Cullis) Date: Tue, 07 Oct 2003 16:57:55 -0600 Subject: Invalid values for service after changes to config files Message-ID: <3F8344F3.8041F3EC@gwl.com> Hello; I am running Nagios 1.1 on RH 7.3. I am attempting to receive snmp traps from a Storagetek D280 using the NSCA (2.4) addon. I have added the device to the appropriate files (hosts & services entries shown below). I get this error when I try to check the validity of the changes to my config files before I reload nagios. Deleteing this host/service brings back a clean check. BTW- The sevices entry was cut/pasted from the docs. I am also assuming that you need to set up this type of sevice just as any other service. Does this look familiar to anyone, and am I missing something? Thanks for the help..... -Drew Reading configuration data... Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'D280_FAILURE' on host 'is-d280-1a' Error: Could not register service (config file '/usr/local/nagios/etc/services.cfg', line 3602) # Service definition define service{ host_name is-d280-1a service_description D280_FAILURE is_volatile 1 active_checks_enabled 0 passive_checks_enabled 1 max_check_attempts 1 contact_groups admins notification_interval 0 notification_period 24x7 notification_options w,c,r check_command check_none } # 'is-d280-1a' host definition define host{ use generic-host ; Name of host template to use host_name is-d280-1a alias is-d280-1a address 143.100.12.1 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } -- Drew Cullis ITS UNIX Sys Admin Phone: 303-737-6506 Email: drew.cullis at gwl.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Wed Oct 8 02:02:05 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Tue, 7 Oct 2003 19:02:05 -0500 (CDT) Subject: Invalid values for service after changes to config files In-Reply-To: <3F8344F3.8041F3EC@gwl.com> References: <3F8344F3.8041F3EC@gwl.com> Message-ID: <3810.192.168.1.9.1065571325.squirrel@xyzzy.homeip.net> I think you need a retry_check_interval value for the service. > Hello; > I am running Nagios 1.1 on RH 7.3. I am attempting to receive snmp > traps from a Storagetek D280 using the NSCA (2.4) addon. I have added > the device to the appropriate files (hosts & services entries shown > below). > I get this error when I try to check the validity of the changes to my > config files before I reload nagios. Deleteing this host/service brings > back a clean check. > BTW- The sevices entry was cut/pasted from the docs. I am also > assuming that you need to set up this type of sevice just as any other > service. > Does this look familiar to anyone, and am I missing something? > > Thanks for the help..... > > -Drew > > Reading configuration data... > > Error: Invalid max_attempts, check_interval, retry_interval, or > notification_interval value for service 'D280_FAILURE' on host > 'is-d280-1a' > > Error: Could not register service (config file > '/usr/local/nagios/etc/services.cfg', line 3602) > > # Service definition > define service{ > host_name is-d280-1a > service_description D280_FAILURE > is_volatile 1 > active_checks_enabled 0 > passive_checks_enabled 1 > max_check_attempts 1 > contact_groups admins > notification_interval 0 > notification_period 24x7 > notification_options w,c,r > check_command check_none > } > > # 'is-d280-1a' host definition > define host{ > use generic-host ; Name of host > template to use > > host_name is-d280-1a > alias is-d280-1a > address 143.100.12.1 > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,u,r > } > > -- > > Drew Cullis > ITS UNIX Sys Admin > Phone: 303-737-6506 Email: drew.cullis at gwl.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Wed Oct 8 02:03:50 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Wed, 8 Oct 2003 13:03:50 +1300 Subject: world viewable In-Reply-To: <18056.64.219.133.155.1065562374.squirrel@xyzzy.homeip.net> References: <1065557812.21896.56.camel@tesuji.nac.uci.edu> <18056.64.219.133.155.1065562374.squirrel@xyzzy.homeip.net> Message-ID: <200310080006.h9806JY29097@spectre.freeparking.co.nz> On Wed, 08 Oct 2003 10:32, Mike McClure wrote: > > We've been using IP based authentication with nagios, instead of > > passworded access. In the beginning it was easier, but DHCP is making > > this a pain. > > Not to mention that stealing an IP address is extremely simple. My reply is heading OT, but anyway, Stealing an (public) IP address is simple - but is only any good for DoS attacks, and actually presents no risk here. The reason is that routing will route back to the genuine owner/user of the said IP address. Security risk increases greatly if the h4xx0r can a) spoof your ip address and b) grab your ASN and change gloabl BGP routing table to suit. All bets are off for locally connected h4xx0rz of course. Which is exactly the problem with Dan's situation (DHCP etc). Anyway, enough from me. Normal programming will resume shortly. :-) jamie ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Oct 8 06:02:52 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 8 Oct 2003 00:02:52 -0400 (EDT) Subject: check_ifstatus plugin help In-Reply-To: <4E09216370093E45A09C86686F29843601C5E992@ckan0ms01.corp.cox.com> References: <4E09216370093E45A09C86686F29843601C5E992@ckan0ms01.corp.cox.com> Message-ID: On Mon, 6 Oct 2003, Starr, Neal (CCI-Wichita) wrote: What version of the plugins? of Net::SNMP? > > I have been taking a look at using the check_ifstatus plugin for Nagios > against several hosts in my network. I'm currently running Nagios 1.1 > on a Solaris 9 platform (SunFire 280R). > > The first problem I encountered is on with a couple of CMTS devices in > my network, I get the following error message if I try using version 2c > of SNMP with the plugin: > > CRITICAL: Message size exceeded buffer maxMsgSize for > 1.3.6.1.2.1.2.2.1.2 with snmp version 2 > > Has anyone seen this before, and if so how can I correct? Here is an > example of the kind of data I believe is causing the problem: > > .1.3.6.1.2.1.2.2.1.2.10092546 = STRING: HFC Downstream: Broadcom BCM3033 on chassis 1, slot 6, port 2 first time I've seen the message - the default maxmsgsize is 1472 bytes which seems to work for most folks... We can add a option to increase the maxmsgsize when creating the session... a quick workaround would be a to add the following at line 165 (create a v1/v2 session) -maxmsgsize => 2048; # adjust according to preference (max is 2^32-1) This seems to be an issue with either v1 or v2c but not v3 as maxmsgsize is negotiated automatically for v3. > > I only get this warning when using SNMP v2c with the CMTSs in my > network. Other devices seem to have much shorter strings. The only way > I can avoid getting this message with these devices is to use SNMP v1 > instead, and then I run into the problem below. > > > Now, if the plugin does not find any down interfaces, everything works > just fine. However, if there is one or more down interfaces, when the > plugin returns its data I get messages of the following for each down > interface that was seen: > > Use of uninitialized value in sprintf at ./check_ifstatus line 194. Use > of uninitialized value in sprintf at ./check_ifstatus line 194. > CRITICAL: host '172.26.49.100', interfaces up: 11, down: 2, dormant: > 0
fbus:3: down ->
fbus:4: down ->
> > When looking at the source for the plugin, it appears to be in here: > > $ifmessage .= sprintf("%s: down -> %s
", > $ifStatus{$key}{$snmpIfDescr}, > $ifStatus{$key}{$snmpIfName}); This was fixed in the last release ... > > Which appears in a for structure for looping through each of the down > interfaces and printing a message about them. My guess is that one or > the other or both of the variables for storing ifDescr and ifName are > coming back empty. Is there a way to find out why? When I walk those > MIBs manually using Net-SNMP I'm not seeing a problem. Any suggestions > would be greatly appreciated. Thanks. > -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Oct 8 06:10:53 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 8 Oct 2003 00:10:53 -0400 (EDT) Subject: Multi-user nagios In-Reply-To: References: Message-ID: On Fri, 26 Sep 2003, Jason Ahrens wrote: > I've been trying to figure out the best way to do this, with no luck yet. > > I have a Nagios implementation used by my group here. We have another > group that has asked us to monitor some of their things for them, > sending alerts to them. That's no problem. Easy to do. > > What I can't figure out is a security thing. Depending who logs into the > interface (my team or them) I'd like them to only see the things they > are interested in. For example, I have network gear in a group, and > servers in another. I want it so the network group can only see items in > the network group. > > Short of having two instances of nagios running so each maintains it's > own records and force a physical separation like that, is there a way to > configure a single instance of Nagios/Apache so that certain users get > access only to view certain hosts? > contacts for hostgroups - only authorized contacts can view hosts... -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve at sliderule.demon.co.uk Wed Oct 8 09:43:58 2003 From: steve at sliderule.demon.co.uk (Burton, Steven) Date: Wed, 8 Oct 2003 08:43:58 +0100 Subject: check_nt and perfmon counters Message-ID: Hi, we are having trouble with a service on our WinNT boxes which I monitor using Nagios/check_nt. When I set this up with the -v COUNTER object on one server the troublesome process (McAfee ePO frameworkservice) showed as 4.16% processor time with check_nt while showing 95-97% in task manager's process list. It is the same with the command line. I used: cd /usr/local/nagios/libexec ./check_nt -H -v COUNTER -l "\Process(FrameworkServic)\% Processor Time","%.2f%%" and yes, 'FrameworkServic' is the correct instance :-) Can anyone shed any light on this as WinNT is not my strongest subject? Steve Burton Steve Burton BSc(Hons) MIEE Network Manager Shepherd Construction Ltd Frederick House, Fulford Road, York. YO10 4EA England. Phone: +44 (0) 01904 660391 Fax: +44 (0) 01904 610256 Registration Number: 201860 England Registered Address: Huntington House, Jockey Lane, Huntington, York YO32 9XW The view or opinions present in this e-mail are solely those of the author and do not necessarily represent those of the company. The email and any files transmitted with it are confidential and are intended solely for the individual or entity to which they are addressed. If you have received this e-mail in error, please notify sclcomp at shepherd-construction.co.uk quoting the name of the sender. Whilst every care has been taken to check this outgoing e-mail for viruses it is seen as your responsibility to check and sweep it, and any attachments, for viruses on receipt. ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_list at hotmail.com Wed Oct 8 14:38:54 2003 From: nagios_list at hotmail.com (David VanDamme) Date: Wed, 08 Oct 2003 12:38:54 +0000 Subject: Horizontal correlation of services Message-ID: Hi List, I`m not sure that "horizontal correlation" is the correct term for what I`m trying to achieve, but anyhow, here`s what i would like nagios to do for me : "A host has several services attached to it, and if a certain percentage of these services fail, i want to create a notification." To make it more concrete, i`ll give 2 examples of where this would come in handy, A gateway router has 3 routes to the internet, and does load-balancing and fail-over over all 3, at night I only want to have my support staff woken up when 2 or more of these routes are down. A http-load balancer load-balances the load over approx 8 web servers, and i only want to have beeper notification if more then 3 out of 8 servers are down. Is this at all possible in Nagios without writing my own plugins and putting this logic in the "check commmands" ? Regards, David _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_list at hotmail.com Wed Oct 8 15:09:16 2003 From: nagios_list at hotmail.com (David VanDamme) Date: Wed, 08 Oct 2003 13:09:16 +0000 Subject: Horizontal correlation of services Message-ID: Hi List, I`m not sure that "horizontal correlation" is the correct term for what I`m trying to achieve, but anyhow, here`s what i would like nagios to do for me : "A host has several services attached to it, and if a certain percentage of these services fail, i want to create a notification." To make it more concrete, i`ll give 2 examples of where this would come in handy, A gateway router has 3 routes to the internet, and does load-balancing and fail-over over all 3, at night I only want to have my support staff woken up when 2 or more of these routes are down. A http-load balancer load-balances the load over approx 8 web servers, and i only want to have beeper notification if more then 3 out of 8 servers are down. Is this at all possible in Nagios without writing my own plugins and putting this logic in the "check commmands" ? Regards, David _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Wed Oct 8 15:32:50 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Wed, 8 Oct 2003 08:32:50 -0500 (CDT) Subject: Horizontal correlation of services In-Reply-To: References: Message-ID: <41358.64.219.133.155.1065619970.squirrel@xyzzy.homeip.net> Sounds like a job for... Cluster-Man! http://nagios.sourceforge.net/docs/1_0/clusters.html > Hi List, > > I`m not sure that "horizontal correlation" is the correct term for what I`m > trying to achieve, > but anyhow, here`s what i would like nagios to do for me : > "A host has several services attached to it, and if a certain percentage of > these services fail, > i want to create a notification." > > To make it more concrete, i`ll give 2 examples of where this would come in > handy, > > A gateway router has 3 routes to the internet, and does load-balancing and > fail-over over all 3, > at night I only want to have my support staff woken up when 2 or more of > these routes are down. > > A http-load balancer load-balances the load over approx 8 web servers, and i > only want to have beeper notification if more then 3 out of 8 servers are > down. > > Is this at all possible in Nagios without writing my own plugins and putting > this logic in the "check commmands" ? > > Regards, > > David -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.heslin at us.mizuho-sc.com Wed Oct 8 15:36:16 2003 From: peter.heslin at us.mizuho-sc.com (Heslin, Peter) Date: Wed, 8 Oct 2003 09:36:16 -0400 Subject: check_log & notification escalations Message-ID: <530FC437A78CD611B7E90002A542ED4B01969E87@chpnexch.fujisec.com> Hello, I am having trouble working out a solution to have the "check_log" plugin send multiple notifications. I am monitoring a log file and looking for a particular line, and when it occurs, send notifications to one of my contact groups. I would like to have it send out 5 notifications before it gives up. This is a problem, however, because the "check_log" plugin clears itself after every hit. I have tried to employ the "volatile_service" option, but this will send out notifications EVERY time it gets a hit, whether or not I use the "escalations.cfg" limit. I have provided the example below, any help would be much appreciated. Thanks. Pete "services.cfg" # Service definition define service{ use generic-service hostgroup linux service_description CHECK_LOG is_volatile 0(have tried 1 and 0) check_period 24x7 max_check_attempts 1 normal_check_interval 2 retry_check_interval 1 flap_detection_enabled 0 contact_groups linux-admins(have tried other here) notification_interval 2 notification_period 24x7 notification_options c,r check_command check_nrpe!check_log } "escalations.cfg" define serviceescalation{ host_name ihplfs01 service_description CHECK_LOG contact_groups linux-admins first_notification 2 last_notification 3 notification_interval 1 } CONFIDENTIAL: This email, including its content and attachments, if any, are confidential. It is neither an offer to buy or sell, nor a solicitation of an offer to buy or sell, any securities or any related financial instruments mentioned in it. If you are not the named recipient please notify the sender and immediately delete it. You may not disseminate, distribute, or forward this email message or disclose its contents to anyone else. Unless otherwise indicated, copyright and any other intellectual property rights in its contents are the sole property of Mizuho Securities USA Inc. Email transmission cannot be guaranteed to be secure or error-free. The sender does not accept liability for any errors or omissions of this message due to email transmission. If verification is required please request a hardcopy version. Although we routinely screen for viruses, addressees should check this email and any attachments for viruses. We make no representation or warranty as to the absence of viruses in this email or any attachments. Please note that to ensure regulatory compliance and for the protection of our customers and business, we may monitor and read emails sent to and from our server(s). ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Wed Oct 8 15:45:57 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: 08 Oct 2003 15:45:57 +0200 Subject: Running nagios as root In-Reply-To: <5DB017510818EC468B05BD7BD9EACF8303E7EF19@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF8303E7EF19@mismail.ena.com> Message-ID: <1065620757.29801.11.camel@roy-sin> normally, ping should have the SUID set and owned by by root, as to be allowed to use ICMP ping On Wed, 2003-10-01 at 19:33, Marc Powell wrote: > That's actually a really bad idea. The simpler and better solution is to > make ping and fping executable by the nagios user -- > > [root at betelgeuse bes]# ls -al /bin/ping > -rwsr-xr-x 1 root root 35192 Apr 18 2002 /bin/ping > [root at betelgeuse bes]# ls -l /usr/local/sbin/fping > -rwsr-xr-x 1 root root 83254 Nov 15 2002 > /usr/local/sbin/fping > > chmod 4755 /bin/ping /usr/local/sbin/fping > > -- > Marc > > ________________________________________ > From: R. F. [mailto:visigoth at home.nl] > Sent: Wednesday, October 01, 2003 11:56 AM > To: nagios-users at lists.sourceforge.net > > Hi, I've been messing with Nagios for a week now and I can't get it to > access/execute /bin/ping or /usr/local/sbin/fping. So I was wondering, > is it wise to run Nagios as root? Is there a way to do it safely? If so, > how, because it looks like the only option for me :( > > Thanks. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_list at hotmail.com Wed Oct 8 16:18:21 2003 From: nagios_list at hotmail.com (David VanDamme) Date: Wed, 08 Oct 2003 14:18:21 +0000 Subject: Horizontal correlation of services Message-ID: Please discard my previous mail... I was just browsing trough the manual again and seems that I overlooked that part of the manual that answers my question, so you all go off and send me those RTFM flame mails, i guess i deserve them :) Here's the url http://nagios.sourceforge.net/docs/1_0/clusters.html that i should have looked at now please excuse while I go and bang my head against the wall ... Oh, and if anyone has anything interesting to share on this subject (checking clusters) that isn't covered in the manual, your input is more then welcome. David _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthewwilson at dsl.pipex.com Wed Oct 8 17:31:58 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: Wed, 8 Oct 2003 16:31:58 +0100 Subject: nagios and apan cause server to crash... Message-ID: <003601c38db1$506db240$0300a8c0@optiplex> UPDATE: I have checked and my nagios installation does not have ePN compiled in. So this is not the cause. I would greatly appreciate any suggestions on how to prevent/cure this problem. > Thanks > Matthew Wilson. > > > > Matthew Wilson wrote: > > > > > Hi guys, > > > I have read in the list archives in the last couple of months a few > > > threads about nagios and apan chewing up memory. I have tried a few > > > of the solutions posted but still have no joy. > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From uzurutuza at eps.mondragon.edu Wed Oct 8 17:45:32 2003 From: uzurutuza at eps.mondragon.edu ((infor) urko zurutuza) Date: Wed, 8 Oct 2003 17:45:32 +0200 Subject: Error: Could not connect to MySQL database Message-ID: I`m sorried to say that non of your answers worked well; nagios user has all privilegies in the database, and I've discovered mysql is not the problem, cause logs are completely empty (it does not try even to connect to the database!!) our config was: ./configure --prefix=/usr/local/nagios --with-cgi-url=/nagios/cgi-bin --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-mysql-xdata --with-mysql-lib=/usr/local/mysql/lib/mysql --with-mysql-inc=/usr/local/mysql/include/mysql --with-mysql-downtime --with-mysql-comments --with-mysql-status --with-mysql-retention --with-mysql-extinfo -----Mensaje original----- De: Marc Powell [mailto:mpowell at ena.com] Enviado el: martes, 07 de octubre de 2003 17:41 Para: (infor) urko zurutuza; nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] Error: Could not connect to MySQL database One reason I saw this with postgres was because nagios didn't have update rights to the tables themselves. Unfortunately nagios doesn't pass you any database error messages it might get when attempting to update data. I had to use strace to determine the exact cause. -- Marc > -----Original Message----- > From: (infor) urko zurutuza [mailto:uzurutuza at eps.mondragon.edu] > Sent: Tuesday, October 07, 2003 10:18 AM > To: nagios-users at lists.sourceforge.net > > Hi, > > Got a problem with Nagios mysql support. We've been looking some other > mails but can't find solution: > > [10-07-2003 15:20:54] Error: Could not connect to MySQL database 'nagios' > on host 'localhost' using username 'nagios' and password '********' for > downtime data! > [10-07-2003 15:20:54] Error: Could not connect to MySQL database 'nagios' > on host 'localhost' using username 'nagios' and password '********' for > comment data! > [10-07-2003 15:20:54] Error: Could not re-connect to database server on > host 'localhost' for status data. I'll keep trying every 60 seconds... > [10-07-2003 15:20:54] Error: Could not connect to MySQL database 'nagios' > on host 'localhost' using username 'nagios' and password '********'. > Retention data will not be processed or saved! > [10-07-2003 15:20:54] Error: Could not connect to MySQL database 'nagios' > on host 'localhost' using username 'nagios' and password '********'. > Status data will not be saved! > [10-07-2003 15:20:54] Finished daemonizing... (New PID=2019) > [10-07-2003 15:20:54] Nagios 1.1 starting... (PID=2018) > ----- > OS: RedHat 8 > Versions: Nagios 1.1, mysql 4.0.12 > ----- > We've already chowned/chgrped config-files to nagios user (so that the > nagios process can read them), and still doesn't work. > Also, connecting mysql from shell works well: > >mysql -u nagios -p > ----- > Config directives in cgi.cfg & resource.cfg: > > x-ddb_host=localhost > #x-ddb_port=someport (takes by default) > x-ddb_database=nagios > x-ddb_username=nagios > x-ddb_password=******** > ... > > Can anyone help us??? > Thank you all > __________________________________________________ > MONDRAGON UNIBERTSITATEA > Urko Zurutuza > Dpto. Inform?tica > Loramendi 4 - Aptdo.23 > 20500 Arrasate-Modragon > Tel. +34 943 794700 Ext.305 > www.eps.mondragon.edu > uzurutuza at eps.mondragon.edu > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elvis at webspace4you.ch Wed Oct 8 18:30:08 2003 From: elvis at webspace4you.ch (eyes4media (E. Altherr)) Date: Wed, 8 Oct 2003 18:30:08 +0200 Subject: still my problem with a read only user in Nagios 1.1 Message-ID: Hi List again I still encountered some problems to define a read only user, which can only view the service/host states in Nagios 1.1 and do nothing with it (p.a check forced the host and so on) after i put a new created testuser in the cgi.cfg in the section "authorized_for_system_information" the user (after he is autenticated via htaccess runnin on apache 2.040) can only view the process information and nothing else. is there another possibilty to do this also on hosts or services states.? or is this limited in the actual version ? thanks in advance for your trouble best regards Mit freundlichen Gr?ssen Elvis Altherr NT Supporter eyes4media GmbH Abt. webspace4you Gaiserwaldstrasse 16a 9015 St.Gallen Tel. 071 / 314 10 10 Fax. 071 / 314 10 19 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From davidc at bonair.stanford.edu Wed Oct 8 19:40:18 2003 From: davidc at bonair.stanford.edu (David Chait) Date: Wed, 8 Oct 2003 10:40:18 -0700 Subject: NRPE 2.0 Failures Message-ID: <026f01c38dc3$3dc73370$aeeb40ab@stanford.edu> Greetings all, I have been having a devil of a time trying to get NRPE to work properly, it doesn't seem to fail on SSL. No matter what I do, it always returns CHECK_NRPE: Error receiving data from daemon. Has anyone else seen this? The platforms are all a mix of Linux and Solaris Thanks, David ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RonG at sterlingmi.com Wed Oct 8 20:08:25 2003 From: RonG at sterlingmi.com (Gage, Ron) Date: Wed, 8 Oct 2003 14:08:25 -0400 Subject: Lost all color on pages Message-ID: <713ED2B599E6B14780E1ED158B4CA5D5272A@server2k3.sterlingmi.com> Hi! Can anyone in here think of any reason why all of the served pages for nagios would loose all color (backgrounds and what not). Example screenshot: http://linux.sterlingmi.com/nagios_nocolor.jpg Anyone have any idea on what I could be doing wrong here? TIA! Ron Gage - Systems Consultant (LPIC1, MCP, Net+, A+) Sterling Computer Consultants 275 Big Beaver Road #103 Troy, MI 48083 (248) 526-3333 x231 -------------- next part -------------- An HTML attachment was scrubbed... URL: From drew.cullis at gwl.com Wed Oct 8 20:15:53 2003 From: drew.cullis at gwl.com (Drew Cullis) Date: Wed, 08 Oct 2003 12:15:53 -0600 Subject: Invalid values for service after changes to config files References: <3F8344F3.8041F3EC@gwl.com> <3810.192.168.1.9.1065571325.squirrel@xyzzy.homeip.net> Message-ID: <3F845459.7EFAEB5B@gwl.com> I tried that, same error. Mike McClure wrote: > > I think you need a retry_check_interval value for the service. > > > Hello; > > I am running Nagios 1.1 on RH 7.3. I am attempting to receive snmp > > traps from a Storagetek D280 using the NSCA (2.4) addon. I have added > > the device to the appropriate files (hosts & services entries shown > > below). > > I get this error when I try to check the validity of the changes to my > > config files before I reload nagios. Deleteing this host/service brings > > back a clean check. > > BTW- The sevices entry was cut/pasted from the docs. I am also > > assuming that you need to set up this type of sevice just as any other > > service. > > Does this look familiar to anyone, and am I missing something? > > > > Thanks for the help..... > > > > -Drew > > > > Reading configuration data... > > > > Error: Invalid max_attempts, check_interval, retry_interval, or > > notification_interval value for service 'D280_FAILURE' on host > > 'is-d280-1a' > > > > Error: Could not register service (config file > > '/usr/local/nagios/etc/services.cfg', line 3602) > > > > # Service definition > > define service{ > > host_name is-d280-1a > > service_description D280_FAILURE > > is_volatile 1 > > active_checks_enabled 0 > > passive_checks_enabled 1 > > max_check_attempts 1 > > contact_groups admins > > notification_interval 0 > > notification_period 24x7 > > notification_options w,c,r > > check_command check_none > > } > > > > # 'is-d280-1a' host definition > > define host{ > > use generic-host ; Name of host > > template to use > > > > host_name is-d280-1a > > alias is-d280-1a > > address 143.100.12.1 > > check_command check-host-alive > > max_check_attempts 10 > > notification_interval 120 > > notification_period 24x7 > > notification_options d,u,r > > } > > > > -- > > > > Drew Cullis > > ITS UNIX Sys Admin > > Phone: 303-737-6506 Email: drew.cullis at gwl.com > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > > issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > -- > Mike McClure, CCIE # 5125, CISSP # 30232 > PNE Services, Inc. - http://www.pneservices.com > mmcclure [at] pneservices [dot] com > mobile: 913-636-5590 > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Drew Cullis ITS UNIX Sys Admin Phone: 303-737-6506 Email: drew.cullis at gwl.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Oct 8 20:19:44 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 8 Oct 2003 13:19:44 -0500 Subject: Lost all color on pages Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EFAD@mismail.ena.com> That would happen if the stylesheets in ~nagios/share/stylesheets were no longer being loaded or used. Make sure your web server is able to serve them and that netscape is not set to ignore them (can you do that in netscape?) -- Marc ________________________________________ From: Gage, Ron [mailto:RonG at sterlingmi.com] Sent: Wednesday, October 08, 2003 1:08 PM To: nagios-users at lists.sourceforge.net Hi! Can anyone in here think of any reason why all of the served pages for nagios would loose all color (backgrounds and what not). Example screenshot: http://linux.sterlingmi.com/nagios_nocolor.jpg Anyone have any idea on what I could be doing wrong here? TIA! Ron Gage - Systems Consultant (LPIC1, MCP, Net+, A+) Sterling Computer Consultants 275 Big Beaver Road #103 Troy, MI? 48083 (248) 526-3333 x231 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pagerc at ufl.edu Wed Oct 8 20:32:01 2003 From: pagerc at ufl.edu (Raymond Page) Date: Wed, 8 Oct 2003 14:32:01 -0400 Subject: Giving contacts limited viewing access without notifications Message-ID: <200310081432.01122.pagerc@ufl.edu> I'm attempting to give contacts the ability to see services without getting notified for those services. Is this possible? I don't want to set these contacts to have global viewing permissions, but I'm thinking this may be the only possible way of achieving the goal of letting contacts see services without getting notified with them. Perhaps if this isn't possible currently, it could be incorporated in a new version of nagios? -- Raymond Page ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Wed Oct 8 21:10:39 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Wed, 8 Oct 2003 14:10:39 -0500 (CDT) Subject: Invalid values for service after changes to config files In-Reply-To: <3F845459.7EFAEB5B@gwl.com> References: <3F8344F3.8041F3EC@gwl.com> <3810.192.168.1.9.1065571325.squirrel@xyzzy.homeip.net> <3F845459.7EFAEB5B@gwl.com> Message-ID: <8081.64.219.133.155.1065640239.squirrel@xyzzy.homeip.net> Oh, yeah, you're missing a couple of others. Take a look at this: http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service And make sure that all the directives in RED are defined. As it says, they are required. Check the required directives for the host too. Oh, and by the way, THANK YOU FOR PROVIDING SUPPORTING INFORMATION!! :) > I tried that, same error. > > Mike McClure wrote: >> >> I think you need a retry_check_interval value for the service. >> >> > Hello; >> > I am running Nagios 1.1 on RH 7.3. I am attempting to receive snmp >> > traps from a Storagetek D280 using the NSCA (2.4) addon. I have added >> > the device to the appropriate files (hosts & services entries shown >> > below). >> > I get this error when I try to check the validity of the changes to my >> > config files before I reload nagios. Deleteing this host/service brings >> > back a clean check. >> > BTW- The sevices entry was cut/pasted from the docs. I am also >> > assuming that you need to set up this type of sevice just as any other >> > service. >> > Does this look familiar to anyone, and am I missing something? >> > >> > Thanks for the help..... >> > >> > -Drew >> > >> > Reading configuration data... >> > >> > Error: Invalid max_attempts, check_interval, retry_interval, or >> > notification_interval value for service 'D280_FAILURE' on host >> > 'is-d280-1a' >> > >> > Error: Could not register service (config file >> > '/usr/local/nagios/etc/services.cfg', line 3602) >> > >> > # Service definition >> > define service{ >> > host_name is-d280-1a >> > service_description D280_FAILURE >> > is_volatile 1 >> > active_checks_enabled 0 >> > passive_checks_enabled 1 >> > max_check_attempts 1 >> > contact_groups admins >> > notification_interval 0 >> > notification_period 24x7 >> > notification_options w,c,r >> > check_command check_none >> > } >> > >> > # 'is-d280-1a' host definition >> > define host{ >> > use generic-host ; Name of host >> > template to use >> > >> > host_name is-d280-1a >> > alias is-d280-1a >> > address 143.100.12.1 >> > check_command check-host-alive >> > max_check_attempts 10 >> > notification_interval 120 >> > notification_period 24x7 >> > notification_options d,u,r >> > } >> > >> > -- >> > >> > Drew Cullis >> > ITS UNIX Sys Admin >> > Phone: 303-737-6506 Email: drew.cullis at gwl.com >> > >> > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MClark at Nemschoff.com Wed Oct 8 21:45:33 2003 From: MClark at Nemschoff.com (Michael Clark) Date: Wed, 8 Oct 2003 14:45:33 -0500 Subject: Nagios installation problems Message-ID: On FreeBSD 5.1-RELEASE JUL 29TH I have downloaded and attempted to install nagios as root ./configure --prefix=/use/nagios --withcgiurl=/cgi-bin/nagios --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-grp=nagios && make all && make install I have also tried using /home/usename/nagios It fails on make install *_*_**_*_**_*_**_*_**_*_**_*_**_*_**_*_* cd ./base && make install /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin install: nagios: invalid argument *** Error code 67 Stop in /root/nagios-1.1/base ***Error code 1 Stop in /root/nagios-1.1 Michael Clark Nemschoff Chairs Inc mclark at nemschoff.com The attached files and all information contained herein are owned solely by Nemschoff Chairs, Inc. and are confidential and proprietary to Nemschoff Chairs. Such files are provided to you under license by Nemschoff Chairs for the limited purpose of your review. By opening any file you agree not to copy, reproduce or modify any portion of the contained information or disseminate such information to any third party without the express written prior permission of Nemschoff Chairs. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.pounsett at cira.ca Wed Oct 8 21:46:37 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 8 Oct 2003 15:46:37 -0400 (EDT) Subject: Giving contacts limited viewing access without notifications In-Reply-To: <200310081432.01122.pagerc@ufl.edu> References: <200310081432.01122.pagerc@ufl.edu> Message-ID: On Wed, 8 Oct 2003, Raymond Page wrote: > I'm attempting to give contacts the ability to see services without > getting notified for those services. Is this possible? I don't want > to set these contacts to have global viewing permissions, but I'm > thinking this may be the only possible way of achieving the goal of > letting contacts see services without getting notified with them. I haven't tested this myself, so I could be wrong... but, I *think* you can add contacts without contact information. So create a contact with no email or pager definition, associate the contact with the right hosts/hostgroups, and you're off to the races. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pagerc at ufl.edu Wed Oct 8 22:17:56 2003 From: pagerc at ufl.edu (Raymond Page) Date: Wed, 8 Oct 2003 16:17:56 -0400 Subject: Giving contacts limited viewing access without notifications In-Reply-To: References: Message-ID: <200310081617.56903.pagerc@ufl.edu> I didn't explain my situation quite right. I'm trying to expand what existing contacts can see. They are currently getting notified and seeing services respective to their job function (ie. services they maintain), but they need to see other services as well (they support but do not directly maintain), but don't want to receive notifications for these other services that they can see. It's not a matter of creating a contact with notification period none or making their contact method invalid (or mail /dev/null), it's a matter of giving view access to a service on a per contact basis while nullifying notifications for that user for that service. On Wednesday 08 October 2003 03:46 pm, Matt Pounsett wrote: > On Wed, 8 Oct 2003, Raymond Page wrote: > > I'm attempting to give contacts the ability to see services > > without getting notified for those services. Is this possible? > > I don't want to set these contacts to have global viewing > > permissions, but I'm thinking this may be the only possible way > > of achieving the goal of letting contacts see services without > > getting notified with them. > > I haven't tested this myself, so I could be wrong... but, I *think* > you can add contacts without contact information. So create a > contact with no email or pager definition, associate the contact > with the right hosts/hostgroups, and you're off to the races. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Oct 8 22:20:36 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 8 Oct 2003 15:20:36 -0500 Subject: Nagios installation problems Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EFB5@mismail.ena.com> Do a 'make distclean' first, then configure, make all, make install. Also, have you created the nagios user yet? The install script does not do that and assumes that the username is valid. -- Marc > -----Original Message----- > From: Michael Clark [mailto:MClark at Nemschoff.com] > Sent: Wednesday, October 08, 2003 2:46 PM > To: 'nagios-users at lists.sourceforge.net' > > On FreeBSD 5.1-RELEASE JUL 29TH > > I have downloaded and attempted to install nagios as root > > ./configure --prefix=/use/nagios --withcgiurl=/cgi-bin/nagios > --with-htmurl=/nagios > --with-nagios-user=nagios --with-nagios-grp=nagios && make all && make > install > > I have also tried using /home/usename/nagios > > It fails on make install > > *_*_**_*_**_*_**_*_**_*_**_*_**_*_**_*_* > cd ./base && make install > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin > install: nagios: invalid argument > *** Error code 67 > > Stop in /root/nagios-1.1/base > ***Error code 1 > > Stop in /root/nagios-1.1 > > > Michael Clark > Nemschoff Chairs Inc > mclark at nemschoff.com > > > > > The attached files and all information contained herein are owned solely > by > Nemschoff Chairs, Inc. and are confidential and proprietary to Nemschoff > Chairs. Such files are provided to you under license by Nemschoff Chairs > for the limited purpose of your review. By opening any file you agree not > to copy, reproduce or modify any portion of the contained information or > disseminate such information to any third party without the express > written > prior permission of Nemschoff Chairs. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MClark at Nemschoff.com Wed Oct 8 22:34:54 2003 From: MClark at Nemschoff.com (Michael Clark) Date: Wed, 8 Oct 2003 15:34:54 -0500 Subject: Nagios installation problems Message-ID: Marc thanks for the help after the make distclean it still didn't want to work. So I deleted the user via vipw and re added it. Then, magically, it worked! Thanks Again, -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Wednesday, October 08, 2003 3:21 PM To: Michael Clark; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios installation problems Do a 'make distclean' first, then configure, make all, make install. Also, have you created the nagios user yet? The install script does not do that and assumes that the username is valid. -- Marc > -----Original Message----- > From: Michael Clark [mailto:MClark at Nemschoff.com] > Sent: Wednesday, October 08, 2003 2:46 PM > To: 'nagios-users at lists.sourceforge.net' > > On FreeBSD 5.1-RELEASE JUL 29TH > > I have downloaded and attempted to install nagios as root > > ./configure --prefix=/use/nagios --withcgiurl=/cgi-bin/nagios > --with-htmurl=/nagios > --with-nagios-user=nagios --with-nagios-grp=nagios && make all && make > install > > I have also tried using /home/usename/nagios > > It fails on make install > > *_*_**_*_**_*_**_*_**_*_**_*_**_*_**_*_* > cd ./base && make install > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin > install: nagios: invalid argument > *** Error code 67 > > Stop in /root/nagios-1.1/base > ***Error code 1 > > Stop in /root/nagios-1.1 > > > Michael Clark > Nemschoff Chairs Inc > mclark at nemschoff.com > > > > > The attached files and all information contained herein are owned solely > by > Nemschoff Chairs, Inc. and are confidential and proprietary to Nemschoff > Chairs. Such files are provided to you under license by Nemschoff Chairs > for the limited purpose of your review. By opening any file you agree not > to copy, reproduce or modify any portion of the contained information or > disseminate such information to any third party without the express > written > prior permission of Nemschoff Chairs. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 attached files and all information contained herein are owned solely by Nemschoff Chairs, Inc. and are confidential and proprietary to Nemschoff Chairs. Such files are provided to you under license by Nemschoff Chairs for the limited purpose of your review. By opening any file you agree not to copy, reproduce or modify any portion of the contained information or disseminate such information to any third party without the express written prior permission of Nemschoff Chairs. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Wed Oct 8 22:28:25 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Wed, 8 Oct 2003 15:28:25 -0500 (CDT) Subject: Giving contacts limited viewing access withoutnotifications In-Reply-To: References: <200310081432.01122.pagerc@ufl.edu> Message-ID: <14325.64.219.133.155.1065644905.squirrel@xyzzy.homeip.net> You could also make a timeperiod called "never" (with no time periods) and set the service_notification_period to that. Or set their service_notification_options to 'n'. > On Wed, 8 Oct 2003, Raymond Page wrote: > >> I'm attempting to give contacts the ability to see services without >> getting notified for those services. Is this possible? I don't want >> to set these contacts to have global viewing permissions, but I'm >> thinking this may be the only possible way of achieving the goal of >> letting contacts see services without getting notified with them. > > > I haven't tested this myself, so I could be wrong... but, I *think* you can > add contacts without contact information. So create a contact with no email > or pager definition, associate the contact with the right hosts/hostgroups, > and you're off to the races. > > > -- > Matt Pounsett CIRA - Canadian Internet Registration Authority > Technical Support Programmer 350 Sparks Street, Suite 1110 > matt.pounsett at cira.ca Ottawa, Ontario, Canada > 613.237.5335 ext. 231 http://www.cira.ca > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.pounsett at cira.ca Wed Oct 8 22:44:19 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 8 Oct 2003 16:44:19 -0400 (EDT) Subject: Giving contacts limited viewing access without notifications In-Reply-To: <200310081617.56903.pagerc@ufl.edu> References: <200310081617.56903.pagerc@ufl.edu> Message-ID: On Wed, 8 Oct 2003, Raymond Page wrote: > It's not a matter of creating a contact with notification period none > or making their contact method invalid (or mail /dev/null), it's a > matter of giving view access to a service on a per contact basis > while nullifying notifications for that user for that service. Hrm.. okay, more musings here.. What if you create a contact group which has no notification period, add the appropriate contacts to it, and then associate the group with these extra services? I'm not sure which notification period would take precedence, but POLA suggests to me it should be whichever period is most restrictive (i.e. "none" ). -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ksrinivas at bisil.com Wed Oct 8 22:45:34 2003 From: ksrinivas at bisil.com (Srinivas Kotapally) Date: Wed, 8 Oct 2003 16:45:34 -0400 Subject: Help: Newbie - Return code of 127 is out of bounds - in status.log file Message-ID: <001001c38ddd$200393a0$dee30840@local> Hi all I have just finished setting up Nagios. I have a problem already... I am looking at the log file (status.log) and have seen the following entry in the log file: SERVICE;;/dev/hda1 Free Space;CRITICAL;1/3;HARD;1065646603;1065646903;ACTIVE;1;1;1;1065216471;0;CRIT ICAL;0;0;0;429480;0;0;1;0;0;1;0;0.00;0;1;1;1;(Return code of 127 is out of bounds - plugin may be missing) What does this indicate? Also, from my web interface when I try to see "Service Detail" I get the following message: It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. Does this mean that my configuration is incorrect? Can anyone please guide me in the configuration? Thanks in advance... KS ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pagerc at ufl.edu Wed Oct 8 22:52:28 2003 From: pagerc at ufl.edu (Raymond Page) Date: Wed, 8 Oct 2003 16:52:28 -0400 Subject: Giving contacts limited viewing access without notifications In-Reply-To: References: Message-ID: <200310081652.28385.pagerc@ufl.edu> I was under the impression from the documentation that you can't specify I notification period for a contact group. Was that an incorrect reading of the documentation? On Wednesday 08 October 2003 04:44 pm, you wrote: > On Wed, 8 Oct 2003, Raymond Page wrote: > > It's not a matter of creating a contact with notification period > > none or making their contact method invalid (or mail /dev/null), > > it's a matter of giving view access to a service on a per contact > > basis while nullifying notifications for that user for that > > service. > > Hrm.. okay, more musings here.. > > What if you create a contact group which has no notification > period, add the appropriate contacts to it, and then associate the > group with these extra services? I'm not sure which notification > period would take precedence, but POLA suggests to me it should be > whichever period is most restrictive (i.e. "none" ). ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.pounsett at cira.ca Wed Oct 8 22:57:36 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 8 Oct 2003 16:57:36 -0400 (EDT) Subject: Giving contacts limited viewing access without notifications In-Reply-To: <200310081652.28385.pagerc@ufl.edu> References: <200310081652.28385.pagerc@ufl.edu> Message-ID: On Wed, 8 Oct 2003, Raymond Page wrote: > I was under the impression from the documentation that you can't > specify I notification period for a contact group. Was that an > incorrect reading of the documentation? Perhaps you can't... I was sort of wondering aloud whether this option (or something like it) might work. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Oct 8 23:08:50 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 8 Oct 2003 16:08:50 -0500 Subject: Help: Newbie - Return code of 127 is out of bounds - in status.log file Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EFB9@mismail.ena.com> > -----Original Message----- > From: Srinivas Kotapally [mailto:ksrinivas at bisil.com] > Sent: Wednesday, October 08, 2003 3:46 PM > To: Nagios (E-mail) > > Hi all > > I have just finished setting up Nagios. I have a problem already... I am > looking at the log file (status.log) and have seen the following entry in > the log file: > SERVICE;;/dev/hda1 Free > Space;CRITICAL;1/3;HARD;1065646603;1065646903;ACTIVE;1;1;1;1065216471;0; CR > IT > ICAL;0;0;0;429480;0;0;1;0;0;1;0;0.00;0;1;1;1;(Return code of 127 is out of > bounds - plugin may be missing) > > What does this indicate? That the plugin is missing as far as nagios is concerned. Your specific service definition and command definition would be useful. Some things to check -- * Verify in resource.cfg that $UER1$ points to your nagios libexec directory. * Verify in commands.cfg that either $USER1$ is used in the command_line for the specific plugin or the full path to the plugin is specified e.g - define command{ command_name verify_http command_line $USER1$/check_http -H $ARG1$ -I $HOSTADDRESS$ -s \/html } * Verify that the plugin actually exists in the path specified (typically /usr/local/nagios/libexec/) **and is executable by the nagios user**. Test this by su -'ing to nagios and executing the plugin. > > Also, from my web interface when I try to see "Service Detail" I get the > following message: > It appears as though you do not have permission to view information for > any > of the services you requested... > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file. > > Does this mean that my configuration is incorrect? Yes. > Can anyone please guide me in the configuration? http://nagios.sourceforge.net/docs/1_0/cgiauth.html It is important to note that the user you are logging in as (you do have .htaccess configured properly, don't you?) must be an authorized contact for the hosts and services that you want them to see. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Wed Oct 8 23:48:50 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 8 Oct 2003 16:48:50 -0500 Subject: adding extra tables to NagMIN Message-ID: <16260.34370.725701.607755@montanaro.dyndns.org> I have auxiliary info about our system engineers (home, work, cell phones) which I want to store in a separate NagMIN table keyed by the . I figured NagMIN would just ignore my system_engineers table, but I was mistaken: Activate Nagios Configuration SQL select * from `system_engineers` order by system_engineers_name failed : Looking at the source for nagios_write.cgi I saw: for ($i=0;$i<@titles;$i++) { my $ok=1; if ($titles[$i] eq "PortScan") { $ok=0; } if ($titles[$i] eq "ServiceGroup") { $ok=0; } if ($titles[$i] eq "System") { $ok=0; } if ($ok) { push(@nagios_tables,$titles[$i]); } } which seemed backwards to me. Instead of excluding certain tables I think it should explicitly mention the tables it's interested in. I submitted a patch to the NagMIN project: http://sourceforge.net/tracker/index.php?func=detail&aid=820273&group_id=77010&atid=548908 which solves the problem I encountered. Is anyone aware of other places where NagMIN excludes tables instead of specifically including the ones it needs? Thx, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jake at yaknetworks.com Thu Oct 9 00:29:28 2003 From: jake at yaknetworks.com (Jake Eaker) Date: Wed, 8 Oct 2003 17:29:28 -0500 Subject: check_ping not working Message-ID: <20031008222653.M80360@yaknetworks.com> everything is working fine but the check_ping command the is what I get.... ./check_ping -H 216.110.76.36 -w 3000.0,80% -c 5000.0,100% -p 1 You've got a big problem buddy! You need more args!!! this is executed from the /usr/local/libexec directory on freebsd 4.8 nagios version is 1.1 Thanks, Jake CCNA, CCDA, CCNP, CCDP, WLANFE, WLANSE, Security+ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crsurf at terra.com.br Thu Oct 9 14:11:50 2003 From: crsurf at terra.com.br (crsurf) Date: Thu, 9 Oct 2003 09:11:50 -0300 Subject: nagios check logs Message-ID: <000001c38e5e$852e2610$0d01a8c0@sup02> Hello all I want to know if exist some way to save the result of all checks made by Nagios, because I find in logs only the alerts or notifications and I need to have log for all checks made by Nagios. Thanks [ ] Cristiano -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fred.Albrecht at za.tiscali.com Thu Oct 9 15:18:03 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Thu, 9 Oct 2003 15:18:03 +0200 Subject: limit notifications Message-ID: Hi How does one limit notifications to be sent only once per day? ie send the first notification and ignore the rest for the rest of the day. :\ fred ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Warich at secunet.de Thu Oct 9 13:18:19 2003 From: Warich at secunet.de (Warich, Eyck) Date: Thu, 9 Oct 2003 13:18:19 +0200 Subject: Template-based extened host info Message-ID: <96C102324EF9D411A49500306E06C8D102F32E19@eketsv02.cubis.de> Hi there, i have some problems in defining some templated hostinfo definitions, here is my example: define hostextinfo { host_name SUN icon_image sun40.png vrml_image sun40.png statusmap_image sun40.png register 0 } define hostextinfo { use SUN host_name BLADE100 } This example does not work, for example in the status map the default ?-logo appears. When i change the example to define hostextinfo { host_name BLADE100 icon_image sun40.png vrml_image sun40.png statusmap_image sun40.png } everything works fine. I thought about some problems with the template mechanism here (although i thought is is enabled by default), so i recompiled nagios with the --with-template-extinfo option: External Data Routines: ------------------------ Status data: Default (text file) Object data: Template-based (text file) Comment data: Default (text file) Downtime data: Default (text file) Retention data: Default (text file) Peformance data: Default (external commands) Extended info data: Template-based (text file) But this had no effect, the problem still occurs (btw i noticed the resulting binaries (nagios & *.cgi) to be exactly identical??) Did i miss something? Thx & regards, Eyck ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.DeBlende at dhl.com Thu Oct 9 15:32:38 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Thu, 09 Oct 2003 15:32:38 +0200 Subject: limit notifications In-Reply-To: References: Message-ID: <3F856376.4040805@dhl.com> *notification_interval*: This directive is used to define the number of "time units" to wait before re-notifying a contact that this service is /still/ in a non-OK state. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. If you set this value to 0, Nagios will /not/ re-notify contacts about problems for this service - only one problem notification will be sent out. Fred Albrecht wrote: >Hi > >How does one limit notifications to be sent only once per day? ie send the first notification and ignore the rest for the rest of the day. > >:\ >fred > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >SourceForge.net hosts over 70,000 Open Source Projects. >See the people who have HELPED US provide better services: >Click here: http://sourceforge.net/supporters.php >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Thu Oct 9 16:04:10 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Thu, 9 Oct 2003 09:04:10 -0500 (CDT) Subject: limit notifications In-Reply-To: References: Message-ID: <39133.64.219.133.155.1065708250.squirrel@xyzzy.homeip.net> Set the notification_interval to 24 hours (that's 86400 seconds or 1440 minutes.) > Hi > > How does one limit notifications to be sent only once per day? ie send the first > notification and ignore the rest for the rest of the day. > > :\ > fred > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Thu Oct 9 16:23:34 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Thu, 9 Oct 2003 09:23:34 -0500 (CDT) Subject: Template-based extened host info In-Reply-To: <96C102324EF9D411A49500306E06C8D102F32E19@eketsv02.cubis.de> References: <96C102324EF9D411A49500306E06C8D102F32E19@eketsv02.cubis.de> Message-ID: <40734.64.219.133.155.1065709414.squirrel@xyzzy.homeip.net> When you define a template, you use the "name" directive to identify it later. "host_name" won't work for that. This is the correct way to do what you want: define hostextinfo { name SUN <---- "name", not "host_name" icon_image sun40.png vrml_image sun40.png statusmap_image sun40.png register 0 } define hostextinfo { use SUN host_name BLADE100 } By the way, ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null > Hi there, > > i have some problems in defining some templated hostinfo definitions, here > is my example: > > define hostextinfo { > host_name SUN > icon_image sun40.png > vrml_image sun40.png > statusmap_image sun40.png > register 0 > } > > define hostextinfo { > use SUN > host_name BLADE100 > } > > This example does not work, for example in the status map the default ?-logo > appears. When i change the example to > > define hostextinfo { > host_name BLADE100 > icon_image sun40.png > vrml_image sun40.png > statusmap_image sun40.png > } > > everything works fine. > > I thought about some problems with the template mechanism here (although i > thought is is enabled by default), so i recompiled nagios with the > --with-template-extinfo option: > > External Data Routines: > ------------------------ > Status data: Default (text file) > Object data: Template-based (text file) > Comment data: Default (text file) > Downtime data: Default (text file) > Retention data: Default (text file) > Peformance data: Default (external commands) > Extended info data: Template-based (text file) > > But this had no effect, the problem still occurs (btw i noticed the > resulting binaries (nagios & *.cgi) to be exactly identical??) > > Did i miss something? > > Thx & regards, > Eyck > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Thu Oct 9 16:26:59 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Thu, 9 Oct 2003 08:26:59 -0600 Subject: Template-based extened host info Message-ID: In the unregistered definition (template), try changing: host_name SUN To: name SUN Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) > -----Original Message----- > From: Warich, Eyck [mailto:Warich at secunet.de] > Sent: Thursday, October 09, 2003 5:18 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Template-based extened host info > > > Hi there, > > i have some problems in defining some templated hostinfo > definitions, here > is my example: > > define hostextinfo { > host_name SUN > icon_image sun40.png > vrml_image sun40.png > statusmap_image sun40.png > register 0 > } > > define hostextinfo { > use SUN > host_name BLADE100 > } > > This example does not work, for example in the status map the > default ?-logo > appears. When i change the example to > > define hostextinfo { > host_name BLADE100 > icon_image sun40.png > vrml_image sun40.png > statusmap_image sun40.png > } > > everything works fine. > > I thought about some problems with the template mechanism > here (although i > thought is is enabled by default), so i recompiled nagios with the > --with-template-extinfo option: > > External Data Routines: > ------------------------ > Status data: Default (text file) > Object data: Template-based (text file) > Comment data: Default (text file) > Downtime data: Default (text file) > Retention data: Default (text file) > Peformance data: Default (external commands) > Extended info data: Template-based (text file) > > But this had no effect, the problem still occurs (btw i noticed the > resulting binaries (nagios & *.cgi) to be exactly identical??) > > Did i miss something? > > Thx & regards, > Eyck > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From william.l.lewis at usa.net Thu Oct 9 16:34:32 2003 From: william.l.lewis at usa.net (bill lewis) Date: Thu, 09 Oct 2003 08:34:32 -0600 Subject: Thumnails Message-ID: <754HJioIG6736S18.1065710072@uwdvg018.cms.usa.net> I have been creating graph images with the default sizes, but wanted to put together a thumbnails page. I adjusted the image size to thumb size but it appears the titles and labels do not scale with the image. I read through the graph man page and tried several things but did not find anything to adjust this. Has anyone seen/done this? Do I need to use printf or something "funky" to get it to scale correctly or should I just remove that information from image and just display the graph? thanks, Bill Lewis "Not guilty." - Capt. Lincoln Stern ----- William L. Lewis email: william.l.lewis at usa.net "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." --Ben Franklin ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crsurf at terra.com.br Thu Oct 9 16:56:02 2003 From: crsurf at terra.com.br (crsurf) Date: Thu, 9 Oct 2003 11:56:02 -0300 Subject: Program restart and start Message-ID: <000001c38e75$793f5f60$0d01a8c0@sup02> What is the mean of program (re)start log in my reports in Nagios about a service? I have an entrie that stay in this state for 4 hours and another entries that have this state for 2 minutes. Bellow is a sample about this informations. 09-22-2003 01:14:22 09-22-2003 01:15:05 0d 0h 0m 43s PROGRAM END Normal program termination 09-22-2003 01:15:05 09-22-2003 01:17:45 0d 0h 2m 40s PROGRAM (RE)START Program start 09-23-2003 14:22:59 09-23-2003 14:22:59 0d 0h 0m 0s PROGRAM (RE)START Program restart 09-23-2003 14:22:59 09-23-2003 19:11:50 0d 4h 48m 51s PROGRAM (RE)START Program start Why this occur? Cristiano Costa -------------- next part -------------- An HTML attachment was scrubbed... URL: From uzurutuza at eps.mondragon.edu Thu Oct 9 17:23:55 2003 From: uzurutuza at eps.mondragon.edu ((infor) urko zurutuza) Date: Thu, 9 Oct 2003 17:23:55 +0200 Subject: Error: Could not connect to MySQL database Message-ID: Can any charitable soul send me the nagios configuration archives (without passwords, of course), and the ./configure script used, for the nagios with mysql support?? I would be 'eth0ernally' grateful... thanks __________________________________________________ MONDRAGON UNIBERTSITATEA Urko Zurutuza Dpto. Inform?tica Loramendi 4 - Aptdo.23 20500 Arrasate-Modragon Tel. +34 943 794700 Ext.305 www.eps.mondragon.edu uzurutuza at eps.mondragon.edu ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.pounsett at cira.ca Thu Oct 9 17:27:22 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 9 Oct 2003 11:27:22 -0400 (EDT) Subject: check_ping not working In-Reply-To: <20031008222653.M80360@yaknetworks.com> References: <20031008222653.M80360@yaknetworks.com> Message-ID: On Wed, 8 Oct 2003, Jake Eaker wrote: > everything is working fine but the check_ping command the is what I get.... > > ./check_ping -H 216.110.76.36 -w 3000.0,80% -c 5000.0,100% -p 1 > You've got a big problem buddy! You need more args!!! > > this is executed from the /usr/local/libexec directory on freebsd 4.8 nagios > version is 1.1 check_ping wants two %'s for packet loss.. so the command line above should be written: ./check_ping -H 216.110.76.36 -w 3000.0,80%% -c 5000.0,100%% -p 1 -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sproba at llnl.gov Thu Oct 9 18:42:38 2003 From: sproba at llnl.gov (Judd Sproba) Date: Thu, 9 Oct 2003 09:42:38 -0700 Subject: Non-OK State Change Notifications Message-ID: <003501c38e84$59cd7450$5959a8c0@dmitri> When Nagios switches from one Non-OK state to another (WARN to CRIT) - I can see the alert, but I don't get notified. I do get notified on the initial HARD state switch (from OK to WARN) and on the recovery, but I'm not getting notified when it goes from WARN to CRIT and back to WARN (all the while in a Non-OK state). One suggestion was to tweak with the notification_interval - but I don't want continuous notifications. All I want is to get notified once when these state changes occur. I was thinking that the reason behind this could be that Nagios doesn't consider the move from WARN to CRIT as a HARD state change, but the docs say... Hard State Changes Before I discuss what happens when a host or service is in a hard state, you need to know about hard state changes. Hard state changes occur when a service or host... a.. changes from a hard OK state to a hard non-OK state b.. changes from a hard non-OK state to a hard OK-state c.. changes from a hard non-OK state of some kind to a hard non-OK state of another kind (i.e. from a hard WARNING state to a hard UNKNOWN state) My notification settings are: notification_interval 0 notification_period 24x7 notification_options w,u,c,r Any ideas on what I need to do? Thanks. Judd Sproba Lawrence Livermore National Lab sproba at llnl.gov ICQ: 48596490 Cell: (480) 205-6005 -------------- next part -------------- An HTML attachment was scrubbed... URL: From CrowderLG at ldschurch.org Thu Oct 9 19:14:42 2003 From: CrowderLG at ldschurch.org (Larry Crowder) Date: Thu, 09 Oct 2003 11:14:42 -0600 Subject: Basic Nagios Check_http question Message-ID: Hello, I have checked quite a bit in the Nagios list, but still cannot understand why I am having this problem with check_http. ( I am experimenting to get it to work) I have a single Redhat Linux 9 installation . I just want to check the Nagios main.html page to test the plugin out. After narrowing the syntax down from examples I have seen in the Nagios List, I am confused as to why I keep getting "Not Found" with check_http. Note that I have tried using different users for authentication (even root). I have also tried using the other web pages that come with Nagios. I am confident that there is just something simple (dumb) I am not thinking of. Any ideas? Larry C (Command I use. This is on the Nagios server and checks the Nagios main.html on its own directory structure. I use a real IP address but use localhost here) ./check_http -H localhost -a nagios:nagios -u /usr/local/nagios/share/main.html (Results) HTTP WARNING: HTTP/1.1 404 Not Found (I checked with ls to make sure I was looking in the right directory) ls /usr/local/nagios/share contexthelp docs images index.html main.html media robots.txt side.html ssi stylesheets Larry ------------------------------------------------------------------------------ This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ============================================================================== ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthewwilson at dsl.pipex.com Thu Oct 9 19:27:58 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: Thu, 9 Oct 2003 18:27:58 +0100 Subject: Basic Nagios Check_http question References: Message-ID: <003301c38e8a$b022af40$0300a8c0@optiplex> Hi Larry, I don't use this plugin but from looking at the help (./check_http --help) a few things seem wrong: If you are using an IP you need -I not -H The plugin is looking to connect to a URL, not to find a file. Therefore you need to specify the document's web address, rather than it's physical path. Therefore on my system I would use check_http -H localhost -u /nagios/main.html as nagios is at http://localhost/nagios/ hope that helps Matthew Wilson ----- Original Message ----- From: "Larry Crowder" To: Sent: Thursday, October 09, 2003 6:14 PM Subject: [Nagios-users] Basic Nagios Check_http question Larry C (Command I use. This is on the Nagios server and checks the Nagios main.html on its own directory structure. I use a real IP address but use localhost here) ./check_http -H localhost -a nagios:nagios -u /usr/local/nagios/share/main.html (Results) HTTP WARNING: HTTP/1.1 404 Not Found (I checked with ls to make sure I was looking in the right directory) ls /usr/local/nagios/share contexthelp docs images index.html main.html media robots.txt side.html ssi stylesheets Larry ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Oct 9 19:30:57 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 9 Oct 2003 12:30:57 -0500 Subject: Basic Nagios Check_http question Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EFCB@mismail.ena.com> > -----Original Message----- > From: Larry Crowder [mailto:CrowderLG at ldschurch.org] > Sent: Thursday, October 09, 2003 12:15 PM > To: nagios-users at lists.sourceforge.net > > > Note that I have tried using different users for authentication (even > root). I have also tried using the other web pages that come with Nagios. > I am confident that there is just something simple (dumb) I am not > thinking of. > > Any ideas? > > Larry C > > (Command I use. This is on the Nagios server and checks the Nagios > main.html on its own directory structure. I use a real IP address but use > localhost here) > ./check_http -H localhost -a nagios:nagios -u > /usr/local/nagios/share/main.html > (Results) > HTTP WARNING: HTTP/1.1 404 Not Found > > (I checked with ls to make sure I was looking in the right directory) > > ls /usr/local/nagios/share > contexthelp docs images index.html main.html media robots.txt > side.html ssi stylesheets Your apache error logs would probably point this out but it's going to be looking for something like http://localhost/usr/local/nagios/share/main.html, which unless you've done something really strange with your apache config isn't going to work. You probably want something more like -- ./check_http -H localhost -a nagios:nagios -u /main.html Also, if you're not using name based vhosts, then you should use the -I option instead of -H. ./check_http --help for more. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From krcalhoo at mtu.edu Thu Oct 9 20:52:29 2003 From: krcalhoo at mtu.edu (Kevin Calhoon) Date: Thu, 9 Oct 2003 14:52:29 -0400 (EDT) Subject: nsca problem Message-ID: <41158.141.219.6.96.1065725549.squirrel@huskymail.mtu.edu> Hi, I am having trouble getting passive service checks to work on my network. I was wondering if anyone had any ideas of things that I can check? I have read and reread all the online documentation, but there has to be something I am missing. I am running both servers on Redhat boxes. On the passive checking node I am able to send a passive checks from the command line as the user nagios. #/usr/local/nagios/libexec/eventhandlers/submit_check_result node01 "load average" OK "test node38 commandline-2" However, the passive checking node won't automatically send on the information. The services.cfg, hosts.cfg, and hostgroup.cfg files are the same between both computers. On the passive node in my checkcommands.cfg file I added this command. define command{ command_name submit_check_result command_line /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ $SERVICEDESC$ $SERVICESTATE$ $OUTPUT$ } In the nagios.cfg file. obsess_over_services=1 ocsp_command=submit_check_result On the receiving server side, in the nagios.cfg file I have. accept_passive_service_checks=1 Any ideas are welcome. Kevin ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thiago at ntime.com.br Thu Oct 9 20:57:35 2003 From: thiago at ntime.com.br (Thiago Conde =?ISO-8859-1?Q?Figueir=F3?=) Date: Thu, 9 Oct 2003 15:57:35 -0300 Subject: nrpe bug report: include directive Message-ID: <20031009155735.77d2f6f4.thiago@ntime.com.br> Can someone please forward this to nagios-devel? Thanks. If the config file for nrpe contains a "include" directive that points to a file that doesn't exist, all subsequent includes are not processed. Example: $ cat nrpe.cfg (...) include=/path/to/inexistent/file1 include=/path/to/existent/file2 include=/path/to/existent/file3 (...) In the example above, file2 and file3 will not be included in the configuration. I don't know about other directives below those lines; haven't tested it. $ nrpe --help NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Version: 2.0b4 Last Modified: 06-04-2003 Regards, -- Thiago Figueir? Ger?ncia de Opera??es thiago at ntime.com.br Cel.: (21) 8817-3632 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From EVERETTA at PANASONIC.COM Thu Oct 9 22:20:47 2003 From: EVERETTA at PANASONIC.COM (Everett, Anthony (GNPC)) Date: Thu, 9 Oct 2003 16:20:47 -0400 Subject: Guest Account and authorization Message-ID: <3B8FE6A89169774F9DCEED85A588022B03D8CB4A@MECAELGN002.meca.panasonic.com> I would like to use the "guest" account (default user ID) for general access and specific ID's for admins. I have enabled the "guest ID in the cgi configuration file and I currently have authorization working properly but I don't want general users to have to enter the guest ID. I have looked at the options for the .htaccess file and for the httpd.conf (apache) file and cannot find a configuration that will work. If I remove the .htacess (or just comment out the "required valid-user" line) the guest ID works but then I cannot login with an admin ID. Has anyone made this work? Any suggestions? -Tony -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmcclure at pneservices.com Thu Oct 9 23:48:07 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Thu, 9 Oct 2003 16:48:07 -0500 (CDT) Subject: Guest Account and authorization In-Reply-To: <3B8FE6A89169774F9DCEED85A588022B03D8CB4A@MECAELGN002.meca.panasonic .com> References: <3B8FE6A89169774F9DCEED85A588022B03D8CB4A@MECAELGN002.meca.panasonic .com> Message-ID: <18358.64.219.133.155.1065736087.squirrel@xyzzy.homeip.net> I have not done that, but I don't think it would be too difficult. You could do it by making new directories for the public "frontend", meaning the HTML in /share and the "read-only" CGIs (tac.cgi, status.cgi, etc.) in /sbin. They could be symbolic links (where possible) to make things easier. The CGIs and images are definitely good candidates for that. Then, you would need to make two new virtual directories with Apache that point to those extra directories, and also change the side.html for the public one to hit the public CGI virtual directory. The public directories' .htaccess would not require HTTP-Auth, the "admin" ones would. > I would like to use the "guest" account (default user ID) for general > access and specific ID's for admins. I have enabled the "guest ID in > the cgi configuration file and I currently have authorization working > properly but I don't want general users to have to enter the guest ID. > I have looked at the options for the .htaccess file and for the > httpd.conf (apache) file and cannot find a configuration that will work. > > > > If I remove the .htacess (or just comment out the "required valid-user" > line) the guest ID works but then I cannot login with an admin ID. > > > > Has anyone made this work? Any suggestions? > > > > -Tony > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bbasgen at epixmed.com Thu Oct 9 23:57:01 2003 From: bbasgen at epixmed.com (Brian Basgen) Date: Thu, 09 Oct 2003 17:57:01 -0400 Subject: Identical Status information for all hosts Message-ID: Hello, With the exception of ping, the Status information for three different hosts is identical. My three hosts are the nagios machine itself (from which all the status information is a replica of), a switch, and a file server; the other services I'm checking for are http, current users, total processes, and disk usage. I thought that perhaps the "add-on" nrpe is a requirement, so I've attempted to install that on my nagios machine (RH 9), it built fine, but I imagine the configuration I made is imperfect (followed all the steps in the readme) since now I'm getting "connection refused by host" in the status overview. Anyway, my main concern is that I'm going in the correct direction. The main Nagios docs don't really cover this as a requirement. Is it accurate that you cannot monitor services on any machines unless you have nrpe installed and running on the client, and essentially simply only configured on the server? Regards, ........................................ Brian Basgen Systems Administrator EPIX Medical 71 Rogers St Cambridge MA, 02142 .......................................... ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karoly.vegh at uta.at Fri Oct 10 12:25:51 2003 From: karoly.vegh at uta.at (VEGH Karoly) Date: Fri, 10 Oct 2003 12:25:51 +0200 Subject: service notifications options - different for pager and mail Message-ID: <20031010102551.GE6205@marvin> Hi, I just activated the SMS alarms for our Nagios, and the colleagues at once begun sniveling about getting loads of Warnings, Recoveries, etc. per SMS. Of course I can set these options in my contacts.cfg: host_notification_options [d,u,r,n] service_notification_options [w,u,c,r,n] but how to set the notification options so, that per pager (SMS) are only the Critical alarms sent, and per mail are all(w,c,r,u)? I of course could duplicate the entries in the contacts for each user, having then a username and a username-pager entry, but that's surely not the nicest solution. any other ideas? tia charlie -- V?gh K?roly - System Engineer - UTA - TIS.SAS.BSS Don't worry. Everything is getting nicely out of control. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Samba at guidemail.com Fri Oct 10 13:36:10 2003 From: Samba at guidemail.com (Samba) Date: Fri, 10 Oct 2003 06:36:10 -0500 Subject: Guest Account and authorization Message-ID: Here is how I do it. I have setup a guest user and admin accounts as you have described. We have a front-end portal with links to all of our applications, including Nagios. If you had two links to Nagios one being guest access and the other being admin access you could then pass the guest un/pw through the link. i.e. the admin access link would be: http://nagios.yourdomain.com/nagios/ the guest access link would be: http://guest:user at nagios.yourdomain.com/nagios/ HTH, please let me know if it works for you. Josh -----Original Message----- From: Everett, Anthony (GNPC) [mailto:EVERETTA at PANASONIC.COM] Sent: Thursday, October 09, 2003 3:21 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Guest Account and authorization I would like to use the "guest" account (default user ID) for general access and specific ID's for admins. I have enabled the "guest ID in the cgi configuration file and I currently have authorization working properly but I don't want general users to have to enter the guest ID. I have looked at the options for the .htaccess file and for the httpd.conf (apache) file and cannot find a configuration that will work. If I remove the .htacess (or just comment out the "required valid-user" line) the guest ID works but then I cannot login with an admin ID. Has anyone made this work? Any suggestions? -Tony This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fredrik.wanglund at datavis.se Fri Oct 10 13:44:47 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-2?Q?Fredrik_W=E4nglund?=) Date: Fri, 10 Oct 2003 13:44:47 +0200 Subject: service notifications options - different for pager and mail References: <20031010102551.GE6205@marvin> Message-ID: <3F869BAF.6060804@datavis.se> There are two ways (at least) - Define two different contacts for SMS and mail and put them in the same contactgroup. - Write a wrapper for the sms-sending-function that drops unwanted alerts. /FredrikW VEGH Karoly wrote: >Hi, > >I just activated the SMS alarms for our Nagios, and the colleagues >at once begun sniveling about getting loads of Warnings, Recoveries, >etc. per SMS. >Of course I can set these options in my contacts.cfg: > >host_notification_options [d,u,r,n] >service_notification_options [w,u,c,r,n] > >but how to set the notification options so, that per pager (SMS) >are only the Critical alarms sent, and per mail are all(w,c,r,u)? > >I of course could duplicate the entries in the contacts for each user, >having then a username and a username-pager entry, but that's >surely not the nicest solution. > >any other ideas? > >tia > >charlie > > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CrowderLG at ldschurch.org Fri Oct 10 14:03:44 2003 From: CrowderLG at ldschurch.org (Larry Crowder) Date: Fri, 10 Oct 2003 06:03:44 -0600 Subject: Basic Nagios Check_http question Message-ID: Thanks to Marc Powell especially for the help on this. The Apache Error log showed that the Check_http plugin was looking for main.html in /var/www/html/. Thank you! Larry C ------------------------------------------------------------------------------ This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ============================================================================== ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at feedroom.com Fri Oct 10 15:56:38 2003 From: David at feedroom.com (David Gitman) Date: Fri, 10 Oct 2003 09:56:38 -0400 Subject: False Positives Message-ID: I'm probably missing some obvious directive here; I'm too deep into it. I have services/hosts going critical on attempt 1 of 3 not 3 of 3 except for my NRPE services. Any idea or suggestions are appreciated. Thanks, David Gitman Network Engineer The FeedRoom -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmcclure at pneservices.com Fri Oct 10 16:30:23 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Fri, 10 Oct 2003 09:30:23 -0500 (CDT) Subject: False Positives In-Reply-To: References: Message-ID: <38594.64.219.133.155.1065796223.squirrel@xyzzy.homeip.net> > I'm probably missing some obvious directive here; I'm too deep into it. > I have services/hosts going critical on attempt 1 of 3 not 3 of 3 except > for my NRPE services. Any idea or suggestions are appreciated. Suggestion 1: If you are going to ask for help, tell us what your configuration is, including version of Nagios, the plugins, the operating systems involved, etc. Many people on the list like to help, but are not psychic. Suggestion 2: Don't send MIME or HTML messages to mailing lists. > > > > Thanks, > > > > David Gitman > > Network Engineer > > The FeedRoom > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Oct 10 16:29:26 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 10 Oct 2003 09:29:26 -0500 Subject: False Positives Message-ID: They'll show critical on the web interface but an email notification will not be sent until they reach the HARD 3/3 state. Is that what you are seeing? -- Marc ________________________________________ From: David Gitman [mailto:David at feedroom.com] Sent: Friday, October 10, 2003 8:57 AM To: nagios-users at lists.sourceforge.net I'm probably missing some obvious directive here; I'm too deep into it. I have services/hosts going critical on attempt 1 of 3 not 3 of 3 except for my NRPE services. Any idea or suggestions are appreciated. Thanks, David Gitman Network Engineer The FeedRoom ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at feedroom.com Fri Oct 10 18:54:52 2003 From: David at feedroom.com (David Gitman) Date: Fri, 10 Oct 2003 12:54:52 -0400 Subject: False Positives Message-ID: Since there aren't any rules or guidelines on posting to nagios-users, I'll post how'd like. Here's a suggestion, if you don't want to help then keep your mouth shut. [-d] -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mike McClure Sent: Friday, October 10, 2003 10:30 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] False Positives > I'm probably missing some obvious directive here; I'm too deep into it. > I have services/hosts going critical on attempt 1 of 3 not 3 of 3 except > for my NRPE services. Any idea or suggestions are appreciated. Suggestion 1: If you are going to ask for help, tell us what your configuration is, including version of Nagios, the plugins, the operating systems involved, etc. Many people on the list like to help, but are not psychic. Suggestion 2: Don't send MIME or HTML messages to mailing lists. > > > > Thanks, > > > > David Gitman > > Network Engineer > > The FeedRoom > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at radom.org Fri Oct 10 20:12:07 2003 From: dan at radom.org (dan radom) Date: Fri, 10 Oct 2003 12:12:07 -0600 Subject: False Positives In-Reply-To: References: Message-ID: <20031010181207.GD1497@ikura.radom.org> * David Gitman (David at feedroom.com) wrote: > Since there aren't any rules or guidelines on posting to nagios-users, > I'll post how'd like. Here's a suggestion, if you don't want to help > then keep your mouth shut. > as will the rest of us as far as helping i'm pretty sure. as far as posted rule go we don't really need them. it's called netiquette, and it's all there for your reading pleasure in rfc1855. good luck ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Fri Oct 10 20:04:43 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Fri, 10 Oct 2003 13:04:43 -0500 (CDT) Subject: False Positives In-Reply-To: References: Message-ID: <57042.64.219.133.155.1065809083.squirrel@xyzzy.homeip.net> You're right, I sometimes get condescending. Sorry. Anyway, what's your config like for the non-NRPE and NRPE services? And what version are you using? > Since there aren't any rules or guidelines on posting to nagios-users, > I'll post how'd like. Here's a suggestion, if you don't want to help > then keep your mouth shut. > > [-d] > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mike > McClure > Sent: Friday, October 10, 2003 10:30 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] False Positives > > > >> I'm probably missing some obvious directive here; I'm too deep into > it. >> I have services/hosts going critical on attempt 1 of 3 not 3 of 3 > except >> for my NRPE services. Any idea or suggestions are appreciated. > > Suggestion 1: If you are going to ask for help, tell us what your > configuration is, > including version of Nagios, the plugins, the operating systems > involved, etc. Many > people on the list like to help, but are not psychic. > > Suggestion 2: Don't send MIME or HTML messages to mailing lists. > >> >> >> >> Thanks, >> >> >> >> David Gitman >> >> Network Engineer >> >> The FeedRoom >> >> > > > -- > Mike McClure, CCIE # 5125, CISSP # 30232 > PNE Services, Inc. - http://www.pneservices.com > mmcclure [at] pneservices [dot] com > mobile: 913-636-5590 > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ferlatte at cryptio.net Fri Oct 10 20:19:50 2003 From: ferlatte at cryptio.net (Mark Ferlatte) Date: Fri, 10 Oct 2003 11:19:50 -0700 Subject: service notifications options - different for pager and mail In-Reply-To: <20031010102551.GE6205@marvin> References: <20031010102551.GE6205@marvin> Message-ID: <20031010181950.GD89588@radix.cryptio.net> VEGH Karoly said on Fri, Oct 10, 2003 at 12:25:51PM +0200: > but how to set the notification options so, that per pager (SMS) > are only the Critical alarms sent, and per mail are all(w,c,r,u)? > > I of course could duplicate the entries in the contacts for each user, > having then a username and a username-pager entry, but that's > surely not the nicest solution. That's the best solution we came up with here, unfortunately. M -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From jeff.vier at tradingtechnologies.com Fri Oct 10 21:00:49 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 10 Oct 2003 14:00:49 -0500 Subject: False Positives In-Reply-To: <20031010181207.GD1497@ikura.radom.org> References: <20031010181207.GD1497@ikura.radom.org> Message-ID: <1065812449.30472.35.camel@localhost> On Fri, 2003-10-10 at 13:12, dan radom wrote: > * David Gitman (David at feedroom.com) wrote: > > Since there aren't any rules or guidelines on posting to nagios-users, > > I'll post how'd like. Here's a suggestion, if you don't want to help > > then keep your mouth shut. > as will the rest of us as far as helping i'm pretty sure. as far as > posted rule go we don't really need them. it's called netiquette, and > it's all there for your reading pleasure in rfc1855. Specifically, section 3. http://www.dtcc.edu/cs/rfc1855.html#3 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ksrinivas at bisil.com Fri Oct 10 20:40:42 2003 From: ksrinivas at bisil.com (Srinivas Kotapally) Date: Fri, 10 Oct 2003 14:40:42 -0400 Subject: Help: Newbie - Return code of 127 is out of bounds - in status.log file In-Reply-To: <5DB017510818EC468B05BD7BD9EACF8303E7EFB9@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF8303E7EFB9@mismail.ena.com> Message-ID: <003601c38f5e$038d5e40$d3e30840@local> Marc I had missed one step in the nagios installation... Setting up of the commands (macros). I have done that but am still getting the permissions problem! It is important to note that the user you are logging in as (you do have .htaccess configured properly, don't you?) must be an authorized contact for the hosts and services that you want them to see. I have set-up the .htaccess in the /usr/local/nagios/share directory with the entry: AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user I have both nagios and for myself set-up as users in the htpasswd.users directory! Both nagios and me are contacts and users on the system. Both are also the authorised contact for the 1 host that I have set-up. I am still getting the permissions problem! "It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file." Can you please help? Regards KS -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Wednesday, October 08, 2003 5:09 PM To: ksrinivas at bisil.com; Nagios (E-mail) Subject: RE: [Nagios-users] Help: Newbie - Return code of 127 is out of bounds - in status.log file > -----Original Message----- > From: Srinivas Kotapally [mailto:ksrinivas at bisil.com] > Sent: Wednesday, October 08, 2003 3:46 PM > To: Nagios (E-mail) > > Hi all > > I have just finished setting up Nagios. I have a problem already... I am > looking at the log file (status.log) and have seen the following entry in > the log file: > SERVICE;;/dev/hda1 Free > Space;CRITICAL;1/3;HARD;1065646603;1065646903;ACTIVE;1;1;1;1065216471;0; CR > IT > ICAL;0;0;0;429480;0;0;1;0;0;1;0;0.00;0;1;1;1;(Return code of 127 is out of > bounds - plugin may be missing) > > What does this indicate? That the plugin is missing as far as nagios is concerned. Your specific service definition and command definition would be useful. Some things to check -- * Verify in resource.cfg that $UER1$ points to your nagios libexec directory. * Verify in commands.cfg that either $USER1$ is used in the command_line for the specific plugin or the full path to the plugin is specified e.g - define command{ command_name verify_http command_line $USER1$/check_http -H $ARG1$ -I $HOSTADDRESS$ -s \/html } * Verify that the plugin actually exists in the path specified (typically /usr/local/nagios/libexec/) **and is executable by the nagios user**. Test this by su -'ing to nagios and executing the plugin. > > Also, from my web interface when I try to see "Service Detail" I get the > following message: > It appears as though you do not have permission to view information for > any > of the services you requested... > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file. > > Does this mean that my configuration is incorrect? Yes. > Can anyone please guide me in the configuration? http://nagios.sourceforge.net/docs/1_0/cgiauth.html It is important to note that the user you are logging in as (you do have .htaccess configured properly, don't you?) must be an authorized contact for the hosts and services that you want them to see. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Oct 10 21:10:35 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 10 Oct 2003 14:10:35 -0500 Subject: Help: Newbie - Return code of 127 is out of bounds - in status.log file Message-ID: We'll need to see your specific host, service, hostgroup definitions and your htpasswd.users file (you can remove the passwords) to be able to go much further with this. Nagios version would be useful as well. We'll also need to know what nagios thinks you're logged in as (upper left hand box in the main window, says 'Logged in as...'. -- Marc > -----Original Message----- > From: Srinivas Kotapally [mailto:ksrinivas at bisil.com] > Sent: Friday, October 10, 2003 1:41 PM > To: Marc Powell; Nagios (E-mail) > > Marc > > I had missed one step in the nagios installation... Setting up of the > commands (macros). I have done that but am still getting the permissions > problem! > > It is important to note that the user you are logging in as (you do have > .htaccess configured properly, don't you?) must be an authorized contact > for the hosts and services that you want them to see. > > I have set-up the .htaccess in the /usr/local/nagios/share directory with > the entry: > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > require valid-user > > I have both nagios and for myself set-up as users in the htpasswd.users > directory! Both nagios and me are contacts and users on the system. Both > are also the authorised contact for the 1 host that I have set-up. > > I am still getting the permissions problem! > > "It appears as though you do not have permission to view information for > any of the services you requested... > > > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file." > > Can you please help? > > > Regards > > KS > > > > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Wednesday, October 08, 2003 5:09 PM > To: ksrinivas at bisil.com; Nagios (E-mail) > Subject: RE: [Nagios-users] Help: Newbie - Return code of 127 is out of > bounds - in status.log file > > > > > > -----Original Message----- > > From: Srinivas Kotapally [mailto:ksrinivas at bisil.com] > > Sent: Wednesday, October 08, 2003 3:46 PM > > To: Nagios (E-mail) > > > > Hi all > > > > I have just finished setting up Nagios. I have a problem already... I > am > > looking at the log file (status.log) and have seen the following entry > in > > the log file: > > SERVICE;;/dev/hda1 Free > > > Space;CRITICAL;1/3;HARD;1065646603;1065646903;ACTIVE;1;1;1;1065216471;0; > CR > > IT > > ICAL;0;0;0;429480;0;0;1;0;0;1;0;0.00;0;1;1;1;(Return code of 127 is > out of > > bounds - plugin may be missing) > > > > What does this indicate? > > That the plugin is missing as far as nagios is concerned. Your specific > service definition and command definition would be useful. Some things > to check -- > > * Verify in resource.cfg that $UER1$ points to your nagios > libexec directory. > * Verify in commands.cfg that either $USER1$ is used in the > command_line for the specific plugin or the full path to the plugin is > specified > e.g - > define command{ > command_name verify_http > command_line $USER1$/check_http -H $ARG1$ -I > $HOSTADDRESS$ -s \/html > } > * Verify that the plugin actually exists in the path specified > (typically /usr/local/nagios/libexec/) **and is executable by the nagios > user**. Test this by su -'ing to nagios and executing the plugin. > > > > > Also, from my web interface when I try to see "Service Detail" I get > the > > following message: > > It appears as though you do not have permission to view information > for > > any > > of the services you requested... > > If you believe this is an error, check the HTTP server authentication > > requirements for accessing this CGI > > and check the authorization options in your CGI configuration file. > > > > Does this mean that my configuration is incorrect? > > Yes. > > > Can anyone please guide me in the configuration? > > http://nagios.sourceforge.net/docs/1_0/cgiauth.html > > It is important to note that the user you are logging in as (you do have > .htaccess configured properly, don't you?) must be an authorized contact > for the hosts and services that you want them to see. > > > -- > Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ksrinivas at bisil.com Fri Oct 10 21:37:41 2003 From: ksrinivas at bisil.com (Srinivas Kotapally) Date: Fri, 10 Oct 2003 15:37:41 -0400 Subject: Help: Newbie - Return code of 127 is out of bounds - in status.log file In-Reply-To: References: Message-ID: <003b01c38f65$f90aa880$d3e30840@local> The nagios Version 1.1. It says I am logged in as "?" user. I guess it does not know what user I am logging in as!! Thanks for the help! Below are the configuration files: The hosts.cfg file: ==================== # Generic host definition template define host{ name generic-host ; The name of this host template - referenced in other host definitions, used for template recursion/resolution 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! } # 'linux1' host definition define host{ use generic-host ; Name of host template to use host_name MUSTANG alias <> address <> check_command check-host-alive max_check_attempts 10 notification_interval 480 notification_period 24x7 notification_options d,u,r } The services.cfg file: ======================= # Generic service definition template define service{ name generic-service ; The 'name' of this service template, referenced in other service definitions 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! } # Service definition define service{ use generic-service ; Name of service template to use host_name MUSTANG service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } # Service definition define service{ use generic-service ; Name of service template to use host_name MUSTANG service_description HTTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_http } # Service definition define service{ use generic-service ; Name of service template to use host_name MUSTANG service_description Current Users is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_local_users!75!150 } # Service definition define service{ use generic-service ; Name of service template to use host_name MUSTANG service_description Total Processes is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_local_procs!150!200!RSZDT } # Service definition define service{ use generic-service ; Name of service template to use host_name MUSTANG service_description /dev/hda1 Free Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_local_disk!20%!10%!/dev/hda1 } hostgourps.cfg: =============== # 'linux-boxes' host group definition define hostgroup{ hostgroup_name linux-boxes alias Linux Servers contact_groups linux-admins members MUSTANG } The htpasswd.users file: ======================== nagiosadmin: ksriniva: nagios: -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Friday, October 10, 2003 3:11 PM To: ksrinivas at bisil.com; Nagios (E-mail) Subject: RE: [Nagios-users] Help: Newbie - Return code of 127 is out of bounds - in status.log file We'll need to see your specific host, service, hostgroup definitions and your htpasswd.users file (you can remove the passwords) to be able to go much further with this. Nagios version would be useful as well. We'll also need to know what nagios thinks you're logged in as (upper left hand box in the main window, says 'Logged in as...'. -- Marc > -----Original Message----- > From: Srinivas Kotapally [mailto:ksrinivas at bisil.com] > Sent: Friday, October 10, 2003 1:41 PM > To: Marc Powell; Nagios (E-mail) > > Marc > > I had missed one step in the nagios installation... Setting up of the > commands (macros). I have done that but am still getting the permissions > problem! > > It is important to note that the user you are logging in as (you do have > .htaccess configured properly, don't you?) must be an authorized contact > for the hosts and services that you want them to see. > > I have set-up the .htaccess in the /usr/local/nagios/share directory with > the entry: > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > require valid-user > > I have both nagios and for myself set-up as users in the htpasswd.users > directory! Both nagios and me are contacts and users on the system. Both > are also the authorised contact for the 1 host that I have set-up. > > I am still getting the permissions problem! > > "It appears as though you do not have permission to view information for > any of the services you requested... > > > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file." > > Can you please help? > > > Regards > > KS > > > > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Wednesday, October 08, 2003 5:09 PM > To: ksrinivas at bisil.com; Nagios (E-mail) > Subject: RE: [Nagios-users] Help: Newbie - Return code of 127 is out of > bounds - in status.log file > > > > > > -----Original Message----- > > From: Srinivas Kotapally [mailto:ksrinivas at bisil.com] > > Sent: Wednesday, October 08, 2003 3:46 PM > > To: Nagios (E-mail) > > > > Hi all > > > > I have just finished setting up Nagios. I have a problem already... I > am > > looking at the log file (status.log) and have seen the following entry > in > > the log file: > > SERVICE;;/dev/hda1 Free > > > Space;CRITICAL;1/3;HARD;1065646603;1065646903;ACTIVE;1;1;1;1065216471;0; > CR > > IT > > ICAL;0;0;0;429480;0;0;1;0;0;1;0;0.00;0;1;1;1;(Return code of 127 is > out of > > bounds - plugin may be missing) > > > > What does this indicate? > > That the plugin is missing as far as nagios is concerned. Your specific > service definition and command definition would be useful. Some things > to check -- > > * Verify in resource.cfg that $UER1$ points to your nagios > libexec directory. > * Verify in commands.cfg that either $USER1$ is used in the > command_line for the specific plugin or the full path to the plugin is > specified > e.g - > define command{ > command_name verify_http > command_line $USER1$/check_http -H $ARG1$ -I > $HOSTADDRESS$ -s \/html > } > * Verify that the plugin actually exists in the path specified > (typically /usr/local/nagios/libexec/) **and is executable by the nagios > user**. Test this by su -'ing to nagios and executing the plugin. > > > > > Also, from my web interface when I try to see "Service Detail" I get > the > > following message: > > It appears as though you do not have permission to view information > for > > any > > of the services you requested... > > If you believe this is an error, check the HTTP server authentication > > requirements for accessing this CGI > > and check the authorization options in your CGI configuration file. > > > > Does this mean that my configuration is incorrect? > > Yes. > > > Can anyone please guide me in the configuration? > > http://nagios.sourceforge.net/docs/1_0/cgiauth.html > > It is important to note that the user you are logging in as (you do have > .htaccess configured properly, don't you?) must be an authorized contact > for the hosts and services that you want them to see. > > > -- > Marc -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5808 bytes Desc: not available URL: From CrowderLG at ldschurch.org Fri Oct 10 21:56:55 2003 From: CrowderLG at ldschurch.org (Larry Crowder) Date: Fri, 10 Oct 2003 13:56:55 -0600 Subject: Nagios Check_http question (the -u option) Message-ID: Hello, Probably a dumb question, but here goes. As I have researched the -u option of Check_http, I have one question left. It seems as if using the -u option is trully only for checking the latency and performance of remotely retrieving a specific web page. This does not however seem to actually check whether the web server (Apache) is up and functional. If that assumption is true, then I have to use another plugin to actualy check to see if the web server is up. Am I correct? If so, any suggestions as to which plugin to use to check remote web servers on Windows, Solaris and and Linux boxes? Thanks for any help, Larry C ------------------------------------------------------------------------------ This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ============================================================================== ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Oct 10 21:53:04 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 10 Oct 2003 14:53:04 -0500 Subject: Help: Newbie - Return code of 127 is out of bounds - in status.log file Message-ID: Yup, I forgot to mention the need for your contact and contactgroups but you're breaking down before that even comes into play. The "?" means that your htaccess authentication isn't working properly. I made the assumption that you were but are you being asked for a username and password when you go to the web interface? Do you have a .htaccess file in both the share *and* the sbin directories (sbin is most important to this particular issue). Looking back through the thread, I see you have it in share but no mention of it in ~nagios/sbin. This is key and is probably the cause of your problems. Once that's done, you'll just need to verify that you have a contact named ' ksriniva' that is a member of the linux-admins contact_group. -- Marc > -----Original Message----- > From: Srinivas Kotapally [mailto:ksrinivas at bisil.com] > Sent: Friday, October 10, 2003 2:38 PM > To: Marc Powell; 'Nagios (E-mail)' > > The nagios Version 1.1. It says I am logged in as "?" user. I guess it > does not know what user I am logging in as!! > > Thanks for the help! > > Below are the configuration files: > > The hosts.cfg file: > ==================== > > # Generic host definition template > define host{ > name generic-host ; The name of this > host template - referenced in other host definitions, used for template > recursion/resolution > 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! > } > > # 'linux1' host definition > define host{ > use generic-host ; Name of host > template to use > > host_name MUSTANG > alias <> > address <> > check_command check-host-alive > max_check_attempts 10 > notification_interval 480 > notification_period 24x7 > notification_options d,u,r > } > > The services.cfg file: > ======================= > > # Generic service definition template > define service{ > name generic-service ; The 'name' of > this service template, referenced in other service definitions > 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! > } > > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name MUSTANG > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 240 > notification_period 24x7 > notification_options c,r > check_command check_ping!100.0,20%!500.0,60% > } > > > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name MUSTANG > service_description HTTP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 2 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r > check_command check_http > } > > > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name MUSTANG > service_description Current Users > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 2 > contact_groups linux-admins > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r > check_command check_local_users!75!150 > } > > > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name MUSTANG > service_description Total Processes > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 2 > contact_groups linux-admins > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r > check_command check_local_procs!150!200!RSZDT > } > > > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name MUSTANG > service_description /dev/hda1 Free Space > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_local_disk!20%!10%!/dev/hda1 > } > > hostgourps.cfg: > =============== > > # 'linux-boxes' host group definition > define hostgroup{ > hostgroup_name linux-boxes > alias Linux Servers > contact_groups linux-admins > members MUSTANG > } > The htpasswd.users file: > ======================== > > nagiosadmin: > ksriniva: > nagios: > > > > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Friday, October 10, 2003 3:11 PM > To: ksrinivas at bisil.com; Nagios (E-mail) > Subject: RE: [Nagios-users] Help: Newbie - Return code of 127 is out of > bounds - in status.log file > > > We'll need to see your specific host, service, hostgroup definitions and > your htpasswd.users file (you can remove the passwords) to be able to go > much further with this. Nagios version would be useful as well. > > We'll also need to know what nagios thinks you're logged in as (upper > left hand box in the main window, says 'Logged in as...'. > > -- > Marc > > > -----Original Message----- > > From: Srinivas Kotapally [mailto:ksrinivas at bisil.com] > > Sent: Friday, October 10, 2003 1:41 PM > > To: Marc Powell; Nagios (E-mail) > > > > Marc > > > > I had missed one step in the nagios installation... Setting up of the > > commands (macros). I have done that but am still getting the > permissions > > problem! > > > > It is important to note that the user you are logging in as (you do > have > > .htaccess configured properly, don't you?) must be an authorized > contact > > for the hosts and services that you want them to see. > > > > I have set-up the .htaccess in the /usr/local/nagios/share directory > with > > the entry: > > AuthName "Nagios Access" > > AuthType Basic > > AuthUserFile /usr/local/nagios/etc/htpasswd.users > > require valid-user > > > > I have both nagios and for myself set-up as users in the > htpasswd.users > > directory! Both nagios and me are contacts and users on the system. > Both > > are also the authorised contact for the 1 host that I have set-up. > > > > I am still getting the permissions problem! > > > > "It appears as though you do not have permission to view information > for > > any of the services you requested... > > > > > > If you believe this is an error, check the HTTP server authentication > > requirements for accessing this CGI > > and check the authorization options in your CGI configuration file." > > > > Can you please help? > > > > > > Regards > > > > KS > > > > > > > > -----Original Message----- > > From: Marc Powell [mailto:mpowell at ena.com] > > Sent: Wednesday, October 08, 2003 5:09 PM > > To: ksrinivas at bisil.com; Nagios (E-mail) > > Subject: RE: [Nagios-users] Help: Newbie - Return code of 127 is out > of > > bounds - in status.log file > > > > > > > > > > > -----Original Message----- > > > From: Srinivas Kotapally [mailto:ksrinivas at bisil.com] > > > Sent: Wednesday, October 08, 2003 3:46 PM > > > To: Nagios (E-mail) > > > > > > Hi all > > > > > > I have just finished setting up Nagios. I have a problem already... > I > > am > > > looking at the log file (status.log) and have seen the following > entry > > in > > > the log file: > > > SERVICE;;/dev/hda1 Free > > > > > > Space;CRITICAL;1/3;HARD;1065646603;1065646903;ACTIVE;1;1;1;1065216471;0; > > CR > > > IT > > > ICAL;0;0;0;429480;0;0;1;0;0;1;0;0.00;0;1;1;1;(Return code of 127 is > > out of > > > bounds - plugin may be missing) > > > > > > What does this indicate? > > > > That the plugin is missing as far as nagios is concerned. Your > specific > > service definition and command definition would be useful. Some things > > to check -- > > > > * Verify in resource.cfg that $UER1$ points to your nagios > > libexec directory. > > * Verify in commands.cfg that either $USER1$ is used in the > > command_line for the specific plugin or the full path to the plugin is > > specified > > e.g - > > define command{ > > command_name verify_http > > command_line $USER1$/check_http -H $ARG1$ -I > > $HOSTADDRESS$ -s \/html > > } > > * Verify that the plugin actually exists in the path specified > > (typically /usr/local/nagios/libexec/) **and is executable by the > nagios > > user**. Test this by su -'ing to nagios and executing the plugin. > > > > > > > > Also, from my web interface when I try to see "Service Detail" I get > > the > > > following message: > > > It appears as though you do not have permission to view information > > for > > > any > > > of the services you requested... > > > If you believe this is an error, check the HTTP server > authentication > > > requirements for accessing this CGI > > > and check the authorization options in your CGI configuration file. > > > > > > Does this mean that my configuration is incorrect? > > > > Yes. > > > > > Can anyone please guide me in the configuration? > > > > http://nagios.sourceforge.net/docs/1_0/cgiauth.html > > > > It is important to note that the user you are logging in as (you do > have > > .htaccess configured properly, don't you?) must be an authorized > contact > > for the hosts and services that you want them to see. > > > > > > -- > > Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Oct 10 22:09:33 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 10 Oct 2003 15:09:33 -0500 Subject: Nagios Check_http question (the -u option) Message-ID: > -----Original Message----- > From: Larry Crowder [mailto:CrowderLG at ldschurch.org] > Sent: Friday, October 10, 2003 2:57 PM > To: nagios-users at lists.sourceforge.net > > Hello, > > Probably a dumb question, but here goes. > > As I have researched the -u option of Check_http, I have one question > left. It seems as if using the -u option is trully only for checking the > latency and performance of remotely retrieving a specific web page. This > does not however seem to actually check whether the web server (Apache) is > up and functional. If that assumption is true, then I have to use another > plugin to actualy check to see if the web server is up. > > Am I correct? If so, any suggestions as to which plugin to use to check > remote web servers on Windows, Solaris and and Linux boxes? > The check_http plugin doesn't care what web server is vending the page... It could be a perl script cat'ing a file to port 80 for all it cares. If a page is vended by the web server, doesn't that directly imply that the web server is up and functional? What other test are you interested in? If you're concerned that the page is vended fully, consider adding the '-s' option to your command definition like '-s \/html'. Then it will only be OK if it sees '/html' in the stream. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Fri Oct 10 22:41:22 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Fri, 10 Oct 2003 15:41:22 -0500 (CDT) Subject: Nagios Check_http question (the -u option) In-Reply-To: References: Message-ID: <3596.64.219.133.155.1065818482.squirrel@xyzzy.homeip.net> > As I have researched the -u option of Check_http, I have one question left. It > seems as if using the -u option is trully only for checking the latency and > performance of remotely retrieving a specific web page. This does not however seem > to actually check whether the web server (Apache) is up and functional. If the web server wasn't up, how could the web page be retrieved? A web page retrieval implies that the server is up. Or at least one in a cluster. >If that > assumption is true, then I have to use another plugin to actualy check to see if the > web server is up. I suppose that a connect to TCP/80 would be another way to just check if there's any service/daemon listening. But it could be anything, not just the web server. > > Am I correct? If so, any suggestions as to which plugin to use to check remote > web servers on Windows, Solaris and and Linux boxes? I think they are all the same, no matter what platform they are on. They just need to comply with the HTTP spec. > > Thanks for any help, > > Larry C > > > ------------------------------------------------------------------------------ > This message may contain confidential information, and is intended only for the use > of the individual(s) to whom it is addressed. > > > ==========================================================================------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ksrinivas at bisil.com Fri Oct 10 23:51:51 2003 From: ksrinivas at bisil.com (Srinivas Kotapally) Date: Fri, 10 Oct 2003 17:51:51 -0400 Subject: Help: Newbie - Return code of 127 is out of bounds - in status.log file In-Reply-To: References: Message-ID: <004601c38f78$b778ca60$d3e30840@local> Thanks for the post... I have been able to resolve the problem! I am able to see the services! The problem was that I did not have a .htaccess file in the /sbin. I was getting the password interface though! I have 2 questions! 1. I want to check the postgres services as well using the command "ps -ef | grep postmaster". How do I add these to the services? 2. I have blocked all ICMP traffic to the box... so the check_ping macro shows the host as down! Is there any other way to check that the host is up? Regards KS -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Friday, October 10, 2003 3:53 PM To: ksrinivas at bisil.com; Nagios (E-mail) Subject: RE: [Nagios-users] Help: Newbie - Return code of 127 is out of bounds - in status.log file Yup, I forgot to mention the need for your contact and contactgroups but you're breaking down before that even comes into play. The "?" means that your htaccess authentication isn't working properly. I made the assumption that you were but are you being asked for a username and password when you go to the web interface? Do you have a .htaccess file in both the share *and* the sbin directories (sbin is most important to this particular issue). Looking back through the thread, I see you have it in share but no mention of it in ~nagios/sbin. This is key and is probably the cause of your problems. Once that's done, you'll just need to verify that you have a contact named ' ksriniva' that is a member of the linux-admins contact_group. -- Marc > -----Original Message----- > From: Srinivas Kotapally [mailto:ksrinivas at bisil.com] > Sent: Friday, October 10, 2003 2:38 PM > To: Marc Powell; 'Nagios (E-mail)' > > The nagios Version 1.1. It says I am logged in as "?" user. I guess it > does not know what user I am logging in as!! > > Thanks for the help! > > Below are the configuration files: > > The hosts.cfg file: > ==================== > > # Generic host definition template > define host{ > name generic-host ; The name of this > host template - referenced in other host definitions, used for template > recursion/resolution > 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! > } > > # 'linux1' host definition > define host{ > use generic-host ; Name of host > template to use > > host_name MUSTANG > alias <> > address <> > check_command check-host-alive > max_check_attempts 10 > notification_interval 480 > notification_period 24x7 > notification_options d,u,r > } > > The services.cfg file: > ======================= > > # Generic service definition template > define service{ > name generic-service ; The 'name' of > this service template, referenced in other service definitions > 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! > } > > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name MUSTANG > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 240 > notification_period 24x7 > notification_options c,r > check_command check_ping!100.0,20%!500.0,60% > } > > > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name MUSTANG > service_description HTTP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 2 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r > check_command check_http > } > > > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name MUSTANG > service_description Current Users > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 2 > contact_groups linux-admins > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r > check_command check_local_users!75!150 > } > > > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name MUSTANG > service_description Total Processes > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 2 > contact_groups linux-admins > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r > check_command check_local_procs!150!200!RSZDT > } > > > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name MUSTANG > service_description /dev/hda1 Free Space > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_local_disk!20%!10%!/dev/hda1 > } > > hostgourps.cfg: > =============== > > # 'linux-boxes' host group definition > define hostgroup{ > hostgroup_name linux-boxes > alias Linux Servers > contact_groups linux-admins > members MUSTANG > } > The htpasswd.users file: > ======================== > > nagiosadmin: > ksriniva: > nagios: > > > > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Friday, October 10, 2003 3:11 PM > To: ksrinivas at bisil.com; Nagios (E-mail) > Subject: RE: [Nagios-users] Help: Newbie - Return code of 127 is out of > bounds - in status.log file > > > We'll need to see your specific host, service, hostgroup definitions and > your htpasswd.users file (you can remove the passwords) to be able to go > much further with this. Nagios version would be useful as well. > > We'll also need to know what nagios thinks you're logged in as (upper > left hand box in the main window, says 'Logged in as...'. > > -- > Marc > > > -----Original Message----- > > From: Srinivas Kotapally [mailto:ksrinivas at bisil.com] > > Sent: Friday, October 10, 2003 1:41 PM > > To: Marc Powell; Nagios (E-mail) > > > > Marc > > > > I had missed one step in the nagios installation... Setting up of the > > commands (macros). I have done that but am still getting the > permissions > > problem! > > > > It is important to note that the user you are logging in as (you do > have > > .htaccess configured properly, don't you?) must be an authorized > contact > > for the hosts and services that you want them to see. > > > > I have set-up the .htaccess in the /usr/local/nagios/share directory > with > > the entry: > > AuthName "Nagios Access" > > AuthType Basic > > AuthUserFile /usr/local/nagios/etc/htpasswd.users > > require valid-user > > > > I have both nagios and for myself set-up as users in the > htpasswd.users > > directory! Both nagios and me are contacts and users on the system. > Both > > are also the authorised contact for the 1 host that I have set-up. > > > > I am still getting the permissions problem! > > > > "It appears as though you do not have permission to view information > for > > any of the services you requested... > > > > > > If you believe this is an error, check the HTTP server authentication > > requirements for accessing this CGI > > and check the authorization options in your CGI configuration file." > > > > Can you please help? > > > > > > Regards > > > > KS > > > > > > > > -----Original Message----- > > From: Marc Powell [mailto:mpowell at ena.com] > > Sent: Wednesday, October 08, 2003 5:09 PM > > To: ksrinivas at bisil.com; Nagios (E-mail) > > Subject: RE: [Nagios-users] Help: Newbie - Return code of 127 is out > of > > bounds - in status.log file > > > > > > > > > > > -----Original Message----- > > > From: Srinivas Kotapally [mailto:ksrinivas at bisil.com] > > > Sent: Wednesday, October 08, 2003 3:46 PM > > > To: Nagios (E-mail) > > > > > > Hi all > > > > > > I have just finished setting up Nagios. I have a problem already... > I > > am > > > looking at the log file (status.log) and have seen the following > entry > > in > > > the log file: > > > SERVICE;;/dev/hda1 Free > > > > > > Space;CRITICAL;1/3;HARD;1065646603;1065646903;ACTIVE;1;1;1;1065216471;0; > > CR > > > IT > > > ICAL;0;0;0;429480;0;0;1;0;0;1;0;0.00;0;1;1;1;(Return code of 127 is > > out of > > > bounds - plugin may be missing) > > > > > > What does this indicate? > > > > That the plugin is missing as far as nagios is concerned. Your > specific > > service definition and command definition would be useful. Some things > > to check -- > > > > * Verify in resource.cfg that $UER1$ points to your nagios > > libexec directory. > > * Verify in commands.cfg that either $USER1$ is used in the > > command_line for the specific plugin or the full path to the plugin is > > specified > > e.g - > > define command{ > > command_name verify_http > > command_line $USER1$/check_http -H $ARG1$ -I > > $HOSTADDRESS$ -s \/html > > } > > * Verify that the plugin actually exists in the path specified > > (typically /usr/local/nagios/libexec/) **and is executable by the > nagios > > user**. Test this by su -'ing to nagios and executing the plugin. > > > > > > > > Also, from my web interface when I try to see "Service Detail" I get > > the > > > following message: > > > It appears as though you do not have permission to view information > > for > > > any > > > of the services you requested... > > > If you believe this is an error, check the HTTP server > authentication > > > requirements for accessing this CGI > > > and check the authorization options in your CGI configuration file. > > > > > > Does this mean that my configuration is incorrect? > > > > Yes. > > > > > Can anyone please guide me in the configuration? > > > > http://nagios.sourceforge.net/docs/1_0/cgiauth.html > > > > It is important to note that the user you are logging in as (you do > have > > .htaccess configured properly, don't you?) must be an authorized > contact > > for the hosts and services that you want them to see. > > > > > > -- > > Marc -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 7112 bytes Desc: not available URL: From ragnar at skolelinux.no Sat Oct 11 00:43:49 2003 From: ragnar at skolelinux.no (Ragnar Wisloff) Date: Sat, 11 Oct 2003 00:43:49 +0200 Subject: Central host config in distributed monitoring Message-ID: <3F873625.8010404@skolelinux.no> A couple of questions outstanding after reading the docs on distributed monitoring: For services that are checked using passive checks on a central server, what's one supposed to specify for the "check_command" option? E.g. checking SMTP on a machine that is configured only for localhost connections will not be able to be checked by the central server. The option "notification_interval" value for such a service on the distributed server needs to be specified, otherwise Nagios produces errors. Is this normal, or did I make a mistake in the main config file? Thanks, -- Ragnar Wisl?ff ------------- life is a reach. then you gybe. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at radom.org Sat Oct 11 01:01:25 2003 From: dan at radom.org (dan radom) Date: Fri, 10 Oct 2003 17:01:25 -0600 Subject: Help: Newbie - Return code of 127 is out of bounds - in status.log file In-Reply-To: <004601c38f78$b778ca60$d3e30840@local> References: <004601c38f78$b778ca60$d3e30840@local> Message-ID: <20031010230125.GE1497@ikura.radom.org> * Srinivas Kotapally (ksrinivas at bisil.com) wrote: > Thanks for the post... I have been able to resolve the problem! I am able > to see the services! The problem was that I did not have a .htaccess file > in the /sbin. I was getting the password interface though! > > I have 2 questions! > 1. I want to check the postgres services as well using the command "ps -ef | > grep postmaster". How do I add these to the services? > 2. I have blocked all ICMP traffic to the box... so the check_ping macro > shows the host as down! Is there any other way to check that the host is > up? > you need to enable postgres support when you build your plugins. dan ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jchernandezg at mail.sedena.gob.mx Sat Oct 11 02:02:33 2003 From: jchernandezg at mail.sedena.gob.mx (Cap. Juan Carlos Hernandez Gonzalez) Date: Fri, 10 Oct 2003 18:02:33 -0600 Subject: Status Map Icons Message-ID: <20031010225916.M82750@mail.sedena.gob.mx> Hi list I install nagios and is running, but when i access Status Map option appear a QUESTION icon ... how may change this for other icons ... I download the addon icons and this is installed in /usr/local/nagios/share/images/logos But how can establish the icon for each object class ... Thanks.. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnorton at broadgap.com Sat Oct 11 21:34:11 2003 From: jnorton at broadgap.com (Jerry Norton) Date: Sat, 11 Oct 2003 13:34:11 -0600 Subject: Question on Theory and Object Definitions Message-ID: <000e01c3902e$a6825300$1000a8c0@CORP.BROADGAP.COM> Hey all, my question is in regards to configuration based on "standards" or theory. I am monitoring remote hosts with a simple host check ping command. I had a situation where my local internet connection went down and was bombarded with notifications of hosts and services being down when it was just the nagios monitoring machine not being able to get out to the internet. In looking at the docs and configuration files I found 2 (maybe more) possible ways I could get around this from happening again. 1. I could set up a "Host Dependency" object with a host object of the local internet gateway and have all the remote hosts depend on it. Or... 2. I could just set the "parent" option in all the remote hosts (through a template) to the local internet gateway. I guess my question is what is the difference between "Host Dependencies" and the "Parent" option in host objects and when is the best time to use either? Don't they serve the same function? Thanks in advance. Jerry Norton broadGap Technologies 801.763.8056 - 802 East Bamberger Drive - American Fork - Utah - 84003 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy at atcomputerconsulting.com Sun Oct 12 18:23:29 2003 From: andy at atcomputerconsulting.com (Andy Stein) Date: Sun, 12 Oct 2003 12:23:29 -0400 (EDT) Subject: Question on Theory and Object Definitions In-Reply-To: <000e01c3902e$a6825300$1000a8c0@CORP.BROADGAP.COM> References: <000e01c3902e$a6825300$1000a8c0@CORP.BROADGAP.COM> Message-ID: <4511.192.168.1.5.1065975809.squirrel@www.atcomputerconsulting.com> I can't say for sure, but I think the host dependency is more for having a non-logical host dependency. What I would suggest is to build your hosts and parents in a topology that reflects how they are connected. Then configure your notification options to not notify you of unreachables. That will keep you from being told that host b is down when host a is the cause. So look at your notification options and turn use c,w,r and not a u. The only other scenario that I had to deal with is the service check that you do. I used a ping for routers and if the latency goes up and packet loss goes up, then you could use a service dependency to disable notifications if host-a's latency goes up so that you're not flodded with all of the downline systems. Hope this helps... Andy > Hey all, my question is in regards to configuration based on "standards" > or theory. > > I am monitoring remote hosts with a simple host check ping command. I > had a situation where my local internet connection went down and was > bombarded with notifications of hosts and services being down when it > was just the nagios monitoring machine not being able to get out to the > internet. > > In looking at the docs and configuration files I found 2 (maybe more) > possible ways I could get around this from happening again. > > 1. I could set up a "Host Dependency" object with a host object of the > local internet gateway and have all the remote hosts depend on it. > Or... > > 2. I could just set the "parent" option in all the remote hosts (through > a template) to the local internet gateway. > > I guess my question is what is the difference between "Host > Dependencies" and the "Parent" option in host objects and when is the > best time to use either? Don't they serve the same function? > > Thanks in advance. > > Jerry Norton > broadGap Technologies > 801.763.8056 - 802 East Bamberger Drive - American Fork - Utah - 84003 > > > > > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bagpuss at lodge.glasgownet.com Mon Oct 13 07:08:44 2003 From: bagpuss at lodge.glasgownet.com (Kyle Gordon) Date: Mon, 13 Oct 2003 06:08:44 +0100 Subject: No permissions Message-ID: <1066021690.13188.14.camel@sr-ellg01-02> Hi all, I've recently installed nagios-mysql from the Debian testing branch, and I'm having endless problems with the cgi authentication. I can log in fine (using mod_auth_pam), and I've set all the authorization options in cgi.cfg to allow the username that I use. When logged in, it says up in the top right 'Logged in as bagpuss', so I would assume that it knows who I am etc. However, whenever I go to view any status information, it comes back with this error message - -- It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. -- My /etc/nagios/apache.conf file (Included from the main config) has all the regular 'require valid-user' options, so I doubt that would be affecting it. I've searched high and low on the net, and double checked every option in cgi.cfg, but I can't seem to get anywhere. I've also had a look at cmd.cgi, but that appears to be some sort of precompiled madness :-p Does anyone have any thoughts, suggestions or hints? They'd all be greatly appreciated :-) Regards Kyle ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdiehl at rogueind.com Mon Oct 13 07:24:26 2003 From: tdiehl at rogueind.com (Tom Diehl) Date: Mon, 13 Oct 2003 01:24:26 -0400 (EDT) Subject: check_ping problem Message-ID: Hi all, I am trying to get nagios working properly but I am encountering a problem with the check_ping command. I have seen a few posts in the archinve with the error message I am seeing but so far none have helped. I am trying to run nagios on a Red Hat Linux 8.0 system. Nagios version is: 1.1-3. I am also running version 1.1-3 of nagios plugins. The following is what I am getting: (icarus pts6) # /usr/lib/nagios/plugins/check_ping -H 192.168.0.3 -w 10:20%% -c 60:100%% You've got a big problem buddy! You need more args!!! Cannot open pipe: (icarus pts6) # What pipe?? What args does it need that I am not supplying?? Is there some documentation that explains this error message in more detail? I have looked but either it does not exist or I am just plain blind. I tried the above with both single and double % signs but the error is exactly the same no matter what I try. On a related note is there some doc that explains the exact syntax of services.cfg?? In particular I am trying to understand what the following means: notification_options c,r check_command check_ping!100.0,20%!500.0,60% If there is some doc that I am missing please point me to it. I am very willing to rtfm if I can find the proper fm. Regards, -- ......Tom Registered Linux User #14522 http://counter.li.org tdiehl at rogueind.com My current SpamTrap -------> mtd123 at rogueind.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Mon Oct 13 07:49:41 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Mon, 13 Oct 2003 15:49:41 +1000 Subject: check_ping problem In-Reply-To: References: Message-ID: <5.2.0.9.2.20031013154604.0276cc80@imap.qut.edu.au> Tom, 1. you are using colon ':' characters, not comma ',' characters 2. you only need one % sign on the command line Give that a shot. Greg At 03:24 PM 13/10/2003, Tom Diehl wrote: >Hi all, >I am trying to get nagios working properly but I am encountering a problem >with the check_ping command. I have seen a few posts in the archinve with >the error message I am seeing but so far none have helped. I am trying to >run nagios on a Red Hat Linux 8.0 system. Nagios version is: 1.1-3. I am >also running version 1.1-3 of nagios plugins. The following is what I am >getting: > >(icarus pts6) # /usr/lib/nagios/plugins/check_ping -H 192.168.0.3 -w >10:20%% -c 60:100%% >You've got a big problem buddy! You need more args!!! >Cannot open pipe: (icarus pts6) # > >What pipe?? What args does it need that I am not supplying?? > >Is there some documentation that explains this error message in more detail? >I have looked but either it does not exist or I am just plain blind. > >I tried the above with both single and double % signs but the error is exactly >the same no matter what I try. > >On a related note is there some doc that explains the exact syntax of >services.cfg?? In particular I am trying to understand what the following >means: >notification_options c,r > check_command check_ping!100.0,20%!500.0,60% > >If there is some doc that I am missing please point me to it. I am very >willing >to rtfm if I can find the proper fm. > >Regards, > >-- >......Tom Registered Linux User #14522 http://counter.li.org >tdiehl at rogueind.com My current SpamTrap -------> mtd123 at rogueind.com > > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >SourceForge.net hosts over 70,000 Open Source Projects. >See the people who have HELPED US provide better services: >Click here: http://sourceforge.net/supporters.php >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ressu at ressukka.net Mon Oct 13 09:17:41 2003 From: ressu at ressukka.net (Sami Haahtinen) Date: Mon, 13 Oct 2003 10:17:41 +0300 Subject: No permissions In-Reply-To: <1066021690.13188.14.camel@sr-ellg01-02> References: <1066021690.13188.14.camel@sr-ellg01-02> Message-ID: Kyle Gordon wrote: > I've recently installed nagios-mysql from the Debian testing branch, and > I'm having endless problems with the cgi authentication. I can log in > fine (using mod_auth_pam), and I've set all the authorization options in > cgi.cfg to allow the username that I use. When logged in, it says up in > the top right 'Logged in as bagpuss', so I would assume that it knows > who I am etc. Does your username match the contact name in your nagios configuration? Nagios appears to use your username which you used to authenticate to apache to check which services you are allowed to view. Change your contact name to match your apache username (or the other way around) or mark the username as a GOD! *evil laughter* But i don't really recommend this. Regards, Sami ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Geller at ee-consultants.de Mon Oct 13 10:26:07 2003 From: Steven.Geller at ee-consultants.de (Geller, Steven) Date: Mon, 13 Oct 2003 10:26:07 +0200 Subject: CGI Error Message-ID: <0948B33B7003EB4B9AAA429564486192E177A4@mail.ee-consultants.de> Hi Mailing List! I have a problem with the installtion and configuration of nagios. I install the nagios 1.1 on a Debian 3.0 with apt-get ( testing) Version nagios-text 2:1.1-1 And apache 1.3.27.0-2 I have read the Documentation and tried it out and I received this error : It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. I have change use_authentication=1 to use_authentication=0 but I get this error too. Thanks for help Steven Geller -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.fischer at quadriga.com Mon Oct 13 11:58:05 2003 From: thomas.fischer at quadriga.com (Fischer, Thomas) Date: Mon, 13 Oct 2003 10:58:05 +0100 Subject: False Positives Message-ID: <5D339AE687B0C8438185AE62ED06697D034E38@ukchmail01.mail.quadriga.com> How about using common sense as a guideline. With your attitude you will find it pretty hard that somebody will even look at you postings. Quite obvious that one should post some more detailed information about the set-up used. To be honest.. how shall somebody be able to answer your question if you don't ask the question? >>Since there aren't any rules or guidelines on posting to nagios-users, I'll post how'd like. Here's a suggestion, if you don't want to help then keep your mouth shut.<< Unless you ask nobody will help you either and everybody will keep their mouth shut. This list is dealt with by people spending their spare time to help others. A little bit courtesy is the least that people can expect. If you want to behave like a then it should be you who has to keep his mouth shut. Mike attempted to get more information from you and asked in a nice manner. No need for you to tell him to shut up. If you want support for free ask nicely and leave your unwanted and not asked for comments to yourself. End of story. Tom -----Original Message----- From: David Gitman [mailto:David at feedroom.com] Sent: 10 October 2003 17:55 To: Mike McClure; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] False Positives Since there aren't any rules or guidelines on posting to nagios-users, I'll post how'd like. Here's a suggestion, if you don't want to help then keep your mouth shut. [-d] -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mike McClure Sent: Friday, October 10, 2003 10:30 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] False Positives > I'm probably missing some obvious directive here; I'm too deep into it. > I have services/hosts going critical on attempt 1 of 3 not 3 of 3 except > for my NRPE services. Any idea or suggestions are appreciated. Suggestion 1: If you are going to ask for help, tell us what your configuration is, including version of Nagios, the plugins, the operating systems involved, etc. Many people on the list like to help, but are not psychic. Suggestion 2: Don't send MIME or HTML messages to mailing lists. > > > > Thanks, > > > > David Gitman > > Network Engineer > > The FeedRoom > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail is the property of Quadriga Worldwide Ltd The message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company. From jasmine.chua at securecirt.com Mon Oct 13 12:49:41 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Mon, 13 Oct 2003 18:49:41 +0800 Subject: [Nagios-devel] Re: passive checks and check_command In-Reply-To: References: <20031011102615.A228@IPAustralia.Gov.AU> Message-ID: <200310131849.45550.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 13 October 2003 17:51, tvilliers wrote: > Thanks Stanley -- > > With this: > > However, there is a benefit in having a legitimate command defined for a > > passive service in that service states that cannot otherwise be reset, > > can be reset by scheduling the passive service check with a command like > > 'ping'. > > ... I presume that the passive service has the "check_freshness" option > enabled -- as this is the only way that the "check_command" will actually > execute (at the stated "freshness_threshold" time). > > So let me rephrase then: why is a "check_command" required for a passive > service which does not check for freshness? > > > Tielman de Villiers > Hi The "check_command" is still required for a passive service definition because in any service definition template, that option is compulsory. But, that "check_command" for the passive service is not actually executed by Nagios at all because it is passive. It will only be executed when the freshness option is being enabled. Hope this helps. Warmest Regards, Jasmine Chua SecureCiRT Pte Ltd Blk 750C Chai Chee Road #04-01 Technopark at ChaiChee Singapore 469003 Tel: 6243 6800 DID: 6243 6805 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/ioNFNgvTa7Hj2AURAkicAKCMN5BIOFxk598iZEvHj2vhw0lC+QCdG9GG 6Ra2w51S/7v5rdTTltXpYgo= =DDcd -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.sargent at webgravity.co.uk Mon Oct 13 12:58:23 2003 From: dan.sargent at webgravity.co.uk (Dan Sargent) Date: Mon, 13 Oct 2003 11:58:23 +0100 Subject: Setting up timeperiodes to only check once every halfhour. Message-ID: <00e101c39178$ecab7af0$7d65000a@ibnetplc.com> Guys, And Gals, I have a need to configure the timeperidoes, so that one of my test doesnt run for half an hour, every hour, but will check every 5 minutes during the half that it should run, i wanted to use the timeperiodes.cfg to do this, as per below. Is this doable? If not, does anyone have any ideas? Cheers Dan -- cut -- # 'cputimes' timeperiod definition define timeperiod{ timeperiod_name cpubadtimes alias CPU Bad Times sunday 00:00-24:00 monday 00:00-06:40,07:10-07:40,08:40-09:10,09:40-10:10,10:40-11:10,11:40-12:10,12:4 0-13:10,13:40-14:10,15:40-16:10,16:40-17:10,17:40-18:10,18:40-24:00 tuesday 00:00-06:40,07:10-07:40,08:40-09:10,09:40-10:10,10:40-11:10,11:40-12:10,12:4 0-13:10,13:40-14:10,15:40-16:10,16:40-17:10,17:40-18:10,18:40-24:00 wednesday 00:00-06:40,07:10-07:40,08:40-09:10,09:40-10:10,10:40-11:10,11:40-12:10,12:4 0-13:10,13:40-14:10,15:40-16:10,16:40-17:10,17:40-18:10,18:40-24:00 thursday 00:00-06:40,07:10-07:40,08:40-09:10,09:40-10:10,10:40-11:10,11:40-12:10,12:4 0-13:10,13:40-14:10,15:40-16:10,16:40-17:10,17:40-18:10,18:40-24:00 friday 00:00-06:40,07:10-07:40,08:40-09:10,09:40-10:10,10:40-11:10,11:40-12:10,12:4 0-13:10,13:40-14:10,15:40-16:10,16:40-17:10,17:40-18:10,18:40-24:00 saturday 00:00-24:00 } -- end -- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sde at HNT.HELLER-Machines.com Mon Oct 13 13:03:40 2003 From: sde at HNT.HELLER-Machines.com (Schneck Dennis ITS2 SDE) Date: Mon, 13 Oct 2003 13:03:40 +0200 Subject: lexmark printer check ??? Message-ID: <1A91832CA9B69E499E34255285EC13C827B958@hntexch02.hnt.heller-machines.com> hello, soory about my poor english i need a plugin to check lexmark laser printer mit lexmark marknet printerserver or with intern lexmark printservers and hp printer on lexmark marknet printserver thankx dennis The information contained in this email is intended solely for the addressee. If you are not the intended recipient or his representative, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. Please notify the sender immediately. All statements of opinion or advice directed via this email to the addressee are subject to the regulations expressed in the quotation or order and, in particular, in the general order terms and conditions and in the individual liability agreement. The content of this email is not legally binding unless confirmed by letter. The sending of emails to us will not constitute compliance with any time limits or deadlines. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. For this reason we will not send any confidential information via email over the int ernet. ---------------------------------------------------------------------- This message has been checked for all known viruses by e:)scan. For further information please contact the postmaster: mailto:postmaster at heller-machines.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ejl at man.fwltech.com Mon Oct 13 14:16:00 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Mon, 13 Oct 2003 13:16:00 +0100 Subject: lexmark printer check ??? Message-ID: <1012BD903945D411915500105A48FF5701C738DD@nt.man.fwltech.com> I think you can use a HP Jetdirect test for it. I can't find an existing test, but you could make your own using npadmin from http://npadmin.sourceforge.net/ Ewan -----Original Message----- From: Schneck Dennis ITS2 SDE [mailto:sde at HNT.HELLER-Machines.com] Sent: 13 October 2003 12:04 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] lexmark printer check ??? hello, soory about my poor english i need a plugin to check lexmark laser printer mit lexmark marknet printerserver or with intern lexmark printservers and hp printer on lexmark marknet printserver thankx dennis The information contained in this email is intended solely for the addressee. If you are not the intended recipient or his representative, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. Please notify the sender immediately. All statements of opinion or advice directed via this email to the addressee are subject to the regulations expressed in the quotation or order and, in particular, in the general order terms and conditions and in the individual liability agreement. The content of this email is not legally binding unless confirmed by letter. The sending of emails to us will not constitute compliance with any time limits or deadlines. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. For this reason we will not send any confidential information via email over the int ernet. ---------------------------------------------------------------------- This message has been checked for all known viruses by e:)scan. For further information please contact the postmaster: mailto:postmaster at heller-machines.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike.simkins at sungard.com Mon Oct 13 14:59:57 2003 From: mike.simkins at sungard.com (mike.simkins at sungard.com) Date: Mon, 13 Oct 2003 13:59:57 +0100 Subject: lexmark printer check ??? Message-ID: <8CDB06CA7F958E4F954699DF820E9654466BE6@e2klon1.internal.sungard.corp> You should be able to use check_hpjd in the plugins - if it has an internal JD card... -----Original Message----- From: Ewan Leith [mailto:ejl at man.fwltech.com] Sent: Monday, October 13, 2003 1:16 PM To: 'Schneck Dennis ITS2 SDE'; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] lexmark printer check ??? I think you can use a HP Jetdirect test for it. I can't find an existing test, but you could make your own using npadmin from http://npadmin.sourceforge.net/ Ewan -----Original Message----- From: Schneck Dennis ITS2 SDE [mailto:sde at HNT.HELLER-Machines.com] Sent: 13 October 2003 12:04 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] lexmark printer check ??? hello, soory about my poor english i need a plugin to check lexmark laser printer mit lexmark marknet printerserver or with intern lexmark printservers and hp printer on lexmark marknet printserver thankx dennis The information contained in this email is intended solely for the addressee. If you are not the intended recipient or his representative, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. Please notify the sender immediately. All statements of opinion or advice directed via this email to the addressee are subject to the regulations expressed in the quotation or order and, in particular, in the general order terms and conditions and in the individual liability agreement. The content of this email is not legally binding unless confirmed by letter. The sending of emails to us will not constitute compliance with any time limits or deadlines. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. For this reason we will not send any confidential information via email over the int ernet. ---------------------------------------------------------------------- This message has been checked for all known viruses by e:)scan. For further information please contact the postmaster: mailto:postmaster at heller-machines.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tyrone at telecity.se Mon Oct 13 15:31:38 2003 From: Tyrone at telecity.se (Tyrone at telecity.se) Date: Mon, 13 Oct 2003 15:31:38 +0200 Subject: CHECK_SNMP missing from plugins Message-ID: I'm running Nagios on Linux 9 and have nagios-plugins version 1.3.1 I don't have the file check_snmp in my plugin directory /libexec is there some way I can compile it so I just get check_snmp out ? Should I not have gotten it in the first place ?? Tyrone Van Der Haar Network Engineer DISCLAIMER This e-mail is intended only for the use of the addressees named above and may be confidential. If you are not an addressee you must not use any information contained in nor copy it nor inform any person other than TeleCity or the addressees of its existence or contents. If you have received this e-mail in error, please contact the TeleCity IT department on +44 (0) 161 232 3220 or by email at techsupport at telecity.com. Internet communications cannot be guaranteed 100% secure, you should therefore take this potential lack of security into consideration when emailing us as we do not accept legal responsibility for the security of the contents of this or other emails. Whilst TeleCity take measures to prevent any virus contamination of our computer systems, recipients of emails should always ensure that they take their own precautions to avoid virus contamination. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ejl at man.fwltech.com Mon Oct 13 16:10:34 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Mon, 13 Oct 2003 15:10:34 +0100 Subject: CHECK_SNMP missing from plugins Message-ID: <1012BD903945D411915500105A48FF5701C738E3@nt.man.fwltech.com> It doesn't build check_snmp unless you have the library installed which is uses, net-snmp I think. Run an "rpm -qa |grep snmp" and see if it's installed. Ewan -----Original Message----- From: Tyrone at telecity.se [mailto:Tyrone at telecity.se] Sent: 13 October 2003 14:32 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] CHECK_SNMP missing from plugins I'm running Nagios on Linux 9 and have nagios-plugins version 1.3.1 I don't have the file check_snmp in my plugin directory /libexec is there some way I can compile it so I just get check_snmp out ? Should I not have gotten it in the first place ?? Tyrone Van Der Haar Network Engineer DISCLAIMER This e-mail is intended only for the use of the addressees named above and may be confidential. If you are not an addressee you must not use any information contained in nor copy it nor inform any person other than TeleCity or the addressees of its existence or contents. If you have received this e-mail in error, please contact the TeleCity IT department on +44 (0) 161 232 3220 or by email at techsupport at telecity.com. Internet communications cannot be guaranteed 100% secure, you should therefore take this potential lack of security into consideration when emailing us as we do not accept legal responsibility for the security of the contents of this or other emails. Whilst TeleCity take measures to prevent any virus contamination of our computer systems, recipients of emails should always ensure that they take their own precautions to avoid virus contamination. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdiehl at rogueind.com Mon Oct 13 16:53:23 2003 From: tdiehl at rogueind.com (Tom Diehl) Date: Mon, 13 Oct 2003 10:53:23 -0400 (EDT) Subject: check_ping problem In-Reply-To: <5.2.0.9.2.20031013154604.0276cc80@imap.qut.edu.au> References: <5.2.0.9.2.20031013154604.0276cc80@imap.qut.edu.au> Message-ID: On Mon, 13 Oct 2003, Greg Vickers wrote: > Tom, > > 1. you are using colon ':' characters, not comma ',' characters > 2. you only need one % sign on the command line > > Give that a shot. OK, tried that and here's what I got: (icarus pts6) # /usr/lib/nagios/plugins/check_ping -H 192.168.0.3 -w 10,20% -c 60,100% You've got a big problem buddy! You need more args!!! Cannot open pipe: (icarus pts6) # Interestingly enough check_ping --help shows this: Usage: check_ping -H -w ,%% -c ,%% [-p packets] [-t timeout] [-L] which says that 2 % signs are correct but that does not work either. I still get the same error message. Any other ideas?? -- ......Tom Registered Linux User #14522 http://counter.li.org tdiehl at rogueind.com My current SpamTrap -------> mtd123 at rogueind.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.garrett at shell.com Mon Oct 13 17:22:14 2003 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITDIEEE) Date: Mon, 13 Oct 2003 16:22:14 +0100 Subject: NRPE 2.0 with IRIX 6.5.19m Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D5B51DD2@abe-s-039.europe.shell.com> Folks Has any body managed to get NRPE 2.0 to compile under SGI IRIX 6.5.19m I have tried both under gcc and cc Error messages are for cc # make cd ./src/; make ; cd .. /usr/bin/cc -g -I/usr/local/openssl/include/openssl -I/usr/local/openssl/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/openssl/lib -lssl -lcrypto -lnsl -lsocket nrpe.c: "nrpe.c", line 684: warning(1110): statement is unreachable syslog(LOG_NOTICE,"Terminating"); ^ "nrpe.c", line 1442: error(1070): incomplete type is not allowed static struct option long_options[]={ ^ "nrpe.c", line 1443: error(1020): identifier "required_argument" is undefined {"config", required_argument, 0, 'c'}, ^ Error messages for Gcc # make cd ./src/; make ; cd .. gcc -g -O2 -I/usr/local/openssl/include/openssl -I/usr/local/openssl/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/openssl/lib -lssl -lcrypto -lnsl -lsocket nrpe.c: In function `process_arguments': nrpe.c:1442: error: elements of array `long_options' have incomplete type nrpe.c:1443: warning: excess elements in struct initializer nrpe.c:1443: warning: (near initialization for `long_options[0]') nrpe.c:1443: error: `required_argument' undeclared (first use in this function) Thanks Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373 Email: Matt.M.Garrett at is.shell.com Internet: http://www.shell.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.vier at tradingtechnologies.com Mon Oct 13 17:32:13 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 13 Oct 2003 10:32:13 -0500 Subject: nagios and apan cause server to crash... In-Reply-To: <003601c38db1$506db240$0300a8c0@optiplex> References: <003601c38db1$506db240$0300a8c0@optiplex> Message-ID: <1066059132.22844.28.camel@localhost> I'm having the same problem here. I have been capturing dumps of the top command, pulling only active processes. It looks like something causes an instance of apan.sh to hang, and then they just start piling up (fast). The load is usually under 1.0 (sometimes jumping up to 1.xx - no big deal). When it died, my load was over 80 (yes eighty) with 46 (maybe more) *active* apan processes (not sure of the actual count, top dump only shows 62 lines of processes. It said 73 running, though, so likely more were apan.sh - also, unknown count of inactive apan.sh process sitting and waiting), 17 zombies (unknown parent, alas). 99% CPU usage on CPU0, 100% on CPU1. Yikes. This jump happened over 16 minutes, at which point my crons no longer ran, so who knows how badly it kept piling up. apan.debug log file doesn't show anything abnormal (whee.) I'm going to have to write a watcher to manually kill the hanging apan.sh procs, which I don't want to do for fear of inadvertently killing valid processes, but I am quite sick of having to go over to the colo to poke the power button once a week (only been in production 3 weeks - 4 crashes so far). I'm going to increase my level of manual debugging, too, of processes, etc. I'll post any new insight. --jeff On Wed, 2003-10-08 at 10:31, Matthew Wilson wrote: > > UPDATE: I have checked and my nagios installation does not have ePN compiled > in. So this is not the cause. I would greatly appreciate any suggestions > on how to prevent/cure this problem. > > > Thanks > > Matthew Wilson. > > > > > > Matthew Wilson wrote: > > > > > > > Hi guys, > > > > I have read in the list archives in the last couple of months a few > > > > threads about nagios and apan chewing up memory. I have tried a few > > > > of the solutions posted but still have no joy. > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.harrison at amcg.com Mon Oct 13 18:08:43 2003 From: james.harrison at amcg.com (James Harrison) Date: Mon, 13 Oct 2003 11:08:43 -0500 Subject: Questions on migrating to Distributed Environment on Nag 1.1 Message-ID: <1066061323.1625.74.camel@localhost.localdomain> List, I have recently outgrown my central server only configuration and have begun migrating over to a central poller polling some sites and a distributed poller taking up the slack. I have successully setup NSCA and have approximately 20 sites being polled (simple PING using check_ping service) via the distributed poller with results being sent to the central box. Everything seems to be working properly with just a few questions created along the way. I'm 95% of the way there! 1. Where do I do check_host_alive? Central or Distributed? In theory, if I want to do all my polling(host alive and service checks) from the distributed box then can/how do I do check_host_alive plus service polling from the distribute box. Or maybe the better question is how/can I setup the central box's check_host_alive(or equivalent command[check_dummy, etc]) so that it is "ignored" and is completed via a "passive" check? I am using the "check period set to none" method for setting up my passive services on the central server. I cannot find or I'm just missing a similar option for host information. Or, as I suspect, but can't verify through the docs, check_host_alive is an active process that must always be done from the central server and additional service checks for that host can/are performed via the distributed box. 2. Out of bounds (after a stale detect) On my passive checks that I'm getting from my distributed box I'm intermittently receiving "Warning: Return code of 127 for check of service" errors in my event log. This appears to be occurring after a stale detect when the central server says "I'm forcing an immediate check of this service" These errors are never creating a "HARD" down state and therefore no notifications are being sent. Is this cause for concern? I obviously have Freshness Checking turned on for the passive checks as recommended. 3. Why am I getting stale detects as mentioned in question 2? 4. For members of the list who are managing large Nagios implementations "thousands of services on hundreds of hosts", how are your configs managed? I'm currently using Nagmin, which seems ok, but was just curious what big sites might be doing. Thanks -- James Harrison RHCE, CCNA ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Mon Oct 13 18:37:02 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Mon, 13 Oct 2003 12:37:02 -0400 Subject: Questions on migrating to Distributed Environment on Nag 1.1 Message-ID: <5F29693503507B4FB4032686ADF86267214E35@mtviny25.mtvi.com> > 1. Where do I do check_host_alive? Central or Distributed? The central server executes the host check command defined in hosts.cfg after it receives data passively that a service has gone into a HARD state. Passive host checks should be possible with Nagios 2.0 (per Ethan). For 2 and 3 I have never seen this happen on my build... the only thing I can think of is to make sure your freshness_threshold is set to an interval that the active server should be sending data for that service. > 4. For members of the list who are managing large Nagios implementations "thousands of services on hundreds of hosts", how are your configs managed? I'm currently using Nagmin, which seems ok, but was just curious what big sites might be doing. I manage my configs by hand... if you ask me it's the only way to do it. -Keith -----Original Message----- From: James Harrison [mailto:james.harrison at amcg.com] Sent: Monday, October 13, 2003 12:09 PM To: nagios-users at lists.sourceforge.net Cc: James Harrison Subject: [Nagios-users] Questions on migrating to Distributed Environment on Nag 1.1 List, I have recently outgrown my central server only configuration and have begun migrating over to a central poller polling some sites and a distributed poller taking up the slack. I have successully setup NSCA and have approximately 20 sites being polled (simple PING using check_ping service) via the distributed poller with results being sent to the central box. Everything seems to be working properly with just a few questions created along the way. I'm 95% of the way there! 1. Where do I do check_host_alive? Central or Distributed? In theory, if I want to do all my polling(host alive and service checks) from the distributed box then can/how do I do check_host_alive plus service polling from the distribute box. Or maybe the better question is how/can I setup the central box's check_host_alive(or equivalent command[check_dummy, etc]) so that it is "ignored" and is completed via a "passive" check? I am using the "check period set to none" method for setting up my passive services on the central server. I cannot find or I'm just missing a similar option for host information. Or, as I suspect, but can't verify through the docs, check_host_alive is an active process that must always be done from the central server and additional service checks for that host can/are performed via the distributed box. 2. Out of bounds (after a stale detect) On my passive checks that I'm getting from my distributed box I'm intermittently receiving "Warning: Return code of 127 for check of service" errors in my event log. This appears to be occurring after a stale detect when the central server says "I'm forcing an immediate check of this service" These errors are never creating a "HARD" down state and therefore no notifications are being sent. Is this cause for concern? I obviously have Freshness Checking turned on for the passive checks as recommended. 3. Why am I getting stale detects as mentioned in question 2? 4. For members of the list who are managing large Nagios implementations "thousands of services on hundreds of hosts", how are your configs managed? I'm currently using Nagmin, which seems ok, but was just curious what big sites might be doing. Thanks -- James Harrison RHCE, CCNA ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.harrison at amcg.com Mon Oct 13 21:04:08 2003 From: james.harrison at amcg.com (James Harrison) Date: Mon, 13 Oct 2003 14:04:08 -0500 Subject: Questions on migrating to Distributed Environment on Nag 1.1 In-Reply-To: <5F29693503507B4FB4032686ADF86267214E35@mtviny25.mtvi.com> References: <5F29693503507B4FB4032686ADF86267214E35@mtviny25.mtvi.com> Message-ID: <1066071847.1625.90.camel@localhost.localdomain> On Mon, 2003-10-13 at 11:37, Hochberg, Keith wrote: > > 1. Where do I do check_host_alive? Central or Distributed? > > The central server executes the host check command defined in hosts.cfg > after it receives data passively that a service has gone into a HARD > state. Passive host checks should be possible with Nagios 2.0 (per > Ethan). Thanks, that explains a lot. Is this info in the doc's somewhere that I missed? Should it be added?(I know with 2.0 on the way it may be moot) > > For 2 and 3 I have never seen this happen on my build... the only thing > I can think of is to make sure your freshness_threshold is set to an > interval that the active server should be sending data for that service. Ahh!! Freshness threshold indeed. I loosened it up a bit and all is better. > > > 4. For members of the list who are managing large Nagios > implementations "thousands of services on hundreds of hosts", how are > your configs managed? I'm currently using Nagmin, which seems ok, but > was just curious what big sites might be doing. > > I manage my configs by hand... if you ask me it's the only way to do it. I'm in a primarily MS shop and our managers want to make sure that any of the Linux stuff is "easy" to use/manage if any of us *nix guys disappear, get runover, etc,etc. (I'm not sure what could be easier to manage than a text file either.) Anyway, I'm tryin' to provide some kinda GUI so these guys can manage it as well. Thanks for the info. -- James Harrison RHCE, CCNA ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bbasgen at epixmed.com Mon Oct 13 21:12:11 2003 From: bbasgen at epixmed.com (Brian Basgen) Date: Mon, 13 Oct 2003 15:12:11 -0400 Subject: NRPE on Mac OS X: make all error Message-ID: Hello, I'm trying to get NRPE 2 to work on Mac OS X. I'm running Nagios 1.1 on Red Hat 9, and am successfully monitoring Windows boxes (NSClient), but have a bunch of Mac OS X machines that I need to monitor for internal services such as disk usage, etc. The error occurs during make all, after ./configure goes well: |BBasgen:~/Desktop/nrpe-2.0| bbasgen# make all cd ./src/; make ; cd .. gcc -g -O2 -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/lib -lssl -lcrypto nrpe.c:520: undefined type, found `socklen_t' cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode nrpe.c: In function `wait_for_connections': nrpe.c:520: `socklen_t' undeclared (first use in this function) nrpe.c:520: (Each undeclared identifier is reported only once nrpe.c:520: for each function it appears in.) nrpe.c:520: parse error before "addrlen" nrpe.c:619: `addrlen' undeclared (first use in this function) make[1]: *** [nrpe] Error 1 *** Compile finished *** For reference, if it helps, here is the ./configure. I'm running Mac OS X 10.2.8; with the Developer Tools Installed. |BBasgen:~/Desktop/nrpe-2.0| bbasgen# ./configure checking for a BSD compatible install... /usr/bin/install -c checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether make sets ${MAKE}... yes checking how to run the C preprocessor... gcc -E -traditional-cpp checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for ctype.h... yes checking for dirent.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for getopt.h... no checking for grp.h... yes checking for inttypes.h... yes checking for netdb.h... yes checking for pwd.h... yes checking for signal.h... yes checking for stdint.h... yes checking for strings.h... yes checking for string.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for arpa/inet.h... yes checking for netinet/in.h... yes checking for sys/types.h... yes checking for sys/time.h... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking for sys/socket.h... yes checking for sys/stat.h... yes checking for working const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking size of int... 4 checking size of short... 2 checking size of long... 4 checking for uint32_t... no checking for u_int32_t... yes checking for int32_t... yes checking for main in -lnsl... no checking for socket in -lsocket... no checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for type of socket size... size_t checking for SSL... SSL found in /usr *** Generating DH Parameters for SSL/TLS *** warning, not much extra random data, consider using the -rand option Generating DH parameters, 512 bit long safe prime, generator 2 This is going to take a long time +*++*++*++*++*++* checking for Kerberos include files... could not find include files checking for perl... /usr/bin/perl creating ./config.status creating Makefile creating src/Makefile creating subst creating common/config.h *** Configuration summary for nrpe 2.0 09-08-2003 ***: General Options: ------------------------- NRPE port: 5666 NRPE user: nagios NRPE group: nagios Review the options above for accuracy. If they look okay, type 'make all' to compile the NRPE daemon and client. Regards, ........................................ Brian Basgen Systems Administrator EPIX Medical 71 Rogers St Cambridge MA, 02142 .......................................... ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Mon Oct 13 21:10:39 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Mon, 13 Oct 2003 15:10:39 -0400 Subject: Questions on migrating to DistributedEnvironment on Nag 1.1 Message-ID: <5F29693503507B4FB4032686ADF862673B5B32@mtviny25.mtvi.com> James, No problem... The statement regarding host checks is at the end of http://nagios.sourceforge.net/docs/1_0/distributed.html "Performing Host Checks - At this point you know how to obtain service check results passivly from distributed servers. This means that the central server is not actively checking services on its own. But what about host checks? You still need to do them, so how? Since host checks usually compromise a small part of monitoring activity (they aren't done unless absolutely necessary), I'd recommend that you perform host checks actively from the central server. That means that you define host checks on the central server the same way that you do on the distributed servers (and the same way you would in a normal, non-distributed setup). There are ways to obtain host checks passively, but implementing them is beyond the scope of what I care to write about at this time. :-)" As for the config files my sympathies for being in a primarily windows shop :) I hear NagMin works quite well but I'm not sure if anyone has used it in a distributed monitoring environment or if it can be customized to be used in one. Perhaps someone else has done this? Regards, Keith -----Original Message----- From: James Harrison [mailto:james.harrison at amcg.com] Sent: Monday, October 13, 2003 3:04 PM To: Hochberg, Keith Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Questions on migrating to DistributedEnvironment on Nag 1.1 On Mon, 2003-10-13 at 11:37, Hochberg, Keith wrote: > > 1. Where do I do check_host_alive? Central or Distributed? > > The central server executes the host check command defined in hosts.cfg > after it receives data passively that a service has gone into a HARD > state. Passive host checks should be possible with Nagios 2.0 (per > Ethan). Thanks, that explains a lot. Is this info in the doc's somewhere that I missed? Should it be added?(I know with 2.0 on the way it may be moot) > > For 2 and 3 I have never seen this happen on my build... the only thing > I can think of is to make sure your freshness_threshold is set to an > interval that the active server should be sending data for that service. Ahh!! Freshness threshold indeed. I loosened it up a bit and all is better. > > > 4. For members of the list who are managing large Nagios > implementations "thousands of services on hundreds of hosts", how are > your configs managed? I'm currently using Nagmin, which seems ok, but > was just curious what big sites might be doing. > > I manage my configs by hand... if you ask me it's the only way to do it. I'm in a primarily MS shop and our managers want to make sure that any of the Linux stuff is "easy" to use/manage if any of us *nix guys disappear, get runover, etc,etc. (I'm not sure what could be easier to manage than a text file either.) Anyway, I'm tryin' to provide some kinda GUI so these guys can manage it as well. Thanks for the info. -- James Harrison RHCE, CCNA ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pagerc at ufl.edu Mon Oct 13 22:45:46 2003 From: pagerc at ufl.edu (Raymond Page) Date: Mon, 13 Oct 2003 16:45:46 -0400 Subject: Socket timeout after 10 seconds from tcp check Message-ID: <200310131645.46696.pagerc@ufl.edu> I'm using Nagios to monitor a mail system and I frequently get what seems to be false positives from nagios whenever a tcp connect to the pop server occurs. The error message I get is "Socket timeout after 10 seconds". I'm curious if this might be a problem with the machine nagios is running on, or it is truly a problem with the pop server not responding. If it helps, I'm also checking IMAP on the same machines, and those rarely give me any notices to socket timeouts and they are accurate when they do occur. So there is a significant discrepancy between error messages from the pop and imap services even though they exist on the same machines. This isn't a single machine but a cluster I'm checking, and it happens to be a problem that all of the pop checks have not just one machine. I'm running Nagios under Gentoo Linux on a Pentium 3 866Mhz. I have a 5 second interval, running a normal check interval of 30 seconds, and a retry check interval of 20 seconds. Max retry attempts of 6. If anyone has an idea where or why I'd be getting false positives in this situation, I'd really appreciate anything to go off of. -- Raymond Page ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From william.l.lewis at usa.net Mon Oct 13 23:14:01 2003 From: william.l.lewis at usa.net (bill lewis) Date: Mon, 13 Oct 2003 15:14:01 -0600 Subject: timeperiods Message-ID: <902HJmVoB7920S08.1066079641@uwdvg008.cms.usa.net> Is there a way to do timeperiods that have actual dates attached to them? Obviously, so you could set up a complete schedule of an on-call rotation? thanks, Bill Lewis ----- William L. Lewis email: william.l.lewis at usa.net "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." --Ben Franklin ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bagpuss at lodge.glasgownet.com Tue Oct 14 01:35:07 2003 From: bagpuss at lodge.glasgownet.com (Bagpuss The Cat) Date: Tue, 14 Oct 2003 00:35:07 +0100 Subject: No permissions In-Reply-To: References: <1066021690.13188.14.camel@sr-ellg01-02> Message-ID: <1066088105.25820.9.camel@black.lodge.glasgownet.com> On Mon, 2003-10-13 at 08:17, Sami Haahtinen wrote: > Kyle Gordon wrote: > > I've recently installed nagios-mysql from the Debian testing branch, and > > I'm having endless problems with the cgi authentication. I can log in > > fine (using mod_auth_pam), and I've set all the authorization options in > > cgi.cfg to allow the username that I use. When logged in, it says up in > > the top right 'Logged in as bagpuss', so I would assume that it knows > > who I am etc. > > Does your username match the contact name in your nagios configuration? > Nagios appears to use your username which you used to authenticate to > apache to check which services you are allowed to view. > > Change your contact name to match your apache username (or the other way > around) or mark the username as a GOD! *evil laughter* But i don't > really recommend this. > > Regards, Sami > Hi, I've now set contact_name in contacts.cfg to the same as my username in apache, and added myself to the necessary contact groups in contactgroups.cfg, but I still get this error message. After Nagios is restarted there are no useful messages in the logs, so I"m not getting any hints that way unfortunately. As a side issue (possibly related?) it doesn't appear to be creating/writing the status.log file, yet it is all up and running and the config file checks all pass sucessfully. Any further thoughts? Regards Kyle > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From matt at ivaluehost.net Tue Oct 14 01:32:49 2003 From: matt at ivaluehost.net (Matthew Davis) Date: Mon, 13 Oct 2003 18:32:49 -0500 (CDT) Subject: Localhost web access only Message-ID: <6532.32281697473$1066088831@news.gmane.org> When accessing the nagios cgi's from a host other than localhost, I get the 500 Internal error. "Premature end of script headers" is the error message in the web log. I'm using nagios 1.1 on Redhat 9, and I made sure debugging was disabled (as the faq suggests). The httpd.conf file allows access to all hosts, the deny section is gone. I'm using http auth, which lets me see the nagios pages. And I login successfully using lynx on localhost, and I can see everything just fine, but like I said, not from any other host. Any ideas? Running from the command line also displays the right information. -- Matthew Davis ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Oct 14 05:38:35 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 13 Oct 2003 23:38:35 -0400 (EDT) Subject: lexmark printer check ??? In-Reply-To: <1012BD903945D411915500105A48FF5701C738DD@nt.man.fwltech.com> References: <1012BD903945D411915500105A48FF5701C738DD@nt.man.fwltech.com> Message-ID: Try the following: http://sourceforge.net/tracker/?func=detail&aid=736655&group_id=29880&atid=541465 -sg On Mon, 13 Oct 2003, Ewan Leith wrote: > I think you can use a HP Jetdirect test for it. I can't find an existing > test, but you could make your own using npadmin from > http://npadmin.sourceforge.net/ > > Ewan > > -----Original Message----- > From: Schneck Dennis ITS2 SDE [mailto:sde at HNT.HELLER-Machines.com] > Sent: 13 October 2003 12:04 > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] lexmark printer check ??? > > > hello, > > soory about my poor english > > i need a plugin to check lexmark laser printer mit lexmark marknet > printerserver or with intern lexmark printservers > > and hp printer on lexmark marknet printserver > > > thankx > > dennis > The information contained in this email is intended solely for the > addressee. If you are not the intended recipient or his representative, any > form of disclosure, reproduction, distribution or any action taken or > refrained from in reliance on it, is prohibited and may be unlawful. Please > notify the sender immediately. All statements of opinion or advice directed > via this email to the addressee are subject to the regulations expressed in > the quotation or order and, in particular, in the general order terms and > conditions and in the individual liability agreement. The content of this > email is not legally binding unless confirmed by letter. The sending of > emails to us will not constitute compliance with any time limits or > deadlines. We also like to inform you that communication via email over the > internet is insecure because third parties may have the possibility to > access and manipulate emails. For this reason we will not send any > confidential information via email over the int ernet. > ---------------------------------------------------------------------- This > message has been checked for all known viruses by e:)scan. For further > information please contact the postmaster: > mailto:postmaster at heller-machines.com > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bradley_Raatz at health.qld.gov.au Tue Oct 14 07:23:39 2003 From: Bradley_Raatz at health.qld.gov.au (Bradley Raatz) Date: Tue, 14 Oct 2003 15:23:39 +1000 Subject: statusmap.cgi Message-ID: when compiling nagios 1.1 it does not compile statusmap.cgi. It does not seam to give any error messages that I can see. Can someone help or email me the statusmap.cgi file from their install. Many thanks Brad. *********************************************************************************** This email, including any attachments sent with it, is confidential and for the sole use of the intended recipients(s). This confidentiality is not waived or lost, if you receive it and you are not the intended recipient(s), or if it is transmitted/received in error. Any unauthorised use, alteration, disclosure, distribution or review of this email is prohibited. It may be subject to a statutory duty of confidentiality if it relates to health service matters. If you are not the intended recipients(s), or if you have received this e-mail in error, you are asked to immediately notify the sender by telephone or by return e-mail. You should also delete this e-mail message and destroy any hard copies produced. *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From fredrik.wanglund at datavis.se Tue Oct 14 08:21:05 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 14 Oct 2003 08:21:05 +0200 Subject: [Apan-users] Re: nagios and apan cause server to crash... References: <003601c38db1$506db240$0300a8c0@optiplex> <1066059132.22844.28.camel@localhost> Message-ID: <3F8B95D1.8010104@datavis.se> What platform/version are you running on? I'm running without any problem under RedHat 8.0 on a PIII 1400MHz with 170 hosts, 200 apan-services and 300 'normal' services. My system-load stays between 1 and 2, CPU is mainly >80% idle jeff vier wrote: >I'm having the same problem here. > >I have been capturing dumps of the top command, pulling only active >processes. It looks like something causes an instance of apan.sh to >hang, and then they just start piling up (fast). > >The load is usually under 1.0 (sometimes jumping up to 1.xx - no big >deal). When it died, my load was over 80 (yes eighty) with 46 (maybe >more) *active* apan processes (not sure of the actual count, top dump >only shows 62 lines of processes. It said 73 running, though, so likely >more were apan.sh - also, unknown count of inactive apan.sh process >sitting and waiting), 17 zombies (unknown parent, alas). 99% CPU usage >on CPU0, 100% on CPU1. Yikes. This jump happened over 16 minutes, at >which point my crons no longer ran, so who knows how badly it kept >piling up. > >apan.debug log file doesn't show anything abnormal (whee.) > >I'm going to have to write a watcher to manually kill the hanging >apan.sh procs, which I don't want to do for fear of inadvertently >killing valid processes, but I am quite sick of having to go over to the >colo to poke the power button once a week (only been in production 3 >weeks - 4 crashes so far). > >I'm going to increase my level of manual debugging, too, of processes, >etc. I'll post any new insight. > >--jeff > >On Wed, 2003-10-08 at 10:31, Matthew Wilson wrote: > > >>UPDATE: I have checked and my nagios installation does not have ePN compiled >>in. So this is not the cause. I would greatly appreciate any suggestions >> on how to prevent/cure this problem. >> >> >> >>>Thanks >>>Matthew Wilson. >>> >>> >>>>Matthew Wilson wrote: >>>> >>>> >>>> >>>>>Hi guys, >>>>>I have read in the list archives in the last couple of months a few >>>>>threads about nagios and apan chewing up memory. I have tried a few >>>>>of the solutions posted but still have no joy. >>>>> >>>>> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: SF.net Giveback Program. >>SourceForge.net hosts over 70,000 Open Source Projects. >>See the people who have HELPED US provide better services: >>Click here: http://sourceforge.net/supporters.php >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: 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 SF.net email is sponsored by: SF.net Giveback Program. >SourceForge.net hosts over 70,000 Open Source Projects. >See the people who have HELPED US provide better services: >Click here: http://sourceforge.net/supporters.php >_______________________________________________ >Apan-users mailing list >Apan-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/apan-users > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.wanglund at datavis.se Tue Oct 14 09:25:17 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 14 Oct 2003 09:25:17 +0200 Subject: [Apan-users] Re: nagios and apan cause server to crash... References: Message-ID: <3F8BA4DD.3010904@datavis.se> I have service_reaper_frequency=3, and I remember that before I changed it from the default, my load used to be 8-10. /FredrikW Evan Weston wrote: >I was having a simmilar problem under Redhat 9 on a pIII 900 512 meg ram. > >I set 'service_reaper_frequency=4' instead of the default 'service_reaper_frequency=10' in the 'nagios.cfg' file and its completely stable now. > >Evan Weston > > >-----Original Message----- >From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] >Sent: Tuesday, 14 October 2003 4:21 PM >To: jeff vier >Cc: Matthew Wilson; nagios-users; Apan-users List >Subject: Re: [Apan-users] Re: [Nagios-users] nagios and apan cause server to crash... > >What platform/version are you running on? > >I'm running without any problem under RedHat 8.0 on a PIII 1400MHz with >170 hosts, 200 apan-services and 300 'normal' services. >My system-load stays between 1 and 2, CPU is mainly >80% idle > >jeff vier wrote: > > > >>I'm having the same problem here. >> >>I have been capturing dumps of the top command, pulling only active >>processes. It looks like something causes an instance of apan.sh to >>hang, and then they just start piling up (fast). >> >>The load is usually under 1.0 (sometimes jumping up to 1.xx - no big >>deal). When it died, my load was over 80 (yes eighty) with 46 (maybe >>more) *active* apan processes (not sure of the actual count, top dump >>only shows 62 lines of processes. It said 73 running, though, so likely >>more were apan.sh - also, unknown count of inactive apan.sh process >>sitting and waiting), 17 zombies (unknown parent, alas). 99% CPU usage >>on CPU0, 100% on CPU1. Yikes. This jump happened over 16 minutes, at >>which point my crons no longer ran, so who knows how badly it kept >>piling up. >> >>apan.debug log file doesn't show anything abnormal (whee.) >> >>I'm going to have to write a watcher to manually kill the hanging >>apan.sh procs, which I don't want to do for fear of inadvertently >>killing valid processes, but I am quite sick of having to go over to the >>colo to poke the power button once a week (only been in production 3 >>weeks - 4 crashes so far). >> >>I'm going to increase my level of manual debugging, too, of processes, >>etc. I'll post any new insight. >> >>--jeff >> >>On Wed, 2003-10-08 at 10:31, Matthew Wilson wrote: >> >> >> >> >>>UPDATE: I have checked and my nagios installation does not have ePN compiled >>>in. So this is not the cause. I would greatly appreciate any suggestions >>>on how to prevent/cure this problem. >>> >>> >>> >>> >>> >>>>Thanks >>>>Matthew Wilson. >>>> >>>> >>>> >>>> >>>>>Matthew Wilson wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>Hi guys, >>>>>>I have read in the list archives in the last couple of months a few >>>>>>threads about nagios and apan chewing up memory. I have tried a few >>>>>>of the solutions posted but still have no joy. >>>>>> >>>>>> >>>>>> >>>>>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: SF.net Giveback Program. >>>SourceForge.net hosts over 70,000 Open Source Projects. >>>See the people who have HELPED US provide better services: >>>Click here: http://sourceforge.net/supporters.php >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: 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 SF.net email is sponsored by: SF.net Giveback Program. >>SourceForge.net hosts over 70,000 Open Source Projects. >>See the people who have HELPED US provide better services: >>Click here: http://sourceforge.net/supporters.php >>_______________________________________________ >>Apan-users mailing list >>Apan-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/apan-users >> >> >> >> > > > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >SourceForge.net hosts over 70,000 Open Source Projects. >See the people who have HELPED US provide better services: >Click here: http://sourceforge.net/supporters.php >_______________________________________________ >Apan-users mailing list >Apan-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/apan-users > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bertrand at delepine.info Tue Oct 14 09:52:32 2003 From: bertrand at delepine.info (Bertrand DELEPINE) Date: Tue, 14 Oct 2003 09:52:32 +0200 Subject: statusmap.cgi In-Reply-To: References: Message-ID: <20031014095232.308d2e17.bertrand@delepine.info> On Tue, 14 Oct 2003 15:23:39 +1000 "Bradley Raatz" wrote: > when compiling nagios 1.1 it does not compile statusmap.cgi. It does not seam to give any error messages that I can see. Can someone help or email me the statusmap.cgi file from their install. > > Many thanks > > Brad. > Hi It appears you don't have the required components to compile statusmap.cgi. You must have libgd (http://freshmeat.net/redir/gd/3111/url_homepage/gd), and some other library, like libpng, libjpeg or libgif. I don't think that email to you this file will resolve your problem, while these library are not present. Good luck ! -- Bertrand DELEPINE ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeffrey.Morgan at BristolWest.com Tue Oct 14 13:12:20 2003 From: Jeffrey.Morgan at BristolWest.com (Jeffrey Morgan) Date: Tue, 14 Oct 2003 07:12:20 -0400 Subject: Need help setting up security Message-ID: <061E2C460B6B574D94B538F35E27F8430166F632@ohcleex01.bristolwest.com> I am having troubles setting up Nagios security to achieve my companies goals. I have read the documentation and spent a considerable amount of time trying to get it right but have not had success. I wish to have the majority of the site accessible by anybody on our network without the end user being prompted for a password. When a user attempts to execute one of the CGIs I wish to have the user prompted for their username and password if they are accessing one of the restricted CGIs (as specified in the cgi.conf file). The problem I am having is that when I place a .htaccess file in the sbin directory all users are prompted for authentication even when they are just viewing the status. If I remove this file, users are not prompted for authentication and when they access a cgi (like the cmd.cgi) they are denied access. Can somebody please help me with this problem? Thanks -Jeff ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grik at student.no Tue Oct 14 13:42:30 2003 From: grik at student.no (grik at student.no) Date: Tue, 14 Oct 2003 13:42:30 +0200 Subject: Problems with check_alive Message-ID: <17458111f2.111f217458@student.no> An HTML attachment was scrubbed... URL: From xions at gmx.de Tue Oct 14 13:43:09 2003 From: xions at gmx.de (MArk Horstseld) Date: Tue, 14 Oct 2003 13:43:09 +0200 (MEST) Subject: Nagios Object Definitions stored in DB?? Message-ID: <20702.1066131789@www9.gmx.net> Hi, I was wondering, when I surfed the Upcoming page at www.nagios.org, that there was not mentioned any plan to add database support for object definitions. I searched there, because I read in the documentation, that the current database support does not covers object definitions (hosts, services, etc..). I am administrating a quite large nagios installation including 60 hosts and over 550 Services. From my point of view database support would be very fine, because this would enable me to frontend the creation of new service or host definitions quite simple. Maybe this feature is already implemented and I did not recognize it!?! Thanks in advance, Mark -- NEU F?R ALLE - GMX MediaCenter - f?r Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gru?, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse f?r Mail, Message, More! +++ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From igor.kurtovic at qsc.de Tue Oct 14 14:01:21 2003 From: igor.kurtovic at qsc.de (Igor Kurtovic) Date: Tue, 14 Oct 2003 14:01:21 +0200 Subject: [Apan-users] Re: nagios and apan cause server to crash... In-Reply-To: <3F8BA4DD.3010904@datavis.se> References: <3F8BA4DD.3010904@datavis.se> Message-ID: <1066132881.3700.5.camel@qsclap888.sl.qsc.de> step back to RH 8.0 .. i had similar probs, the only difference was a daily crash :P even with changed reaper-frequency there was no improvement to see. after getting it back on RH 8.0 all is fine again. 300 hosts 1500 services 400 apan's 150 mrtg-hosts all on this box: Dual Xeon III 1 Ghz 2 GB RAM never had any perfomrance issues or stability probs b4 going onto RH 9.0 Regards, Igor On Tue, 2003-10-14 at 09:25, Fredrik W?nglund wrote: > I have service_reaper_frequency=3, and I remember that before I changed > it from the default, my load used to be 8-10. > > /FredrikW > > Evan Weston wrote: > > >I was having a simmilar problem under Redhat 9 on a pIII 900 512 meg ram. > > > >I set 'service_reaper_frequency=4' instead of the default 'service_reaper_frequency=10' in the 'nagios.cfg' file and its completely stable now. > > > >Evan Weston > > > > > >-----Original Message----- > >From: Fredrik W??nglund [mailto:fredrik.wanglund at datavis.se] > >Sent: Tuesday, 14 October 2003 4:21 PM > >To: jeff vier > >Cc: Matthew Wilson; nagios-users; Apan-users List > >Subject: Re: [Apan-users] Re: [Nagios-users] nagios and apan cause server to crash... > > > >What platform/version are you running on? > > > >I'm running without any problem under RedHat 8.0 on a PIII 1400MHz with > >170 hosts, 200 apan-services and 300 'normal' services. > >My system-load stays between 1 and 2, CPU is mainly >80% idle > > > >jeff vier wrote: > > > > > > > >>I'm having the same problem here. > >> > >>I have been capturing dumps of the top command, pulling only active > >>processes. It looks like something causes an instance of apan.sh to > >>hang, and then they just start piling up (fast). > >> > >>The load is usually under 1.0 (sometimes jumping up to 1.xx - no big > >>deal). When it died, my load was over 80 (yes eighty) with 46 (maybe > >>more) *active* apan processes (not sure of the actual count, top dump > >>only shows 62 lines of processes. It said 73 running, though, so likely > >>more were apan.sh - also, unknown count of inactive apan.sh process > >>sitting and waiting), 17 zombies (unknown parent, alas). 99% CPU usage > >>on CPU0, 100% on CPU1. Yikes. This jump happened over 16 minutes, at > >>which point my crons no longer ran, so who knows how badly it kept > >>piling up. > >> > >>apan.debug log file doesn't show anything abnormal (whee.) > >> > >>I'm going to have to write a watcher to manually kill the hanging > >>apan.sh procs, which I don't want to do for fear of inadvertently > >>killing valid processes, but I am quite sick of having to go over to the > >>colo to poke the power button once a week (only been in production 3 > >>weeks - 4 crashes so far). > >> > >>I'm going to increase my level of manual debugging, too, of processes, > >>etc. I'll post any new insight. > >> > >>--jeff > >> > >>On Wed, 2003-10-08 at 10:31, Matthew Wilson wrote: > >> > >> > >> > >> > >>>UPDATE: I have checked and my nagios installation does not have ePN compiled > >>>in. So this is not the cause. I would greatly appreciate any suggestions > >>>on how to prevent/cure this problem. > >>> > >>> > >>> > >>> > >>> > >>>>Thanks > >>>>Matthew Wilson. > >>>> > >>>> > >>>> > >>>> > >>>>>Matthew Wilson wrote: > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>Hi guys, > >>>>>>I have read in the list archives in the last couple of months a few > >>>>>>threads about nagios and apan chewing up memory. I have tried a few > >>>>>>of the solutions posted but still have no joy. > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>------------------------------------------------------- > >>>This SF.net email is sponsored by: SF.net Giveback Program. > >>>SourceForge.net hosts over 70,000 Open Source Projects. > >>>See the people who have HELPED US provide better services: > >>>Click here: http://sourceforge.net/supporters.php > >>>_______________________________________________ > >>>Nagios-users mailing list > >>>Nagios-users at lists.sourceforge.net > >>>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>::: 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 SF.net email is sponsored by: SF.net Giveback Program. > >>SourceForge.net hosts over 70,000 Open Source Projects. > >>See the people who have HELPED US provide better services: > >>Click here: http://sourceforge.net/supporters.php > >>_______________________________________________ > >>Apan-users mailing list > >>Apan-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/apan-users > >> > >> > >> > >> > > > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: SF.net Giveback Program. > >SourceForge.net hosts over 70,000 Open Source Projects. > >See the people who have HELPED US provide better services: > >Click here: http://sourceforge.net/supporters.php > >_______________________________________________ > >Apan-users mailing list > >Apan-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/apan-users > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ******************************** Igor Kurtovic Technische Systeml?sungen QSC AG Phone: +49 221 6698 404 Mobile: +49 163 6698 075 Fax: +49 221 6698 469 WWW: www.q-dsl.de Email: igor.kurtovic at qsc.de ******************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From maillist at foxroach.com Tue Oct 14 13:53:51 2003 From: maillist at foxroach.com (Tory Skyers) Date: Tue, 14 Oct 2003 07:53:51 -0400 Subject: Host state Trends not showing In-Reply-To: References: Message-ID: [Tory:>] Hello all, I have some questions about trends. Can you only view trends for a service? On my installation I can only see the trend diagram for services. I cannot see trends for hosts (check host alive, check dns etc). Is this intended or is it a problem in my setup? Also I am having trouble displaying the pretty pictures of my services and hosts. I've chowned and chgrped all the images to nagios and they are in the nagios dir under images/logos/ nagmin can see them, but nagios can't. Is this an issue w/ nagmin or nagios or me? Define hostextinfo { use cisco1600 host_name cherryhilleast icon_image cisco.png icon_image_alt cicso1600 statusmap_image cisco.png } Thanks in advance ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Tue Oct 14 14:15:01 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 14 Oct 2003 13:15:01 +0100 Subject: Nagios Object Definitions stored in DB?? Message-ID: <0EBC45FCABFC95428EBFC3A51B368C9551393A@jessica.herefordshire.gov.uk> Check out http://nagmin.sf.net It will do what you want, we're using it here to monitor over 100 servers. Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: MArk Horstseld [mailto:xions at gmx.de] > Sent: 14 October 2003 12:43 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios Object Definitions stored in DB?? > > > Hi, > I was wondering, when I surfed the Upcoming page at > www.nagios.org, that > there was not mentioned any plan to add database support for object > definitions. I searched there, because I read in the > documentation, that the current > database support does not covers object definitions (hosts, > services, etc..). > I am administrating a quite large nagios installation > including 60 hosts > and over 550 Services. From my point of view database support > would be very > fine, because this would enable me to frontend the creation > of new service or > host definitions quite simple. > > Maybe this feature is already implemented and I did not > recognize it!?! > > Thanks in advance, > > Mark > > -- > NEU F?R ALLE - GMX MediaCenter - f?r Fotos, Musik, Dateien... > Fotoalbum, File Sharing, MMS, Multimedia-Gru?, GMX FotoService > > Jetzt kostenlos anmelden unter http://www.gmx.net > > +++ GMX - die erste Adresse f?r Mail, Message, More! +++ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ouba at ouba.org Tue Oct 14 14:27:16 2003 From: ouba at ouba.org (Denis Sacchet) Date: Tue, 14 Oct 2003 14:27:16 +0200 Subject: UP:SOFT state problems in avail.cgi Message-ID: <20031014122716.GY20798@ouba.org> Hi everybody, I've noticed some logging problem in nagios and some messages posted to this list seem to confirm my fears : http://article.gmane.org/gmane.network.nagios.user/8963/match=soft http://article.gmane.org/gmane.network.nagios.user/13467/match=soft http://article.gmane.org/gmane.network.nagios.user/9464/match=soft http://article.gmane.org/gmane.network.nagios.user/10496/match=soft http://article.gmane.org/gmane.network.nagios.user/7593/match=soft I've exactly the same problem, the first message give a solution (a patch) but i'm not sure this is the correct solution. As most of the messages are not answered, I wonder if someone has a solution, or at least an explication .... Thx a lot in advanced Cordially -- Denis Sacchet aka. Ouba ("`-/")_.-'"``-._ . . `; -._ )-;-,_`) "Computers are like air conditionners (v_,)' _ )`-.\ ``-' They stop working properly when you _.- _..-_/ / ((.' open Windows !!!" ((,.-' ((,/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grik at student.no Tue Oct 14 14:45:08 2003 From: grik at student.no (grik at student.no) Date: Tue, 14 Oct 2003 14:45:08 +0200 Subject: Problems with check_alive Message-ID: <1260713f37.13f3712607@student.no> An HTML attachment was scrubbed... URL: From grik at student.no Tue Oct 14 15:33:48 2003 From: grik at student.no (grik at student.no) Date: Tue, 14 Oct 2003 15:33:48 +0200 Subject: Problems with check_alive Message-ID: <11fd71754b.1754b11fd7@student.no> An HTML attachment was scrubbed... URL: From fredrik.wanglund at datavis.se Tue Oct 14 16:03:12 2003 From: fredrik.wanglund at datavis.se (=?UTF-8?B?RnJlZHJpayBXw6RuZ2x1bmQ=?=) Date: Tue, 14 Oct 2003 16:03:12 +0200 Subject: [Apan-users] Re: nagios and apan cause server to crash... References: <3F8BA4DD.3010904@datavis.se> <1066132881.3700.5.camel@qsclap888.sl.qsc.de> Message-ID: <3F8C0220.1070301@datavis.se> Is this a RH9 problem? Or is it related to a secific version of the kernel, bash, ... ? What other OS-versions have this problem? /FredrikW Igor Kurtovic wrote: > step back to RH 8.0 .. > > i had similar probs, the only difference was a daily crash :P > > even with changed reaper-frequency there was no improvement to see. > after getting it back on RH 8.0 all is fine again. > > 300 hosts > 1500 services > 400 apan's > 150 mrtg-hosts > > all on this box: > > Dual Xeon III 1 Ghz > 2 GB RAM > > never had any perfomrance issues or stability probs b4 going onto RH 9.0 > > Regards, Igor > > > > On Tue, 2003-10-14 at 09:25, Fredrik W?nglund wrote: > >>I have service_reaper_frequency=3, and I remember that before I changed >>it from the default, my load used to be 8-10. >> >>/FredrikW >> >>Evan Weston wrote: >> >>>I was having a simmilar problem under Redhat 9 on a pIII 900 512 meg ram. >>> >>>I set 'service_reaper_frequency=4' instead of the default 'service_reaper_frequency=10' in the 'nagios.cfg' file and its completely stable now. >>> >>>Evan Weston >>> >>> >>>-----Original Message----- >>>From: Fredrik W??nglund [mailto:fredrik.wanglund at datavis.se] >>>Sent: Tuesday, 14 October 2003 4:21 PM >>>To: jeff vier >>>Cc: Matthew Wilson; nagios-users; Apan-users List >>>Subject: Re: [Apan-users] Re: [Nagios-users] nagios and apan cause server to crash... >>> >>>What platform/version are you running on? >>> >>>I'm running without any problem under RedHat 8.0 on a PIII 1400MHz with >>>170 hosts, 200 apan-services and 300 'normal' services. >>>My system-load stays between 1 and 2, CPU is mainly >80% idle >>> >>>jeff vier wrote: >>> >>> >>> >>>>I'm having the same problem here. >>>> >>>>I have been capturing dumps of the top command, pulling only active >>>>processes. It looks like something causes an instance of apan.sh to >>>>hang, and then they just start piling up (fast). >>>> >>>>The load is usually under 1.0 (sometimes jumping up to 1.xx - no big >>>>deal). When it died, my load was over 80 (yes eighty) with 46 (maybe >>>>more) *active* apan processes (not sure of the actual count, top dump >>>>only shows 62 lines of processes. It said 73 running, though, so likely >>>>more were apan.sh - also, unknown count of inactive apan.sh process >>>>sitting and waiting), 17 zombies (unknown parent, alas). 99% CPU usage >>>>on CPU0, 100% on CPU1. Yikes. This jump happened over 16 minutes, at >>>>which point my crons no longer ran, so who knows how badly it kept >>>>piling up. >>>> >>>>apan.debug log file doesn't show anything abnormal (whee.) >>>> >>>>I'm going to have to write a watcher to manually kill the hanging >>>>apan.sh procs, which I don't want to do for fear of inadvertently >>>>killing valid processes, but I am quite sick of having to go over to the >>>>colo to poke the power button once a week (only been in production 3 >>>>weeks - 4 crashes so far). >>>> >>>>I'm going to increase my level of manual debugging, too, of processes, >>>>etc. I'll post any new insight. >>>> >>>>--jeff >>>> >>>>On Wed, 2003-10-08 at 10:31, Matthew Wilson wrote: >>>> >>>> >>>> >>>> >>>>>UPDATE: I have checked and my nagios installation does not have ePN compiled >>>>>in. So this is not the cause. I would greatly appreciate any suggestions >>>>>on how to prevent/cure this problem. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>Thanks >>>>>>Matthew Wilson. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>>Matthew Wilson wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>Hi guys, >>>>>>>>I have read in the list archives in the last couple of months a few >>>>>>>>threads about nagios and apan chewing up memory. I have tried a few >>>>>>>>of the solutions posted but still have no joy. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>------------------------------------------------------- >>>>>This SF.net email is sponsored by: SF.net Giveback Program. >>>>>SourceForge.net hosts over 70,000 Open Source Projects. >>>>>See the people who have HELPED US provide better services: >>>>>Click here: http://sourceforge.net/supporters.php >>>>>_______________________________________________ >>>>>Nagios-users mailing list >>>>>Nagios-users at lists.sourceforge.net >>>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>>::: 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 SF.net email is sponsored by: SF.net Giveback Program. >>>>SourceForge.net hosts over 70,000 Open Source Projects. >>>>See the people who have HELPED US provide better services: >>>>Click here: http://sourceforge.net/supporters.php >>>>_______________________________________________ >>>>Apan-users mailing list >>>>Apan-users at lists.sourceforge.net >>>>https://lists.sourceforge.net/lists/listinfo/apan-users >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: SF.net Giveback Program. >>>SourceForge.net hosts over 70,000 Open Source Projects. >>>See the people who have HELPED US provide better services: >>>Click here: http://sourceforge.net/supporters.php >>>_______________________________________________ >>>Apan-users mailing list >>>Apan-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/apan-users >>> >>> >> >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: SF.net Giveback Program. >>SourceForge.net hosts over 70,000 Open Source Projects. >>See the people who have HELPED US provide better services: >>Click here: http://sourceforge.net/supporters.php >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> >-- >******************************** > >Igor Kurtovic >Technische Systeml?sungen >QSC AG > >Phone: +49 221 6698 404 >Mobile: +49 163 6698 075 >Fax: +49 221 6698 469 >WWW: www.q-dsl.de >Email: igor.kurtovic at qsc.de > >******************************** > > > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.G.Martin at mail.sprint.com Tue Oct 14 16:07:55 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [CC]) Date: Tue, 14 Oct 2003 09:07:55 -0500 Subject: NagMIN Question Message-ID: <516DA7BE5D87C8469D89F150CA0B491102BDA9D6@PDAWB02C.ad.sprint.com> I've posed this question to the NagMIN user group and have received no response. Those of you using NagMIN, I can't seem to find a way to add an Event Handler. There's a configuration to enable Event Handling, but I am unable to add it to a service. The field just isn't there. Anybody see a way around this? Stanley G. Martin System Administrator Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeld at bnl.gov Tue Oct 14 16:13:42 2003 From: jeld at bnl.gov (Dmitriy Kropivnitskiy) Date: Tue, 14 Oct 2003 10:13:42 -0400 Subject: NagMIN Question In-Reply-To: <516DA7BE5D87C8469D89F150CA0B491102BDA9D6@PDAWB02C.ad.sprint.com> References: <516DA7BE5D87C8469D89F150CA0B491102BDA9D6@PDAWB02C.ad.sprint.com> Message-ID: <3F8C0496.9090603@bnl.gov> I see 2 distinct alternatives: 1. Go and change the config file by hand. 2. Go and fix NagMIN (shouldn't be overly difficult) Martin, Stanley G [CC] wrote: > I?ve posed this question to the NagMIN user group and have received no > response. Those of you using NagMIN, I can?t seem to find a way to add > an Event Handler. There?s a configuration to enable Event Handling, > but I am unable to add it to a service. The field just isn?t there. > Anybody see a way around this? > > Stanley G. Martin > > System Administrator > Sprint ? EAS Business Intelligence > > Stanley.G.Martin at mail.sprint.com > -- package JAPH;sub x{$/='$';@1=map{$_=ord;$_--;chr} split//,;@2=map{$_=ord;$_++;chr}split// ,;$_=sub{$.++%2?shift at 2:shift at 1};bless$_;} 1;$x=JAPH->x;for(1..25){print&$x,;}__DATA__ Kt!ouf!fmIdf"$ts at ngqOq`jq ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthewwilson at dsl.pipex.com Tue Oct 14 16:15:20 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: 14 Oct 2003 15:15:20 +0100 Subject: [Apan-users] Re: nagios and apan cause server to crash... In-Reply-To: <3F8C0220.1070301@datavis.se> References: <3F8BA4DD.3010904@datavis.se> <1066132881.3700.5.camel@qsclap888.sl.qsc.de> <3F8C0220.1070301@datavis.se> Message-ID: <1066140919.4154.27.camel@localhost.localdomain> I am seeing this on RH9, bash 2.05b.0(1)-release (i386-redhat-linux-gnu), kernel 2.4.20-20.9 Matthew W DC-Sat.net On Tue, 2003-10-14 at 15:03, Fredrik W?nglund wrote: > Is this a RH9 problem? Or is it related to a secific version of the > kernel, bash, ... ? > What other OS-versions have this problem? > > /FredrikW > > > > Igor Kurtovic wrote: > > > step back to RH 8.0 .. > > > > i had similar probs, the only difference was a daily crash :P > > > > even with changed reaper-frequency there was no improvement to see. > > after getting it back on RH 8.0 all is fine again. > > > > 300 hosts > > 1500 services > > 400 apan's > > 150 mrtg-hosts > > > > all on this box: > > > > Dual Xeon III 1 Ghz > > 2 GB RAM > > > > never had any perfomrance issues or stability probs b4 going onto RH 9.0 > > > > Regards, Igor > > > > > > > > On Tue, 2003-10-14 at 09:25, Fredrik W?nglund wrote: > > > >>I have service_reaper_frequency=3, and I remember that before I changed > >>it from the default, my load used to be 8-10. > >> > >>/FredrikW > >> > >>Evan Weston wrote: > >> > >>>I was having a simmilar problem under Redhat 9 on a pIII 900 512 meg ram. > >>> > >>>I set 'service_reaper_frequency=4' instead of the default 'service_reaper_frequency=10' in the 'nagios.cfg' file and its completely stable now. > >>> > >>>Evan Weston > >>> > >>> > >>>-----Original Message----- > >>>From: Fredrik W??nglund [mailto:fredrik.wanglund at datavis.se] > >>>Sent: Tuesday, 14 October 2003 4:21 PM > >>>To: jeff vier > >>>Cc: Matthew Wilson; nagios-users; Apan-users List > >>>Subject: Re: [Apan-users] Re: [Nagios-users] nagios and apan cause server to crash... > >>> > >>>What platform/version are you running on? > >>> > >>>I'm running without any problem under RedHat 8.0 on a PIII 1400MHz with > >>>170 hosts, 200 apan-services and 300 'normal' services. > >>>My system-load stays between 1 and 2, CPU is mainly >80% idle > >>> > >>>jeff vier wrote: > >>> > >>> > >>> > >>>>I'm having the same problem here. > >>>> > >>>>I have been capturing dumps of the top command, pulling only active > >>>>processes. It looks like something causes an instance of apan.sh to > >>>>hang, and then they just start piling up (fast). > >>>> > >>>>The load is usually under 1.0 (sometimes jumping up to 1.xx - no big > >>>>deal). When it died, my load was over 80 (yes eighty) with 46 (maybe > >>>>more) *active* apan processes (not sure of the actual count, top dump > >>>>only shows 62 lines of processes. It said 73 running, though, so likely > >>>>more were apan.sh - also, unknown count of inactive apan.sh process > >>>>sitting and waiting), 17 zombies (unknown parent, alas). 99% CPU usage > >>>>on CPU0, 100% on CPU1. Yikes. This jump happened over 16 minutes, at > >>>>which point my crons no longer ran, so who knows how badly it kept > >>>>piling up. > >>>> > >>>>apan.debug log file doesn't show anything abnormal (whee.) > >>>> > >>>>I'm going to have to write a watcher to manually kill the hanging > >>>>apan.sh procs, which I don't want to do for fear of inadvertently > >>>>killing valid processes, but I am quite sick of having to go over to the > >>>>colo to poke the power button once a week (only been in production 3 > >>>>weeks - 4 crashes so far). > >>>> > >>>>I'm going to increase my level of manual debugging, too, of processes, > >>>>etc. I'll post any new insight. > >>>> > >>>>--jeff > >>>> > >>>>On Wed, 2003-10-08 at 10:31, Matthew Wilson wrote: > >>>> > >>>> > >>>> > >>>> > >>>>>UPDATE: I have checked and my nagios installation does not have ePN compiled > >>>>>in. So this is not the cause. I would greatly appreciate any suggestions > >>>>>on how to prevent/cure this problem. > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>Thanks > >>>>>>Matthew Wilson. > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>>>Matthew Wilson wrote: > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>>Hi guys, > >>>>>>>>I have read in the list archives in the last couple of months a few > >>>>>>>>threads about nagios and apan chewing up memory. I have tried a few > >>>>>>>>of the solutions posted but still have no joy. > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>------------------------------------------------------- > >>>>>This SF.net email is sponsored by: SF.net Giveback Program. > >>>>>SourceForge.net hosts over 70,000 Open Source Projects. > >>>>>See the people who have HELPED US provide better services: > >>>>>Click here: http://sourceforge.net/supporters.php > >>>>>_______________________________________________ > >>>>>Nagios-users mailing list > >>>>>Nagios-users at lists.sourceforge.net > >>>>>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>>>::: 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 SF.net email is sponsored by: SF.net Giveback Program. > >>>>SourceForge.net hosts over 70,000 Open Source Projects. > >>>>See the people who have HELPED US provide better services: > >>>>Click here: http://sourceforge.net/supporters.php > >>>>_______________________________________________ > >>>>Apan-users mailing list > >>>>Apan-users at lists.sourceforge.net > >>>>https://lists.sourceforge.net/lists/listinfo/apan-users > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>> > >>>------------------------------------------------------- > >>>This SF.net email is sponsored by: SF.net Giveback Program. > >>>SourceForge.net hosts over 70,000 Open Source Projects. > >>>See the people who have HELPED US provide better services: > >>>Click here: http://sourceforge.net/supporters.php > >>>_______________________________________________ > >>>Apan-users mailing list > >>>Apan-users at lists.sourceforge.net > >>>https://lists.sourceforge.net/lists/listinfo/apan-users > >>> > >>> > >> > >> > >> > >> > >>------------------------------------------------------- > >>This SF.net email is sponsored by: SF.net Giveback Program. > >>SourceForge.net hosts over 70,000 Open Source Projects. > >>See the people who have HELPED US provide better services: > >>Click here: http://sourceforge.net/supporters.php > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null > >> > >-- > >******************************** > > > >Igor Kurtovic > >Technische Systeml?sungen > >QSC AG > > > >Phone: +49 221 6698 404 > >Mobile: +49 163 6698 075 > >Fax: +49 221 6698 469 > >WWW: www.q-dsl.de > >Email: igor.kurtovic at qsc.de > > > >******************************** > > > > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Alexis.chauvin at courtsplc.com Tue Oct 14 16:21:31 2003 From: Alexis.chauvin at courtsplc.com (Alexis Chauvin) Date: Tue, 14 Oct 2003 15:21:31 +0100 Subject: Problems with check_alive Message-ID: <9CE577193CB1344E9F9315263C7172DE2815CE@perceval.london.courtsplc.com> Hi, Can you run the command from the command line ? Ex : On my redhat it's for example $ /usr/local/nagios/libexec/check_ping -H ip.of.dst.host -w 100.0,80% -c 200.0,100% -p 2 if it return any status, that means the command is working regards alexis -----Original Message----- From: grik at student.no [mailto:grik at student.no] Sent: 14 October 2003 13:45 To: Matthew Wilson Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problems with check_alive I cant find any called command.cfg but one called checkcommands.cfg I cant really find any pointer to what command nagios really does, but here is what I found in checkcommands.cfg # 'check-host-alive' command definition define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADRESS -w 3000. 0, 80% -c 5000. 0, 100% -p 1 } So I am not sure where I can find the command that nagios really is running. I should mention that I havent installed any plugins or add-on's yet, this is right from distributed .tar.gz Maybe I am missing something ? The check_ping definition in checkcommands.cfg looks like this: # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADRESS -w $ARG1$ -c $ARG2$ -p 5 Mvh Kjell Grindalen ----- Original Message ----- From: Matthew Wilson Date: Tuesday, October 14, 2003 2:22 pm Subject: Re: [Nagios-users] Problems with check_alive > Hi, > Have a look at you commands.cfg and check the command definiton for > check_ping / check_host_alive and try running it from the command > line. > If it doesn't work, post the full command definition and we can > take a > look. > > Matthew Wilson > DC-Sat.net > > On Tue, 2003-10-14 at 12:42, grik at student.no wrote: > > Hello! > > > > > > > > I have a small problem with the check alive standard check service > > > > > > > > In my nagios.log I get the following: > > > > SERVICE ALERT: hostname; PING;WARNING;HARD;3; (No output!) > > > > For all the hosts > > > > I searched a little, but couldnt find anything matching my problem. > > > > The nagios server is running on a Solaris 9 server, and I have 6 > other> Solaris servers that I am watching with Nagios. I was > thinking that > > this had something to do with statistics about the icmp packet and > > tried to add a -v to the check-host-alive command like this: > > $USER1/check_ping -v -H $HOSTNAME -w etc... > > This didnt help, so maybe it has nothing to do with the Solaris > > implementation of ping..? > > > > > > Any advice for a newbie at Nagios ? > > > > ------------------------------------------------------- This SF.net > > email is sponsored by: SF.net Giveback Program. SourceForge.net > hosts> over 70,000 Open Source Projects. See the people who have > HELPED US > > provide better services: Click here: > > http://sourceforge.net/supporters.php > > _______________________________________________ Nagios-users mailing > > list Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: From Stanley.G.Martin at mail.sprint.com Tue Oct 14 16:34:28 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [CC]) Date: Tue, 14 Oct 2003 09:34:28 -0500 Subject: NagMIN Question Message-ID: <516DA7BE5D87C8469D89F150CA0B491102BDAA5B@PDAWB02C.ad.sprint.com> I do see where I can add an Event Handler in a Service Template, but that would mean I'd have to create a new Template for each service that would require a unique Event. Thanks for the suggestions. Stanley G. Martin System Administrator Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com -----Original Message----- From: Dmitriy Kropivnitskiy [mailto:jeld at bnl.gov] Sent: Tuesday, October 14, 2003 9:14 AM Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NagMIN Question I see 2 distinct alternatives: 1. Go and change the config file by hand. 2. Go and fix NagMIN (shouldn't be overly difficult) Martin, Stanley G [CC] wrote: > I've posed this question to the NagMIN user group and have received no > response. Those of you using NagMIN, I can't seem to find a way to add > an Event Handler. There's a configuration to enable Event Handling, > but I am unable to add it to a service. The field just isn't there. > Anybody see a way around this? > > Stanley G. Martin > > System Administrator > Sprint - EAS Business Intelligence > > Stanley.G.Martin at mail.sprint.com > -- package JAPH;sub x{$/='$';@1=map{$_=ord;$_--;chr} split//,;@2=map{$_=ord;$_++;chr}split// ,;$_=sub{$.++%2?shift at 2:shift at 1};bless$_;} 1;$x=JAPH->x;for(1..25){print&$x,;}__DATA__ Kt!ouf!fmIdf"$ts at ngqOq`jq ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnorton at broadgap.com Tue Oct 14 16:34:42 2003 From: jnorton at broadgap.com (Jerry Norton) Date: Tue, 14 Oct 2003 08:34:42 -0600 Subject: Problems with check_alive In-Reply-To: <1260713f37.13f3712607@student.no> References: <1260713f37.13f3712607@student.no> Message-ID: <000801c39260$5083b370$1000a8c0@CORP.BROADGAP.COM> I'm not sure if you cut and pasted the commands in or typed them in this message but your "hostaddress" variable isn't enclosed in '$' (it's missing the closing). Also you have '$HOSTADRESS' misspelled. Address has 2 d's. It should read like this: $HOSTADDRESS$ As suggested, try running the command (./check_ping 127.0.0.1 -w 3000,80% -c 5000,100%) at the command prompt to see if it works there. Jerry Norton broadGap Technologies 801.763.8056 - 802 East Bamberger Drive - American Fork - Utah - 84003 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of grik at student.no Sent: Tuesday, October 14, 2003 6:45 AM To: Matthew Wilson Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problems with check_alive ? I cant find any called command.cfg but one called checkcommands.cfg I cant really find any pointer to what command nagios really does, but here is what I found in checkcommands.cfg # 'check-host-alive' command definition define command{ command_name?? check-host-alive command_line?? $USER1$/check_ping -H $HOSTADRESS -w 3000. 0, 80% -c 5000. 0, 100% -p 1 } So I am not sure where I can find the command that nagios really is running. I should mention that I havent installed any plugins or add-on's yet, this is right from distributed .tar.gz Maybe I am missing something ? The check_ping definition in checkcommands.cfg looks like this: # 'check_ping' command definition define command{ command_name?? check_ping command_line????$USER1$/check_ping -H $HOSTADRESS -w $ARG1$ -c $ARG2$ -p 5 ? Mvh ? Kjell Grindalen ? ? ----- Original Message ----- From: Matthew Wilson Date: Tuesday, October 14, 2003 2:22 pm Subject: Re: [Nagios-users] Problems with check_alive > Hi, > Have a look at you commands.cfg and check the command definiton for > check_ping / check_host_alive and try running it from the command > line. > If it doesn't work, post the full command definition and we can > take a > look. > > Matthew Wilson > DC-Sat.net > > On Tue, 2003-10-14 at 12:42, grik at student.no wrote: > > Hello! > > > > > > > > I have a small problem with the check alive standard check service > > > > > > > > In my nagios.log I get the following: > > > > SERVICE ALERT: hostname; PING;WARNING;HARD;3; (No output!) > > > > For all the hosts > > > > I searched a little, but couldnt find anything matching my problem. > > > > The nagios server is running on a Solaris 9 server, and I have 6 > other> Solaris servers that I am watching with Nagios. I was > thinking that > > this had something to do with statistics about the icmp packet and > > tried to add a -v to the check-host-alive command like this: > > $USER1/check_ping -v -H $HOSTNAME -w etc... > > This didnt help, so maybe it has nothing to do with the Solaris > > implementation of ping..? > > > > > > Any advice for a newbie at Nagios ? > > > > ------------------------------------------------------- This SF.net > > email is sponsored by: SF.net Giveback Program. SourceForge.net > hosts> over 70,000 Open Source Projects. See the people who have > HELPED US > > provide better services: Click here: > > http://sourceforge.net/supporters.php > > _______________________________________________ Nagios-users mailing > > list Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Oct 14 17:26:37 2003 From: jhmartin at toger.us (Jason Martin) Date: Tue, 14 Oct 2003 08:26:37 -0700 (PDT) Subject: Service Dependencies & Wildcards Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I am trying to set up some bulk service dependencies and am having some trouble. I have a server with 50 services on it and a container server that runs them all. I want to make all 50 of the services dependent on the container server to avoid a flood of messages if the container goes down. I'm trying to use a wildcard but am getting an error. Here's my slightly-munged config: define servicedependency{ execution_failure_criteria c,w,u notification_failure_criteria c,w,u dependent_host hostA host_name hostA service_description ContainerServer dependent_service_description *,!ContainerServer } I've copied the label ContainerServer out of my services file so I am sure that the service ContainerServer exists. Here's the prefligh error I get: Checking service dependencies... Error: Dependent service specified in service dependency for service '*,!ContainerServer' on host 'hostA' is not defined anywhere! Error: Dependent service specified in service dependency for service '*,!ContainerServer' on host 'hostA' is not defined anywhere! Checked 174 service dependencies. Checking host escalations... I don't get any errors from the services portion of the preflight check, and if I remove the dependency it monitors the services and ContainerServer just fine. The alternative is to write a quick script to create entries for each of the services within the ContainerServer I suppose, but that doesn't seem the right way to do it. I tried looking at the source code to see where it interpreted the wildcard but couldn't locate it. If I put just * instead of *,!ContainerServer then the preflight coredumps. Any idea what I am doing wrong? This is running Nagios 1.1 on a Debian-Woody machine, compiled from source. Thanks, - -Jason Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/jBWzl2ODWuqVSBMRArqmAJ0YiXrzS1uYzV3kMEjbD+ufGp69IQCdFEXs AkEDutag5LE23XZlk3SsJJg= =fP5o -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Tue Oct 14 17:47:07 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 14 Oct 2003 10:47:07 -0500 Subject: [Apan-users] Re: nagios and apan cause server to crash... In-Reply-To: References: Message-ID: <1066146427.24210.35.camel@localhost> On Tue, 2003-10-14 at 01:45, Evan Weston wrote: > I was having a simmilar problem under Redhat 9 on a pIII 900 512 meg ram. > > I set 'service_reaper_frequency=4' instead of the default 'service_reaper_frequency=10' in the 'nagios.cfg' file and its completely stable now. Mine's been at 3 for weeks. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Tue Oct 14 17:46:11 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 14 Oct 2003 10:46:11 -0500 Subject: [Apan-users] Re: nagios and apan cause server to crash... In-Reply-To: <3F8B95D1.8010104@datavis.se> References: <003601c38db1$506db240$0300a8c0@optiplex> <1066059132.22844.28.camel@localhost> <3F8B95D1.8010104@datavis.se> Message-ID: <1066146371.16932.33.camel@localhost> On Tue, 2003-10-14 at 01:21, Fredrik W?nglund wrote: > What platform/version are you running on? RH9, dual 1.4GHz, 1G RAM 139 Hosts, 838 services, about 300 of which are apan-based > I'm running without any problem under RedHat 8.0 on a PIII 1400MHz with > 170 hosts, 200 apan-services and 300 'normal' services. > My system-load stays between 1 and 2, CPU is mainly >80% idle until the "apan problem", load hangs out at around .3 to .9 (depending on what it's doing - it's only blipped over 1.0 twice in 24 hours) with an idle solidly at 86% (sar shows a min of 85.23% idle and a max of 86.96% in the last 24 hours). So the box is quite clean and happy. Like I said before, when the apan freak-out comes around, though, it shoots WAY up. Notably, I wrote a little watcher daemon to check for rogue apan processes. If anyone wants it, email me. > jeff vier wrote: > > >I'm having the same problem here. > > > >I have been capturing dumps of the top command, pulling only active > >processes. It looks like something causes an instance of apan.sh to > >hang, and then they just start piling up (fast). > > > >The load is usually under 1.0 (sometimes jumping up to 1.xx - no big > >deal). When it died, my load was over 80 (yes eighty) with 46 (maybe > >more) *active* apan processes (not sure of the actual count, top dump > >only shows 62 lines of processes. It said 73 running, though, so likely > >more were apan.sh - also, unknown count of inactive apan.sh process > >sitting and waiting), 17 zombies (unknown parent, alas). 99% CPU usage > >on CPU0, 100% on CPU1. Yikes. This jump happened over 16 minutes, at > >which point my crons no longer ran, so who knows how badly it kept > >piling up. > > > >apan.debug log file doesn't show anything abnormal (whee.) > > > >I'm going to have to write a watcher to manually kill the hanging > >apan.sh procs, which I don't want to do for fear of inadvertently > >killing valid processes, but I am quite sick of having to go over to the > >colo to poke the power button once a week (only been in production 3 > >weeks - 4 crashes so far). > > > >I'm going to increase my level of manual debugging, too, of processes, > >etc. I'll post any new insight. > > > >--jeff > > > >On Wed, 2003-10-08 at 10:31, Matthew Wilson wrote: > > > > > >>UPDATE: I have checked and my nagios installation does not have ePN compiled > >>in. So this is not the cause. I would greatly appreciate any suggestions > >> on how to prevent/cure this problem. > >> > >> > >> > >>>Thanks > >>>Matthew Wilson. > >>> > >>> > >>>>Matthew Wilson wrote: > >>>> > >>>> > >>>> > >>>>>Hi guys, > >>>>>I have read in the list archives in the last couple of months a few > >>>>>threads about nagios and apan chewing up memory. I have tried a few > >>>>>of the solutions posted but still have no joy. > >>>>> > >>>>> > >> > >>------------------------------------------------------- > >>This SF.net email is sponsored by: SF.net Giveback Program. > >>SourceForge.net hosts over 70,000 Open Source Projects. > >>See the people who have HELPED US provide better services: > >>Click here: http://sourceforge.net/supporters.php > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>::: 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 SF.net email is sponsored by: SF.net Giveback Program. > >SourceForge.net hosts over 70,000 Open Source Projects. > >See the people who have HELPED US provide better services: > >Click here: http://sourceforge.net/supporters.php > >_______________________________________________ > >Apan-users mailing list > >Apan-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/apan-users > > > > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vdidenko at Getcollc.com Tue Oct 14 18:59:42 2003 From: vdidenko at Getcollc.com (Vlad Didenko) Date: Tue, 14 Oct 2003 11:59:42 -0500 Subject: Service Dependencies & Wildcards Message-ID: Did you include your services file in the main config file? Vlad. -----Original Message----- From: Jason Martin [mailto:jhmartin at toger.us] Sent: Tuesday, October 14, 2003 10:27 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Service Dependencies & Wildcards -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I am trying to set up some bulk service dependencies and am having some trouble. I have a server with 50 services on it and a container server that runs them all. I want to make all 50 of the services dependent on the container server to avoid a flood of messages if the container goes down. I'm trying to use a wildcard but am getting an error. Here's my slightly-munged config: define servicedependency{ execution_failure_criteria c,w,u notification_failure_criteria c,w,u dependent_host hostA host_name hostA service_description ContainerServer dependent_service_description *,!ContainerServer } I've copied the label ContainerServer out of my services file so I am sure that the service ContainerServer exists. Here's the prefligh error I get: Checking service dependencies... Error: Dependent service specified in service dependency for service '*,!ContainerServer' on host 'hostA' is not defined anywhere! Error: Dependent service specified in service dependency for service '*,!ContainerServer' on host 'hostA' is not defined anywhere! Checked 174 service dependencies. Checking host escalations... I don't get any errors from the services portion of the preflight check, and if I remove the dependency it monitors the services and ContainerServer just fine. The alternative is to write a quick script to create entries for each of the services within the ContainerServer I suppose, but that doesn't seem the right way to do it. I tried looking at the source code to see where it interpreted the wildcard but couldn't locate it. If I put just * instead of *,!ContainerServer then the preflight coredumps. Any idea what I am doing wrong? This is running Nagios 1.1 on a Debian-Woody machine, compiled from source. Thanks, - -Jason Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/jBWzl2ODWuqVSBMRArqmAJ0YiXrzS1uYzV3kMEjbD+ufGp69IQCdFEXs AkEDutag5LE23XZlk3SsJJg= =fP5o -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Oct 14 19:23:17 2003 From: jhmartin at toger.us (Jason Martin) Date: Tue, 14 Oct 2003 10:23:17 -0700 (PDT) Subject: Service Dependencies & Wildcards In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I used the cfg_Dir directive in the nagios.cfg and have all my service files in that directory. The file containing the service dependency and the file containing the services are in the same directory. I also tried putting this dependency in the same file as the services themselves with no luck. Thanks, - -Jason Martin On Tue, 14 Oct 2003, Vlad Didenko wrote: > Did you include your services file in the main config file? > > Vlad. > > -----Original Message----- > From: Jason Martin [mailto:jhmartin at toger.us] > Sent: Tuesday, October 14, 2003 10:27 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Service Dependencies & Wildcards > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, I am trying to set up some bulk service dependencies and am > having some trouble. I have a server with 50 services on it and a > container server that runs them all. I want to make all 50 of the services > dependent on the container server to avoid a flood of messages if the > container goes down. I'm trying to use a wildcard but am getting an > error. > > Here's my slightly-munged config: > > define servicedependency{ > execution_failure_criteria c,w,u > notification_failure_criteria c,w,u > dependent_host hostA > host_name hostA > service_description ContainerServer > dependent_service_description *,!ContainerServer > } > > I've copied the label ContainerServer out of my services file so I am sure > that the service ContainerServer exists. Here's the prefligh error I get: > > Checking service dependencies... > Error: Dependent service specified in service dependency for service > '*,!ContainerServer' on host 'hostA' is not defined anywhere! > Error: Dependent service specified in service dependency for service > '*,!ContainerServer' on host 'hostA' is not defined anywhere! > Checked 174 service dependencies. > Checking host escalations... > > I don't get any errors from the services portion of the preflight check, > and if I remove the dependency it monitors the services and > ContainerServer just fine. > > The alternative is to write a quick script to create entries for each of > the services within the ContainerServer I suppose, but that doesn't seem > the right way to do it. I tried looking at the source code to see where > it interpreted the wildcard but couldn't locate it. > > If I put just * instead of *,!ContainerServer then the preflight > coredumps. > > Any idea what I am doing wrong? This is running Nagios 1.1 on a > Debian-Woody machine, compiled from source. > > Thanks, > - -Jason Martin > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.3.3 (GNU/Linux) > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > iD8DBQE/jBWzl2ODWuqVSBMRArqmAJ0YiXrzS1uYzV3kMEjbD+ufGp69IQCdFEXs > AkEDutag5LE23XZlk3SsJJg= > =fP5o > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/jDEMl2ODWuqVSBMRAmb0AKCbn4YZ6HNxv2z8CYEaGw48lznw7QCfSp5y l6EyShYFoAl1ZpB7cIFcdBY= =qZSs -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Oct 14 22:04:07 2003 From: jhmartin at toger.us (Jason Martin) Date: Tue, 14 Oct 2003 13:04:07 -0700 (PDT) Subject: Service Dependencies & Wildcards In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Just for fun, I mirrored the 'multiple services' section of the documentation (http://nagios.sourceforge.net/docs/1_0/templatetricks.html#servicedependency) and set all services on hostB to be dependent on hostA (which they're not, but I was just testing) define servicedependency{ execution_failure_criteria c,w,u notification_failure_criteria c,w,u dependent_host HostB host_name HostA service_description ContainerServer dependent_service_description * } When I try to preflight I get: Error: Dependent service specified in service dependency for service '*' on host 'hostB' is not defined anywhere! I found this error text in the sourcecode and see that it appears after a find_service function call. Find_service appears to iterate through a list of services and execute strcmp on it and the supplied value; I don't see how this could handle any sort of wildcard. In config.c, there is temp_service=find_service(temp_sd->dependent_host_name,temp_sd->dependent_service_description,NULL); if(temp_service==NULL){ snprintf(temp_buffer,sizeof(temp_buffer),"Error: Dependent service specified in service dependency for service '%s' on host '%s' is not defined anywhere!",temp_sd->dependent_service_description,temp_sd->dependent_host_name); The definition of find_service is (in objects.c): /* we found a matching host name and service description */ if(result==0 && !strcmp(temp_service->description,svc_desc)) return temp_service; I don't see how that would work with any sort of wildcard. Am I missing something? Thanks, - -Jason Martin n HostOn Tue, 14 Oct 2003, Jason Martin wrote: > I used the cfg_Dir directive in the nagios.cfg and have all my service > files in that directory. The file containing the service dependency and > the file containing the services are in the same directory. I also tried > putting this dependency in the same file as the services themselves with > no luck. > > Thanks, > - -Jason Martin > On Tue, 14 Oct 2003, Vlad > Didenko wrote: > > > Did you include your services file in the main config file? > > > > Vlad. > > > > -----Original Message----- > > From: Jason Martin [mailto:jhmartin at toger.us] > > Sent: Tuesday, October 14, 2003 10:27 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Service Dependencies & Wildcards > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hello, I am trying to set up some bulk service dependencies and am > > having some trouble. I have a server with 50 services on it and a > > container server that runs them all. I want to make all 50 of the services > > dependent on the container server to avoid a flood of messages if the > > container goes down. I'm trying to use a wildcard but am getting an > > error. > > > > Here's my slightly-munged config: > > > > define servicedependency{ > > execution_failure_criteria c,w,u > > notification_failure_criteria c,w,u > > dependent_host hostA > > host_name hostA > > service_description ContainerServer > > dependent_service_description *,!ContainerServer > > } > > > > I've copied the label ContainerServer out of my services file so I am sure > > that the service ContainerServer exists. Here's the prefligh error I get: > > > > Checking service dependencies... > > Error: Dependent service specified in service dependency for service > > '*,!ContainerServer' on host 'hostA' is not defined anywhere! > > Error: Dependent service specified in service dependency for service > > '*,!ContainerServer' on host 'hostA' is not defined anywhere! > > Checked 174 service dependencies. > > Checking host escalations... > > > > I don't get any errors from the services portion of the preflight check, > > and if I remove the dependency it monitors the services and > > ContainerServer just fine. > > > > The alternative is to write a quick script to create entries for each of > > the services within the ContainerServer I suppose, but that doesn't seem > > the right way to do it. I tried looking at the source code to see where > > it interpreted the wildcard but couldn't locate it. > > > > If I put just * instead of *,!ContainerServer then the preflight > > coredumps. > > > > Any idea what I am doing wrong? This is running Nagios 1.1 on a > > Debian-Woody machine, compiled from source. > > > > Thanks, > > - -Jason Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/jFa/l2ODWuqVSBMRAvZYAJ9l6AOITGFk2tKHCWkjWsZLRIzHGgCgmmBz +nVbDQ/HL5Da2S5IPkLbSDw= =eI8p -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swares at qwest.com Tue Oct 14 22:05:23 2003 From: swares at qwest.com (Scott D. Wares) Date: Tue, 14 Oct 2003 14:05:23 -0600 (MDT) Subject: Event handler only running on HARD 3 events Message-ID: I have setup some event handlers but they are not executed durring any soft state and are only run at the 3rd HARD check after notifications are already sent out. nagios 1.1 on Solaris 8. Any ideas? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From EVERETTA at us.panasonic.com Tue Oct 14 23:55:12 2003 From: EVERETTA at us.panasonic.com (Everett, Anthony (GNPC)) Date: Tue, 14 Oct 2003 17:55:12 -0400 Subject: Guest Account and authorization Message-ID: <3B8FE6A89169774F9DCEED85A588022B03D8CB56@MECAELGN002.meca.panasonic.com> Josh, Thank you for the help. That did the trick. -Tony -----Original Message----- From: Samba [mailto:Samba at guidemail.com] Sent: Friday, October 10, 2003 6:36 AM To: Everett, Anthony (GNPC); nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Guest Account and authorization Here is how I do it. I have setup a guest user and admin accounts as you have described. We have a front-end portal with links to all of our applications, including Nagios. If you had two links to Nagios one being guest access and the other being admin access you could then pass the guest un/pw through the link. i.e. the admin access link would be: http://nagios.yourdomain.com/nagios/ the guest access link would be: http://guest:user at nagios.yourdomain.com/nagios/ HTH, please let me know if it works for you. Josh -----Original Message----- From: Everett, Anthony (GNPC) [mailto:EVERETTA at PANASONIC.COM] Sent: Thursday, October 09, 2003 3:21 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Guest Account and authorization I would like to use the "guest" account (default user ID) for general access and specific ID's for admins. I have enabled the "guest ID in the cgi configuration file and I currently have authorization working properly but I don't want general users to have to enter the guest ID. I have looked at the options for the .htaccess file and for the httpd.conf (apache) file and cannot find a configuration that will work. If I remove the .htacess (or just comment out the "required valid-user" line) the guest ID works but then I cannot login with an admin ID. Has anyone made this work? Any suggestions? -Tony This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From beckman at purplecow.com Wed Oct 15 00:58:53 2003 From: beckman at purplecow.com (Peter Beckman) Date: Tue, 14 Oct 2003 18:58:53 -0400 (EDT) Subject: Trends Graph not graphing short outage Message-ID: <20031014171807.F35370@thermonuclear.org> Hey folks -- Just installed nagios 1.1. I'm using it to track and document the high round trip times and packet loss so my business internet provider can fix it. The ping service registered a warning that lasted about 3-4 minutes, but that warning period does not show up on the graph, even though the graph shows the current accurate time. The history log: [10-14-2003 09:29:49] SERVICE ALERT: nambco-cable;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 22 seconds [10-14-2003 09:30:49] SERVICE ALERT: nambco-cable;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 36.01 ms [10-14-2003 09:46:49] SERVICE ALERT: nambco-cable;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 124.70 ms [10-14-2003 09:47:49] SERVICE ALERT: nambco-cable;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 40.86 ms [10-14-2003 16:59:50] SERVICE ALERT: nambco-cable;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 35%, RTA = 45.78 ms [10-14-2003 17:00:49] SERVICE ALERT: nambco-cable;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 81.64 ms The graph shows all green, with a starting point of (currently) October 13 17:22:36 and an endpoint of October 14 17:22:36. Is this a bug, or is this because I said "include start-up state" or whatever that feature is. Beckman --------------------------------------------------------------------------- Peter Beckman Internet Guy beckman at purplecow.com http://www.purplecow.com/ --------------------------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Wed Oct 15 02:56:19 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Tue, 14 Oct 2003 20:56:19 -0400 Subject: Need help setting up security In-Reply-To: <061E2C460B6B574D94B538F35E27F8430166F632@ohcleex01.bristolwest.com> References: <061E2C460B6B574D94B538F35E27F8430166F632@ohcleex01.bristolwest.com> Message-ID: <1066179379.27424.11.camel@miles.debisschop.net> On Tue, 2003-10-14 at 07:12, Jeffrey Morgan wrote: > I am having troubles setting up Nagios security to achieve my companies > goals. I have read the documentation and spent a considerable amount > of time trying to get it right but have not had success. > > I wish to have the majority of the site accessible by anybody on our network > without the end user being prompted for a password. When a user attempts > to execute one of the CGIs I wish to have the user prompted for their > username > and password if they are accessing one of the restricted CGIs (as specified > in > the cgi.conf file). enable guest user, allow users withinh the network to access page with no authentication. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Wed Oct 15 02:55:29 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Tue, 14 Oct 2003 19:55:29 -0500 (CDT) Subject: Trends Graph not graphing short outage In-Reply-To: <20031014171807.F35370@thermonuclear.org> References: <20031014171807.F35370@thermonuclear.org> Message-ID: <3350.192.168.1.9.1066179329.squirrel@xyzzy.homeip.net> > Hey folks -- Hiya Peter! > Just installed nagios 1.1. I'm using it to track and document the high > round trip times and packet loss so my business internet provider can fix > it. Sounds like a fine idea. Hope you have a good SLA from them. > The ping service registered a warning that lasted about 3-4 minutes, but > that warning period does not show up on the graph, even though the graph > shows the current accurate time. > > The history log: > [10-14-2003 09:29:49] SERVICE ALERT: nambco-cable;PING;CRITICAL;SOFT;1;CRITICAL - > Plugin timed out after 22 seconds > [10-14-2003 09:30:49] SERVICE ALERT: nambco-cable;PING;OK;SOFT;2;PING OK - Packet > loss = 0%, RTA = 36.01 ms > [10-14-2003 09:46:49] SERVICE ALERT: nambco-cable;PING;WARNING;SOFT;1;PING WARNING - > Packet loss = 0%, RTA = 124.70 ms > [10-14-2003 09:47:49] SERVICE ALERT: nambco-cable;PING;OK;SOFT;2;PING OK - Packet > loss = 0%, RTA = 40.86 ms > [10-14-2003 16:59:50] SERVICE ALERT: nambco-cable;PING;WARNING;SOFT;1;PING WARNING - > Packet loss = 35%, RTA = 45.78 ms > [10-14-2003 17:00:49] SERVICE ALERT: nambco-cable;PING;OK;SOFT;2;PING OK - Packet > loss = 0%, RTA = 81.64 ms > > The graph shows all green, with a starting point of (currently) October 13 > 17:22:36 and an endpoint of October 14 17:22:36. > > Is this a bug, or is this because I said "include start-up state" or > whatever that feature is. Which graph are you talking about? Trends, Availability, or Alert Histogram? As written, the only one that shows SOFT states is the Alert Histogram. However, you could very easily comment out the 'if(strstr(input_buffer,";SOFT;"))' statements in the C code for those CGIs and recompile/reinstall to get the SOFT states in those graphs. Alternatively, you could set the "max_check_attempts" for the PING service to 1. That will make it go into a HARD state immediately. But that will also trigger an alert, that may or may not be something you want to happen. I hate to tell you this, but I don't see anything lasting 3-4 minutes according to your logs. > > Beckman > --------------------------------------------------------------------------- > Peter Beckman Internet Guy > beckman at purplecow.com http://www.purplecow.com/ > --------------------------------------------------------------------------- > Mmmmm.. Grape soda and ice cream... > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null Thank you for providing supporting material! -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From beckman at purplecow.com Wed Oct 15 03:35:47 2003 From: beckman at purplecow.com (Peter Beckman) Date: Tue, 14 Oct 2003 21:35:47 -0400 (EDT) Subject: Trends Graph not graphing short outage In-Reply-To: <3350.192.168.1.9.1066179329.squirrel@xyzzy.homeip.net> References: <20031014171807.F35370@thermonuclear.org> <3350.192.168.1.9.1066179329.squirrel@xyzzy.homeip.net> Message-ID: <20031014212956.R31393@thermonuclear.org> On Tue, 14 Oct 2003, Mike McClure wrote: > Hiya Peter! > > > Just installed nagios 1.1. I'm using it to track and document the high > > round trip times and packet loss so my business internet provider can fix > > it. > > Sounds like a fine idea. Hope you have a good SLA from them. Heh -- I wouldn't call it an SLA, but telling them that we lose connectivity 2-5 times a day should warrant a service call... > > The ping service registered a warning that lasted about 3-4 minutes, but > > that warning period does not show up on the graph, even though the graph > > shows the current accurate time. > > > > The history log: > > [10-14-2003 09:29:49] SERVICE ALERT: nambco-cable;PING;CRITICAL;SOFT;1;CRITICAL - > > Plugin timed out after 22 seconds > > [10-14-2003 09:30:49] SERVICE ALERT: nambco-cable;PING;OK;SOFT;2;PING OK - Packet > > loss = 0%, RTA = 36.01 ms > > [10-14-2003 09:46:49] SERVICE ALERT: nambco-cable;PING;WARNING;SOFT;1;PING WARNING - > > Packet loss = 0%, RTA = 124.70 ms > > [10-14-2003 09:47:49] SERVICE ALERT: nambco-cable;PING;OK;SOFT;2;PING OK - Packet > > loss = 0%, RTA = 40.86 ms > > [10-14-2003 16:59:50] SERVICE ALERT: nambco-cable;PING;WARNING;SOFT;1;PING WARNING - > > Packet loss = 35%, RTA = 45.78 ms > > [10-14-2003 17:00:49] SERVICE ALERT: nambco-cable;PING;OK;SOFT;2;PING OK - Packet > > loss = 0%, RTA = 81.64 ms > > > > The graph shows all green, with a starting point of (currently) October 13 > > 17:22:36 and an endpoint of October 14 17:22:36. > > > > Is this a bug, or is this because I said "include start-up state" or > > whatever that feature is. > > Which graph are you talking about? Trends, Availability, or Alert Histogram? Trends. > As written, the only one that shows SOFT states is the Alert Histogram. However, > you could very easily comment out the 'if(strstr(input_buffer,";SOFT;"))' statements > in the C code for those CGIs and recompile/reinstall to get the SOFT states in those > graphs. > > Alternatively, you could set the "max_check_attempts" for the PING service to 1. > That will make it go into a HARD state immediately. But that will also trigger an > alert, that may or may not be something you want to happen. > > I hate to tell you this, but I don't see anything lasting 3-4 minutes according to > your logs. Ah! I just finished using Netsaint, which DID graph SOFT states (I believe); knowing that SOFT states don't get graphed in the Trends graph would answer the question. Maybe I really just need to stick with the check_attempts at 3 (default) and hope the outage lasts more than 1 minute. I guess that makes sense. SOFT states are logged but not graphed, except on the Alert Histogram. Got it -- thanks for the verbose explination! > Mmmmm.. Grape soda and ice cream... Heheh... It's a Michigan thing I think... good stuff. Beckman --------------------------------------------------------------------------- Peter Beckman Internet Guy beckman at purplecow.com http://www.purplecow.com/ --------------------------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredreimers at comcast.net Wed Oct 15 07:51:19 2003 From: fredreimers at comcast.net (Fred Reimers) Date: Wed, 15 Oct 2003 01:51:19 -0400 Subject: [Nagmin-users] NagMIN Question In-Reply-To: <516DA7BE5D87C8469D89F150CA0B491102BDA9D6@PDAWB02C.ad.sprint.com> References: <516DA7BE5D87C8469D89F150CA0B491102BDA9D6@PDAWB02C.ad.sprint.com> Message-ID: <000501c392e0$5b809970$6401a8c0@nanner> I guess this event handler is dying to get implemented. BTW: NagMIN 2.0.2 is up on SourceForge now and is the best version. 2.0.0 added a lot of features. 2.0.1 fixed all known bugs and implemented or answered all feature requests. 2.0.2 fixed a couple of minor glitches in Module Config and text fields and started implementing Help text for each screen and table. The next release will have Help files for all tables. Here's the reply I sent to your previous email for everyone. Martin, Event handlers must be added to a Service Template first and then applied to a service. The service table is designed to keep the number of fields to a minimum for the majority of services configured. Fred -----Original Message----- From: nagmin-users-admin at lists.sourceforge.net [mailto:nagmin-users-admin at lists.sourceforge.net] On Behalf Of Martin, Stanley G [CC] Sent: Tuesday, October 14, 2003 10:08 AM To: nagios-users at lists.sourceforge.net; nagmin-users at lists.sourceforge.net Subject: [Nagmin-users] NagMIN Question I've posed this question to the NagMIN user group and have received no response. Those of you using NagMIN, I can't seem to find a way to add an Event Handler. There's a configuration to enable Event Handling, but I am unable to add it to a service. The field just isn't there. Anybody see a way around this? Stanley G. Martin System Administrator Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gert.lindstrom at brevik.nu Wed Oct 15 08:34:42 2003 From: gert.lindstrom at brevik.nu (Gert Lindstrom) Date: Wed, 15 Oct 2003 08:34:42 +0200 Subject: Starting Nagios Message-ID: <001101c392e6$6a89b950$140c140a@corp.intentia.net> Hello. I have a strange "problem", let start with that im not a Linux guru, quite a newbie. We have been running Nagios for almost a year now everything working fine. Yesterday I noticed a strange thing. After developing a java pluging on a test machine and running it there for a week or so we decided to move to our production machine. We installed all the java things and copied the plugins. It did not work !!! After a couple of hours I did get it to work. If I start Nagios with "service nagios start" it doesnt work. if I start with /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg it works. I looked at the start script under /etc/rc.d/init.d and noticed that it do "su -l nagios". So I tryed to do it manually; su -l nagios /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg It still works. What could be the problem when executing the start script under /etc/rc.d/init.d ? Regards Gert -------------- next part -------------- An HTML attachment was scrubbed... URL: From goran.almvik at intentia.se Wed Oct 15 08:50:59 2003 From: goran.almvik at intentia.se (Goran Almvik) Date: Wed, 15 Oct 2003 08:50:59 +0200 Subject: Service nagios start vs. nagios -d Message-ID: Hi all, Running Nagios 1.0 on a RedHat 8 box. After having created a plugin in Java and got it rocking I tried to move it to our live environment but immediately got a "plugin not found" (error 127). After a lot of investigation I found out that i depends on how nagios is started! Can anybody explain the difference between starting nagios with "service nagios start" and "/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg"? Starting it as a service makes it not find the plugin but when running as deamon everything works fine. What's the difference and why?! User/group: nagios/nagcmd /G?ran A -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tyrone at telecity.se Wed Oct 15 10:01:46 2003 From: Tyrone at telecity.se (Tyrone at telecity.se) Date: Wed, 15 Oct 2003 10:01:46 +0200 Subject: CHECK_SNMP missing from plugins Message-ID: I'm running Nagios on Linux 9 and have nagios-plugins version 1.3.1 I don't have the file check_snmp in my plugin directory /libexec is there some way I can compile it so I just get check_snmp out ? Should I not have gotten it in the first place ?? and I have net-snmp-5.0.6-17 installed already what else can I try !! Tyrone Van Der Haar Network Engineer DISCLAIMER This e-mail is intended only for the use of the addressees named above and may be confidential. If you are not an addressee you must not use any information contained in nor copy it nor inform any person other than TeleCity or the addressees of its existence or contents. If you have received this e-mail in error, please contact the TeleCity IT department on +44 (0) 161 232 3220 or by email at techsupport at telecity.com. Internet communications cannot be guaranteed 100% secure, you should therefore take this potential lack of security into consideration when emailing us as we do not accept legal responsibility for the security of the contents of this or other emails. Whilst TeleCity take measures to prevent any virus contamination of our computer systems, recipients of emails should always ensure that they take their own precautions to avoid virus contamination. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpttdi at yahoo.fr Wed Oct 15 10:28:09 2003 From: jpttdi at yahoo.fr (=?iso-8859-1?q?jpttdi?=) Date: Wed, 15 Oct 2003 10:28:09 +0200 (CEST) Subject: Need help about "Unknown" status! In-Reply-To: References: Message-ID: <20031015082809.88315.qmail@web41003.mail.yahoo.com> Hi all, I need help to understand what mean "unknown" status. Reading the documentation, i found that an unknown status is when Nagios can't retrieve output from the plugin. Iuse Nagios 1.1 and i have several notifications related to plugin which switch from OK (or critical) state to an unknown state several times in a few minutes. The example below is for a check, launch every 5 minutes, the checked process runs (hopefully) and when i try to launch the same command from the nagios server, the plugins answers fine every time ! If the unknown status is related to the fact that nagios cannot read plugin output, why can it get the comment field ? I have this problem for several checks, not the same every time. The check in the example below can run silently for a whole day or return alternatively unknown/ok status during hours ! [10-15-2003 08:43:28] SERVICE ALERT: dcs25;process launcher;OK;SOFT;2;OK - 1 process launcher running : PID= 806 [10-15-2003 08:42:28] SERVICE ALERT: dcs25;process launcher;UNKNOWN;SOFT;1;OK - 1 process launcher running : PID= 806 [10-15-2003 08:37:28] SERVICE ALERT: dcs25;process launcher;OK;SOFT;2;OK - 1 process launcher running : PID= 806 [10-15-2003 08:36:28] SERVICE ALERT: dcs25;process launcher;UNKNOWN;SOFT;1;OK - 1 process launcher running : PID= 806 [10-15-2003 08:31:28] SERVICE ALERT: dcs25;process launcher;OK;SOFT;2;OK - 1 process launcher running : PID= 806 [10-15-2003 08:30:28] SERVICE ALERT: dcs25;process launcher;UNKNOWN;SOFT;1;OK - 1 process launcher running : PID= 806 [10-15-2003 08:25:28] SERVICE ALERT: dcs25;process launcher;OK;SOFT;2;OK - 1 process launcher running : PID= 806 [10-15-2003 08:24:28] SERVICE ALERT: dcs25;process launcher;UNKNOWN;SOFT;1;OK - 1 process launcher running : PID= 806 Thanks. Jpt. --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From ouba at ouba.org Wed Oct 15 11:06:53 2003 From: ouba at ouba.org (Denis Sacchet) Date: Wed, 15 Oct 2003 11:06:53 +0200 Subject: OK;SOFT problems with several reports CGI Message-ID: <20031015090653.GA27140@ouba.org> Hi, since my mail of yesterday, I've several tests. Here is my configuration : nagios 1.0 on a gentoo box I've configured an host : PRUNELLE and one service on this host : HTTP with two threshold (100 for warning and 300 for critical). I've an heavy compilation process on the PRUNELLE host to increase the response time of the apache process and I launch nagios with a 'tail -f nagios.log'. Here is the result : nagios at hostname var $ tail -f nagios.log [1066034345] Nagios 1.0 starting... (PID=1866) [1066034345] Finished daemonizing... (New PID=1867) [1066034415] SERVICE ALERT: prunelle;HTTP;CRITICAL;SOFT;1;HTTP problem: HTTP/1.1 200 OK - 428.314 millisecond response time [1066034475] SERVICE ALERT: prunelle;HTTP;OK;SOFT;2;HTTP ok: HTTP/1.1 200 OK - 33.198 millisecond response time And more than 30 minutes are passed since the last entry !!! As you can see, I've no HTTP;HARD state recorded ... apparently the "Retry number" is set to "2" but it is only the first time the service HTTP is in OK state, and as the maximum retry is set to 2, nagios never do the second check to pass the service in an hard state ... For me, it seems to be a bug ... Has someone a solution for me please ? My reports are often broken because of this behaviour and it is all except cool :) Thanx for your help Cordially -- Denis Sacchet aka. Ouba ("`-/")_.-'"``-._ . . `; -._ )-;-,_`) "Computers are like air conditionners (v_,)' _ )`-.\ ``-' They stop working properly when you _.- _..-_/ / ((.' open Windows !!!" ((,.-' ((,/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bertrand at delepine.info Wed Oct 15 11:23:52 2003 From: bertrand at delepine.info (Bertrand DELEPINE) Date: Wed, 15 Oct 2003 11:23:52 +0200 Subject: Hosts not present Message-ID: <20031015112352.42b1bb15.bertrand@delepine.info> Hi, I've just installed nagmin, on a system with a running nagios. Commands, services, contacts, contactsgroups and the others file are in the mysql database, but not hosts.cfg ! I do a "cp /etc/nagios/hosts.cfg /usr/share/nagmin/nagios/Host.cfg", but it doesn't work. Can someone help me ? Thanks. (Sorry for me poor english) -- Bertrand DELEPINE ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jesusolivan at pickingpack.net Wed Oct 15 11:26:23 2003 From: jesusolivan at pickingpack.net (=?iso-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Wed, 15 Oct 2003 11:26:23 +0200 Subject: Trends graphical options Message-ID: Hi! i'm a recent nagios user, after installing it on my debian box and having my lan well monitored, i'm interested in create reports from all hosts tcp or ping delay time (it appears as RTA in nagios.log), then i can monitor my lan with a more accurated trace and can see if any host tcp stack is overloaded. Is it possible? Thanks in advance. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthewwilson at dsl.pipex.com Wed Oct 15 11:34:40 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: Wed, 15 Oct 2003 10:34:40 +0100 Subject: Trends graphical options References: Message-ID: <003201c392ff$8f9617c0$0300a8c0@optiplex> Hi, Depending on what kind of data you want to include in your reports, you may wish to look at APAN.(apan.sourceforge.net) It runs many of the standard nagios service checks and logs the results to a RRD (round-robin database). It then uses RRDtool to produce a page containing graphs of the results. I am currently using this to recording ping RTA and % packet loss for about 50 hosts. Additionally on my system I use RRGrapher http://rrdtool.cyclone.se/rrdworld/rrgrapher.html to produce custom graphs (from the RRDs) for particular time periods or to plot several hosts on the same graph Matthew Wilson DC-Sat.net ----- Original Message ----- From: "Jes?s Oliv?n" To: Sent: Wednesday, October 15, 2003 10:26 AM Subject: [Nagios-users] Trends graphical options > Hi! > > i'm a recent nagios user, after installing it on my debian box and having my > lan well monitored, i'm interested in create reports from all hosts tcp or > ping delay time (it appears as RTA in nagios.log), then i can monitor my lan > with a more accurated trace and can see if any host tcp stack is overloaded. > Is it possible? > > Thanks in advance. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Wed Oct 15 12:00:48 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Wed, 15 Oct 2003 11:00:48 +0100 Subject: Trends graphical options Message-ID: <0EBC45FCABFC95428EBFC3A51B368C9551393D@jessica.herefordshire.gov.uk> The latest version of NagMin (nagmin.sf.net) makes it fairly easy to set up. I haven't tried it myself, yet, though. Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Jes?s Oliv?n [mailto:jesusolivan at pickingpack.net] > Sent: 15 October 2003 10:26 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Trends graphical options > > > Hi! > > i'm a recent nagios user, after installing it on my debian > box and having my > lan well monitored, i'm interested in create reports from all > hosts tcp or > ping delay time (it appears as RTA in nagios.log), then i can > monitor my lan > with a more accurated trace and can see if any host tcp stack > is overloaded. > Is it possible? > > Thanks in advance. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Oct 15 12:50:24 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Wed, 15 Oct 2003 11:50:24 +0100 Subject: CHECK_SNMP missing from plugins Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE909F46A@netfinity-1.foundation-it.local> From: Tyrone at telecity.se [mailto:Tyrone at telecity.se] >I'm running Nagios on Linux 9 and have nagios-plugins version 1.3.1 I don't have >the file check_snmp in my plugin directory /libexec is there some way I can compile >it so I just get check_snmp out ? >Should I not have gotten it in the first place ?? >and I have net-snmp-5.0.6-17 installed already what else can I try !! Run configure again and have a close look at the output. There should be a reference to which component required by check_snmp couldn't be found. Phil ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.G.Martin at mail.sprint.com Wed Oct 15 14:51:34 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [CC]) Date: Wed, 15 Oct 2003 07:51:34 -0500 Subject: [Nagmin-users] NagMIN Question Message-ID: <516DA7BE5D87C8469D89F150CA0B491102BDB273@PDAWB02C.ad.sprint.com> I downloaded and installed the new 2.0.2 WBM Module, however when I bring up NagMIN in Webmin it still shows me running 2.0.1. Stanley G. Martin System Administrator Sprint - EAS Business Intelligence 913.762.8667 913.221.8241 PCS Stanley.G.Martin at mail.sprint.com -----Original Message----- From: Fred Reimers [mailto:fredreimers at comcast.net] Sent: Wednesday, October 15, 2003 12:51 AM To: Martin, Stanley G [CC]; nagios-users at lists.sourceforge.net; nagmin-users at lists.sourceforge.net Subject: RE: [Nagmin-users] NagMIN Question I guess this event handler is dying to get implemented. BTW: NagMIN 2.0.2 is up on SourceForge now and is the best version. 2.0.0 added a lot of features. 2.0.1 fixed all known bugs and implemented or answered all feature requests. 2.0.2 fixed a couple of minor glitches in Module Config and text fields and started implementing Help text for each screen and table. The next release will have Help files for all tables. Here's the reply I sent to your previous email for everyone. Martin, Event handlers must be added to a Service Template first and then applied to a service. The service table is designed to keep the number of fields to a minimum for the majority of services configured. Fred -----Original Message----- From: nagmin-users-admin at lists.sourceforge.net [mailto:nagmin-users-admin at lists.sourceforge.net] On Behalf Of Martin, Stanley G [CC] Sent: Tuesday, October 14, 2003 10:08 AM To: nagios-users at lists.sourceforge.net; nagmin-users at lists.sourceforge.net Subject: [Nagmin-users] NagMIN Question I've posed this question to the NagMIN user group and have received no response. Those of you using NagMIN, I can't seem to find a way to add an Event Handler. There's a configuration to enable Event Handling, but I am unable to add it to a service. The field just isn't there. Anybody see a way around this? Stanley G. Martin System Administrator Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From james.harrison at amcg.com Wed Oct 15 15:01:18 2003 From: james.harrison at amcg.com (James Harrison) Date: Wed, 15 Oct 2003 08:01:18 -0500 Subject: Services go stale after HARD state change Message-ID: <1066222878.1467.10.camel@localhost.localdomain> List, I have recently migrated from a central only to central and distributed environment. I was having some trouble with freshness, but as my distributed box polls every 5 minutes I have set my central server's freshness_threshold at 330 seconds (5.5 mins.) This seems to have calmed down my central server and things seem ok. Now I'm noticing that my services seem to be going stale after I have a HARD state change and notices are sent out. (I'm using email and qpage[local modem] notifications) Is this because notices(dialing a local modem, etc) is CPU intense? I just had an outage my loads are .73,.51,.45. I had a boat load of services go stale on the state changes. What could be causing my services to go stale? Anything I can do to mitigate this problem? Thanks as always -- James Harrison RHCE, CCNA ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.G.Martin at mail.sprint.com Wed Oct 15 16:23:16 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [CC]) Date: Wed, 15 Oct 2003 09:23:16 -0500 Subject: Event Handler not firing Message-ID: <516DA7BE5D87C8469D89F150CA0B491102BDB34C@PDAWB02C.ad.sprint.com> I finally got an event setup to fire when a service on a Win2K boxes stops running. However, when the service goes CRITICAL and HARD, the job is not being run. The nagios.log file says it is, but my script is written in Perl with outputs to a logfile that isn't getting touched. I can run the script manually just fine. Nagios.log entry: [1066226354] SERVICE ALERT: kcncap17;Crystal Page Server;CRITICAL;SOFT;1; pageserver: Stopped [1066226354] SERVICE EVENT HANDLER: kcncap17;Crystal Page Server;CRITICAL;SOFT;1;restart-service [1066226414] SERVICE ALERT: kcncap17;Crystal Page Server;CRITICAL;SOFT;2; pageserver: Stopped [1066226414] SERVICE EVENT HANDLER: kcncap17;Crystal Page Server;CRITICAL;SOFT;2;restart-service [1066226474] SERVICE ALERT: kcncap17;Crystal Page Server;CRITICAL;HARD;3; pageserver: Stopped [1066226474] SERVICE EVENT HANDLER: kcncap17;Crystal Page Server;CRITICAL;HARD;3;restart-service ommand.cfg entry for event: define command { command_name restart-service command_line /usr/local/nagios/libexec/eventhandlers/restart_service $HOSTNAME$ $SERVICEDESC$ $SERVICESTSATE$ $STATETYPE$ } Event Script: /usr/local/nagios/libexec/eventhandlers -rwxr-xr-x 1 nagios nagios 3613 Oct 15 08:29 restart_service Any ideas why this isn't actually running the script? Is there another logfile I could look at that might tell me something? Stanley G. Martin System Administrator Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Wed Oct 15 16:21:02 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 15 Oct 2003 10:21:02 -0400 (EDT) Subject: Need help about "Unknown" status! In-Reply-To: <20031015082809.88315.qmail@web41003.mail.yahoo.com> References: <20031015082809.88315.qmail@web41003.mail.yahoo.com> Message-ID: On Wed, 15 Oct 2003, jpttdi wrote: > Hi all, > I need help to understand what mean "unknown" status. Reading the > documentation, i found that an unknown status is when Nagios can't > retrieve output from the plugin. > Iuse Nagios 1.1 and i have several notifications related to plugin > which switch from OK (or critical) state to an unknown state several > times in a few minutes. The example below is for a check, launch every 5 > minutes, the checked process runs (hopefully) and when i try to launch > the same command from the nagios server, the plugins answers fine every > time ! If the unknown status is related to the fact that nagios cannot > read plugin output, why can it get the comment field ? > > I have this problem for several checks, not the same every time. > The check in the example below can run silently for a whole day or return alternatively unknown/ok status during hours ! > > [10-15-2003 08:43:28] SERVICE ALERT: dcs25;process launcher;OK;SOFT;2;OK - 1 process launcher running : PID= 806 > [10-15-2003 08:42:28] SERVICE ALERT: dcs25;process launcher;UNKNOWN;SOFT;1;OK - 1 process launcher running : PID= 806 > [10-15-2003 08:37:28] SERVICE ALERT: dcs25;process launcher;OK;SOFT;2;OK - 1 process launcher running : PID= 806 > [10-15-2003 08:36:28] SERVICE ALERT: dcs25;process launcher;UNKNOWN;SOFT;1;OK - 1 process launcher running : PID= 806 > [10-15-2003 08:31:28] SERVICE ALERT: dcs25;process launcher;OK;SOFT;2;OK - 1 process launcher running : PID= 806 > [10-15-2003 08:30:28] SERVICE ALERT: dcs25;process launcher;UNKNOWN;SOFT;1;OK - 1 process launcher running : PID= 806 > [10-15-2003 08:25:28] SERVICE ALERT: dcs25;process launcher;OK;SOFT;2;OK - 1 process launcher running : PID= 806 > [10-15-2003 08:24:28] SERVICE ALERT: dcs25;process launcher;UNKNOWN;SOFT;1;OK - 1 process launcher running : PID= 806 > > Thanks. > Jpt. from the plugin developer docs: UNKNOWN = Invalid command line arguments were supplied to the plugin or the plugin was unable to check the status of the given hosts/service Take a look at the code for the plugin and see where it can exit with an UNKNOWN exit code. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Wed Oct 15 17:34:39 2003 From: twelsh at square-box.com (Tom Welsh) Date: Wed, 15 Oct 2003 16:34:39 +0100 Subject: No perf-definition for service. Message-ID: <000301c39331$da750ad0$0400a8c0@squarebox.com> Hi All, I've just installed apan for the first time and I keep getting the above error. As far as I can see I have configured it correctly. I get the following output in /tmp/apan.debug #Output from apan.debug Wed Oct 15 16:23:30 BST 2003 Args: check_local_disk nagios-server / Free Space 1066231410 /dev/hda3 Wed Oct 15 16:23:30 BST 2003 Args: check_local_disk nagios-server /boot Free Space 1066231410 /dev/hda1 Could not insert '' , '' into Could not insert '' , '' into Below are my configuration commands I used. 1. #apan.def # Path to rrdtool RRDTOOL=/usr/local/rrdtool/bin/rrdtool 2. #checkcommnd.cfg #'apan' command definition. Runs apan on selected commands define command { command_name apan command_line /usr/local/nagios/apan/apan.sh $ARG1$ $HOSTNAME$ "$SERVICEDESC$" $TIMET$ $ARG2$ $ARG3$ } 3. #services.cfg # Service definition for checking free disk space on /boot define service{ use generic-service host_name nagios-server service_description /boot Free Space is_volatile 0 check_period 24x7 contact_groups squarebox-support notification_options c,w,r check_command apan!check_local_disk!"/dev/hda1" } 4. #apan.cfg #nagios-server Disk Usage nagios-server;check_local_disk;/usr/local/nagios/rrd/nagios-server-disk- usage.rrd;root|boot;root-used:AREA root-free:STACK boot-used:AREA boot-free:STACK;Disk usage;Bytes;-l 1 -b 1024 5. #Create an RRD file pod-163:/usr/local/nagios/etc# /usr/local/rrdtool/bin/rrdtool create rrd/nagios-server-disk-usage.rrd -s 60 DS:root-used:GAUGE:900:0:U DS:root-free:GAUGE:900:0:U DS:boot-used:GAUGE:900:0:U DS:boot-free:GAUGE:900:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 6. #Extended service info #'nagios-server' extended service info define serviceextinfo{ host_name nagios-server service_description Disk-usage notes_url /nagios/cgi-bin/apan.cgi?host=nagios-server&service=Disk-usage icon_image graph.png icon_image_alt View graphs } 7. #Output from apan.debug Wed Oct 15 16:23:30 BST 2003 Args: check_local_disk nagios-server / Free Space 1066231410 /dev/hda3 Wed Oct 15 16:23:30 BST 2003 Args: check_local_disk nagios-server /boot Free Space 1066231410 /dev/hda1 Could not insert '' , '' into Could not insert '' , '' into Any one spot a mistake im making. All help greatfully received Cheers Tom Welsh twelsh at square-box.com DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. Sender accepts no liability for any damage resulting from the use and/or acceptation of the content of this e-mail. Always scan attachments before opening them. The views expressed in this communication may not necessarily be the views held by squareBOX technologies ltd ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brueckel at wave-computer.de Wed Oct 15 18:02:38 2003 From: brueckel at wave-computer.de (=?ISO-8859-15?Q?Alexander_Br=FCckel?=) Date: Wed, 15 Oct 2003 18:02:38 +0200 (CEST) Subject: check_dns problem Message-ID: <3289716.1066233758711.SLOX.WebMail.comfire@openmail.tle.intern> Hi, nagios tells me DNS CRITICAL - '/usr/bin/nslookup -sil' output parsing exited with no address What am i doing wrong? Thanks for your help. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From beckman at purplecow.com Wed Oct 15 18:10:25 2003 From: beckman at purplecow.com (Peter Beckman) Date: Wed, 15 Oct 2003 12:10:25 -0400 (EDT) Subject: OK;SOFT problems with several reports CGI In-Reply-To: <20031015090653.GA27140@ouba.org> References: <20031015090653.GA27140@ouba.org> Message-ID: <20031015120604.P31393@thermonuclear.org> On Wed, 15 Oct 2003, Denis Sacchet wrote: > nagios at hostname var $ tail -f nagios.log > [1066034345] Nagios 1.0 starting... (PID=1866) > [1066034345] Finished daemonizing... (New PID=1867) > [1066034415] SERVICE ALERT: prunelle;HTTP;CRITICAL;SOFT;1;HTTP problem: HTTP/1.1 200 OK - 428.314 millisecond response time > [1066034475] SERVICE ALERT: prunelle;HTTP;OK;SOFT;2;HTTP ok: HTTP/1.1 200 OK - 33.198 millisecond response time > > And more than 30 minutes are passed since the last entry !!! 1066034475 - 1066034415 == 60 seconds... and the last entry is that the service is OK. I don't think the service ever went critical for long enough to generate a HARD state. Can you include proof that the response time was around 400-500ms for 30 minutes consistantly? Maybe the check was able to get through faster than you estimated, under 100ms during your high-processor application run. Beckman --------------------------------------------------------------------------- Peter Beckman Internet Guy beckman at purplecow.com http://www.purplecow.com/ --------------------------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian at smarterliving.com Wed Oct 15 18:16:40 2003 From: brian at smarterliving.com (Brian M. Weir) Date: Wed, 15 Oct 2003 12:16:40 -0400 Subject: Using Nagios to monitor Webtrends Message-ID: <67DE42DB46581C4F9A8C26A40C7EC2D003BD48@warren.smarterliving.com> Hello everyone: I was posting to see if anyone has used Nagios to monitor Webtrends. Aside from the ping that I do, has anyone gone to any great details to monitor whether or not a profile is successful in analyzing, etc. Any help would be greatly appreciated. Thanks, Brian ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Oct 15 18:21:07 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 15 Oct 2003 11:21:07 -0500 Subject: check_dns problem Message-ID: Please send to the list -- Nagios version Plugins version OS and version Nslookup version Nagios service definition for this check Nagios command definition for this check How nagios was installed (tarball with default configure options, Redhat RPM install (where did you get it), etc...) That's just for starters. We need _some_ information besides 'it doesn't work' to start with. -- Marc > -----Original Message----- > From: Alexander Br?ckel [mailto:brueckel at wave-computer.de] > Sent: Wednesday, October 15, 2003 11:03 AM > To: nagios-users at lists.sourceforge.net > > Hi, > > nagios tells me > DNS CRITICAL - '/usr/bin/nslookup -sil' output parsing exited with no > address > What am i doing wrong? > > Thanks for your help. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Oct 15 18:26:45 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 15 Oct 2003 11:26:45 -0500 Subject: Event Handler not firing Message-ID: Can you run the script _as the nagios user_? It could be that the script you wrote is using some external program or file that isn't accessible by the nagios user either because of permissions or path issues. Just a thought. -- Marc ________________________________________ From: Martin, Stanley G [CC] [mailto:Stanley.G.Martin at mail.sprint.com] Sent: Wednesday, October 15, 2003 9:23 AM To: nagios-users at lists.sourceforge.net I finally got an event setup to fire when a service on a Win2K boxes stops running.? However, when the service goes CRITICAL and HARD, the job is not being run.? The nagios.log file says it is, but my script is written in Perl with outputs to a logfile that isn't getting touched.? I can run the script manually just fine. [snip by Marc] Any ideas why this isn't actually running the script?? Is there another logfile I could look at that might tell me something? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brueckel at wave-computer.de Wed Oct 15 18:27:36 2003 From: brueckel at wave-computer.de (=?ISO-8859-15?Q?Alexander_Br=FCckel?=) Date: Wed, 15 Oct 2003 18:27:36 +0200 (CEST) Subject: check_dns problem References: Message-ID: <1690810.1066235256823.SLOX.WebMail.comfire@openmail.tle.intern> Ok, sorry for this. Nagios version: 1.1 Plugins version: 1.3.1 OS: SuSE Linux 8 default tarball installation service definition: define service{ use generic-service host_name mail1,mail2,dns3 service_description DNS-Check is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups web-admins notification_interval 60 notification_period 24x7 notification_options w,u,c,r check_command check_dns } command definition: # 'check_dns' command definition define command{ command_name check_dns command_line $USER1$/check_dns -H www.yahoo.com -s $HOSTADDRESS$ } Again, thanks for your help. Alex Am 15.10.2003 18:21, Marc Powell schrieb: > Please send to the list -- > > Nagios version > Plugins version > OS and version > Nslookup version > Nagios service definition for this check > Nagios command definition for this check > How nagios was installed (tarball with default configure options, Redhat RPM install (where did you get it), etc...) > > That's just for starters. We need _some_ information besides 'it doesn't work' to start with. > > -- > Marc > > > -----Original Message----- > > From: Alexander Br?ckel [mailto:brueckel at wave-computer.de] > > Sent: Wednesday, October 15, 2003 11:03 AM > > To: nagios-users at lists.sourceforge.net > > > > Hi, > > > > nagios tells me > > DNS CRITICAL - '/usr/bin/nslookup -sil' output parsing exited with no > > address > > What am i doing wrong? > > > > Thanks for your help. > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > SourceForge.net hosts over 70,000 Open Source Projects. > > See the people who have HELPED US provide better services: > > Click here: http://sourceforge.net/supporters.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Oct 15 18:44:50 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 15 Oct 2003 11:44:50 -0500 Subject: check_dns problem Message-ID: Those look good. What happens if you run -- /usr/local/nagios/libexec/check_dns -H www.yahoo.com -s And /path/to/nslookup -sil www.yahoo.com Both as the nagios user (su - nagios). I suspect that nagios isn't able to run nslookup. If the nagios user is able to execute both, please provide the output of each command. Thanks, m > -----Original Message----- > From: Alexander Br?ckel [mailto:brueckel at wave-computer.de] > Sent: Wednesday, October 15, 2003 11:28 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > > Ok, sorry for this. > > Nagios version: 1.1 > Plugins version: 1.3.1 > OS: SuSE Linux 8 > default tarball installation > > service definition: > define service{ > use generic-service > host_name mail1,mail2,dns3 > service_description DNS-Check > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups web-admins > notification_interval 60 > notification_period 24x7 > notification_options w,u,c,r > check_command check_dns > } > > command definition: > # 'check_dns' command definition > define command{ > command_name check_dns > command_line $USER1$/check_dns -H www.yahoo.com -s > $HOSTADDRESS$ > } > > Again, thanks for your help. > > Alex > > > > Am 15.10.2003 18:21, Marc Powell schrieb: > > > Please send to the list -- > > > > Nagios version > > Plugins version > > OS and version > > Nslookup version > > Nagios service definition for this check > > Nagios command definition for this check > > How nagios was installed (tarball with default configure options, Redhat > RPM install (where did you get it), etc...) > > > > That's just for starters. We need _some_ information besides 'it doesn't > work' to start with. > > > > -- > > Marc > > > > > -----Original Message----- > > > From: Alexander Br?ckel [mailto:brueckel at wave-computer.de] > > > Sent: Wednesday, October 15, 2003 11:03 AM > > > To: nagios-users at lists.sourceforge.net > > > > > > Hi, > > > > > > nagios tells me > > > DNS CRITICAL - '/usr/bin/nslookup -sil' output parsing exited with no > > > address > > > What am i doing wrong? > > > > > > Thanks for your help. > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > SourceForge.net hosts over 70,000 Open Source Projects. > > > See the people who have HELPED US provide better services: > > > Click here: http://sourceforge.net/supporters.php > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.G.Martin at mail.sprint.com Wed Oct 15 18:51:55 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [CC]) Date: Wed, 15 Oct 2003 11:51:55 -0500 Subject: Event Handler not firing Message-ID: <516DA7BE5D87C8469D89F150CA0B491102C59BC5@PDAWB02C.ad.sprint.com> BINGO!!! The file permissions on the logfile wasn't keeping the script from running, it only allowed me to see what was really going wrong. I needed to put quotes around the $SERVICEDESC$ macro in the command definition because the description had spaces in it. I wouldn't have found that without your help. Thanks. Just needed someone else's eyes to look at it. Stanley G. Martin System Administrator Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Wednesday, October 15, 2003 11:27 AM To: Martin, Stanley G [CC]; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Event Handler not firing Can you run the script _as the nagios user_? It could be that the script you wrote is using some external program or file that isn't accessible by the nagios user either because of permissions or path issues. Just a thought. -- Marc ________________________________________ From: Martin, Stanley G [CC] [mailto:Stanley.G.Martin at mail.sprint.com] Sent: Wednesday, October 15, 2003 9:23 AM To: nagios-users at lists.sourceforge.net I finally got an event setup to fire when a service on a Win2K boxes stops running.? However, when the service goes CRITICAL and HARD, the job is not being run.? The nagios.log file says it is, but my script is written in Perl with outputs to a logfile that isn't getting touched.? I can run the script manually just fine. [snip by Marc] Any ideas why this isn't actually running the script?? Is there another logfile I could look at that might tell me something? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ykorff at cigital.com Wed Oct 15 19:36:24 2003 From: ykorff at cigital.com (Yanek Korff) Date: Wed, 15 Oct 2003 13:36:24 -0400 Subject: CGI Authentication Message-ID: <9B05A21842F77F41ABFB3153FC93201D13970D@va-mail.cigital.com> I've read: http://www.nagios.org/faqs/viewfaq.php?faq_id=48 http://nagios.sourceforge.net/docs/1_0/cgiauth.html http://nagios.sourceforge.net/docs/1_0/configcgi.html I'm still stumped. Accessing Nagios through the web interface brings up pages, but as soon as I try to get useful content, I'm told: It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. In the top left hand corner of the right frame, it says: Current Network Status Last Updated: Wed Oct 15 13:33:48 EDT 2003 Updated every 90 seconds Nagios(r) - www.nagios.org Logged in as ykorff Or if I log in as nagios, it says: Current Network Status Last Updated: Wed Oct 15 13:35:20 EDT 2003 Updated every 90 seconds Nagios(r) - www.nagios.org Logged in as nagios Behavior is the same either way. Running Apache 2.0 on FreeBSD 4.8-STABLE. HTML root is in /usr/local/www/nagios/. CGIs are in /usr/local/www/cgi-bin.nagios/. Configuration files and snippets are below. Can anyone spot a problem and beat me over the head with it? -Yanek. Apache config: ServerName nagios.cigital.com ServerAlias nagios DocumentRoot /usr/local/www/nagios ScriptAlias /cgi-bin/ /usr/local/www/cgi-bin.nagios/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all .htaccess in both directories: AuthName "Nagios" AuthType Basic AuthUserFile /usr/local/etc/nagios/htpasswd require valid-user htpasswd file contains user/pass for users nagios and ykorff cgi.cfg: physical_html_path=/usr/local/www/nagios url_html_path=/ show_context_help=0 nagios_check_command=/usr/local/libexec/nagios/check_nagios /var/spool/nagios/status.log 5 '/usr/local/bin/nagios' use_authentication=1 authorized_for_system_information=nagios,ykorff authorized_for_configuration_information=nagios,ykorff authorized_for_system_commands=nagios,ykorff authorized_for_all_services=nagios,ykorff authorized_for_all_hosts=nagios,ykorff authorized_for_all_service_commands=nagios,ykorff authorized_for_all_host_commands=nagios,ykorff default_statusmap_layout=5 default_statuswrl_layout=4 ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$ refresh_rate=90 nagios.cfg: log_file=/var/spool/nagios/nagios.log cfg_dir=/usr/local/etc/nagios/objects.cfg resource_file=/usr/local/etc/nagios/resource.cfg status_file=/var/spool/nagios/status.log nagios_user=nagios nagios_group=nagios check_external_commands=0 command_check_interval=-1 command_file=/var/spool/nagios/rw/nagios.cmd comment_file=/var/spool/nagios/comment.log downtime_file=/var/spool/nagios/downtime.log lock_file=/var/spool/nagios/nagios.lock temp_file=/var/spool/nagios/nagios.tmp log_rotation_method=d log_archive_path=/var/spool/nagios/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_service_checks=1 inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=10 sleep_time=1 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/var/spool/nagios/status.sav retention_update_interval=60 use_retained_program_state=1 interval_length=60 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 obsess_over_services=0 check_for_orphaned_services=0 check_service_freshness=1 freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> admin_email=nagios admin_pager=pagenagios ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at capband.net Wed Oct 15 20:49:10 2003 From: rob at capband.net (Rob Nelson) Date: Wed, 15 Oct 2003 14:49:10 -0400 Subject: CGI Authentication In-Reply-To: <9B05A21842F77F41ABFB3153FC93201D13970D@va-mail.cigital.com > References: <9B05A21842F77F41ABFB3153FC93201D13970D@va-mail.cigital.com > Message-ID: <5.2.1.1.0.20031015144822.01dc67e0@mail.capband.net> >AuthName "Nagios" Mine says: AuthName "Nagios Access" Didn't say anothing else that looked bad... Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Wed Oct 15 20:39:58 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Wed, 15 Oct 2003 14:39:58 -0400 Subject: Nagios 2.0 question... Message-ID: Hi all, I know that Nagios 2.0 is not out yet, but this is somehow related :) And some of you surely have downloaded the latest CVS. (CSV?) In the current (v1.1) configs, when you want to add a valid url to a host, you have to put it in the Extended Info Definitions file. With version 2.0, host and Extended Info Definitions will be merge (yahoo!). My question is, is there a possibility of putting the notes_url somewhere else then on the "host information" page? Could it be in the service detail view? Here is the example (on v1.1) define hostextinfo{ host_name host_name notes_url http://$HOSTADDRESS$.localdom/ } Thanks Alex --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ykorff at cigital.com Wed Oct 15 20:51:27 2003 From: ykorff at cigital.com (Yanek Korff) Date: Wed, 15 Oct 2003 14:51:27 -0400 Subject: CGI Authentication Message-ID: <9B05A21842F77F41ABFB3153FC93201D139711@va-mail.cigital.com> Nah that'll just control what the auth box displays. For s***s and giggles I changed it to no effect. File perms relevant on anything? -Yanek. > -----Original Message----- > From: Rob Nelson [mailto:rob at capband.net] > Sent: Wednesday, October 15, 2003 14:49 > To: Yanek Korff; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] CGI Authentication > > > > >AuthName "Nagios" > > Mine says: AuthName "Nagios Access" > > Didn't say anothing else that looked bad... > > Rob Nelson > Network Administrator, Capitol Broadband > C: 919-369-1874 > rob at capband.net > > ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Wed Oct 15 22:05:00 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 15 Oct 2003 14:05:00 -0600 Subject: CGI Authentication Message-ID: Did you check the httpd-access and httpd-error logs to see if anything there might tip you off to the problem? Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) > -----Original Message----- > From: Yanek Korff [mailto:ykorff at cigital.com] > Sent: Wednesday, October 15, 2003 12:51 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] CGI Authentication > > > Nah that'll just control what the auth box displays. For s***s and > giggles I changed it to no effect. > > File perms relevant on anything? > > -Yanek. > > > -----Original Message----- > > From: Rob Nelson [mailto:rob at capband.net] > > Sent: Wednesday, October 15, 2003 14:49 > > To: Yanek Korff; nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] CGI Authentication > > > > > > > > >AuthName "Nagios" > > > > Mine says: AuthName "Nagios Access" > > > > Didn't say anothing else that looked bad... > > > > Rob Nelson > > Network Administrator, Capitol Broadband > > C: 919-369-1874 > > rob at capband.net > > > > > > > -------------------------------------------------------------- > -------------- > This electronic message transmission contains information that may be > confidential or privileged. The information contained herein > is intended > solely for the recipient and use by any other party is not > authorized. If > you are not the intended recipient (or otherwise authorized > to receive this > message by the intended recipient), any disclosure, copying, > distribution or > use of the contents of the information is prohibited. If you > have received > this electronic message transmission in error, please contact > the sender by > reply email and delete all copies of this message. Cigital, > Inc. accepts no > responsibility for any loss or damage resulting directly or > indirectly from > the use of this email or its contents. > Thank You. > -------------------------------------------------------------- > -------------- > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From albert.tobey at priority-health.com Wed Oct 15 22:47:04 2003 From: albert.tobey at priority-health.com (Al Tobey) Date: Wed, 15 Oct 2003 16:47:04 -0400 Subject: Nagios::Cmd on CPAN Message-ID: <1066250824.1708.99.camel@linuxws1.internal.priority-health.com> The module I posted a while back is now on CPAN. You should be able to install it using perl -MCPAN -e 'install Nagios::Cmd' Please send me any feedback positive or negative so that I can clean things up and call it 1.0 (to make pointy-hair types happy). http://search.cpan.org/~tobeya/Nagios-Cmd-0.01/lib/Nagios/Cmd.pm More to come ... I eventually want to provide everything necessary to make a nice & fast mod_perl version of the CGI's. Sometime before the end of the year, these additional modules should start appearing under http://search.cpan.org/~tobeya/ -Al Tobey P.S. somebody with the privileges may post this to nagios-announce, too if you feel it's appropriate. ** ** ** PRIVILEGED AND CONFIDENTIAL ** ** ** This email transmission contains privileged and confidential information intended only for the use of the individual or entity named above. Any unauthorized review, use, disclosure or distribution is prohibited and may be a violation of law. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please delete the email and immediately notify the sender via the email return address or mailto:postmaster at priority-health.com. Thank you. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php From ykorff at cigital.com Wed Oct 15 23:15:46 2003 From: ykorff at cigital.com (Yanek Korff) Date: Wed, 15 Oct 2003 17:15:46 -0400 Subject: CGI Authentication Message-ID: <9B05A21842F77F41ABFB3153FC93201D13971E@va-mail.cigital.com> Ach, figured out the problem. My file permissions weren't good for my .cfg files. Fixed. Carry on. -Yanek. > -----Original Message----- > From: Cook, Garry [mailto:GWCOOK at mactec.com] > Sent: Wednesday, October 15, 2003 16:05 > To: Yanek Korff; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] CGI Authentication > > > Did you check the httpd-access and httpd-error logs to see if anything > there might tip you off to the problem? > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > > -----Original Message----- > > From: Yanek Korff [mailto:ykorff at cigital.com] > > Sent: Wednesday, October 15, 2003 12:51 PM > > To: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] CGI Authentication > > > > > > Nah that'll just control what the auth box displays. For s***s and > > giggles I changed it to no effect. > > > > File perms relevant on anything? > > > > -Yanek. > > > > > -----Original Message----- > > > From: Rob Nelson [mailto:rob at capband.net] > > > Sent: Wednesday, October 15, 2003 14:49 > > > To: Yanek Korff; nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] CGI Authentication > > > > > > > > > > > > >AuthName "Nagios" > > > > > > Mine says: AuthName "Nagios Access" > > > > > > Didn't say anothing else that looked bad... > > > > > > Rob Nelson > > > Network Administrator, Capitol Broadband > > > C: 919-369-1874 > > > rob at capband.net > > > > > > > > > > > > -------------------------------------------------------------- > > -------------- > > This electronic message transmission contains information > that may be > > confidential or privileged. The information contained herein > > is intended > > solely for the recipient and use by any other party is not > > authorized. If > > you are not the intended recipient (or otherwise authorized > > to receive this > > message by the intended recipient), any disclosure, copying, > > distribution or > > use of the contents of the information is prohibited. If you > > have received > > this electronic message transmission in error, please contact > > the sender by > > reply email and delete all copies of this message. Cigital, > > Inc. accepts no > > responsibility for any loss or damage resulting directly or > > indirectly from > > the use of this email or its contents. > > Thank You. > > -------------------------------------------------------------- > > -------------- > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > SourceForge.net hosts over 70,000 Open Source Projects. > > See the people who have HELPED US provide better services: > > Click here: http://sourceforge.net/supporters.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drew.cullis at gwl.com Wed Oct 15 23:47:46 2003 From: drew.cullis at gwl.com (Drew Cullis) Date: Wed, 15 Oct 2003 15:47:46 -0600 Subject: expanation of Ethan's examples for snmptrapd Message-ID: <3F8DC082.AFA10498@gwl.com> Hello; I'm in the process of getting snmp working on my RH 7.3 box, using Nagios 1.0 & plugins 1.3.1 and monitoring SAN devices. Can anyone explain the syntax for Ethan's examples for his snmptrapd.conf file and handle-arcserve-trap script? Some of it is obvious, but what I don't understand are these parts; In the snmptrapd.conf file ::arcServetrap9 the 9 at the end In the handle-arcserve-trap file 11) # Tape format failures traphandle ARCserve-Alarm-MIB::arcServetrap9/usr/local/nagios/libexec/eventhandlers/handle-arcserve-trap 9 # failed to format tape - critical 11) output="Critical: Failed to format tape" state=2 ;; Has anyone gotten this type of example to work in their environment? My understanding is the traphandle gets its info from the ARCserve-Alarm MIB, in this example trap 9, then runs the arcserve-trap script, inserting trap 9 ????. Is there any correlation between the trap # and the 11 (or any of these numbers) in the other script? Hopefully this post is somewhat clear & understandable. Any help would be appreciated. -- Drew Cullis ITS UNIX Sys Admin Phone: 303-737-6506 Email: drew.cullis at gwl.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Thu Oct 16 03:14:45 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 15 Oct 2003 20:14:45 -0500 Subject: NagMIN Question In-Reply-To: <516DA7BE5D87C8469D89F150CA0B491102BDAA5B@PDAWB02C.ad.sprint.com> References: <516DA7BE5D87C8469D89F150CA0B491102BDAA5B@PDAWB02C.ad.sprint.com> Message-ID: <16269.61701.125284.346189@montanaro.dyndns.org> Stanley> I do see where I can add an Event Handler in a Service Stanley> Template, but that would mean I'd have to create a new Template Stanley> for each service that would require a unique Event. Thanks for Stanley> the suggestions. I've taken to dumping the database (including DROP statements) to an SQL file using the Backup button, editing the SQL directly (deleting rows, changing names, adding INSERT statements, etc), then loading the SQL using the mysql command. This gives me complete freedom. I've made global deletes and changes with Emacs and written scripts in Python to generate large numbers of INSERTs from content in a CSV file. If you need to make a lot of changes, this is a much less labor-intensive way to go about it, in my opinion. The only thing missing is a "lock" button to prevent others from messing with the database while I'm tweaking the raw SQL. -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Thu Oct 16 04:30:21 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 15 Oct 2003 21:30:21 -0500 Subject: [Nagmin-users] NagMIN Question In-Reply-To: <000501c392e0$5b809970$6401a8c0@nanner> References: <516DA7BE5D87C8469D89F150CA0B491102BDA9D6@PDAWB02C.ad.sprint.com> <000501c392e0$5b809970$6401a8c0@nanner> Message-ID: <16270.701.26320.949799@montanaro.dyndns.org> Fred> NagMIN 2.0.2 is up on SourceForge now and is the best version. Any issues involved in upgrading from 1.6.0? I posted a patch to SF a few days ago: http://sourceforge.net/tracker/index.php?func=detail&aid=820273&group_id=77010&atid=548908 Did that make it into 2.0.2? It's useful for people like me who want to store related info in the NagMIN database which NagMIN won't use. Another problem I encountered but forgot to file a bug report about is that NagMIN doesn't properly quote ` (backquote) characters. They can turn up in command definitions enclosing embedded Unix commands. Does 2.0.2 fix this? -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Oct 16 05:31:05 2003 From: teng at dataway.com (Tedman Eng) Date: Wed, 15 Oct 2003 20:31:05 -0700 Subject: Trends graphical options References: <003201c392ff$8f9617c0$0300a8c0@optiplex> Message-ID: I would definately recommend APAN. You can use the SNMP module to graph all sorts of cool statistics (provided the device is SNMP enabled). We're graphing everything from UPS load to web proxy hits. "Matthew Wilson" wrote in message news:003201c392ff$8f9617c0$0300a8c0 at optiplex... Hi, Depending on what kind of data you want to include in your reports, you may wish to look at APAN.(apan.sourceforge.net) It runs many of the standard nagios service checks and logs the results to a RRD (round-robin database). It then uses RRDtool to produce a page containing graphs of the results. I am currently using this to recording ping RTA and % packet loss for about 50 hosts. Additionally on my system I use RRGrapher http://rrdtool.cyclone.se/rrdworld/rrgrapher.html to produce custom graphs (from the RRDs) for particular time periods or to plot several hosts on the same graph Matthew Wilson DC-Sat.net ----- Original Message ----- From: "Jes?s Oliv?n" To: Sent: Wednesday, October 15, 2003 10:26 AM Subject: [Nagios-users] Trends graphical options > Hi! > > i'm a recent nagios user, after installing it on my debian box and having my > lan well monitored, i'm interested in create reports from all hosts tcp or > ping delay time (it appears as RTA in nagios.log), then i can monitor my lan > with a more accurated trace and can see if any host tcp stack is overloaded. > Is it possible? > > Thanks in advance. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bradley_Raatz at health.qld.gov.au Thu Oct 16 08:25:14 2003 From: Bradley_Raatz at health.qld.gov.au (Bradley Raatz) Date: Thu, 16 Oct 2003 16:25:14 +1000 Subject: something instead of ping. Message-ID: can someone tell me if there is a way to check the state of a host with something like ping that will work on all ip hosts. I am unable to use ping as our routers will not allow ping to operate due to Nachi virus filtering. many thanks Brad. *********************************************************************************** This email, including any attachments sent with it, is confidential and for the sole use of the intended recipients(s). This confidentiality is not waived or lost, if you receive it and you are not the intended recipient(s), or if it is transmitted/received in error. Any unauthorised use, alteration, disclosure, distribution or review of this email is prohibited. It may be subject to a statutory duty of confidentiality if it relates to health service matters. If you are not the intended recipients(s), or if you have received this e-mail in error, you are asked to immediately notify the sender by telephone or by return e-mail. You should also delete this e-mail message and destroy any hard copies produced. *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Oct 16 08:34:30 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 16 Oct 2003 16:34:30 +1000 Subject: The case of the missing case 9 in the example trap handler. In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Wed, Oct 15, 2003 at 08:21:34PM -0700 References: Message-ID: <20031016163426.C22958@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Wed, Oct 15, 2003 at 08:21:34PM -0700, nagios-users-request at lists.sourceforge.net wrote: > > Message: 5 > Date: Wed, 15 Oct 2003 15:47:46 -0600 > From: Drew Cullis > To: Nagios > Subject: [Nagios-users] expanation of Ethan's examples for snmptrapd > > Hello; > I'm in the process of getting snmp working on my RH 7.3 box, using > Nagios 1.0 & plugins 1.3.1 and monitoring SAN devices. Can anyone > explain the syntax for Ethan's examples for his snmptrapd.conf file and > handle-arcserve-trap script? Not necessarily, however I used this example to begin my Nagios trap handling foray and this example taught me a lot. > Some of it is obvious, but what I don't > understand are these parts; > In the snmptrapd.conf file > ::arcServetrap9 > the 9 at the end Here's an example from my ancient and no longer used snmptrapd.conf file tsitc> co -p -r1.2 snmptrapd.conf | more RCS/snmptrapd.conf,v --> standard output revision 1.2 ############################# # Foundry ServerIron SNMP Traps ############################# # traphandle FOUNDRY-SN-TRAP-MIB::snTrapL4RealServerUp /usr/local/netsaint/libexec/eventhandlers/handle-foundry-traps 21 # The syntax is OID (fully qualified ie MIB_NAME::Oid) TrapHandler TrapNumber My docco however shows (from the example quoted) # Tape format failures traphandle ARCserve-Alarm-MIB::arcServetrap9 /usr/local/nagios/libexec/eventhandlers/handle-arcserve-trap 9 ie for the OID named arcServetrap9 (a trap) from the ARCserve-Alarm-MIB MIB, call /usr/local/nagios/libexec/eventhandlers/handle-arcserve-trap with one argument (ie the shell var $1) '9'. > In the handle-arcserve-trap file > 11) > > # Tape format failures > traphandle > ARCserve-Alarm-MIB::arcServetrap9/usr/local/nagios/libexec/eventhandlers/handle-arcserve-trap > 9 > > # failed to format tape - critical > 11) > output="Critical: Failed to format tape" > state=2 > ;; > There should be a case 9: Ooops. A typo has crept in that you have spotted. Well done ! However, all the other traps are handled. Here is the missing case # Tape cannot be formatted - blow up 9) output="Red alert ! Tape cannot be formatted." state=2 ;; To sum up 1 The snmptrapd enumerates the traps to be responded to 2 Vectors the trap to a trap handler 3 In most cases, the handler decodes the trap (with a case) and sets - the PluginOuput - the Alert type (2 for critical 0 for Ok). There is some perplexing redundancy in doing things this way - the official Net-SNMP sanctioned or at least provided way - in that the trap is first recognised in snmptrapd and then passed on to be recognised again by the handler. You may find that this method of handling traps fails to scale since you have to 1 Update and restart snmptrapd and 2 Update or write a trap handler for each new trap you want a passive service result from. Your alternatives are 1 Alex Burger's 'snmptt' a much more elegant and scalable way of automating trap handling 2 Risto Vaarandi's 'sec' ('sec' is an Event Correlator pproviding at least some of the functions of Tivoli Resource Managers IIRC] that can be used for many many applications. I use it to decode traps by pattern matching the snmptrapd log and writing the passive service check result to the Nag command file (like a trap handler does but in Perl embedded in the sec configuration). Sec can viewed as turbocharged swatch) > Has anyone gotten this type of example to work in their environment? My > understanding is the traphandle gets its info from the ARCserve-Alarm > MIB, in this example trap 9, then runs the arcserve-trap script, > inserting trap 9 ????. Is there any correlation between the trap # and > the 11 (or any of these numbers) in the other script? Hopefully this > post is somewhat clear & understandable. Any help would be appreciated. > Your understanding is correct. There is a typo in Mr Galstads example: please submit a patch to add the missing case to the HTML of the example. There should be a one to one correspondence between the . argument(s) passed to the trap handler . the number of a trap in the MIB . a case or processing block in the handler. > -- > > Drew Cullis > ITS UNIX Sys Admin > Phone: 303-737-6506 Email: drew.cullis at gwl.com > > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjl at topdanmark.dk Thu Oct 16 09:35:52 2003 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Thu, 16 Oct 2003 09:35:52 +0200 Subject: Whoops - Replace information.... Message-ID: Hi List, I like the Whoops information page. But is it possible to replace the information? Example: Nagios is being updated - will be back with in a few minutes. If this state continues for more than 30 minutes - Call 8472984729847 Thank you! ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sam at Luna.nl Thu Oct 16 11:45:55 2003 From: Sam at Luna.nl (Sam Terburg) Date: Thu, 16 Oct 2003 11:45:55 +0200 Subject: notify Message-ID: <404FDD57B6C6D2119E0700902735F524019FA17D@lavazza.office.luna.net> 1) how do i specify a contact for a host? i can only find the contact_groups property for a service, but not for a host 2) when a service or all services are down for a host there isn't any host check (ping) triggered. the host stays up. 3) could it be that when i overwrite the contact_groups property of a service that is already set by using a template that it doesn't overwrite the contact_groups but actually adds it? because now the group from the template as well as the group specified for the specific service are being notified. Greetings, Sam Terburg Operations @ Luna.nl -------------------------------------------------------------------- Luna.nl B.V. -------------------------------------------------------------------- Puntegaalstraat 109 Postbus 63000 Tel : (010) 750 2000 3024 EB ROTTERDAM 3002 JA ROTTERDAM Fax : (010) 750 2002 www.luna.nl luna at luna.nl Helpdesk: (010) 750 2020 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Thu Oct 16 12:27:24 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: 16 Oct 2003 12:27:24 +0200 Subject: setup question Message-ID: <1066300044.2350.10.camel@roy-sin> hi how can I have Nagios send a message once a day at ~11.00 saying 'hi. I'm alive'. There have been requests on this, but I can't see how I can do it properly... roy ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wmf at noris.de Thu Oct 16 12:44:58 2003 From: wmf at noris.de (Wolfgang Fellner) Date: Thu, 16 Oct 2003 12:44:58 +0200 Subject: distributed monitoring and passive host checks? Message-ID: <3F8E76AA.4060505@noris.de> hi list, i have running distributed monitoring setup since some weeks. all works good. the only problem i have is the host-state: because of security-reasons i have no way to connect to the hosts from the central server. trought this the central server doesn't recognize if a host is down. and so the nagios-instance on the central-server sends critical-notifications for all services of the down host. does anybody know a solution for this problem? kind regards, wmf ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeffrey.Morgan at BristolWest.com Thu Oct 16 13:00:12 2003 From: Jeffrey.Morgan at BristolWest.com (Jeffrey Morgan) Date: Thu, 16 Oct 2003 07:00:12 -0400 Subject: Need help setting up security Message-ID: <061E2C460B6B574D94B538F35E27F8430166F644@ohcleex01.bristolwest.com> I guess I do not know how to setup the guest account. I set the default_user_name to guest in the cgi.cfg file and added guest to the relevant authorized_* entries but all users are still prompted for a password when they access the site. What am I doing wrong? -Jeff > enable guest user, allow users withinh the network to access page with > no authentication. > > -- > Karl > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Thu Oct 16 13:42:21 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Thu, 16 Oct 2003 07:42:21 -0400 Subject: distributed monitoring and passive host checks? Message-ID: <5F29693503507B4FB4032686ADF86267214E4C@mtviny25.mtvi.com> An HTML attachment was scrubbed... URL: From visigoth at home.nl Thu Oct 16 14:16:16 2003 From: visigoth at home.nl (R. F.) Date: Thu, 16 Oct 2003 14:16:16 +0200 Subject: Nagios & NagMIN? Message-ID: <000001c393df$4fb38120$524178d9@cp132919a> Hi, I just can't seem to get the Nagios web interface when I start it with Nagmin. The Nagios process seems to be running, but when I log in and try to check any status I get a "Whoops! Error: Could not read host and service status information!" Anyone know how to solve this problem, or point me in the right direction? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.fischer at quadriga.com Thu Oct 16 14:12:20 2003 From: thomas.fischer at quadriga.com (Fischer, Thomas) Date: Thu, 16 Oct 2003 13:12:20 +0100 Subject: distributed monitoring and passive host checks? Message-ID: <5D339AE687B0C8438185AE62ED06697D035BC8@ukchmail01.mail.quadriga.com> Wolfgang, yes there is a solution. However i can't send you any code for it since we developed it inhouse and blah legal issues blah. However i can describe how it was solved :o). For every device you monitor you also do a check for PING as a service. This service check will forward all results to the central server. On the central server you use any method to monitor /var/log/messages. Nagios is configured to log all external commands via syslog. You could use for example swatch to monitor your /var/log/messages for the external PING commands. These results you pipe through a little script that parses the complete syslog message for the hostname and the status. You write a little function that writes the result into a very simple DB table (just hostname and status needed). Now you replace the host check command on the central server with a script or application that queries the DB and returns the result back to Nagios. Simple and it works. Host checks are nothing else than check_pings and if you catch the results via a PING service you will be fine for host checks as well. This method does not require that the remote host is reachable. However also consider to use service freshness checks. One pitfall exists however. If you don't get service results transmitted nagios will only see the check results from the last time it received a status. This might mean that the host is still marked as up. If you use service freshness checks you can put a general check command in for this service that gets executed whenever the freshness threshhold is reached. This command could also update the DB and set the host status to Critical. But even then there is the chance of a false positive. But better a false positive from time to time than false positives all the time. You can also extend this method to deal with all service check results so that the central Nagios server will only query the DB for all results. This should make things a bit faster and more performant. If you want you can also modify NSCA to write as a general rule all stati into the DB for every host and service. You could use this data to write your own reports on the current status or do whatever you want with it. I will use this method to create a very fast overview page so people don't have to log on to Nagios and still be able to see the system status. The NSCA daemon changes i will post to the community as soon as they are finished. Or you make it yourself easier and wait that Nagios 2.0 is released where passive host checks are natively supported. Ethan reckons that Nagios 2.0 is going end of October into Beta. Tom -----Original Message----- From: Wolfgang Fellner [mailto:wmf at noris.de] Sent: 16 October 2003 11:45 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] distributed monitoring and passive host checks? hi list, i have running distributed monitoring setup since some weeks. all works good. the only problem i have is the host-state: because of security-reasons i have no way to connect to the hosts from the central server. trought this the central server doesn't recognize if a host is down. and so the nagios-instance on the central-server sends critical-notifications for all services of the down host. does anybody know a solution for this problem? kind regards, wmf ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail is the property of Quadriga Worldwide Ltd The message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company. From visigoth at home.nl Thu Oct 16 14:22:44 2003 From: visigoth at home.nl (R. F.) Date: Thu, 16 Oct 2003 14:22:44 +0200 Subject: Nagios & NagMIN (2) Message-ID: <000001c393e0$33b1e600$524178d9@cp132919a> Actually, I just noticed the Nagios process only starts to run when I log into Webmin and go to the NagMIN main system list. As soon as I click away it stops. Anyone? -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Thu Oct 16 15:11:59 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 16 Oct 2003 09:11:59 -0400 (EDT) Subject: something instead of ping. In-Reply-To: References: Message-ID: On Thu, 16 Oct 2003, Bradley Raatz wrote: > can someone tell me if there is a way to check the state of a host with > something like ping that will work on all ip hosts. I am unable to use > ping as our routers will not allow ping to operate due to Nachi virus > filtering. > Depends on your access - snmp sysUptime, ntp, ssh/telnet -- sg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From beckman at purplecow.com Thu Oct 16 15:03:27 2003 From: beckman at purplecow.com (Peter Beckman) Date: Thu, 16 Oct 2003 09:03:27 -0400 (EDT) Subject: something instead of ping. In-Reply-To: References: Message-ID: <20031016090209.J31393@thermonuclear.org> On Thu, 16 Oct 2003, Bradley Raatz wrote: > can someone tell me if there is a way to check the state of a host with > something like ping that will work on all ip hosts. I am unable to use > ping as our routers will not allow ping to operate due to Nachi virus > filtering. Check TCP will allow you to check a TCP service rather than an ICMP one. Beckman --------------------------------------------------------------------------- Peter Beckman Internet Guy beckman at purplecow.com http://www.purplecow.com/ --------------------------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Oct 16 15:18:26 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 16 Oct 2003 09:18:26 -0400 (EDT) Subject: setup question In-Reply-To: <1066300044.2350.10.camel@roy-sin> References: <1066300044.2350.10.camel@roy-sin> Message-ID: On 16 Oct 2003, Roy Sigurd Karlsbakk wrote: > hi > > how can I have Nagios send a message once a day at ~11.00 saying 'hi. > I'm alive'. There have been requests on this, but I can't see how I can > do it properly... > if you want a fixed time of the day - use cron and wrapper around check_nagios - this way you get both a positive and negative ack. Having Nagios doing it, means the time of day for the message is restart dependent and absence of the message is a problem. This may not be what you want. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jesusolivan at pickingpack.net Thu Oct 16 16:11:55 2003 From: jesusolivan at pickingpack.net (=?iso-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Thu, 16 Oct 2003 16:11:55 +0200 Subject: Cannot ping with APAN Message-ID: Hi! i'm trying to create some ping rtt reports with apan and rrdtool. I've saw at apan documentation for installing and configuring it, but i didnt success. Now i've got two problems: 1.- nagios tell me "Status Information: PING CRITICAL - Host not found (PDC)" when performing ping check with apan in my host "PDC". I've tried to perform manual plugin check and it returned this: debian:/usr/local/nagios/etc# /usr/local/nagios/apan/apan.sh ping PDC ping 10 150.0,20% 600.0,80% (standard_in) 1: parse error PING CRITICAL - Host not found (PDC) Here is my checkcommands.cfg: define command { command_name apan command_line /usr/local/nagios/apan/apan.sh $ARG1$ $HOSTNAME$ "$SERVICEDESC$" $TIMET$ $ARG2$ $ARG3$ } part of services.cfg: # Generic service definition template define service { host_name PDC service_description ping check_command apan!ping!100.0,20%!500.0,60% name ping use generic-service normal_check_interval 1 check_period 24x7 max_check_attempts 3 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r } and finally apan.cfg: PDC;ping;/usr/local/nagios/rrd/PDC_Ping.rrd;ping;ping:LINE2;ping round time;Seconds 2.- Im trying to add an image linked to graphical report, but i didnt success, attaching a bit of my cgi.cfg: define serviceextinfo{ host_name PDC service_description ping notes_url /nagios/cgi-bin/apan.cgi?host=PDC&service=ping icon_image graph.png icon_image_alt View graphs } I cannot see any icon with this configuration =( That's all, thanks in advance for your help =) ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Thu Oct 16 16:37:53 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Thu, 16 Oct 2003 10:37:53 -0400 Subject: something instead of ping. Message-ID: <5F29693503507B4FB4032686ADF862673B5B6F@mtviny25.mtvi.com> I think this is a question more suited for your networking dept. You can use any tcp port with the check_tcp plugin. You just have to know which ports are open in your network... -Keith -----Original Message----- From: Bradley Raatz [mailto:Bradley_Raatz at health.qld.gov.au] Sent: Thursday, October 16, 2003 2:25 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] something instead of ping. can someone tell me if there is a way to check the state of a host with something like ping that will work on all ip hosts. I am unable to use ping as our routers will not allow ping to operate due to Nachi virus filtering. many thanks Brad. ************************************************************************ *********** This email, including any attachments sent with it, is confidential and for the sole use of the intended recipients(s). This confidentiality is not waived or lost, if you receive it and you are not the intended recipient(s), or if it is transmitted/received in error. Any unauthorised use, alteration, disclosure, distribution or review of this email is prohibited. It may be subject to a statutory duty of confidentiality if it relates to health service matters. If you are not the intended recipients(s), or if you have received this e-mail in error, you are asked to immediately notify the sender by telephone or by return e-mail. You should also delete this e-mail message and destroy any hard copies produced. ************************************************************************ *********** -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Thu Oct 16 16:57:34 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 16 Oct 2003 09:57:34 -0500 Subject: something instead of ping. Message-ID: Additionally, it's a simple matter to create an access-list on a router that specifically allows ICMP from a source host or network (i.e. your monitoring servers) while denying it from everywhere else. -- Marc ________________________________________ From: Hochberg, Keith [mailto:Keith.Hochberg at mtvi.com] Sent: Thursday, October 16, 2003 9:38 AM To: Bradley Raatz; nagios-users at lists.sourceforge.net I think this is a question more suited for your networking dept.? You can use any tcp port with the check_tcp plugin.? You just have to know which ports are open in your network... ? -Keith -----Original Message----- From: Bradley Raatz [mailto:Bradley_Raatz at health.qld.gov.au] Sent: Thursday, October 16, 2003 2:25 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] something instead of ping. can someone tell me if there is a way to check the state of a host with something like ping that will work on all ip hosts.? I am unable to use ping as our routers will not allow ping to operate due to Nachi virus filtering. ? many thanks ? Brad. ? *********************************************************************************** This email, including any attachments sent with it, is confidential and for the sole use of the intended recipients(s). This confidentiality is not waived or lost, if you receive it and you are not the intended recipient(s), or if it is transmitted/received in error. Any unauthorised use, alteration, disclosure, distribution or review of this email is prohibited. It may be subject to a statutory duty of confidentiality if it relates to health service matters. If you are not the intended recipients(s), or if you have received this e-mail in error, you are asked to immediately notify the sender by telephone or by return e-mail. You should also delete this e-mail message and destroy any hard copies produced. *********************************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcioqueiroz at vicom.com.br Thu Oct 16 17:11:17 2003 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Thu, 16 Oct 2003 12:11:17 -0300 Subject: RES: Cannot ping with APAN Message-ID: Hi, 1 - Apan does not use the HOSTADDRESS for ping, insted it uses the HOSTNAME for ping, so you have to put the address in the "hosts" file on the /etc directory. Use the same name you use in nagios, and this will work. 2 - are this lines in the cgi.cfg? or are in a separte file, which the cgi.cfg calls ? like this : in cgi.cfg : xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg and in the serviceextinfo.cfg define serviceextinfo{ host_name PDC service_description ping notes_url /nagios/cgi-bin/apan.cgi?host=PDC&service=ping icon_image graph.png icon_image_alt View graphs } bye, Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com > ----- Mensagem original ----- > De: Jes?s Oliv?n [SMTP:jesusolivan at pickingpack.net] > Enviada em: quinta-feira, 16 de outubro de 2003 11:12 > Para: Nagios List > Assunto: [Nagios-users] Cannot ping with APAN > > Hi! > > i'm trying to create some ping rtt reports with apan and rrdtool. I've saw > at apan documentation for installing and configuring it, but i didnt > success. Now i've got two problems: > > 1.- nagios tell me "Status Information: PING CRITICAL - Host not found > (PDC)" when performing ping check with apan in my host "PDC". I've tried > to > perform manual plugin check and it returned this: > > debian:/usr/local/nagios/etc# /usr/local/nagios/apan/apan.sh ping PDC ping > 10 150.0,20% 600.0,80% > (standard_in) 1: parse error > PING CRITICAL - Host not found (PDC) > > Here is my checkcommands.cfg: > > define command { > command_name apan > command_line /usr/local/nagios/apan/apan.sh > $ARG1$ > $HOSTNAME$ "$SERVICEDESC$" $TIMET$ $ARG2$ $ARG3$ > } > > part of services.cfg: > > # Generic service definition template > define service { > host_name PDC > service_description ping > check_command apan!ping!100.0,20%!500.0,60% > name ping > use generic-service > normal_check_interval 1 > check_period 24x7 > max_check_attempts 3 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > > } > > and finally apan.cfg: > PDC;ping;/usr/local/nagios/rrd/PDC_Ping.rrd;ping;ping:LINE2;ping round > time;Seconds > > > > 2.- Im trying to add an image linked to graphical report, but i didnt > success, attaching a bit of my cgi.cfg: > > define serviceextinfo{ > host_name PDC > service_description ping > notes_url > /nagios/cgi-bin/apan.cgi?host=PDC&service=ping > icon_image graph.png > icon_image_alt View graphs > } > > I cannot see any icon with this configuration =( > > > That's all, thanks in advance for your help =) > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 17:55:22 2003 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Thu, 16 Oct 2003 10:55:22 -0500 (CDT) Subject: distributed monitoring and passive host checks? In-Reply-To: <3F8E76AA.4060505@noris.de> References: <3F8E76AA.4060505@noris.de> Message-ID: On Thu, 16 Oct 2003, Wolfgang Fellner wrote: > hi list, > > i have running distributed monitoring setup since some weeks. all works > good. the only problem i have is the host-state: > because of security-reasons i have no way to connect to the hosts from > the central server. trought this the central server doesn't recognize if > a host is down. and so the nagios-instance on the central-server sends > critical-notifications for all services of the down host. > does anybody know a solution for this problem? > Why not use passive checks? I have a similar problem where my nagios box is in the DMZ and therefore not allowed to open connections to the private LAN. So, I installed a second Nagios box, added nsca there, and send the results from the LAN-->DMZ which is permitted under our security policy. I set all the host checks on the DMZ nagios box to check_dummy and use the check_freshness setting to make sure the passive results show up on the DMZ nagios instance at least once an hour. Works like a charm. See in general Nagios documentation on Passive Service Checks and Distributed Monitoring. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 18:06:05 2003 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Thu, 16 Oct 2003 11:06:05 -0500 (CDT) Subject: Services go stale after HARD state change In-Reply-To: <1066222878.1467.10.camel@localhost.localdomain> References: <1066222878.1467.10.camel@localhost.localdomain> Message-ID: On Wed, 15 Oct 2003, James Harrison wrote: > List, > > I have recently migrated from a central only to central and distributed > environment. > > I was having some trouble with freshness, but as my distributed box > polls every 5 minutes I have set my central server's freshness_threshold > at 330 seconds (5.5 mins.) This seems to have calmed down my central > server and things seem ok. > > Now I'm noticing that my services seem to be going stale after I have a > HARD state change and notices are sent out. (I'm using email and > qpage[local modem] notifications) > > Is this because notices(dialing a local modem, etc) is CPU intense? I > just had an outage my loads are .73,.51,.45. I had a boat load of > services go stale on the state changes. > > What could be causing my services to go stale? Anything I can do to > mitigate this problem? James, Edit your services.cfg file to set freshness_threshold higher. On a hard state change, Nagios will always check the host so there's not really a way around that without dropping freshness checking altogether. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeffrey.Morgan at BristolWest.com Thu Oct 16 18:11:31 2003 From: Jeffrey.Morgan at BristolWest.com (Jeffrey Morgan) Date: Thu, 16 Oct 2003 12:11:31 -0400 Subject: Proper setup of guest account Message-ID: <061E2C460B6B574D94B538F35E27F8430166F648@ohcleex01.bristolwest.com> What is the proper way to setup the guest account? I have my default_user_name set to guest and guest is added to several of my authorized_* entries yet I am still prompted for a password when accessing the CGIs. -Jeff ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damian at sentex.net Thu Oct 16 18:11:05 2003 From: damian at sentex.net (Damian Gerow) Date: Thu, 16 Oct 2003 12:11:05 -0400 Subject: something instead of ping. In-Reply-To: References: Message-ID: <20031016161105.GX1977@sentex.net> Thus spake Bradley Raatz (Bradley_Raatz at health.qld.gov.au) [16/10/03 02:35]: > can someone tell me if there is a way to check the state of a host with > something like ping that will work on all ip hosts. I am unable to use > ping as our routers will not allow ping to operate due to Nachi virus > filtering. Might I suggest you modify your ACLs to block 92-byte ICMP echo requests, instead of a blanket ICMP echo reqeust ACL? That will probably save you further headaches in the future, and will still let you ping from a Unix machine. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Oct 16 18:13:12 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 16 Oct 2003 11:13:12 -0500 Subject: distributed monitoring and passive host checks? Message-ID: > -----Original Message----- > From: Demetri Mouratis [mailto:dmourati at cm.math.uiuc.edu] > Sent: Thursday, October 16, 2003 10:55 AM > To: Wolfgang Fellner > Cc: nagios-users at lists.sourceforge.net > > On Thu, 16 Oct 2003, Wolfgang Fellner wrote: > > > hi list, > > > > i have running distributed monitoring setup since some weeks. all works > > good. the only problem i have is the host-state: > > because of security-reasons i have no way to connect to the hosts from > > the central server. trought this the central server doesn't recognize if > > a host is down. and so the nagios-instance on the central-server sends > > critical-notifications for all services of the down host. > > does anybody know a solution for this problem? > > > > Why not use passive checks? I have a similar problem where my nagios box > is in the DMZ and therefore not allowed to open connections to the private > LAN. So, I installed a second Nagios box, added nsca there, and send the > results from the LAN-->DMZ which is permitted under our security policy. > > I set all the host checks on the DMZ nagios box to check_dummy and use the > check_freshness setting to make sure the passive results show up on the > DMZ nagios instance at least once an hour. > > Works like a charm. > > See in general Nagios documentation on Passive Service Checks and > Distributed Monitoring. I think you've described exactly what he's doing, which does not include passive host checks, which he's asking for. I've actually done the same as you (except not even specified a host check command), but by doing so, we lose all the benefits of the host checks like parenting, unreachability, host dependencies, etc. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Oct 16 18:35:59 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 16 Oct 2003 11:35:59 -0500 Subject: RES: Cannot ping with APAN In-Reply-To: References: Message-ID: <1066322159.24211.160.camel@localhost> An easier (and better, in my opinion) solution is to hack the apan script to use the hostaddress instead. I did it already - patch is attached. (diff from apan.stock to apan in nagios directory). Notably, this patch makes ALL apan plugs use IP instead of hostname on the command line (only). Just add a seventh field in your checkcommands.cfg to make it work: command_line /usr/local/nagios/apan/apan.sh $ARG1$ $HOSTNAME$ "$SERVICEDESC$" $TIMET$ $ARG2$ $ARG3$ $HOSTADDRESS$ nice, eh? On Thu, 2003-10-16 at 10:11, Marcio Queiroz wrote: > Hi, > > 1 - Apan does not use the HOSTADDRESS for ping, insted it uses the HOSTNAME > for ping, so you have to put the address in the "hosts" file on the /etc > directory. Use the same name you use in nagios, and this will work. > > 2 - are this lines in the cgi.cfg? or are in a separte file, which the > cgi.cfg calls ? like this : > > in cgi.cfg : > xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg > > and in the serviceextinfo.cfg > > define serviceextinfo{ > host_name PDC > service_description ping > notes_url > /nagios/cgi-bin/apan.cgi?host=PDC&service=ping > icon_image graph.png > icon_image_alt View graphs > } > > > bye, > Marcio Q. Dall Agnol > phone : 55-21-3873-5826 > Fax : 55-21-3873-5845 > marcioqueiroz at vicom.com.br > VICOM > Net Servi?os de Comunica??o S/A > Visite nossas p?ginas: > Redes Corporativas: > Internet Banda Larga: > TV por Assinatura : > Institucional: http://www.netservicos.com > > > > > ----- Mensagem original ----- > > De: Jes?s Oliv?n [SMTP:jesusolivan at pickingpack.net] > > Enviada em: quinta-feira, 16 de outubro de 2003 11:12 > > Para: Nagios List > > Assunto: [Nagios-users] Cannot ping with APAN > > > > Hi! > > > > i'm trying to create some ping rtt reports with apan and rrdtool. I've saw > > at apan documentation for installing and configuring it, but i didnt > > success. Now i've got two problems: > > > > 1.- nagios tell me "Status Information: PING CRITICAL - Host not found > > (PDC)" when performing ping check with apan in my host "PDC". I've tried > > to > > perform manual plugin check and it returned this: > > > > debian:/usr/local/nagios/etc# /usr/local/nagios/apan/apan.sh ping PDC ping > > 10 150.0,20% 600.0,80% > > (standard_in) 1: parse error > > PING CRITICAL - Host not found (PDC) > > > > Here is my checkcommands.cfg: > > > > define command { > > command_name apan > > command_line /usr/local/nagios/apan/apan.sh > > $ARG1$ > > $HOSTNAME$ "$SERVICEDESC$" $TIMET$ $ARG2$ $ARG3$ > > } > > > > part of services.cfg: > > > > # Generic service definition template > > define service { > > host_name PDC > > service_description ping > > check_command apan!ping!100.0,20%!500.0,60% > > name ping > > use generic-service > > normal_check_interval 1 > > check_period 24x7 > > max_check_attempts 3 > > retry_check_interval 1 > > contact_groups linux-admins > > notification_interval 120 > > notification_period 24x7 > > notification_options w,u,c,r > > > > } > > > > and finally apan.cfg: > > PDC;ping;/usr/local/nagios/rrd/PDC_Ping.rrd;ping;ping:LINE2;ping round > > time;Seconds > > > > > > > > 2.- Im trying to add an image linked to graphical report, but i didnt > > success, attaching a bit of my cgi.cfg: > > > > define serviceextinfo{ > > host_name PDC > > service_description ping > > notes_url > > /nagios/cgi-bin/apan.cgi?host=PDC&service=ping > > icon_image graph.png > > icon_image_alt View graphs > > } > > > > I cannot see any icon with this configuration =( > > > > > > That's all, thanks in advance for your help =) > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > SourceForge.net hosts over 70,000 Open Source Projects. > > See the people who have HELPED US provide better services: > > Click here: http://sourceforge.net/supporters.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- A non-text attachment was scrubbed... Name: apan.hostaddress.patch Type: text/x-patch Size: 9484 bytes Desc: not available URL: From mpowell at ena.com Thu Oct 16 18:46:00 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 16 Oct 2003 11:46:00 -0500 Subject: something instead of ping. Message-ID: Just a heads up, there have been numerous reports of this breaking other services (ssh, ftp to Win2K servers, pop/IMAP) intermittently. We experienced problems with some customers connecting to our IMAP servers once we started doing this, we had no choice but to roll-back the change and the problems went away. Weird. YMMV. -- Marc > -----Original Message----- > From: Damian Gerow [mailto:damian at sentex.net] > Sent: Thursday, October 16, 2003 11:11 AM > To: nagios-users at lists.sourceforge.net > > Thus spake Bradley Raatz (Bradley_Raatz at health.qld.gov.au) [16/10/03 > 02:35]: > > can someone tell me if there is a way to check the state of a host with > > something like ping that will work on all ip hosts. I am unable to use > > ping as our routers will not allow ping to operate due to Nachi virus > > filtering. > > Might I suggest you modify your ACLs to block 92-byte ICMP echo requests, > instead of a blanket ICMP echo reqeust ACL? That will probably save you > further headaches in the future, and will still let you ping from a Unix > machine. > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damian at sentex.net Thu Oct 16 18:52:49 2003 From: damian at sentex.net (Damian Gerow) Date: Thu, 16 Oct 2003 12:52:49 -0400 Subject: something instead of ping. In-Reply-To: References: Message-ID: <20031016165249.GF1977@sentex.net> Thus spake Marc Powell (mpowell at ena.com) [16/10/03 12:47]: > Just a heads up, there have been numerous reports of this breaking other > services (ssh, ftp to Win2K servers, pop/IMAP) intermittently. We > experienced problems with some customers connecting to our IMAP servers > once we started doing this, we had no choice but to roll-back the change > and the problems went away. Weird. YMMV. Yes, I know. Maybe you can confirm this -- does blocking the 92-byte ping cause more problems than a blanket ICMP block? I'm suspicious of the fact that this always seems to involve Windows machines as well -- be they the server or the client. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Oct 16 19:11:37 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 16 Oct 2003 12:11:37 -0500 Subject: something instead of ping. Message-ID: > -----Original Message----- > From: Damian Gerow [mailto:damian at sentex.net] > Sent: Thursday, October 16, 2003 11:53 AM > To: nagios-users at lists.sourceforge.net > > Thus spake Marc Powell (mpowell at ena.com) [16/10/03 12:47]: > > Just a heads up, there have been numerous reports of this breaking other > > services (ssh, ftp to Win2K servers, pop/IMAP) intermittently. We > > experienced problems with some customers connecting to our IMAP servers > > once we started doing this, we had no choice but to roll-back the change > > and the problems went away. Weird. YMMV. > > Yes, I know. Maybe you can confirm this -- does blocking the 92-byte ping > cause more problems than a blanket ICMP block? IMHO, no, it doesn't. Better the devil you understand than the devil you don't. In the latter case (blocking all ICMP), if you've made the appropriate allowances for hosts that _must_ be able to send ICMP traffic unhindered, the rest is just user education. If you block 92-byte ICMP traffic then you leave yourself open to weird problems that may or may not be related (and in most cases *shouldn't* be related but are) with no specific way to resolve them. It just adds a huge layer of complexity to your troubleshooting. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Oct 16 19:37:31 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 16 Oct 2003 12:37:31 -0500 Subject: distributed monitoring and passive host checks? Message-ID: > -----Original Message----- > From: Wolfgang Fellner [mailto:wmf at noris.de] > Sent: Thursday, October 16, 2003 12:28 PM > To: Marc Powell > Cc: Demetri Mouratis; nagios-users at lists.sourceforge.net > > Marc Powell wrote: > > > > > > I think you've described exactly what he's doing, which does not include > > passive host checks, which he's asking for. I've actually done the same > > as you (except not even specified a host check command), but by doing > > so, we lose all the benefits of the host checks like parenting, > > unreachability, host dependencies, etc. > > exactly. > i search a way to do passive _host_ checks. Well, as was stated before, they're not supported until Nagios 2.0 although using check_by_ssh as the host command (mentioned earlier) is a very interesting way to get around that limitation. I don't expect that it would work well with large number of hosts being monitored unless you had a low failure rate. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nlehouillier at seitelsolutions.ca Thu Oct 16 21:13:25 2003 From: nlehouillier at seitelsolutions.ca (Neil Lehouillier) Date: Thu, 16 Oct 2003 13:13:25 -0600 Subject: checkcommands.cfg problem Message-ID: <3C4551738AE92C46AF044C2C62A48E7E156EC6@tigger.seitelsolutions.ca> Hi all, I'm trying to get nagios 1.1 to monitor a Windows 2000 machine's disk usage. The windows 2000 box has the NSClient installed and it works fine from the command line of the nagios box. But when I run it through nagios itself this is what I get: [1066255080] SERVICE ALERT: Scrooge;C drive disk check;UNKNOWN;HARD;1;check_nt: Unknown argument: (null) [1066255080] SERVICE NOTIFICATION: UnixAdmins;Scrooge;C drive disk check;UNKNOWN;notify-by-email;check_nt: Unknown argument: (null) Here is the settings within the services.cfg file: define service { host_name Scrooge service_description C drive disk check check_command check_nt_disk!80!95!c register 1 max_check_attempts 1 normal_check_interval 3 retry_check_interval 1 check_period 24x7 notification_interval 0 notification_period 24x7 notification_options w,u,c,r contact_groups Unix-admins And here is the checkcommands.cfg settings: define command { command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -s password123 -l $ARG3$ -w $ARG1$ -c $ARG2$ } Has anyone experienced this problem before? I did some searches within the mailing list and have been unable to find anything. Any help is greatly appreciated...... Thanks..... Neil ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ykorff at cigital.com Thu Oct 16 23:04:41 2003 From: ykorff at cigital.com (Yanek Korff) Date: Thu, 16 Oct 2003 17:04:41 -0400 Subject: check_mailq for postfix Message-ID: <9B05A21842F77F41ABFB3153FC93201D139725@va-mail.cigital.com> I don't know if anyone's done this before, but here's a hackjob diff of check_mailq that works for the version of postfix I'm running. May it fare so well in your environment. --- /home/users/ykorff/check_mailq Thu Oct 16 17:00:31 2003 +++ check_mailq Thu Oct 16 16:57:13 2003 @@ -66,15 +66,17 @@ } # only first line is relevant in this iteration. +$verbose = 1; while () { - if (/mqueue/) { + if (/empty/ ) { + $msg = "OK: mailq is empty"; + $msg_q = 0; + $state = $ERRORS{'OK'}; + } + elsif (/Requests/) { print "$utils::PATH_TO_MAILQ = $_ "if $verbose ; - if (/empty/ ) { - $msg = "OK: mailq is empty"; - $msg_q = 0; - $state = $ERRORS{'OK'}; - }elsif ( /(\d+)/ ) { - $msg_q = $1 ; + if ( /(\d+) Kbytes in (\d+)/ ) { + $msg_q = $2 ; print "msg_q = $msg_q warn=$opt_w crit=$opt_c\n" if $verbose; ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Oct 17 00:20:11 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 16 Oct 2003 18:20:11 -0400 (EDT) Subject: check_mailq for postfix In-Reply-To: <9B05A21842F77F41ABFB3153FC93201D139725@va-mail.cigital.com> References: <9B05A21842F77F41ABFB3153FC93201D139725@va-mail.cigital.com> Message-ID: Of course it might be useful to know your postfix version and the plugin version for this diff :( check_mailq v 1.4 supports sendmail/qmail/postfix .... -sg On Thu, 16 Oct 2003, Yanek Korff wrote: > > I don't know if anyone's done this before, but here's a hackjob diff of > check_mailq that works for the version of postfix I'm running. May it > fare so well in your environment. > > --- /home/users/ykorff/check_mailq Thu Oct 16 17:00:31 2003 > +++ check_mailq Thu Oct 16 16:57:13 2003 > @@ -66,15 +66,17 @@ > } > > # only first line is relevant in this iteration. > +$verbose = 1; > while () { > - if (/mqueue/) { > + if (/empty/ ) { > + $msg = "OK: mailq is empty"; > + $msg_q = 0; > + $state = $ERRORS{'OK'}; > + } > + elsif (/Requests/) { > print "$utils::PATH_TO_MAILQ = $_ "if $verbose ; > - if (/empty/ ) { > - $msg = "OK: mailq is empty"; > - $msg_q = 0; > - $state = $ERRORS{'OK'}; > - }elsif ( /(\d+)/ ) { > - $msg_q = $1 ; > + if ( /(\d+) Kbytes in (\d+)/ ) { > + $msg_q = $2 ; > > print "msg_q = $msg_q warn=$opt_w crit=$opt_c\n" > if $verbose; > > > ---------------------------------------------------------------------------- > This electronic message transmission contains information that may be > confidential or privileged. The information contained herein is intended > solely for the recipient and use by any other party is not authorized. If > you are not the intended recipient (or otherwise authorized to receive this > message by the intended recipient), any disclosure, copying, distribution or > use of the contents of the information is prohibited. If you have received > this electronic message transmission in error, please contact the sender by > reply email and delete all copies of this message. Cigital, Inc. accepts no > responsibility for any loss or damage resulting directly or indirectly from > the use of this email or its contents. > Thank You. > ---------------------------------------------------------------------------- > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Fri Oct 17 00:58:22 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 16 Oct 2003 17:58:22 -0500 Subject: Redundancy...bad? Message-ID: <1066345102.16405.9.camel@localhost> What if, instead of "clustering" the recommended way as described in the docs utilizing passive checks aimed at a central server and such, I simply set up two Nagios servers fully using a common MySQL backend? I have this set up now, and they both seem okay. I figure, MySQL can handle it no sweat. Sure, sometimes they'll check the same thing, but for the most part they're going to be on dissimilar schedules and simply reference each others' results from the DB (further dissuading them from duplicate work). Am I missing some reason this would be a Bad Thing? Thanks for any input. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ykorff at cigital.com Fri Oct 17 01:58:54 2003 From: ykorff at cigital.com (Yanek Korff) Date: Thu, 16 Oct 2003 19:58:54 -0400 Subject: check_mailq for postfix Message-ID: <9B05A21842F77F41ABFB3153FC93201D139726@va-mail.cigital.com> Well, I didn't provide a version for check_mailq as the file says: # Initial version support sendmail's mailq command I built it out of nagios-plugins in FreeBSD ports: Port: nagios-plugins-1.3.1 Postfix version I'm running is 2.0.9; though I suspect it will work in several other vesions. -Yanek. > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Thursday, October 16, 2003 18:20 > To: Yanek Korff > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_mailq for postfix > > > Of course it might be useful to know your postfix version and > the plugin > version for this diff :( > > check_mailq v 1.4 supports sendmail/qmail/postfix .... > > -sg > > On Thu, 16 Oct 2003, Yanek Korff wrote: > > > > > I don't know if anyone's done this before, but here's a > hackjob diff of > > check_mailq that works for the version of postfix I'm > running. May it > > fare so well in your environment. > > > > --- /home/users/ykorff/check_mailq Thu Oct 16 17:00:31 2003 > > +++ check_mailq Thu Oct 16 16:57:13 2003 > > @@ -66,15 +66,17 @@ > > } > > > > # only first line is relevant in this iteration. > > +$verbose = 1; > > while () { > > - if (/mqueue/) { > > + if (/empty/ ) { > > + $msg = "OK: mailq is empty"; > > + $msg_q = 0; > > + $state = $ERRORS{'OK'}; > > + } > > + elsif (/Requests/) { > > print "$utils::PATH_TO_MAILQ = $_ "if $verbose ; > > - if (/empty/ ) { > > - $msg = "OK: mailq is empty"; > > - $msg_q = 0; > > - $state = $ERRORS{'OK'}; > > - }elsif ( /(\d+)/ ) { > > - $msg_q = $1 ; > > + if ( /(\d+) Kbytes in (\d+)/ ) { > > + $msg_q = $2 ; > > > > print "msg_q = $msg_q warn=$opt_w > crit=$opt_c\n" > > if $verbose; > > > > > > > -------------------------------------------------------------- > -------------- > > This electronic message transmission contains information > that may be > > confidential or privileged. The information contained > herein is intended > > solely for the recipient and use by any other party is not > authorized. If > > you are not the intended recipient (or otherwise authorized > to receive this > > message by the intended recipient), any disclosure, > copying, distribution or > > use of the contents of the information is prohibited. If > you have received > > this electronic message transmission in error, please > contact the sender by > > reply email and delete all copies of this message. > Cigital, Inc. accepts no > > responsibility for any loss or damage resulting directly or > indirectly from > > the use of this email or its contents. > > Thank You. > > > -------------------------------------------------------------- > -------------- > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > SourceForge.net hosts over 70,000 Open Source Projects. > > See the people who have HELPED US provide better services: > > Click here: http://sourceforge.net/supporters.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thornton at yoyoweb.com Fri Oct 17 03:21:33 2003 From: thornton at yoyoweb.com (Thornton Prime) Date: Thu, 16 Oct 2003 18:21:33 -0700 Subject: Problem with Passive Check Message-ID: <1066353692.1762.14.camel@vimalakirti.anatman.org> I am having an unusual problem with some of my passive checks. Basically about half of the time Nagios appears to get an OK from some phantom check. Viewing the status on the web, I'll half the time see "SERVICE OK - 20" and half the time see "(no output)". When my real passive check does fail, the service flaps between the failure (with "SERVICE - CRITICAL - 25") and ok (with "(no output)".) I have passive_checks_enabled = 1, active_checks_enabled = 0 and have check_freshness = 0. I have verified in the status logs that nothing else is feeding service updates. It appears as if somehow it is still running my check (which is set to ""), and the check is returning OK. What am I missing? thornton ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Oct 17 04:15:38 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 16 Oct 2003 21:15:38 -0500 Subject: Problem with Passive Check Message-ID: You have multiple Nagios processes running on your aggregation server. Stop Nagios with the init script, kill any remaining processes and restart Nagios. -- Marc > -----Original Message----- > From: Thornton Prime [mailto:thornton at yoyoweb.com] > Sent: Thursday, October 16, 2003 8:22 PM > To: nagios-users at lists.sourceforge.net > > > I am having an unusual problem with some of my passive checks. > > Basically about half of the time Nagios appears to get an OK from some > phantom check. Viewing the status on the web, I'll half the time see > "SERVICE OK - 20" and half the time see "(no output)". When my real > passive check does fail, the service flaps between the failure (with > "SERVICE - CRITICAL - 25") and ok (with "(no output)".) > > I have passive_checks_enabled = 1, active_checks_enabled = 0 and have > check_freshness = 0. I have verified in the status logs that nothing > else is feeding service updates. > > It appears as if somehow it is still running my check (which is set to > ""), and the check is returning OK. > > What am I missing? > > thornton > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iqbala at qwestip.net Fri Oct 17 05:29:37 2003 From: iqbala at qwestip.net (Asif Iqbal) Date: Thu, 16 Oct 2003 23:29:37 -0400 (EDT) Subject: monitor w/o agent Message-ID: Hi All Is there anyway I can check the disk space and other internal characteristics of a system without putting nagios agent/client on it ? For example using ssh with public/RSA key ? Please advise/suggest Thanks -- Asif Iqbal http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x8B686E08 There's no place like 127.0.0.1 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iqbala at qwestip.net Fri Oct 17 05:46:42 2003 From: iqbala at qwestip.net (Asif Iqbal) Date: Thu, 16 Oct 2003 23:46:42 -0400 (EDT) Subject: something instead of ping. In-Reply-To: <20031016161105.GX1977@sentex.net> References: <20031016161105.GX1977@sentex.net> Message-ID: On Thu, 16 Oct 2003, Damian Gerow wrote: > Thus spake Bradley Raatz (Bradley_Raatz at health.qld.gov.au) [16/10/03 02:35]: > > can someone tell me if there is a way to check the state of a host with > > something like ping that will work on all ip hosts. I am unable to use > > ping as our routers will not allow ping to operate due to Nachi virus > > filtering. > > Might I suggest you modify your ACLs to block 92-byte ICMP echo requests, > instead of a blanket ICMP echo reqeust ACL? That will probably save you > further headaches in the future, and will still let you ping from a Unix > machine. I wonder if hping/hping2 would help. Anyone can comment on that ? > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iqbala at qwestip.net Fri Oct 17 05:58:48 2003 From: iqbala at qwestip.net (Asif Iqbal) Date: Thu, 16 Oct 2003 23:58:48 -0400 (EDT) Subject: ack using pager Message-ID: Hi All Is there a way I can send a delay/ack from my pager afetr receiving an alert from nagios regarding a host/service ? Sorry if I am asking newbie questions Thanks -- Asif Iqbal http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x8B686E08 There's no place like 127.0.0.1 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kkwan at hxti.com Fri Oct 17 06:06:41 2003 From: kkwan at hxti.com (Kin-Ho Kwan) Date: Fri, 17 Oct 2003 00:06:41 -0400 Subject: monitor w/o agent References: Message-ID: <008701c39464$14f6b9a0$1500a8c0@CPQ49314066312> I have the same situation and how I do is to write my own checking program at the computer that I want to monitor. Then I generate a public/private key pair at nagios server and move the public key to the computer that I want to monitor. This will let you login to the remote system without using a password. Finally, I run ssh nagios at host.com -c "my_own_checking_program" on nagios server and it should return the status of the computer that I am monitoring. -- Kin-Ho Kwan Software Engineer Hx Technologies http://www.hxti.com ----- Original Message ----- From: "Asif Iqbal" To: Sent: Thursday, October 16, 2003 11:29 PM Subject: [Nagios-users] monitor w/o agent > Hi All > > Is there anyway I can check the disk space and other internal characteristics > of a system without putting nagios agent/client on it ? > > For example using ssh with public/RSA key ? > > Please advise/suggest > > Thanks > > -- > Asif Iqbal > http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x8B686E08 > There's no place like 127.0.0.1 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Oct 17 06:14:47 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 17 Oct 2003 00:14:47 -0400 (EDT) Subject: monitor w/o agent In-Reply-To: References: Message-ID: On Thu, 16 Oct 2003, Asif Iqbal wrote: > Hi All > > Is there anyway I can check the disk space and other internal characteristics > of a system without putting nagios agent/client on it ? > > For example using ssh with public/RSA key ? > you do need to install some plugins or use snmp you can execute the plugins using check_by_ssh on the target host... -- -sg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rookea at qdi.com.au Fri Oct 17 07:04:30 2003 From: rookea at qdi.com.au (Andrew Rooke) Date: Fri, 17 Oct 2003 15:04:30 +1000 Subject: SMS Paging with Nagios and GNokii Message-ID: Peoples, I've been using Nagios for quiet some time now and I unfortunately only have the system emailing me when a problem occurs. I am hoping to setup paging for issues that occur after hours using GNokii. Unfortunately my attempts at getting this working have fallen flat on there face, even though I can using gnokii --sendsms blah blah blah and send and sms successfully from console I am still hitting problems when sending from within Nagios. My Current Config for sending SMS messages is - # 'notify-by-sms' command definition define command{ command_name notify-by-sms command_line /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $OUTPUT$\nDate: $DATETIME$" | /usr/local/bin/gnokii --sendsms ########### -C0 2>/dev/null } # 'host-notify-by-sms' command definition define command{ command_name host-notify-by-sms command_line /usr/bin/printf "%b" "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $OUTPUT$\nTime: $DATETIME$" | /usr/local/bin/gnokii --sendsms ########### -C0 2>/dev/null } service_notification_commands notify-by-sms,notify-by-email host_notification_commands host-notify-by-sms,host-notify-by-email I defiantly can send sms's as the existing user, however I cant through Nagios. Any help would be much appreciated. Regards, Andrew Rooke ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Oct 17 06:57:30 2003 From: teng at dataway.com (Tedman Eng) Date: Thu, 16 Oct 2003 21:57:30 -0700 Subject: No perf-definition for service. References: <000301c39331$da750ad0$0400a8c0@squarebox.com> Message-ID: The check-command definition for apan.sh is called with: apan.sh $ARG1$ $HOSTNAME$ "$SERVICEDESC$" $TIMET$ $ARG2$ $ARG3$ These correspond to: CHECK=$1 HOST=$2 SVCNAME=$3 TIME=$4 WARN=$5 CRIT=$6 (CHECK must be one of: disk,nt-net,nt-disk,nt-smtp,nt-load,load,ping,lxk_pages,snmpget,disk_by_snmp ) 1. "check_local_disk" is the $CHECK command that apan will try to use. There's a CASE statement in apan.sh which looks for this service keyword. "check_local_disk" is not in the stock APAN, so either change it to "disk" or edit apan.sh to include "check_local_disk" (SERVICEDESC to nagios is the SVCNAME to apan) 2. Remove the spaces in the service description, don't use 'questionable' characters (stuff that _might_ mess up shell text-parsing utils, / \ @ $ % ; etc..) 3. Make it match the second field of your apan.cfg line. (I'm assuming you're checking Unix disks) 4. Your service.cfg and apan.cfg entries are NT-style. Revise them to Unix-style. (see the apan how-to's) 5. The RRD files are NT-style. Revise them to Unix-style. (see the apan how-to's) Here's the relevant changes ------------------------------------------------- #service.cfg define service{ use generic-service host_name nagios-server service_description Disk-usage is_volatile 0 check_period 24x7 contact_groups squarebox-support notification_options c,w,r check_command apan!disk!50!75 # apan.cfg nagios-server;Disk-usage;/usr/local/nagios/rrd/nagios-server-disk-usage.rrd; /|/boot;root:AREA boot:STACK;Disk usage;%; # Create an RRD file rrdtool create /usr/local/nagios/rrd/nagios-server-disk-usage.rrd -s 60 DS:root:GAUGE:300:0:U DS:boot:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 Hope this helps! --TE "Tom Welsh" wrote in message news:000301c39331$da750 ad0$0400a8c0 at squarebox.com... > Hi All, > > I've just installed apan for the first time and I keep getting the above > error. > > As far as I can see I have configured it correctly. I get the following > output in /tmp/apan.debug > > #Output from apan.debug > Wed Oct 15 16:23:30 BST 2003 Args: check_local_disk nagios-server / Free > Space 1066231410 /dev/hda3 > Wed Oct 15 16:23:30 BST 2003 Args: check_local_disk nagios-server /boot > Free Space 1066231410 /dev/hda1 > Could not insert '' , '' into > Could not insert '' , '' into > Below are my configuration commands I used. > > 1. #apan.def > # Path to rrdtool > RRDTOOL=/usr/local/rrdtool/bin/rrdtool > > 2. #checkcommnd.cfg > #'apan' command definition. Runs apan on selected commands > define command { > command_name apan > command_line /usr/local/nagios/apan/apan.sh > $ARG1$ $HOSTNAME$ "$SERVICEDESC$" $TIMET$ $ARG2$ $ARG3$ > } > > 3. #services.cfg > # Service definition for checking free disk space on /boot > define service{ > use generic-service > host_name nagios-server > service_description /boot Free Space > is_volatile 0 > check_period 24x7 > contact_groups squarebox-support > notification_options c,w,r > check_command > apan!check_local_disk!"/dev/hda1" > } > > 4. #apan.cfg > #nagios-server Disk Usage > nagios-server;check_local_disk;/usr/local/nagios/rrd/nagios-server-disk- > usage.rrd;root|boot;root-used:AREA root-free:STACK boot-used:AREA > boot-free:STACK;Disk usage;Bytes;-l 1 -b 1024 > > 5. #Create an RRD file > pod-163:/usr/local/nagios/etc# /usr/local/rrdtool/bin/rrdtool create > rrd/nagios-server-disk-usage.rrd -s 60 DS:root-used:GAUGE:900:0:U > DS:root-free:GAUGE:900:0:U DS:boot-used:GAUGE:900:0:U > DS:boot-free:GAUGE:900:0:U RRA:AVERAGE:0.5:1:50400 > RRA:AVERAGE:0.5:60:43800 > > 6. #Extended service info > #'nagios-server' extended service info > define serviceextinfo{ > host_name nagios-server > service_description Disk-usage > notes_url > /nagios/cgi-bin/apan.cgi?host=nagios-server&service=Disk-usage > icon_image graph.png > icon_image_alt View graphs > } > > 7. #Output from apan.debug > Wed Oct 15 16:23:30 BST 2003 Args: check_local_disk nagios-server / Free > Space 1066231410 /dev/hda3 > Wed Oct 15 16:23:30 BST 2003 Args: check_local_disk nagios-server /boot > Free Space 1066231410 /dev/hda1 > Could not insert '' , '' into > Could not insert '' , '' into > > Any one spot a mistake im making. > > All help greatfully received > > Cheers > > Tom Welsh > twelsh at square-box.com > > > > > DISCLAIMER: This e-mail contains proprietary information some or all of > which may be legally privileged. It is for the intended recipient only. > If an addressing or transmission error has misdirected this e-mail, > please notify the author by replying to this e-mail. If you are not the > intended recipient you must not use, disclose, distribute, copy, print, > or rely on this e-mail. > > Sender accepts no liability for any damage resulting from the use and/or > acceptation of the content of this e-mail. > > Always scan attachments before opening them. > > The views expressed in this communication may not necessarily be the > views held by squareBOX technologies ltd > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iqbala at qwestip.net Fri Oct 17 07:21:17 2003 From: iqbala at qwestip.net (Asif Iqbal) Date: Fri, 17 Oct 2003 01:21:17 -0400 (EDT) Subject: monitor w/o agent In-Reply-To: <008701c39464$14f6b9a0$1500a8c0@CPQ49314066312> References: <008701c39464$14f6b9a0$1500a8c0@CPQ49314066312> Message-ID: On Fri, 17 Oct 2003, Kin-Ho Kwan wrote: > I have the same situation and how I do is to write my > own checking program at the computer that I want to monitor. > > Then I generate a public/private key pair at nagios server and move the > public key > to the computer that I want to monitor. This will let you login to the > remote system > without using a password. > > Finally, I run ssh nagios at host.com -c "my_own_checking_program" on nagios > server and it should return the status of the computer that I am monitoring. Thats exactly how I am planning to do. However since I have 200 machines with in avg 10 services per machines , I am trying to get a combo script that will run it once to check all 10 services per machine to save some traffic. Thanks for your suggestion > > -- > Kin-Ho Kwan > Software Engineer > Hx Technologies > http://www.hxti.com > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yves.desmyter at mil.be Fri Oct 17 07:52:53 2003 From: yves.desmyter at mil.be (Desmyter Yves) Date: Fri, 17 Oct 2003 07:52:53 +0200 Subject: Nagios-users checkcommands.cfg problem from Neil Lehouillier... Message-ID: Hi Neil, I use the disk check like this : ; +---------------------------------------------------------------+ ; | check : c:-partition on ALL corporate servers | ; +---------------------------------------------------------------+ define service{ use generic-service ; Name of service template to use hostgroup_name production_servers,test_servers,development_servers service_description C:-partition is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups nt-admins notification_interval 5 notification_period 24x7 notification_options w,u,c,r check_command check_nt_disk!c!80!90 SO : try putting the drive letter in front of the threshold numbers . Hope this helps you out . Yves Desmyter . -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: vrijdag 17 oktober 2003 5:14 To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #1707 - 7 msgs Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-admin at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. checkcommands.cfg problem (Neil Lehouillier) 2. check_mailq for postfix (Yanek Korff) 3. Re: check_mailq for postfix (Subhendu Ghosh) 4. Redundancy...bad? (jeff vier) 5. RE: check_mailq for postfix (Yanek Korff) 6. Problem with Passive Check (Thornton Prime) 7. RE: Problem with Passive Check (Marc Powell) --__--__-- Message: 1 Date: Thu, 16 Oct 2003 13:13:25 -0600 From: "Neil Lehouillier" To: Subject: [Nagios-users] checkcommands.cfg problem Hi all, I'm trying to get nagios 1.1 to monitor a Windows 2000 machine's disk = usage. The windows 2000 box has the NSClient installed and it works = fine from the command line of the nagios box. But when I run it through = nagios itself this is what I get: [1066255080] SERVICE ALERT: Scrooge;C drive disk = check;UNKNOWN;HARD;1;check_nt: Unknown argument: (null) [1066255080] SERVICE NOTIFICATION: UnixAdmins;Scrooge;C drive disk = check;UNKNOWN;notify-by-email;check_nt: Unknown argument: (null) Here is the settings within the services.cfg file: define service { host_name Scrooge service_description C drive disk check check_command check_nt_disk!80!95!c register 1 max_check_attempts 1 normal_check_interval 3 retry_check_interval 1 check_period 24x7 notification_interval 0 notification_period 24x7 notification_options w,u,c,r contact_groups Unix-admins And here is the checkcommands.cfg settings: define command { command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 = -v USEDDISKSPACE -s password123 -l $ARG3$ -w $ARG1$ -c $ARG2$ } Has anyone experienced this problem before? I did some searches within = the mailing list and have been unable to find anything. Any help is greatly appreciated...... Thanks..... Neil --__--__-- Message: 2 Date: Thu, 16 Oct 2003 17:04:41 -0400 From: "Yanek Korff" To: Subject: [Nagios-users] check_mailq for postfix I don't know if anyone's done this before, but here's a hackjob diff of check_mailq that works for the version of postfix I'm running. May it fare so well in your environment. --- /home/users/ykorff/check_mailq Thu Oct 16 17:00:31 2003 +++ check_mailq Thu Oct 16 16:57:13 2003 @@ -66,15 +66,17 @@ } # only first line is relevant in this iteration. +$verbose =3D 1; while () { - if (/mqueue/) { + if (/empty/ ) { + $msg =3D "OK: mailq is empty"; + $msg_q =3D 0; + $state =3D $ERRORS{'OK'}; + } + elsif (/Requests/) { print "$utils::PATH_TO_MAILQ =3D $_ "if $verbose ; - if (/empty/ ) { - $msg =3D "OK: mailq is empty"; - $msg_q =3D 0; - $state =3D $ERRORS{'OK'}; - }elsif ( /(\d+)/ ) { - $msg_q =3D $1 ; + if ( /(\d+) Kbytes in (\d+)/ ) { + $msg_q =3D $2 ; print "msg_q =3D $msg_q warn=3D$opt_w = crit=3D$opt_c\n" if $verbose; ------------------------------------------------------------------------ -= --- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is = intended solely for the recipient and use by any other party is not authorized. = If you are not the intended recipient (or otherwise authorized to receive = this message by the intended recipient), any disclosure, copying, = distribution or use of the contents of the information is prohibited. If you have = received this electronic message transmission in error, please contact the sender = by reply email and delete all copies of this message. Cigital, Inc. = accepts no responsibility for any loss or damage resulting directly or indirectly = from the use of this email or its contents. Thank You. ------------------------------------------------------------------------ -= --- --__--__-- Message: 3 Date: Thu, 16 Oct 2003 18:20:11 -0400 (EDT) From: Subhendu Ghosh To: Yanek Korff cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_mailq for postfix Of course it might be useful to know your postfix version and the plugin version for this diff :( check_mailq v 1.4 supports sendmail/qmail/postfix .... -sg On Thu, 16 Oct 2003, Yanek Korff wrote: > > I don't know if anyone's done this before, but here's a hackjob diff > of check_mailq that works for the version of postfix I'm running. May > it fare so well in your environment. > > --- /home/users/ykorff/check_mailq Thu Oct 16 17:00:31 2003 > +++ check_mailq Thu Oct 16 16:57:13 2003 > @@ -66,15 +66,17 @@ > } > > # only first line is relevant in this iteration. > +$verbose = 1; > while () { > - if (/mqueue/) { > + if (/empty/ ) { > + $msg = "OK: mailq is empty"; > + $msg_q = 0; > + $state = $ERRORS{'OK'}; > + } > + elsif (/Requests/) { > print "$utils::PATH_TO_MAILQ = $_ "if $verbose ; > - if (/empty/ ) { > - $msg = "OK: mailq is empty"; > - $msg_q = 0; > - $state = $ERRORS{'OK'}; > - }elsif ( /(\d+)/ ) { > - $msg_q = $1 ; > + if ( /(\d+) Kbytes in (\d+)/ ) { > + $msg_q = $2 ; > > print "msg_q = $msg_q warn=$opt_w > crit=$opt_c\n" if $verbose; > > > ---------------------------------------------------------------------- > ------ > This electronic message transmission contains information that may be > confidential or privileged. The information contained herein is intended > solely for the recipient and use by any other party is not authorized. If > you are not the intended recipient (or otherwise authorized to receive this > message by the intended recipient), any disclosure, copying, distribution or > use of the contents of the information is prohibited. If you have received > this electronic message transmission in error, please contact the sender by > reply email and delete all copies of this message. Cigital, Inc. accepts no > responsibility for any loss or damage resulting directly or indirectly from > the use of this email or its contents. > Thank You. > ------------------------------------------------------------------------ ---- > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. See the people > who have HELPED US provide better services: Click here: > http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- --__--__-- Message: 4 From: jeff vier To: nagios-users Organization: TT Date: Thu, 16 Oct 2003 17:58:22 -0500 Subject: [Nagios-users] Redundancy...bad? What if, instead of "clustering" the recommended way as described in the docs utilizing passive checks aimed at a central server and such, I simply set up two Nagios servers fully using a common MySQL backend? I have this set up now, and they both seem okay. I figure, MySQL can handle it no sweat. Sure, sometimes they'll check the same thing, but for the most part they're going to be on dissimilar schedules and simply reference each others' results from the DB (further dissuading them from duplicate work). Am I missing some reason this would be a Bad Thing? Thanks for any input. --__--__-- Message: 5 Subject: RE: [Nagios-users] check_mailq for postfix Date: Thu, 16 Oct 2003 19:58:54 -0400 From: "Yanek Korff" To: "Subhendu Ghosh" Cc: Well, I didn't provide a version for check_mailq as the file says: # Initial version support sendmail's mailq command I built it out of nagios-plugins in FreeBSD ports: Port: nagios-plugins-1.3.1 Postfix version I'm running is 2.0.9; though I suspect it will work in several other vesions. -Yanek. > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org]=20 > Sent: Thursday, October 16, 2003 18:20 > To: Yanek Korff > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_mailq for postfix >=20 >=20 > Of course it might be useful to know your postfix version and=20 the >plugin=20 version for this diff :( >=20 > check_mailq v 1.4 supports sendmail/qmail/postfix .... >=20 > -sg >=20 > On Thu, 16 Oct 2003, Yanek Korff wrote: >=20 > >=20 > > I don't know if anyone's done this before, but here's a=20 > hackjob diff of > > check_mailq that works for the version of postfix I'm=20 > running. May it > > fare so well in your environment. > >=20 > > --- /home/users/ykorff/check_mailq Thu Oct 16 17:00:31 2003 > > +++ check_mailq Thu Oct 16 16:57:13 2003 > > @@ -66,15 +66,17 @@ > > } > >=20 > > # only first line is relevant in this iteration. > > +$verbose =3D 1; > > while () { > > - if (/mqueue/) { > > + if (/empty/ ) { > > + $msg =3D "OK: mailq is empty"; > > + $msg_q =3D 0; > > + $state =3D $ERRORS{'OK'}; > > + } > > + elsif (/Requests/) { > > print "$utils::PATH_TO_MAILQ =3D $_ "if $verbose ; > > - if (/empty/ ) { > > - $msg =3D "OK: mailq is empty"; > > - $msg_q =3D 0; > > - $state =3D $ERRORS{'OK'}; > > - }elsif ( /(\d+)/ ) { > > - $msg_q =3D $1 ; > > + if ( /(\d+) Kbytes in (\d+)/ ) { > > + $msg_q =3D $2 ; > >=20 > > print "msg_q =3D $msg_q warn=3D$opt_w=20 > crit=3D$opt_c\n" > > if $verbose; > >=20 > >=20 > >=20 > -------------------------------------------------------------- > -------------- > > This electronic message transmission contains information=20 > that may be > > confidential or privileged. The information contained=20 > herein is intended > > solely for the recipient and use by any other party is not=20 > authorized. If > > you are not the intended recipient (or otherwise authorized=20 > to receive this > > message by the intended recipient), any disclosure,=20 > copying, distribution or > > use of the contents of the information is prohibited. If=20 > you have received > > this electronic message transmission in error, please=20 > contact the sender by > > reply email and delete all copies of this message. =20 > Cigital, Inc. accepts no > > responsibility for any loss or damage resulting directly or=20 > indirectly from > > the use of this email or its contents. > > Thank You. > >=20 > -------------------------------------------------------------- > -------------- > >=20 > >=20 > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > >SourceForge.net hosts over 70,000 Open Source Projects. See the > >people who have HELPED US provide better services: Click here: > >http://sourceforge.net/supporters.php > > _______________________________________________ > > Nagios-users mailing list Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and=20 > OS when reporting any issue.=20 > > ::: Messages without supporting info will risk being sent=20 > to /dev/null > >=20 >=20 > --=20 >=20 >=20 >=20 ------------------------------------------------------------------------ -= --- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is = intended solely for the recipient and use by any other party is not authorized. = If you are not the intended recipient (or otherwise authorized to receive = this message by the intended recipient), any disclosure, copying, = distribution or use of the contents of the information is prohibited. If you have = received this electronic message transmission in error, please contact the sender = by reply email and delete all copies of this message. Cigital, Inc. = accepts no responsibility for any loss or damage resulting directly or indirectly = from the use of this email or its contents. Thank You. ------------------------------------------------------------------------ -= --- --__--__-- Message: 6 From: Thornton Prime To: nagios-users at lists.sourceforge.net Date: Thu, 16 Oct 2003 18:21:33 -0700 Subject: [Nagios-users] Problem with Passive Check I am having an unusual problem with some of my passive checks. Basically about half of the time Nagios appears to get an OK from some phantom check. Viewing the status on the web, I'll half the time see "SERVICE OK - 20" and half the time see "(no output)". When my real passive check does fail, the service flaps between the failure (with "SERVICE - CRITICAL - 25") and ok (with "(no output)".) I have passive_checks_enabled = 1, active_checks_enabled = 0 and have check_freshness = 0. I have verified in the status logs that nothing else is feeding service updates. It appears as if somehow it is still running my check (which is set to ""), and the check is returning OK. What am I missing? thornton --__--__-- Message: 7 Subject: RE: [Nagios-users] Problem with Passive Check Date: Thu, 16 Oct 2003 21:15:38 -0500 From: "Marc Powell" To: "Thornton Prime" , You have multiple Nagios processes running on your aggregation server. Stop Nagios with the init script, kill any remaining processes and restart Nagios. -- Marc > -----Original Message----- > From: Thornton Prime [mailto:thornton at yoyoweb.com] > Sent: Thursday, October 16, 2003 8:22 PM > To: nagios-users at lists.sourceforge.net >=20 >=20 > I am having an unusual problem with some of my passive checks. =20 > Basically about half of the time Nagios appears to get an OK from some > phantom check. Viewing the status on the web, I'll half the time see > "SERVICE OK - 20" and half the time see "(no output)". When my real > passive check does fail, the service flaps between the failure (with > "SERVICE - CRITICAL - 25") and ok (with "(no output)".) >=20 > I have passive_checks_enabled =3D 1, active_checks_enabled =3D 0 and = have > check_freshness =3D 0. I have verified in the status logs that nothing >else is feeding service updates. =20 > It appears as if somehow it is still running my check (which is set to > ""), and the check is returning OK. >=20 > What am I missing? >=20 > thornton >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ralf.wurzinger at materna.fr Fri Oct 17 09:09:13 2003 From: ralf.wurzinger at materna.fr (Ralf Wurzinger) Date: Fri, 17 Oct 2003 09:09:13 +0200 Subject: checkcommands.cfg problem Message-ID: <3F8F9599.20001@materna.fr> Dear Neil, try check_command check_nt_disk!80%!95%!c Bye, Ralf ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thornton at yoyoweb.com Fri Oct 17 09:18:54 2003 From: thornton at yoyoweb.com (Thornton Prime) Date: Fri, 17 Oct 2003 00:18:54 -0700 Subject: Problem with Passive Check In-Reply-To: References: Message-ID: <1066375134.1762.20.camel@vimalakirti.anatman.org> On Thu, 2003-10-16 at 19:15, Marc Powell wrote: > You have multiple Nagios processes running on your aggregation server. > Stop Nagios with the init script, kill any remaining processes and > restart Nagios. I ruled that out very early. thornton ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ParamanP at microland.net Fri Oct 17 09:19:53 2003 From: ParamanP at microland.net (Paraman Pachaimuthu) Date: Fri, 17 Oct 2003 12:49:53 +0530 Subject: Unable to get disk usage by check_nt_disk ... Message-ID: <226C58401C8BD41195E700B0D022182F030DAEE7@mlcor00103> Hi all, I am new to Nagios and just exploring it. I am facing a challenge with NSCleint on Win2K. I am unable to get the Windows Disk usage by using check_nt_disk. It throws error message ' Status Information : Could not parse arguments'. The following is the content of services.cfg file : # Service definition define service{ use generic-service ; Name of service template to use host_name PAP service_description Disk for NT is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_nt_disk!C:85:90 } Is there any way to fix this problem ? Any suggestion will be appreciated. Thanks. Warm regards, Paraman Pachaimuthu -------------- next part -------------- An HTML attachment was scrubbed... URL: From ParamanP at microland.net Fri Oct 17 14:30:30 2003 From: ParamanP at microland.net (Paraman Pachaimuthu) Date: Fri, 17 Oct 2003 18:00:30 +0530 Subject: Unable to get disk usage by check_nt_disk ... Message-ID: <226C58401C8BD41195E700B0D022182F030DAEEE@mlcor00103> Hi all, Thanks for all your feedback. The problem has been fixed. It was plugin files path problem. Rgds Paraman Pachaimuthu > -----Original Message----- > From: Paraman Pachaimuthu > Sent: Friday, October 17, 2003 12:50 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: Unable to get disk usage by check_nt_disk ... > > Hi all, > > I am new to Nagios and just exploring it. I am facing a challenge with > NSCleint on Win2K. I am unable to get the Windows Disk usage by using > check_nt_disk. > It throws error message ' Status Information : Could not parse arguments'. > > > The following is the content of services.cfg file : > > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name PAP > service_description Disk for NT > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups nt-admins > notification_interval 120 > notification_period 24x7 > notification_options c,r > check_command check_nt_disk!C:85:90 > } > Is there any way to fix this problem ? Any suggestion will be appreciated. > Thanks. > > > Warm regards, > > Paraman Pachaimuthu > -------------- next part -------------- An HTML attachment was scrubbed... URL: From DOlbersen at stbernard.com Fri Oct 17 15:07:26 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Fri, 17 Oct 2003 06:07:26 -0700 Subject: monitor w/o agent Message-ID: Asif Iqbal wrote: > Thats exactly how I am planning to do. However since I have 200 machines with > in avg 10 services per machines , I am trying to get a combo script that will > run it once to check all 10 services per machine to save some traffic. I have a few less machines, but am very lazy :) I have the Nagios machine NFS exporting the directory with the SSH public/private keys. As far as your script is concerned, if you're machines are all the same architecture (e.g. FreeBSD 4.x) then you could also try exporting the directory the modules are in. At that point mounting both the keys & the modules on the remote machine becomes simple and you can create a host group to monitor services. I think it's *very* important to limit these SSH keys to only executing 1 command on the client machines. For example, making a key called dsa-check-disk which is limited to only running a check_disk module (or equivalent). You can check the sshd man page for information on that. -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri Oct 17 15:20:35 2003 From: jhmartin at toger.us (Jason Martin) Date: Fri, 17 Oct 2003 06:20:35 -0700 (PDT) Subject: monitor w/o agent In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Thats exactly how I am planning to do. However since I have 200 machines with in avg > 10 services per machines , I am trying to get a combo script that will run it once > to check all 10 services per machine to save some traffic. You could also make use of passive monitoring and just send the reports back to nagios. - -Jason Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/j+yvl2ODWuqVSBMRAtrHAKCF1G+oNYgzoPy4O51m828dqBwgRgCcDdAR cP2geyczKYML0RAuvWjdATU= =SpHo -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jesusolivan at pickingpack.net Fri Oct 17 15:28:21 2003 From: jesusolivan at pickingpack.net (=?iso-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Fri, 17 Oct 2003 15:28:21 +0200 Subject: Cannot ping with APAN In-Reply-To: References: Message-ID: Already ot host address put in hosts.cfg and i'm using $HOSTNAME$ in apan script, but it doesnt't work =( But i can view the icon now, thx a lot! i'm trying to execute apan.sh in cmd line and this is what it returns to me: debian:/usr/local/nagios/etc# ../apan/apan.sh ping PDC "ping" 100 100.0,20% 500.0,60% (standard_in) 1: parse error PING CRITICAL - Host not found (PDC) -----Mensaje original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]En nombre de Marcio Queiroz Enviado el: jueves, 16 de octubre de 2003 17:11 Para: 'Jes?s Oliv?n'; Nagios List Asunto: RES: [Nagios-users] Cannot ping with APAN Hi, 1 - Apan does not use the HOSTADDRESS for ping, insted it uses the HOSTNAME for ping, so you have to put the address in the "hosts" file on the /etc directory. Use the same name you use in nagios, and this will work. 2 - are this lines in the cgi.cfg? or are in a separte file, which the cgi.cfg calls ? like this : in cgi.cfg : xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg and in the serviceextinfo.cfg define serviceextinfo{ host_name PDC service_description ping notes_url /nagios/cgi-bin/apan.cgi?host=PDC&service=ping icon_image graph.png icon_image_alt View graphs } bye, Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com > ----- Mensagem original ----- > De: Jes?s Oliv?n [SMTP:jesusolivan at pickingpack.net] > Enviada em: quinta-feira, 16 de outubro de 2003 11:12 > Para: Nagios List > Assunto: [Nagios-users] Cannot ping with APAN > > Hi! > > i'm trying to create some ping rtt reports with apan and rrdtool. I've saw > at apan documentation for installing and configuring it, but i didnt > success. Now i've got two problems: > > 1.- nagios tell me "Status Information: PING CRITICAL - Host not found > (PDC)" when performing ping check with apan in my host "PDC". I've tried > to > perform manual plugin check and it returned this: > > debian:/usr/local/nagios/etc# /usr/local/nagios/apan/apan.sh ping PDC ping > 10 150.0,20% 600.0,80% > (standard_in) 1: parse error > PING CRITICAL - Host not found (PDC) > > Here is my checkcommands.cfg: > > define command { > command_name apan > command_line /usr/local/nagios/apan/apan.sh > $ARG1$ > $HOSTNAME$ "$SERVICEDESC$" $TIMET$ $ARG2$ $ARG3$ > } > > part of services.cfg: > > # Generic service definition template > define service { > host_name PDC > service_description ping > check_command apan!ping!100.0,20%!500.0,60% > name ping > use generic-service > normal_check_interval 1 > check_period 24x7 > max_check_attempts 3 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > > } > > and finally apan.cfg: > PDC;ping;/usr/local/nagios/rrd/PDC_Ping.rrd;ping;ping:LINE2;ping round > time;Seconds > > > > 2.- Im trying to add an image linked to graphical report, but i didnt > success, attaching a bit of my cgi.cfg: > > define serviceextinfo{ > host_name PDC > service_description ping > notes_url > /nagios/cgi-bin/apan.cgi?host=PDC&service=ping > icon_image graph.png > icon_image_alt View graphs > } > > I cannot see any icon with this configuration =( > > > That's all, thanks in advance for your help =) > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rafe.oxley at moving-edge.net Fri Oct 17 16:06:34 2003 From: rafe.oxley at moving-edge.net (Rafe Oxley) Date: Fri, 17 Oct 2003 15:06:34 +0100 (BST) Subject: SMS Paging with Nagios and GNokii Message-ID: <51306.217.154.88.106.1066399594.squirrel@POP3.moving-edge.net> Hi Andrew, have had lots of fun with Gnokii and Nagios. I had problems with the number of chars being sent exceeding the limit for my phone (in my case 160). Looks like your messages being sent would exceed that, try sending a long message on the CLI. A hack of sendsms may be best, something like if ( length $message >= 159 ){$message=substr($message,0,155)."...";} Also found sending multilple messages a problem so now use a sms queue handler script from http://www.yty.net/h/gsm/ [had to hack gsmqueue.pl a bit to capture gnokii output but is very useful] rgds Rafe ^^^^ > Peoples, > I've been using Nagios for quiet some time now and I unfortunately only > have the system emailing me when a problem occurs. I am hoping to setup paging for issues that occur after hours using GNokii. Unfortunately my attempts at getting this working have fallen flat on there face, even though I can using gnokii --sendsms blah blah blah and send and sms successfully from console I am still hitting problems when sending from within Nagios. > > My Current Config for sending SMS messages is - > > # 'notify-by-sms' command definition > define command{ > command_name notify-by-sms > command_line /usr/bin/printf "%b" "Service: > $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\nInfo: $OUTPUT$\nDate: $DATETIME$" | > /usr/local/bin/gnokii --sendsms ########### -C0 2>/dev/null > } > > # 'host-notify-by-sms' command definition > define command{ > command_name host-notify-by-sms > command_line /usr/bin/printf "%b" "Host '$HOSTALIAS$' is > $HOSTSTATE$\nInfo: $OUTPUT$\nTime: $DATETIME$" | > /usr/local/bin/gnokii --sendsms ########### -C0 2>/dev/null > } > > service_notification_commands notify-by-sms,notify-by-email host_notification_commands > host-notify-by-sms,host-notify-by-email > > > I defiantly can send sms's as the existing user, however I cant through Nagios. Any help would be much appreciated. > > > Regards, > > > > Andrew Rooke > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Rafe Oxley Operations Manager Moving-edge.net Tel 0845 3455763 : Fax 0845 3455764 : DDI 0870 2250386 http://www.moving-edge.net "where your business communication meets the internet" -- Rafe Oxley Operations Manager Moving-edge.net Tel 0845 3455763 : Fax 0845 3455764 : DDI 0870 2250386 http://www.moving-edge.net "where your business communication meets the internet" ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Oct 17 16:24:42 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 17 Oct 2003 09:24:42 -0500 Subject: Problem with Passive Check Message-ID: That's very odd. The behavior you are describing perfectly fits this scenario. How about multiple processes on your remote server? An alternative, but less likely solution would be to stop nagios, delete your status.sav file and restart nagios. After that, if you still have problems the only thing I can think of is that your check really _is_ returning intermittent results, but as you state, you don't see that in your log files. -- Marc > -----Original Message----- > From: Thornton Prime [mailto:thornton at yoyoweb.com] > Sent: Friday, October 17, 2003 2:19 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > > On Thu, 2003-10-16 at 19:15, Marc Powell wrote: > > You have multiple Nagios processes running on your aggregation server. > > Stop Nagios with the init script, kill any remaining processes and > > restart Nagios. > > I ruled that out very early. > > thornton ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jesusolivan at pickingpack.net Fri Oct 17 16:51:02 2003 From: jesusolivan at pickingpack.net (=?iso-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Fri, 17 Oct 2003 16:51:02 +0200 Subject: Cannot ping with APAN In-Reply-To: References: Message-ID: Sorry, i updated /usr/local/nagios/etc instead of /etc/hosts. Now it works fine... thx for your help! =) -----Mensaje original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]En nombre de Jes?s Oliv?n Enviado el: viernes, 17 de octubre de 2003 15:28 Para: Nagios List Asunto: RE: [Nagios-users] Cannot ping with APAN Already ot host address put in hosts.cfg and i'm using $HOSTNAME$ in apan script, but it doesnt't work =( But i can view the icon now, thx a lot! i'm trying to execute apan.sh in cmd line and this is what it returns to me: debian:/usr/local/nagios/etc# ../apan/apan.sh ping PDC "ping" 100 100.0,20% 500.0,60% (standard_in) 1: parse error PING CRITICAL - Host not found (PDC) -----Mensaje original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]En nombre de Marcio Queiroz Enviado el: jueves, 16 de octubre de 2003 17:11 Para: 'Jes?s Oliv?n'; Nagios List Asunto: RES: [Nagios-users] Cannot ping with APAN Hi, 1 - Apan does not use the HOSTADDRESS for ping, insted it uses the HOSTNAME for ping, so you have to put the address in the "hosts" file on the /etc directory. Use the same name you use in nagios, and this will work. 2 - are this lines in the cgi.cfg? or are in a separte file, which the cgi.cfg calls ? like this : in cgi.cfg : xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg and in the serviceextinfo.cfg define serviceextinfo{ host_name PDC service_description ping notes_url /nagios/cgi-bin/apan.cgi?host=PDC&service=ping icon_image graph.png icon_image_alt View graphs } bye, Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com > ----- Mensagem original ----- > De: Jes?s Oliv?n [SMTP:jesusolivan at pickingpack.net] > Enviada em: quinta-feira, 16 de outubro de 2003 11:12 > Para: Nagios List > Assunto: [Nagios-users] Cannot ping with APAN > > Hi! > > i'm trying to create some ping rtt reports with apan and rrdtool. I've saw > at apan documentation for installing and configuring it, but i didnt > success. Now i've got two problems: > > 1.- nagios tell me "Status Information: PING CRITICAL - Host not found > (PDC)" when performing ping check with apan in my host "PDC". I've tried > to > perform manual plugin check and it returned this: > > debian:/usr/local/nagios/etc# /usr/local/nagios/apan/apan.sh ping PDC ping > 10 150.0,20% 600.0,80% > (standard_in) 1: parse error > PING CRITICAL - Host not found (PDC) > > Here is my checkcommands.cfg: > > define command { > command_name apan > command_line /usr/local/nagios/apan/apan.sh > $ARG1$ > $HOSTNAME$ "$SERVICEDESC$" $TIMET$ $ARG2$ $ARG3$ > } > > part of services.cfg: > > # Generic service definition template > define service { > host_name PDC > service_description ping > check_command apan!ping!100.0,20%!500.0,60% > name ping > use generic-service > normal_check_interval 1 > check_period 24x7 > max_check_attempts 3 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > > } > > and finally apan.cfg: > PDC;ping;/usr/local/nagios/rrd/PDC_Ping.rrd;ping;ping:LINE2;ping round > time;Seconds > > > > 2.- Im trying to add an image linked to graphical report, but i didnt > success, attaching a bit of my cgi.cfg: > > define serviceextinfo{ > host_name PDC > service_description ping > notes_url > /nagios/cgi-bin/apan.cgi?host=PDC&service=ping > icon_image graph.png > icon_image_alt View graphs > } > > I cannot see any icon with this configuration =( > > > That's all, thanks in advance for your help =) > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DOlbersen at stbernard.com Fri Oct 17 16:52:05 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Fri, 17 Oct 2003 07:52:05 -0700 Subject: SMS Paging with Nagios and GNokii Message-ID: Andrew Rooke wrote: > I've been using Nagios for quiet some time now and I unfortunately only have > the system emailing me when a problem occurs. Does your cellular provider offer an email --> SMS gateway? I'm not sure about in Australia, but in the backwards U.S. most providers do it in the form of @ such as @mobile.mycingular.com, etc. It may be easier to do it that way, if such a service is available. -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Fri Oct 17 18:41:41 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 17 Oct 2003 11:41:41 -0500 Subject: Redundancy...bad? In-Reply-To: <1066345102.16405.9.camel@localhost> References: <1066345102.16405.9.camel@localhost> Message-ID: <1066408901.16482.32.camel@localhost> okay, my original impression wasn't valid in the longer term. In fact, with as fast as the two servers break each other now, I don't know how it was working when I wrote my original email below. The problem basically is the two nagios servers fight like mad over things like passive/active checking, etc. Splitting the xrddb_database settings doesn't help, and splitting the xsddb_database kinda defeats the whole idea. That the xsddb_database stores things like notifications_enabled and checks_enabled are the issue. I wish that it didn't keep that kind of stuff in a "status" table, but, oh well. Looks like sending over nsca checks from an active checker to a passive central server is the way to go. Bleh. This is going to be a mess. On Thu, 2003-10-16 at 17:58, jeff vier wrote: > What if, instead of "clustering" the recommended way as described in the > docs utilizing passive checks aimed at a central server and such, I > simply set up two Nagios servers fully using a common MySQL backend? > > I have this set up now, and they both seem okay. > I figure, MySQL can handle it no sweat. Sure, sometimes they'll check > the same thing, but for the most part they're going to be on dissimilar > schedules and simply reference each others' results from the DB (further > dissuading them from duplicate work). > > Am I missing some reason this would be a Bad Thing? > > Thanks for any input. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Oct 17 18:58:32 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 17 Oct 2003 11:58:32 -0500 Subject: Redundancy...bad? Message-ID: I was wondering how that would work. It's my understanding that nagios pretty much stores all it's 'working knowledge' in RAM and the information that it dumps to the logs or DB is strictly for the use of the CGI's and in the event of an unscheduled restart of the program (i.e. crash). -- marc > -----Original Message----- > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > Sent: Friday, October 17, 2003 11:42 AM > To: nagios-users > > okay, my original impression wasn't valid in the longer term. > > In fact, with as fast as the two servers break each other now, I don't > know how it was working when I wrote my original email below. > > The problem basically is the two nagios servers fight like mad over > things like passive/active checking, etc. Splitting the xrddb_database > settings doesn't help, and splitting the xsddb_database kinda defeats > the whole idea. That the xsddb_database stores things like > notifications_enabled and checks_enabled are the issue. I wish that it > didn't keep that kind of stuff in a "status" table, but, oh well. > > Looks like sending over nsca checks from an active checker to a passive > central server is the way to go. > > Bleh. This is going to be a mess. > > On Thu, 2003-10-16 at 17:58, jeff vier wrote: > > What if, instead of "clustering" the recommended way as described in the > > docs utilizing passive checks aimed at a central server and such, I > > simply set up two Nagios servers fully using a common MySQL backend? > > > > I have this set up now, and they both seem okay. > > I figure, MySQL can handle it no sweat. Sure, sometimes they'll check > > the same thing, but for the most part they're going to be on dissimilar > > schedules and simply reference each others' results from the DB (further > > dissuading them from duplicate work). > > > > Am I missing some reason this would be a Bad Thing? > > > > Thanks for any input. > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > SourceForge.net hosts over 70,000 Open Source Projects. > > See the people who have HELPED US provide better services: > > Click here: http://sourceforge.net/supporters.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 SF.net email sponsored by: Enterprise Linux Forum Conference & Expo > The Event For Linux Datacenter Solutions & Strategies in The Enterprise > Linux in the Boardroom; in the Front Office; & in the Server Room > http://www.enterpriselinuxforum.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sivakumar.nellurandi at attws.com Fri Oct 17 21:08:24 2003 From: sivakumar.nellurandi at attws.com (Nellurandi, Sivakumar) Date: Fri, 17 Oct 2003 12:08:24 -0700 Subject: distributed monitoring question Message-ID: Hi All, I would like to have distributed Nagios environment. Before going for that could anyone please tell me whether the distributed server's events will be written into the MySQL DB of centralized nagios server. The distributed monitoring diagram in the nagios web site is talking only about status file. Any help would be appreciated. Thanks in Advance Siva -------------- next part -------------- An HTML attachment was scrubbed... URL: From DOlbersen at stbernard.com Sat Oct 18 01:07:48 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Fri, 17 Oct 2003 16:07:48 -0700 Subject: status map Message-ID: I must be too close to the problem. I've been trying for a while now to get the status map icons to show up correctly. I've got my icons in /usr/local/share/nagios/images/logos. I've got this in cgi.cfg: xedtemplate_config_file=/usr/local/etc/nagios/hostextinfo.cfg I've got this in /usr/local/etc/nagios/hostextinfo.cfg # This definition is used as a template define hostextinfo { name freebsd icon_image freebsd40.jpg gd2_image freebsd40.jpg statusmap_image freebsd40.jpg register 0 } define hostextinfo { use freebsd host_name longboard icon_image_alt Longboard register 1 } define hostextinfo { use freebsd host_name waverunner icon_image_alt Waverunner register 1 } And when I look at the status map I see the right connections, the pop-up info has the right icon, but the map itself has transparent rectangles instead of the icons. Any ideas? Any other info needed? I tried searching the source forge list archives but that thing is nearly useless (at least for me). -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredreimers at comcast.net Sat Oct 18 05:48:57 2003 From: fredreimers at comcast.net (Fred Reimers) Date: Fri, 17 Oct 2003 23:48:57 -0400 Subject: [Nagmin-users] NagMIN Question In-Reply-To: <16270.701.26320.949799@montanaro.dyndns.org> References: <16270.701.26320.949799@montanaro.dyndns.org> Message-ID: <001401c3952a$c31eb340$6401a8c0@nanner> All bugs and one patch was included in 2.0.1. I don't think you'll have any problems upgrading from 1.6.0 for basic functionality. It should be a lot better. However, the traffic stats, SNMP stuff, etc., should be considered beta. Part of the reason it's taken a few months to get fixes in is that I've been working on the traffic stats, and other things that I need. I haven't had much time to document or consider environments dissimilar to my development machine. I'm running into some issues myself as I'm installing the upgrades on some other machines and have run into some problems with the Web Portal and the new SNMP Scan with quoting and some other issues but not with the basic stuff and previous NagMIN enhancements are working better. The Nagios DB integration is key to using many of the new and planned enhancements, so I'd strongly recommend using MySQL support with Nagios if you aren't already. I will be monitoring SourceForge more closely and coming out with more releases over the next two months to keep up with peoples requests. I'm glad that NagMIN appears to be helping some others who were in the same situation as myself. If you want to donate to NagMIN please visit http://www.sanctuarynet.org and consider donating to Sanctuary International to support orphanages in Romania and Honduras. My boys are in the pictures on the Home Page. Fred Reimers Vice President Sanctuary International -----Original Message----- From: nagmin-users-admin at lists.sourceforge.net [mailto:nagmin-users-admin at lists.sourceforge.net] On Behalf Of Skip Montanaro Sent: Wednesday, October 15, 2003 10:30 PM To: freimers at sanctuarynet.org Cc: 'Martin, Stanley G [CC]'; nagios-users at lists.sourceforge.net; nagmin-users at lists.sourceforge.net Subject: Re: [Nagios-users] RE: [Nagmin-users] NagMIN Question Fred> NagMIN 2.0.2 is up on SourceForge now and is the best version. Any issues involved in upgrading from 1.6.0? I posted a patch to SF a few days ago: http://sourceforge.net/tracker/index.php?func=detail&aid=820273&group_id =77010&atid=548908 Did that make it into 2.0.2? It's useful for people like me who want to store related info in the NagMIN database which NagMIN won't use. Another problem I encountered but forgot to file a bug report about is that NagMIN doesn't properly quote ` (backquote) characters. They can turn up in command definitions enclosing embedded Unix commands. Does 2.0.2 fix this? -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagmin-users mailing list Nagmin-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagmin-users ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredreimers at comcast.net Sat Oct 18 05:58:36 2003 From: fredreimers at comcast.net (Fred Reimers) Date: Fri, 17 Oct 2003 23:58:36 -0400 Subject: [Nagmin-users] NagMIN Release Schedule (Projected) In-Reply-To: <516DA7BE5D87C8469D89F150CA0B491102BDB273@PDAWB02C.ad.sprint.com> References: <516DA7BE5D87C8469D89F150CA0B491102BDB273@PDAWB02C.ad.sprint.com> Message-ID: <001501c3952c$1b7afb10$6401a8c0@nanner> Martin, Every once in a while I forget to change the version parameter in /nagmin/lang/en. This is one of those times. I haven't forgotten to change the wbm filename yet. 2.0.3 is up there that generates Service Escalations by copying corresponding Host Escalations along with a couple of fixes. - 2.0.4 will be coming probably on Monday with some fixes to the Web Portal, SNMP Scan and more help text. - 2.0.5 will probably be out by the end of next with a Notification escalation process (and more help text) - 2.0.6.-9 - Strictly bug fixes - 2.1.0 - NagMIN Syslog Viewer and Nagios Passive Check integration. Also some cron scripts for checking log file sizes with thresholds ( helps with DOS attack detection ) and log file growth ( is logging running). 3-4 weeks. Fred -----Original Message----- From: Martin, Stanley G [CC] [mailto:Stanley.G.Martin at mail.sprint.com] Sent: Wednesday, October 15, 2003 8:52 AM To: freimers at sanctuarynet.org; nagios-users at lists.sourceforge.net; nagmin-users at lists.sourceforge.net Subject: RE: [Nagmin-users] NagMIN Question I downloaded and installed the new 2.0.2 WBM Module, however when I bring up NagMIN in Webmin it still shows me running 2.0.1. Stanley G. Martin System Administrator Sprint - EAS Business Intelligence 913.762.8667 913.221.8241 PCS Stanley.G.Martin at mail.sprint.com -----Original Message----- From: Fred Reimers [mailto:fredreimers at comcast.net] Sent: Wednesday, October 15, 2003 12:51 AM To: Martin, Stanley G [CC]; nagios-users at lists.sourceforge.net; nagmin-users at lists.sourceforge.net Subject: RE: [Nagmin-users] NagMIN Question I guess this event handler is dying to get implemented. BTW: NagMIN 2.0.2 is up on SourceForge now and is the best version. 2.0.0 added a lot of features. 2.0.1 fixed all known bugs and implemented or answered all feature requests. 2.0.2 fixed a couple of minor glitches in Module Config and text fields and started implementing Help text for each screen and table. The next release will have Help files for all tables. Here's the reply I sent to your previous email for everyone. Martin, Event handlers must be added to a Service Template first and then applied to a service. The service table is designed to keep the number of fields to a minimum for the majority of services configured. Fred -----Original Message----- From: nagmin-users-admin at lists.sourceforge.net [mailto:nagmin-users-admin at lists.sourceforge.net] On Behalf Of Martin, Stanley G [CC] Sent: Tuesday, October 14, 2003 10:08 AM To: nagios-users at lists.sourceforge.net; nagmin-users at lists.sourceforge.net Subject: [Nagmin-users] NagMIN Question I've posed this question to the NagMIN user group and have received no response. Those of you using NagMIN, I can't seem to find a way to add an Event Handler. There's a configuration to enable Event Handling, but I am unable to add it to a service. The field just isn't there. Anybody see a way around this? Stanley G. Martin System Administrator Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tdiehl at rogueind.com Sat Oct 18 06:05:59 2003 From: tdiehl at rogueind.com (Tom Diehl) Date: Sat, 18 Oct 2003 00:05:59 -0400 (EDT) Subject: Host check question Message-ID: Hi all, In the nagios manual it says the following: "check_command: ..... If you leave this argument blank, the host will not be checked - Nagios will always assume the host is up. This is useful if you are monitoring printers or other devices that are frequently turned off. The maximum amount of time that the notification command can run is controlled by the host_check_timeout option." What I am wondering is how does one leave this blank?? If I do not specify any args to check_command or if I specify a check_command arg of "" I get errors during the preflight check. If I do not specify the check_command at all the host is still checked and nagios reports the host as down. Can someone explain what I am doing wrong here?? -- ......Tom Registered Linux User #14522 http://counter.li.org tdiehl at rogueind.com My current SpamTrap -------> mtd123 at rogueind.com ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.wanglund at datavis.se Fri Oct 17 16:53:37 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 17 Oct 2003 16:53:37 +0200 Subject: Cannot ping with APAN In-Reply-To: References: Message-ID: <3F900271.2030305@datavis.se> Do you have the IP for the host you are trying to ping in /etc/host (or DNS) ?? Put IP-numbes in ONE place, /etc/hosts. If you have IP's in Nagios, you will soon have a situation where a host moves and you will have different information in Nagios, /etc/hosts and DNS. /FredrikW Jes?s Oliv?n wrote: > Already ot host address put in hosts.cfg and i'm using $HOSTNAME$ in apan > script, but it doesnt't work =( > > But i can view the icon now, thx a lot! > > i'm trying to execute apan.sh in cmd line and this is what it returns to me: > > debian:/usr/local/nagios/etc# ../apan/apan.sh ping PDC "ping" 100 100.0,20% > 500.0,60% > (standard_in) 1: parse error > PING CRITICAL - Host not found (PDC) > > > > -----Mensaje original----- > De: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]En nombre de Marcio > Queiroz > Enviado el: jueves, 16 de octubre de 2003 17:11 > Para: 'Jes?s Oliv?n'; Nagios List > Asunto: RES: [Nagios-users] Cannot ping with APAN > > > Hi, > > 1 - Apan does not use the HOSTADDRESS for ping, insted it uses the HOSTNAME > for ping, so you have to put the address in the "hosts" file on the /etc > directory. Use the same name you use in nagios, and this will work. > > 2 - are this lines in the cgi.cfg? or are in a separte file, which the > cgi.cfg calls ? like this : > > in cgi.cfg : > xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg > > and in the serviceextinfo.cfg > > define serviceextinfo{ > host_name PDC > service_description ping > notes_url > /nagios/cgi-bin/apan.cgi?host=PDC&service=ping > icon_image graph.png > icon_image_alt View graphs > } > > > bye, > Marcio Q. Dall Agnol > phone : 55-21-3873-5826 > Fax : 55-21-3873-5845 > marcioqueiroz at vicom.com.br > VICOM > Net Servi?os de Comunica??o S/A > Visite nossas p?ginas: > Redes Corporativas: > Internet Banda Larga: > TV por Assinatura : > Institucional: http://www.netservicos.com > > > > >>----- Mensagem original ----- >>De: Jes?s Oliv?n [SMTP:jesusolivan at pickingpack.net] >>Enviada em: quinta-feira, 16 de outubro de 2003 11:12 >>Para: Nagios List >>Assunto: [Nagios-users] Cannot ping with APAN >> >>Hi! >> >>i'm trying to create some ping rtt reports with apan and rrdtool. I've saw >>at apan documentation for installing and configuring it, but i didnt >>success. Now i've got two problems: >> >>1.- nagios tell me "Status Information: PING CRITICAL - Host not found >>(PDC)" when performing ping check with apan in my host "PDC". I've tried >>to >>perform manual plugin check and it returned this: >> >>debian:/usr/local/nagios/etc# /usr/local/nagios/apan/apan.sh ping PDC ping >>10 150.0,20% 600.0,80% >>(standard_in) 1: parse error >>PING CRITICAL - Host not found (PDC) >> >>Here is my checkcommands.cfg: >> >>define command { >> command_name apan >> command_line /usr/local/nagios/apan/apan.sh >>$ARG1$ >>$HOSTNAME$ "$SERVICEDESC$" $TIMET$ $ARG2$ $ARG3$ >>} >> >>part of services.cfg: >> >># Generic service definition template >>define service { >>host_name PDC >>service_description ping >>check_command apan!ping!100.0,20%!500.0,60% >>name ping >>use generic-service >>normal_check_interval 1 >>check_period 24x7 >> max_check_attempts 3 >> retry_check_interval 1 >> contact_groups linux-admins >> notification_interval 120 >> notification_period 24x7 >> notification_options w,u,c,r >> >>} >> >>and finally apan.cfg: >>PDC;ping;/usr/local/nagios/rrd/PDC_Ping.rrd;ping;ping:LINE2;ping round >>time;Seconds >> >> >> >>2.- Im trying to add an image linked to graphical report, but i didnt >>success, attaching a bit of my cgi.cfg: >> >> define serviceextinfo{ >> host_name PDC >> service_description ping >> notes_url >>/nagios/cgi-bin/apan.cgi?host=PDC&service=ping >> icon_image graph.png >> icon_image_alt View graphs >>} >> >>I cannot see any icon with this configuration =( >> >> >>That's all, thanks in advance for your help =) >> >> >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: SF.net Giveback Program. >>SourceForge.net hosts over 70,000 Open Source Projects. >>See the people who have HELPED US provide better services: >>Click here: http://sourceforge.net/supporters.php >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: 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 SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kimvais at yahoo.com Mon Oct 20 13:29:21 2003 From: kimvais at yahoo.com (Kimmo Parviainen) Date: Mon, 20 Oct 2003 04:29:21 -0700 (PDT) Subject: [nagmin]: Bug? Message-ID: <20031020112921.86432.qmail@web10408.mail.yahoo.com> when I try to create a new service template I get an error message SQL insert into `ServiceTemplate` values(' ...blah blah ..., NULL, NULL, NULL) error column Register cannot be null. how to fix this? __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.G.Martin at mail.sprint.com Mon Oct 20 14:31:19 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [CC]) Date: Mon, 20 Oct 2003 07:31:19 -0500 Subject: [Nagmin-users] NagMIN Question Message-ID: <516DA7BE5D87C8469D89F150CA0B491102CDF81F@PDAWB02C.ad.sprint.com> As far as MySQL support in Nagios goes, I've heard rumblings that that support is going to go away soon. Stanley G. Martin System Administrator Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com -----Original Message----- From: Fred Reimers [mailto:fredreimers at comcast.net] Sent: Friday, October 17, 2003 10:49 PM To: skip at pobox.com Cc: Martin, Stanley G [CC]; nagios-users at lists.sourceforge.net; nagmin-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: [Nagmin-users] NagMIN Question All bugs and one patch was included in 2.0.1. I don't think you'll have any problems upgrading from 1.6.0 for basic functionality. It should be a lot better. However, the traffic stats, SNMP stuff, etc., should be considered beta. Part of the reason it's taken a few months to get fixes in is that I've been working on the traffic stats, and other things that I need. I haven't had much time to document or consider environments dissimilar to my development machine. I'm running into some issues myself as I'm installing the upgrades on some other machines and have run into some problems with the Web Portal and the new SNMP Scan with quoting and some other issues but not with the basic stuff and previous NagMIN enhancements are working better. The Nagios DB integration is key to using many of the new and planned enhancements, so I'd strongly recommend using MySQL support with Nagios if you aren't already. I will be monitoring SourceForge more closely and coming out with more releases over the next two months to keep up with peoples requests. I'm glad that NagMIN appears to be helping some others who were in the same situation as myself. If you want to donate to NagMIN please visit http://www.sanctuarynet.org and consider donating to Sanctuary International to support orphanages in Romania and Honduras. My boys are in the pictures on the Home Page. Fred Reimers Vice President Sanctuary International -----Original Message----- From: nagmin-users-admin at lists.sourceforge.net [mailto:nagmin-users-admin at lists.sourceforge.net] On Behalf Of Skip Montanaro Sent: Wednesday, October 15, 2003 10:30 PM To: freimers at sanctuarynet.org Cc: 'Martin, Stanley G [CC]'; nagios-users at lists.sourceforge.net; nagmin-users at lists.sourceforge.net Subject: Re: [Nagios-users] RE: [Nagmin-users] NagMIN Question Fred> NagMIN 2.0.2 is up on SourceForge now and is the best version. Any issues involved in upgrading from 1.6.0? I posted a patch to SF a few days ago: http://sourceforge.net/tracker/index.php?func=detail&aid=820273&group_id =77010&atid=548908 Did that make it into 2.0.2? It's useful for people like me who want to store related info in the NagMIN database which NagMIN won't use. Another problem I encountered but forgot to file a bug report about is that NagMIN doesn't properly quote ` (backquote) characters. They can turn up in command definitions enclosing embedded Unix commands. Does 2.0.2 fix this? -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagmin-users mailing list Nagmin-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagmin-users ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rajeev.jain.contractor at bcbsa.com Mon Oct 20 16:40:23 2003 From: rajeev.jain.contractor at bcbsa.com (Jain, Rajeev - Contingent Staff) Date: Mon, 20 Oct 2003 09:40:23 -0500 Subject: How to monitor without SNMP? Message-ID: <5B87969C64A48F47BE541AAC30B7772DC2B580@chgmsgprd1.bcbsa.com> I am in an environment where they don't allow SNMP for monitoring. I used to configure MRTG to get File System, CPU and other reports in past I found that there are some left over installs of Zabbix too. Can someone suggest what is the best freeware available to report graphically CPU, File Systems Usage etc.? Rajeev -------------- next part -------------- An HTML attachment was scrubbed... URL: From formatpro at yahoo.co.uk Mon Oct 20 20:10:43 2003 From: formatpro at yahoo.co.uk (=?iso-8859-1?q?ForMatPrO=20ForMatPrO?=) Date: Mon, 20 Oct 2003 19:10:43 +0100 (BST) Subject: Event handle for every incoming passive check possible? Message-ID: <20031020181043.57865.qmail@web25008.mail.ukl.yahoo.com> Hi, i want to create an rrdtool program for incoming passive checks. This would be pretty easy if nagios supported event handles for every incoming passive check, instead of only on changing states. This way I could redirect the output to a program that parses the numbers and triggers an RRD update. Does anyone know if this is possible? Thx ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://mail.messenger.yahoo.co.uk ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michal at jursa.cz Mon Oct 20 15:54:39 2003 From: michal at jursa.cz (michal at jursa.cz) Date: Mon, 20 Oct 2003 15:54:39 +0200 Subject: Old IP kept... Message-ID: <1066658079.3f93e91fecd69@cert.casablanca.cz> Hi, I exeprience a strange thing. I changed an IP of two of my hosts, Nagios monitors these new addresses and allways shows green OK status on the web, but I still receive notifications about host DOWN for the OLD IP adresses... where is the problem???? The old addresses are never written in the config files... Thanks for help, Mike ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sascha at teifke.de Mon Oct 20 21:51:12 2003 From: sascha at teifke.de (Sascha Teifke) Date: Mon, 20 Oct 2003 21:51:12 +0200 Subject: Command File Problem Message-ID: <3F943CB0.7070708@teifke.de> Hello List, I've got a problem using the cmd-execution feature. If I try to schedule a downtime for a host the following Error occurs: == snip == Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occurred while attempting to commit your command for processing. == snap == But, I set the rights as descriped in the FAQ. My Nagios User: nagios My Apache-User: wwwrun My Nagios-CMD Group: nagiocmd Users of nagiocmd: nagios, wwwrun Rights of the Directory /usr/local/nagios/var/rw drwxrws___ 2 nagios nagiocmd 80 Oct 20 21:34 rw/ Any Ideas? Thanks Sascha ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike at mbmwebcraft.com Mon Oct 20 19:30:51 2003 From: mike at mbmwebcraft.com (Mickael Maddison) Date: Mon, 20 Oct 2003 10:30:51 -0700 Subject: Nagios In-Reply-To: <20031020112921.86432.qmail@web10408.mail.yahoo.com> References: <20031020112921.86432.qmail@web10408.mail.yahoo.com> Message-ID: <130909023734.20031020103051@mbmwebcraft.com> Hello, I am a 'new' Nagios user, and have set up a basic install to monitor ~20 hosts. So far, once the initial config files get figured out, it's looking pretty good. I am looking for some comments on a few questions/thoughts though. -- Layout; I've been trying to figure out how to modify the reporting screens to save viewing space. find that there is plenty of unused space that could be more efficiently laid out so more useful information is on the screen at all times. Has anyone else done this? I've looked at the stylesheets and I'm no stylesheet expert, but there doesn't seem to be much I can do with these... -- Web-Based Config File scripts; I'm wondering if anyone knows if/where on can find some good web-based configuration file editing scripts? I wouldn't want to re-invent these if there are good ones available. -- Group services; Is there a way to say that "all hosts in group linux" get the same ping testing, rather than having to enter a services.cfg entry for each host? -- MySQL Config; I haven't looked into this yet, but it is a very attractive option... any comments on how stable - reliable the MySQL based setup is? Sorry for the big list of questions, I'm sure more will pop up... Thanks in advance for taking the time to read through this. Mike -- Mail -v nobody ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Oct 21 00:37:08 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 20 Oct 2003 17:37:08 -0500 Subject: Command File Problem Message-ID: Hey Sascha -- 2 things, the first being most likely. 1) did you restart apache after adding it to the nagioscmd group? 2) are there any directories above nagios.cmd that are not +rx for the nagioscmd group? -- Marc -----Original Message----- From: Sascha Teifke To: nagios-users at lists.sourceforge.net Sent: Mon Oct 20 14:51:12 2003 Subject: [Nagios-users] Command File Problem Hello List, I've got a problem using the cmd-execution feature. If I try to schedule a downtime for a host the following Error occurs: == snip == Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occurred while attempting to commit your command for processing. == snap == But, I set the rights as descriped in the FAQ. My Nagios User: nagios My Apache-User: wwwrun My Nagios-CMD Group: nagiocmd Users of nagiocmd: nagios, wwwrun Rights of the Directory /usr/local/nagios/var/rw drwxrws___ 2 nagios nagiocmd 80 Oct 20 21:34 rw/ Any Ideas? Thanks Sascha ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: From mike at mbmwebcraft.com Tue Oct 21 00:57:52 2003 From: mike at mbmwebcraft.com (Mickael Maddison) Date: Mon, 20 Oct 2003 15:57:52 -0700 Subject: Command File Problem In-Reply-To: <3F943CB0.7070708@teifke.de> References: <3F943CB0.7070708@teifke.de> Message-ID: <87928645093.20031020155752@mbmwebcraft.com> Hello Sascha, I had to add the apache user to the nagios group, then restart apache. -- Take care, Mickael Maddison mailto:mike at mbmwebcraft.com -- Monday, October 20, 2003, 12:51:12 PM, you wrote: ST> Hello List, ST> I've got a problem using the cmd-execution feature. ST> If I try to schedule a downtime for a host the following Error occurs: ST> == snip == ST> Error: Could not open command file ST> '/usr/local/nagios/var/rw/nagios.cmd' ST> for update! ST> The permissions on the external command file and/or directory may be ST> incorrect. Read the FAQs on how to setup proper permissions. ST> An error occurred while attempting to commit your command for processing. ST> == snap == ST> But, I set the rights as descriped in the FAQ. ST> My Nagios User: nagios ST> My Apache-User: wwwrun ST> My Nagios-CMD Group: nagiocmd ST> Users of nagiocmd: nagios, wwwrun ST> Rights of the Directory /usr/local/nagios/var/rw ST> drwxrws___ 2 nagios nagiocmd 80 Oct 20 21:34 rw/ ST> Any Ideas? ST> Thanks ST> Sascha ST> ------------------------------------------------------- ST> This SF.net email is sponsored by OSDN developer relations ST> Here's your chance to show off your extensive product knowledge ST> We want to know what you know. Tell us and you have a chance to win $100 ST> http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ST> _______________________________________________ ST> Nagios-users mailing list ST> Nagios-users at lists.sourceforge.net ST> https://lists.sourceforge.net/lists/listinfo/nagios-users ST> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ST> ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maillist at foxroach.com Mon Oct 20 20:02:59 2003 From: maillist at foxroach.com (Tory Skyers) Date: Mon, 20 Oct 2003 14:02:59 -0400 Subject: Recurring Downtime In-Reply-To: References: Message-ID: I'm a newbie to Nagios, and I was wondering if there is a way to setup a recurring downtime for a machine? I have a windows machine that must be rebooted daily (yay! *sic*) and I don't want to be notified daily of this occurrence, but I also don't want to enter the downtime every day either. Second question: Is there an acceptable way to ask questions in order to get them answered? I asked a question about extended templates a few days back and I haven't gotten any replies. Third question: I use nagmin to maintain my nagios setup, are there any benefits other than SNMP to upgrade to 2.0.x? Thank you, Tory ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Oct 21 05:42:57 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 20 Oct 2003 23:42:57 -0400 (EDT) Subject: Recurring Downtime In-Reply-To: References: Message-ID: On Mon, 20 Oct 2003, Tory Skyers wrote: > I'm a newbie to Nagios, and I was wondering if there is a way to > setup a recurring downtime for a machine? I have a windows machine that must > be rebooted daily (yay! *sic*) and I don't want to be notified daily of this > occurrence, but I also don't want to enter the downtime every day either. try using timeperiods that exclude the downtime for the host. if it is still down, alerts will get sent out after the the downtime window. > > Second question: > Is there an acceptable way to ask questions in order to get them > answered? I asked a question about extended templates a few days back and I > haven't gotten any replies. > Question with as mush supporting info as the easiest to answer... Also depends on who is using he features at the moment ... > Third question: > I use nagmin to maintain my nagios setup, are there any benefits > other than SNMP to upgrade to 2.0.x? I'll let the NagMIN users answer this one... -- -sg ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagendra.rao at oracle.com Tue Oct 21 04:16:19 2003 From: nagendra.rao at oracle.com (Nagendra A) Date: Tue, 21 Oct 2003 07:46:19 +0530 Subject: FW: Apache access error Message-ID: Hi, Can you please help me to resolve this issue. When i access nagios default web page i get error. http://itoppsmon/nagios/ Access forbidden! You do not have permission to access the requesteddirectory.There is either no index document or the directory is read protected. let me know if u require more details. Thanks Nagendra A ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nc at stormvault.net Tue Oct 21 09:10:32 2003 From: nc at stormvault.net (Nicolas Couture) Date: Tue, 21 Oct 2003 03:10:32 -0400 Subject: FW: Apache access error In-Reply-To: References: Message-ID: <1066720232.2482.2.camel@infrared> On Mon, 2003-10-20 at 22:16, Nagendra A wrote: > Hi, > > Can you please help me to resolve this issue. > > When i access nagios default web page i get error. > > http://itoppsmon/nagios/ > > Access forbidden! > You do not have permission to access the requesteddirectory.There is either no index document or the directory is read protected. This is a permission problem (providing that the directory exist). > let me know if u require more details. You should not ask if we need more details, you should just provide them. ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Tue Oct 21 13:39:35 2003 From: twelsh at square-box.com (Tom Welsh) Date: Tue, 21 Oct 2003 12:39:35 +0100 Subject: Nagios Web Users Interface - NaWui Message-ID: <001a01c397c8$02d431a0$0400a8c0@squarebox.com> Hi all, Has anyone got NaWui to work straight out of the tarball. I'm seeming to be having lots of problems with files missing et all. I know its just alpha but it sounds like something we were thinking about writing. Unfortunately I cant seem to work it. Any help gratefully accepted. Cheers Tom Welsh twelsh at square-box.com DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. Sender accepts no liability for any damage resulting from the use and/or acceptation of the content of this e-mail. Always scan attachments before opening them. The views expressed in this communication may not necessarily be the views held by squareBOX technologies ltd ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Oct 21 16:40:34 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 21 Oct 2003 09:40:34 -0500 Subject: FW: Apache access error Message-ID: Negendra, I think I see the problem: [Tue Oct 21 03:24:41 2003] [error] [client 152.69.167.26] client denied by server configuration: /usr/share/nagios/ Shouldn't that be /usr/local/nagios/share? Your httpd.conf looks correct at first glance and according to the error_log below it was restarted but for some reason it's still thinking that the /nagios alias points to /usr/share/nagios. Did you have it set that way at one point? I noticed this at the bottom of your httpd.conf -- # Include /etc/httpd/conf.d/nagios.conf I know it's commented out now, but was it at the time you restarted apache and grabbed the log information? What are the contents of that file? Hopefully that rings a bell. -- Marc ________________________________________ From: Nagendra A [mailto:nagendra.rao at oracle.com] Sent: Tuesday, October 21, 2003 2:33 AM To: Marc Powell Hi Mark, ? Thanks for the detailed mail. Here is the details that your require. ? Nagios version : nagios-1.1.tar.gz? Os Version : PCQLinux release 8.0 (Aquamarine) ??????????????????? Kernel 2.4.18-24.8.0 on an i686 ? I have followed the the instruction as per the documentation. Also atttaching httpd.conf. ? http error_log [root at itoppsmon logs]# tail -f error_log [Tue Oct 21 03:23:04 2003] [warn] child process 4207 still did not exit, sending a SIGTERM [Tue Oct 21 03:23:04 2003] [warn] child process 4208 still did not exit, sending a SIGTERM [Tue Oct 21 03:23:04 2003] [warn] child process 4209 still did not exit, sending a SIGTERM [Tue Oct 21 03:23:04 2003] [warn] child process 4217 still did not exit, sending a SIGTERM [Tue Oct 21 03:23:06 2003] [notice] caught SIGTERM, shutting down [Tue Oct 21 03:23:13 2003] [notice] Digest: generating secret for digest authentication ... [Tue Oct 21 03:23:13 2003] [notice] Digest: done [Tue Oct 21 03:23:14 2003] [notice] Apache/2.0.40 (Red Hat Linux) configured -- resuming normal operations [Tue Oct 21 03:24:34 2003] [error] [client 152.69.167.26] Directory index forbidden by rule: /var/www/html/ [Tue Oct 21 03:24:41 2003] [error] [client 152.69.167.26] client denied by server configuration: /usr/share/nagios/ http access_log [root at itoppsmon logs]# tail -f access_log 152.69.167.26 - - [21/Oct/2003:01:49:25 +051800] "GET /icons/apache_pb.gif HTTP/1.1" 200 2326 "http://itoppsmon.idc.oracle.com" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" 152.69.167.26 - - [21/Oct/2003:01:49:25 +051800] "GET /icons/powered_by.gif HTTP/1.1" 200 581 "http://itoppsmon.idc.oracle.com" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" 152.69.167.26 - - [21/Oct/2003:01:49:43 +051800] "GET / HTTP/1.1" 403 2898 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" 152.69.167.26 - - [21/Oct/2003:01:50:16 +051800] "GET /manul HTTP/1.1" 404 1062 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" 152.69.167.26 - - [21/Oct/2003:01:50:22 +051800] "GET /manul/ HTTP/1.1" 404 1062 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" 152.69.167.26 - - [21/Oct/2003:01:50:25 +051800] "GET /manul HTTP/1.1" 404 1062 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" 152.69.167.26 - - [21/Oct/2003:01:50:27 +051800] "GET / HTTP/1.1" 403 2898 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" 152.69.167.26 - - [21/Oct/2003:01:50:37 +051800] "GET /nagios/ HTTP/1.1" 403 1066 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" 152.69.167.26 - - [21/Oct/2003:03:24:34 +051800] "GET / HTTP/1.1" 403 2898 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" 152.69.167.26 - - [21/Oct/2003:03:24:41 +051800] "GET /nagios/ HTTP/1.1" 403 1066 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" nagios installation directory -? /usr/local/nagios ? Directory perimission : drwxrwxrwx??? 2 nagios?? nagios?????? 4096 Oct? 1 11:12 bin drwxrwxrwx??? 2 nagios?? nagios?????? 4096 Oct? 1 11:12 sbin drwxrwxrwx??? 8 nagios?? nagios?????? 4096 Oct? 1 11:12 share drwxrwxrwx??? 3 nagios?? nagios?????? 4096 Oct? 1 11:12 var ? /share ? drwxrwxrwx??? 2 nagios?? nagios?????? 4096 Oct? 1 11:12 contexthelp drwxrwxrwx??? 3 nagios?? nagios?????? 4096 Oct? 1 11:12 docs drwxrwxrwx??? 3 nagios?? nagios?????? 4096 Oct? 1 11:12 images -rwxrwxrwx??? 1 nagios?? nagios??????? 658 Oct 21 03:21 index.html -rwxrwxrwx??? 1 nagios?? nagios?????? 2340 Oct? 1 11:12 main.html drwxrwxrwx??? 2 nagios?? nagios?????? 4096 Oct? 1 11:12 media -rwxrwxrwx??? 1 nagios?? nagios???????? 26 Oct? 1 11:12 robots.txt -rwxrwxrwx??? 1 nagios?? nagios????? 10752 Oct? 1 11:12 side.html drwxrwxrwx??? 2 nagios?? nagios?????? 4096 Oct? 1 11:12 ssi drwxrwxrwx??? 2 nagios?? nagios?????? 4096 Oct? 1 11:12 stylesheets used touch command to chage the timestamp of index.html. ? Thanks Nagendra A -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Tuesday, October 21, 2003 10:33 AM To: nagendra.rao at oracle.com Subject: Re: [Nagios-users] FW: Apache access error That's really not a whole lot to go on. The relevant sections of your httpd config, the installation steps you've taken so far and any troubleshooting you've done to this point will all help to resolve this quickly with minimal repetition of work already done. Nagios version, OS version, httpd version and nagios nstallation method are all particularly relevant as well. More information is always better. That being said, have you checked your http error logs for more information? What do they indicate exactly? Did you follow the web server configuration directions and restart your web server? Did you do a make all and make install in the nagios source directory? Were there any special configure options you used (to change the prefix directory perhaps)? Finally, is there an index document in the nagios share directory and is it readable by your web server (and any directories above it readable and acessible by your web server? -- Marc -----Original Message----- From: Nagendra A To: nagios-users at lists.sourceforge.net Sent: Mon Oct 20 21:16:19 2003 Subject: [Nagios-users] FW: Apache access error Hi, Can you please help me to resolve this issue. When i access nagios default web page i get error. http://itoppsmon/nagios/ Access forbidden! You do not have permission to access the requesteddirectory.There is either no index document or the directory is read protected. let me know if u require more details. Thanks Nagendra A ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nlehouillier at seitelsolutions.ca Tue Oct 21 17:12:43 2003 From: nlehouillier at seitelsolutions.ca (Neil Lehouillier) Date: Tue, 21 Oct 2003 09:12:43 -0600 Subject: Nagios AND AD permissions Message-ID: <3C4551738AE92C46AF044C2C62A48E7E156ED5@tigger.seitelsolutions.ca> Has anyone been able to get nagios to authenticate against Active Directory permissions/groups? I want to try and make logins as seemless as possible for management. Does anyone have any clue on how to make this happen? Neil ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Tue Oct 21 23:31:12 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Tue, 21 Oct 2003 16:31:12 -0500 (CDT) Subject: Nagios AND AD permissions In-Reply-To: <3C4551738AE92C46AF044C2C62A48E7E156ED5@tigger.seitelsolutions.ca> References: <3C4551738AE92C46AF044C2C62A48E7E156ED5@tigger.seitelsolutions.ca> Message-ID: <50204.64.219.133.155.1066771872.squirrel@xyzzy.homeip.net> This might help: http://sourceforge.net/mailarchive/message.php?msg_id=6196627 - Mike > Has anyone been able to get nagios to authenticate against Active Directory > permissions/groups? I want to try and make logins as seemless as possible for > management. > > Does anyone have any clue on how to make this happen? > > > Neil > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcady at pingtone.com Tue Oct 21 18:55:03 2003 From: jrcady at pingtone.com (Jeffrey Cady) Date: Tue, 21 Oct 2003 12:55:03 -0400 Subject: Service times out Message-ID: <3F9564E7.6050503@pingtone.com> I have this configuration: # Service definition define service{ use generic-service ; Name of service template to use host_name br1-dca service_description INTAlarmBR1-dca is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups router-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_ifstatus!community } I am able to get good results from the command line, but I get this error: ERROR: No snmp response from 63.121.107.1 (alarm timeout) I am also monitoring other things like CPU on this same device so my community is right. I am monitoring another router with this exact same syntax and that one works. What could be the issue What could be the problem. Thanks Jeff ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ykorff at cigital.com Wed Oct 22 02:49:46 2003 From: ykorff at cigital.com (Yanek Korff) Date: Tue, 21 Oct 2003 20:49:46 -0400 Subject: check disks - big disk problem? Message-ID: <9B05A21842F77F41ABFB3153FC93201D13973B@va-mail.cigital.com> Maybe my math is off, but I'm observing the following with Nagios 1.3.3 (and nrpe) These two show up as WARNINGs: Drive D:\ - Total: 132.58 GB - Free: 131.69 GB (99%) - Used: 912 MB (1%) Drive E:\ - Total: 273.22 GB - Free: 270.24 GB (99%) - Used: 2.99 GB (1%) I have nrpe and check_disk.wsf configured like so (is this the wrong forum?): command[check_disk_d]=c:\winnt\system32\cscript.exe //NoLogo //T:10 "c:\program files\nrpe_nt\check_disk.wsf" /drive:"d:\" /w:102400 /c:10240 command[check_disk_e]=c:\winnt\system32\cscript.exe //NoLogo //T:10 "c:\program files\nrpe_nt\check_disk.wsf" /drive:"e:\" /w:102400 /c:10240 Yeah, I'm asking for warning at 100GB. But there's more than that available. Is it just late and I'm not seeing something? -Yanek. ---------------------------------------------------------------------------- This electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.o.cope at attws.com Tue Oct 21 23:58:11 2003 From: john.o.cope at attws.com (Cope, John O) Date: Tue, 21 Oct 2003 14:58:11 -0700 Subject: Integration with DOM and CIM .... Message-ID: <258861FAFFEB344BB4B13E158FF5E5B209404F@wa-msg03-mob.wireless.attws.com> Hello Everyone. I'm trying to find out if a plugin exists for integrating DOM (Dell Open Manage) and CIM (Compaq Insight Manager) into Nagios for hardware monitoring. We currently use NetIQ to fulfill this need and we'd like to replace NetIQ with Nagios. Can anyone help or at least point me in the right direction. Thanks in advance for all your help!!! :-) JC -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Tue Oct 21 23:16:21 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 21 Oct 2003 16:16:21 -0500 Subject: Nagios AND AD permissions Message-ID: Just a guess because I haven't actually done it but I would imagine that you could set this up using mod_pam and samba-3.0. I've been successful getting unix authentication for login/sshd/gdm working against AD (fairly easily). mod_pam would seem to be a logical extension of that functionality. Just remember that any user in your AD domain would be able to log in unless you had some sort of restrictions in place and that they would need to be valid contacts and members of valid contact_groups in Nagios before they could see anything in Nagios. Take a peek at the Samba docs on winbindd. -- Marc > -----Original Message----- > From: Neil Lehouillier [mailto:nlehouillier at seitelsolutions.ca] > Sent: Tuesday, October 21, 2003 10:13 AM > To: nagios-users at lists.sourceforge.net > > Has anyone been able to get nagios to authenticate against Active > Directory permissions/groups? I want to try and make logins as seemless > as possible for management. > > Does anyone have any clue on how to make this happen? > > > Neil > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here's your chance to show off your extensive product knowledge > We want to know what you know. Tell us and you have a chance to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredreimers at comcast.net Wed Oct 22 01:10:42 2003 From: fredreimers at comcast.net (Fred Reimers) Date: Tue, 21 Oct 2003 19:10:42 -0400 Subject: [Nagmin-users] NagMIN Question In-Reply-To: <516DA7BE5D87C8469D89F150CA0B491102CDF81F@PDAWB02C.ad.sprint.com> References: <516DA7BE5D87C8469D89F150CA0B491102CDF81F@PDAWB02C.ad.sprint.com> Message-ID: <000001c39828$8eaad520$6401a8c0@nanner> Martin, I read the Nagios 2.0 docs and it doesn't appear that all MySQL support is going to go away in 2.0. The only tables that NagMIN is using are the hoststatus and servicestatus tables. I hope they don't get rid of all of it. I love Nagios but my concern has been, and is, that it's too focused on continuing to modify different ways of configuring it from flat files. The more this can remain static, the more applications, like NagMIN can be developed to provide different ways of auto-generating configurations. Why add service groups to Nagios, as a flat-file configuration, if an application like NagMIN can already provide that functionality. In my view, getting rid of all status information information in a database would be a mistake since it also facilities other development. In my view, I don't see any reason to move from 1.1 unless there's some big change in the polling engine that I would need. I don't see anything in 2.0 that's a show-stopper. I'm also happy with the CGIs, except that I would love to be able to expand/close host groups/hosts/services from the status screens. Service Detail is not scalable. I'm going to write a script for use, in place of side.html, that will allow you to search for a host, and to list host groups by pulling the information from the NagMIN database. Right now, I'm having problems with the TAC screen in version 1.1. The columns skew to the right. I'm copying tac.c from 1.0 into 1.1 and compiling it. I've made some changes to my version of status.c so that the sounds stop after an alert has been acknowledged. Fred -----Original Message----- From: Martin, Stanley G [CC] [mailto:Stanley.G.Martin at mail.sprint.com] Sent: Monday, October 20, 2003 8:31 AM To: freimers at sanctuarynet.org; skip at pobox.com Cc: nagios-users at lists.sourceforge.net; nagmin-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: [Nagmin-users] NagMIN Question As far as MySQL support in Nagios goes, I've heard rumblings that that support is going to go away soon. Stanley G. Martin System Administrator Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com -----Original Message----- From: Fred Reimers [mailto:fredreimers at comcast.net] Sent: Friday, October 17, 2003 10:49 PM To: skip at pobox.com Cc: Martin, Stanley G [CC]; nagios-users at lists.sourceforge.net; nagmin-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: [Nagmin-users] NagMIN Question All bugs and one patch was included in 2.0.1. I don't think you'll have any problems upgrading from 1.6.0 for basic functionality. It should be a lot better. However, the traffic stats, SNMP stuff, etc., should be considered beta. Part of the reason it's taken a few months to get fixes in is that I've been working on the traffic stats, and other things that I need. I haven't had much time to document or consider environments dissimilar to my development machine. I'm running into some issues myself as I'm installing the upgrades on some other machines and have run into some problems with the Web Portal and the new SNMP Scan with quoting and some other issues but not with the basic stuff and previous NagMIN enhancements are working better. The Nagios DB integration is key to using many of the new and planned enhancements, so I'd strongly recommend using MySQL support with Nagios if you aren't already. I will be monitoring SourceForge more closely and coming out with more releases over the next two months to keep up with peoples requests. I'm glad that NagMIN appears to be helping some others who were in the same situation as myself. If you want to donate to NagMIN please visit http://www.sanctuarynet.org and consider donating to Sanctuary International to support orphanages in Romania and Honduras. My boys are in the pictures on the Home Page. Fred Reimers Vice President Sanctuary International -----Original Message----- From: nagmin-users-admin at lists.sourceforge.net [mailto:nagmin-users-admin at lists.sourceforge.net] On Behalf Of Skip Montanaro Sent: Wednesday, October 15, 2003 10:30 PM To: freimers at sanctuarynet.org Cc: 'Martin, Stanley G [CC]'; nagios-users at lists.sourceforge.net; nagmin-users at lists.sourceforge.net Subject: Re: [Nagios-users] RE: [Nagmin-users] NagMIN Question Fred> NagMIN 2.0.2 is up on SourceForge now and is the best version. Any issues involved in upgrading from 1.6.0? I posted a patch to SF a few days ago: http://sourceforge.net/tracker/index.php?func=detail&aid=820273&group_id =77010&atid=548908 Did that make it into 2.0.2? It's useful for people like me who want to store related info in the NagMIN database which NagMIN won't use. Another problem I encountered but forgot to file a bug report about is that NagMIN doesn't properly quote ` (backquote) characters. They can turn up in command definitions enclosing embedded Unix commands. Does 2.0.2 fix this? -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagmin-users mailing list Nagmin-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagmin-users ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From milleung at schoolteam.net Wed Oct 22 05:57:29 2003 From: milleung at schoolteam.net (Leung Wing Yee, Mil) Date: Wed, 22 Oct 2003 11:57:29 +0800 (CST) Subject: How many resources will be consumed by NSClient? Message-ID: <952930.1066795049531.JavaMail.Administrator@app-ser3> Dear All, Hi! I would like to ask how many resources will be consumed by NSClient after its been installed on a Windows 2000 Server machine? Such as, CPU loading, memory, disk space...etc. Could you give me the exact values of these information? Thanks a lot. Regards, Grace Leung ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DOlbersen at stbernard.com Tue Oct 21 19:54:05 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Tue, 21 Oct 2003 10:54:05 -0700 Subject: status map Message-ID: David Olbersen wrote: > I must be too close to the problem. > > I've been trying for a while now to get the status map icons to show up > correctly. > > I've got my icons in /usr/local/share/nagios/images/logos. > I've got this in cgi.cfg: > > xedtemplate_config_file=/usr/local/etc/nagios/hostextinfo.cfg > > I've got this in /usr/local/etc/nagios/hostextinfo.cfg > > # This definition is used as a template > define hostextinfo { > name freebsd > icon_image freebsd40.jpg > gd2_image freebsd40.jpg > statusmap_image freebsd40.jpg > register 0 > } > > define hostextinfo { > use freebsd > host_name longboard > icon_image_alt Longboard > register 1 > } > > define hostextinfo { > use freebsd > host_name waverunner > icon_image_alt Waverunner > register 1 > } > > And when I look at the status map I see the right connections, the pop-up > info has the right icon, but the map itself has transparent rectangles > instead of the icons. Any ideas? Any other info needed? I tried searching the > source forge list archives but that thing is nearly useless (at least for > me). Anybody have any ideas for this one, or am I still up the creek? -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Wed Oct 22 09:30:05 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Wed, 22 Oct 2003 09:30:05 +0200 Subject: [Nagmin-users] NagMIN Question Message-ID: > -----Original Message----- > From: Fred Reimers [mailto:fredreimers at comcast.net] > Sent: 22 October 2003 01:11 AM > In my view, I don't see any reason to move from 1.1 unless > there's some > big change in the polling engine that I would need. I don't see > anything in 2.0 that's a show-stopper. > > I'm also happy with the CGIs, except that I would love to be able to > expand/close host groups/hosts/services from the status screens. > Service Detail is not scalable. I'm going to write a script > for use, in > place of side.html, that will allow you to search for a host, and to > list host groups by pulling the information from the NagMIN database. I've been running +-7000 services on about 300 hosts. The CGI's with version 1 can't cope, way too sloooow. Downloaded the cvs version of 2 yesterday and installed. Much better. (Had to change some of my configs though, but that was not too much trouble. That's one BIG reason to change to 2. :) fred ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mzieny at cairo.westerngeco.slb.com Wed Oct 22 08:03:43 2003 From: mzieny at cairo.westerngeco.slb.com (Mohamed El Zeiny) Date: Wed, 22 Oct 2003 08:03:43 +0200 Subject: Need Process check plugin In-Reply-To: References: Message-ID: <5.1.0.14.2.20031022075817.00ad0da8@wgmail5.cairo.afr.slb.com> Hi All, I need to find a way to check if there is 2 certain process running on my cluster. check_proc is not enough...! because it give me a warning (or critical) if the process is running. But I want it to give me OK if these process is running, and warn me if they are not. because these process is daemons and should be running. any idea...? Regards, Mohamed El Zeiny, -------------- next part -------------- An HTML attachment was scrubbed... URL: From johannes.dagemark at op5.se Wed Oct 22 09:26:16 2003 From: johannes.dagemark at op5.se (Johannes Dagemark) Date: Wed, 22 Oct 2003 09:26:16 +0200 Subject: Problem with NSClient on XP Message-ID: <007e01c3986d$c830bb80$8000a8c0@JDLAPTOP> Hello I have some problems when checking for memory usage on a computer running Windows XP SP1. The output I get when I run check_nt -H a.b.c.d -p 1248 -v MEMUSE -w 80 -c 90 OK 2003-10-13 14:40:38 0d 0h 18m 15s 1/3 Memory usage: total:0.00 Mb - used: 0.00 Mb (nan%) - free: 0.00 Mb (nan%) I run nsclient 1.0.8.4 Kind of strange i think. If you pull upp taskmgr on the XP box the memory usage is shown correctly. If anyone has had the same problem or has been able to solv it I would be grateful to know the solution. Regards Johannes Dagemark ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gareth at ipnoc.co.za Wed Oct 22 11:15:26 2003 From: gareth at ipnoc.co.za (Gareth La Grange) Date: Wed, 22 Oct 2003 11:15:26 +0200 Subject: Problem Message-ID: <200310220916.h9M9GFe10441@pos3sl0g01.3sl.saa.co.za> Good Morning List, My apologies if this has been posted before, but I have been trying for a solid week to get onto the archives to check, and cannot for the life of me get to them. My problem is as follows: I have a nagios installation with nrpe 2.0 I can do remote checks onto a Linux RedHat 9, for example Disk and Load, but for some crazy reason I cannot run the plugin check_mailq It returns the following error: CHECK_NRPE: Response packet had invalid CRC32. Has anyone experienced something similar? And resolved it? Here is some more info in case you need it: Monitoring Server: ------------------ Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Oct 22 11:17:04 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Wed, 22 Oct 2003 10:17:04 +0100 Subject: check disks - big disk problem? Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE909F48C@netfinity-1.foundation-it.local> > From: Yanek Korff [mailto:ykorff at cigital.com] > > Maybe my math is off, but I'm observing the following with > Nagios 1.3.3 (and nrpe) > > These two show up as WARNINGs: > Drive D:\ - Total: 132.58 GB - Free: 131.69 GB (99%) - Used: > 912 MB (1%) > > Drive E:\ - Total: 273.22 GB - Free: 270.24 GB (99%) - Used: 2.99 GB > (1%) > > I have nrpe and check_disk.wsf configured like so (is this the wrong > forum?): The nrpe_nt plugin forum at http://support.tsmgsoftware.com is probably more appropriate, especially as the author of the plugin will almost certainly read it, but personally I enjoy the fact that the whole Nagios world gets discussed here as it's sometimes the only way I find out about some of the addons and techniques. > command[check_disk_d]=c:\winnt\system32\cscript.exe //NoLogo > //T:10 "c:\program files\nrpe_nt\check_disk.wsf" /drive:"d:\" > /w:102400 /c:10240 > command[check_disk_e]=c:\winnt\system32\cscript.exe //NoLogo > //T:10 "c:\program files\nrpe_nt\check_disk.wsf" /drive:"e:\" > /w:102400 /c:10240 > > Yeah, I'm asking for warning at 100GB. But there's more than > that available. Is it just late and I'm not seeing something? It's a 640 Kb problem. check_disk.wsf extracts the argument values using the VBScript conversion function CInt which has a limit of 32768 (or so). Use (or get the author to use) CLng and it should work. Phil ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ronw at paradise.net.nz Wed Oct 22 10:16:25 2003 From: ronw at paradise.net.nz (Ron Wilson) Date: Wed, 22 Oct 2003 21:16:25 +1300 Subject: Test Message-ID: <1066810585.3506.0.camel@linux> Test ------------------- Ron Wilson He wrapped himself in quotations- as a beggar would enfold himself in the purple of Emperors. Rudyard Kipling ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lcalderon at sscc.osakidetza.net Wed Oct 22 13:28:51 2003 From: lcalderon at sscc.osakidetza.net (Calderon, Luis) Date: Wed, 22 Oct 2003 13:28:51 +0200 Subject: Strange trends reporting behaviour Message-ID: <5542A0298803D611BC8A0030370009F12A7B00@osa_m70.osasunet> Hello, Had anyone found the same problem that I had? When I click on the "Trends" button under "Reporting" on Nagios and I select the range October 1 - October 22, i see a great green and OK graphic. But if I choose October 9 - October 16 range, the graph is empty, without any status, only Indeterminate. Why don't I see this state on the higher range graphic? Any idea? what does this "Indeterminate" or "Insufficient Data" message means? Can anyone guess something? Thanks in advance. Best Regards Luis ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DMelczer at WLRK.com Wed Oct 22 13:17:02 2003 From: DMelczer at WLRK.com (DMelczer at WLRK.com) Date: Wed, 22 Oct 2003 07:17:02 -0400 Subject: How many resources will be consumed by NSClien t? Message-ID: Grace- Of course, the final tally will depend on exactly how much you monitor using NSClient, but with the latest version (I just downloaded it the other day...but I can't remember the version number...sorry!) the resources map looks like the following: Memory: Approx. 6MB RAM (5.8 MB on my machine) Disk: Approx. 2MB space for executable files (1.7 MB on my machine) CPU: None (approximated at 0.1%) when service is not running, no more than 3% when active checks are executed. Hope this helps. -Dave Melczer -----Original Message----- From: Leung Wing Yee, Mil [mailto:milleung at schoolteam.net] Sent: Tuesday, October 21, 2003 11:57 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How many resources will be consumed by NSClient? Dear All, Hi! I would like to ask how many resources will be consumed by NSClient after its been installed on a Windows 2000 Server machine? Such as, CPU loading, memory, disk space...etc. Could you give me the exact values of these information? Thanks a lot. Regards, Grace Leung ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ********************************************************************** Please be advised that this transmittal may be a confidential attorney-client communication or may otherwise be privileged or confidential. If you are not the intended recipient, please do not read, copy or re-transmit this communication. If you have received this communication in error, please notify us by e-mail (postmaster at wlrk.com) or by telephone (call us collect at 212-403-4357) and delete this message and any attachments. Thank you in advance for your cooperation and assistance. www.wlrk.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdiehl at rogueind.com Wed Oct 22 13:36:59 2003 From: tdiehl at rogueind.com (Tom Diehl) Date: Wed, 22 Oct 2003 07:36:59 -0400 (EDT) Subject: status map In-Reply-To: References: Message-ID: On Tue, 21 Oct 2003, David Olbersen wrote: > David Olbersen wrote: > > > I must be too close to the problem. > > > > I've been trying for a while now to get the status map icons to show up > > correctly. > > > > I've got my icons in /usr/local/share/nagios/images/logos. > > I've got this in cgi.cfg: > > > > xedtemplate_config_file=/usr/local/etc/nagios/hostextinfo.cfg > > > > I've got this in /usr/local/etc/nagios/hostextinfo.cfg > > > > # This definition is used as a template > > define hostextinfo { > > name freebsd > > icon_image freebsd40.jpg > > gd2_image freebsd40.jpg Just a couple of guesses. I am very new at this. Doesn't the gd2_image need to be a gd2 image?? > > statusmap_image freebsd40.jpg > > register 0 > > } > > > > define hostextinfo { > > use freebsd > > host_name longboard > > icon_image_alt Longboard Do the above icons need to have an extension?? > > register 1 > > } > > > > define hostextinfo { > > use freebsd > > host_name waverunner > > icon_image_alt Waverunner Same question as above. > > register 1 > > } > > > > And when I look at the status map I see the right connections, the pop-up > > info has the right icon, but the map itself has transparent rectangles > > instead of the icons. Any ideas? Any other info needed? I tried searching the > > source forge list archives but that thing is nearly useless (at least for > > me). I had this problem and it was simple typos in the file that caused it. HTH, -- ......Tom Registered Linux User #14522 http://counter.li.org tdiehl at rogueind.com My current SpamTrap -------> mtd123 at rogueind.com ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ronaldyii at austarnet.com.au Wed Oct 22 13:42:14 2003 From: ronaldyii at austarnet.com.au (Ronald) Date: Wed, 22 Oct 2003 21:42:14 +1000 Subject: Question on "First Assumed State" Message-ID: <2c316fd4.d6c34820.8166500@gol-mas3.austarnet.com.au> Hi all, I've noticed, whilst viewing the availability report, there's an option to specify the "First Assumed State". If this is not specified, it associates a value with "Insufficient Data". Am I correct in assuming the first assumed state value is used to prefill information if Nagios has not been running for the amount of time the report is being requested for ? eg: Report requested for 30days, but Nagios has only been running for 7 days - thus, the value of "First Assumed State" is used instead? Thanks, Ronald ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Wed Oct 22 15:07:50 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Wed, 22 Oct 2003 14:07:50 +0100 Subject: How many resources will be consumed by NSClien t? Message-ID: <0EBC45FCABFC95428EBFC3A51B368C95513952@jessica.herefordshire.gov.uk> The latest nsclient is Version 2.0, and has just been released. http://support.tsmgsoftware.com/viewforum.php?f=6 Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > DMelczer at WLRK.com > Sent: 22 October 2003 12:17 > To: milleung at schoolteam.net; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] How many resources will be consumed by > NSClien t? > > > Grace- > > Of course, the final tally will depend on exactly how much > you monitor using > NSClient, but with the latest version (I just downloaded it the other > day...but I can't remember the version number...sorry!) the > resources map > looks like the following: > > Memory: Approx. 6MB RAM (5.8 MB on my machine) > Disk: Approx. 2MB space for executable files (1.7 MB on my machine) > CPU: None (approximated at 0.1%) when service is not > running, no more than > 3% when active checks are executed. > > Hope this helps. > > -Dave Melczer > > > -----Original Message----- > From: Leung Wing Yee, Mil [mailto:milleung at schoolteam.net] > Sent: Tuesday, October 21, 2003 11:57 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How many resources will be consumed > by NSClient? > > > Dear All, > > Hi! > I would like to ask how many resources will be consumed by > NSClient after > its been installed on a Windows 2000 Server machine? Such as, > CPU loading, > memory, disk space...etc. Could you give me the exact values of these > information? > Thanks a lot. > > Regards, > Grace Leung > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here's your chance to show off your extensive product knowledge > We want to know what you know. Tell us and you have a chance > to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ********************************************************************** > Please be advised that this transmittal may be a confidential > attorney-client communication or may otherwise be privileged > or confidential. If you are not the intended recipient, > please do not read, copy or re-transmit this communication. > If you have received this communication in error, please > notify us by e-mail (postmaster at wlrk.com) or by telephone > (call us collect at 212-403-4357) and delete this message and > any attachments. Thank you in advance for your cooperation > and assistance. > > www.wlrk.com > ********************************************************************** > > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here's your chance to show off your extensive product knowledge > We want to know what you know. Tell us and you have a chance > to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roland.Sorgenfrei at spb.de Wed Oct 22 11:11:08 2003 From: Roland.Sorgenfrei at spb.de (Roland.Sorgenfrei at spb.de) Date: Wed, 22 Oct 2003 11:11:08 +0200 Subject: NAGIOS limitation Message-ID: Hi all, I'm a nagios beginner. My requirement is, we will managed round 600 server with round about 25 services per server, in sum 15 000 services. The normal checkinterval must be 10 minutes. Now my questions : Can nagios handle so many services in one nagios installation? Know anyone, where are the limitation from nagios? Thanks for help! Roland ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DOlbersen at stbernard.com Wed Oct 22 15:40:18 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Wed, 22 Oct 2003 06:40:18 -0700 Subject: status map Message-ID: Tom Diehl wrote: > > > # This definition is used as a template > > > define hostextinfo { > > > name freebsd > > > icon_image freebsd40.jpg > > > gd2_image freebsd40.jpg > > Just a couple of guesses. I am very new at this. > Doesn't the gd2_image need to be a gd2 image?? Tried that, doesn't seem to matter. > > > define hostextinfo { > > > use freebsd > > > host_name longboard > > > icon_image_alt Longboard > > Do the above icons need to have an extension?? What icons? The idea is to inherit the *_image settings from the parent, the 'freebsd' entry above. That way I don't have to specify the same thing over and over. I tried doing it "the long way" and got the same result. > I had this problem and it was simple typos in the file that caused it. Well I don't see any typos... -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 yahoo.com Wed Oct 22 16:53:08 2003 From: td3201 at yahoo.com (Terry) Date: Wed, 22 Oct 2003 07:53:08 -0700 (PDT) Subject: notification not being sent Message-ID: <20031022145308.22530.qmail@web60306.mail.yahoo.com> Hello, Here is the service config: define service{ use generic-service host_name foobar01 service_description SLS-Non-Maintenence is_volatile 0 check_period nonmaintenence max_check_attempts 1 contact_groups warning,critical notification_interval 5 notification_period nonmaintenence notification_options w,u,c,r check_command check_sls!foobar } Here is the timeperiod config: define timeperiod{ timeperiod_name nonmaintenence alias Non-Maintenence Period sunday 00:00-01:00,04:30-24:00 monday 00:00-01:00,04:30-24:00 tuesday 00:00-01:00,04:30-24:00 wednesday 00:00-01:00,04:30-24:00 thursday 00:00-01:00,04:30-24:00 friday 00:00-01:00,04:30-24:00 saturday 00:00-01:00,04:30-24:00 } Here is the log entry of a service being checked: [2003-10-22 04:30:25] SERVICE ALERT: foobar01;SLS-Non-Maintenence;CRITICAL;HARD;1;CRITICAL. foobar is down! Based on this, I should be getting a notification that this service was down, correct? Thanks! __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DOlbersen at stbernard.com Wed Oct 22 18:31:39 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Wed, 22 Oct 2003 09:31:39 -0700 Subject: status map Message-ID: David Olbersen wrote: > Tom Diehl wrote: > > > I had this problem and it was simple typos in the file that caused it. > > Well I don't see any typos... Because the problem wasn't really a typo. I made: physical_html_path /usr/local/share/nagios/images instead of physical_html_path /usr/local/share/nagios Works now! -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From val at nycity.com Wed Oct 22 15:45:21 2003 From: val at nycity.com (Val Vechnyak) Date: Wed, 22 Oct 2003 09:45:21 -0400 Subject: nsupdate as external command Message-ID: <002201c398a2$bd11a540$fa01a8c0@msohosting.com> Hi, I was wondering if someone has already done this? Does anyone use DNS's nsupdate with some kind of a script to dynamically update DNS as an event handler. I have backup servers at a different location and if primary server fails I can swap IPs with those of backup servers. So, I wanted to implement this automatically. Thanks for any advice. Val -------------- next part -------------- An HTML attachment was scrubbed... URL: From SrvFaucon at cslaval.qc.ca Wed Oct 22 16:53:26 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Wed, 22 Oct 2003 10:53:26 -0400 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20[Nagios-users]=20NAGIOS=20limitation?= Message-ID: Well, I have a Pentium 500Mhz with 754Megs of memory running RedHat8 with the Xwindows. I am running Nagios version 1.1 with 181 hosts and 1237 services and the load of my server is often critical, memory is okay. So if you REALLY want to check on 15000 services, I would suggest something like... Dual Pentium 2Ghz with 2GB of RAM. Alex --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada >>> 22/10/03 05h11 >>> Hi all, I'm a nagios beginner. My requirement is, we will managed round 600 server with round about 25 services per server, in sum 15 000 services. The normal checkinterval must be 10 minutes. Now my questions : Can nagios handle so many services in one nagios installation? Know anyone, where are the limitation from nagios? Thanks for help! Roland ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Oct 22 16:15:14 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 22 Oct 2003 09:15:14 -0500 Subject: Question on "First Assumed State" Message-ID: Yes, that's one use for it. Another would be if there was no status information in the log file for the host or service you are reporting on at the start of your time period (or within your backtracked archives number). For example, you have hostA which last changed state 2 weeks ago. You have Nagios configured for daily log rotation. If you were to run a report for the last 24 hours with 4 backtracked archives, Nagios is not going to see any state changes in the current log or the last 4 days logs to know what state the host is in so it will be Undetermined due to insufficient data. You could either set the First Assumed state to be OK or CRITICAL or whatever you thought it was at the start of your reporting period _or_ you could increase the number of backtracked archives to search for the last logged state information for that host (in the example above you'd probably want to set it to >14). Another option is to set Nagios to Log Initial States and then restart Nagios daily. Then you'll have a daily checkpoint of all host and service states. -- Marc > -----Original Message----- > From: Ronald [mailto:ronaldyii at austarnet.com.au] > Sent: Wednesday, October 22, 2003 6:42 AM > To: nagios-users at lists.sourceforge.net > > Hi all, > > I've noticed, whilst viewing the availability report, > there's an option to specify the "First Assumed State". > If this is not specified, it associates a value > with "Insufficient Data". > > Am I correct in assuming the first assumed state > value is used to prefill information if Nagios has not > been running for the amount of time the report is > being requested for ? eg: Report requested for > 30days, but Nagios has only been running for 7 days - > thus, the value of "First Assumed State" is used > instead? > > > Thanks, > Ronald > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here's your chance to show off your extensive product knowledge > We want to know what you know. Tell us and you have a chance to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Oct 22 17:30:01 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 22 Oct 2003 11:30:01 -0400 (EDT) Subject: Question on "First Assumed State" In-Reply-To: <2c316fd4.d6c34820.8166500@gol-mas3.austarnet.com.au> References: <2c316fd4.d6c34820.8166500@gol-mas3.austarnet.com.au> Message-ID: On Wed, 22 Oct 2003, Ronald wrote: > Hi all, > > I've noticed, whilst viewing the availability report, > there's an option to specify the "First Assumed State". > If this is not specified, it associates a value > with "Insufficient Data". > > Am I correct in assuming the first assumed state > value is used to prefill information if Nagios has not > been running for the amount of time the report is > being requested for ? eg: Report requested for > 30days, but Nagios has only been running for 7 days - > thus, the value of "First Assumed State" is used > instead? not really... Each Nagios log that is archived only contains status change information. (This will change with v2) So when running the reports with a certain timeperiod, Nagios only looks at the appropriate number of files (see backtrack). But since the log files don't contain a known original state, they cannot determine state for the report - specially if there have not been any status changes. If there have, then it picks up state from the first seen status info. But the period beetween report start and first status change will still be indeterminate. To avoid the inderminate state, set the initialization state through the "First Assumed State" -- -sg ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Wed Oct 22 19:29:50 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Wed, 22 Oct 2003 13:29:50 -0400 Subject: Old IP kept... Message-ID: <5F29693503507B4FB4032686ADF86267214EA4@mtviny25.mtvi.com> It sounds like you may have a rogue nagios process running. Do a /etc/init.d/nagios stop... kill all nagios processes and start it up. -Keith -----Original Message----- From: michal at jursa.cz [mailto:michal at jursa.cz] Sent: Monday, October 20, 2003 9:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Old IP kept... Hi, I exeprience a strange thing. I changed an IP of two of my hosts, Nagios monitors these new addresses and allways shows green OK status on the web, but I still receive notifications about host DOWN for the OLD IP adresses... where is the problem???? The old addresses are never written in the config files... Thanks for help, Mike ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgotner at fhcrc.org Wed Oct 22 20:59:27 2003 From: jgotner at fhcrc.org (Gotner, James) Date: Wed, 22 Oct 2003 11:59:27 -0700 Subject: NetBIOS Response Checking Message-ID: <9667A0D2033CD51195F90002B330A3BF07856A77@moe.fhcrc.org> Hi All: I have a Windows server that keeps locking up every once in awhile (big surprise), but it still responds to pings. Users are complaining that they cannot do anything while the server is locked up (ie. Retrieve files, browse directories, etc)... The current way I am trying to keep an eye on this is by having a service check for telnet: port 139, but it seems that the server still responds to telnet connection requests. Does anyone have any scripts or ideas on how to detect this, since my telnet service check isn't working? Thanks. James Gotner Security Certified Network Professional Linux+, Network+, i-Net+, A+ Hardware/Software Certified Professional Certified Internet Webmaster Associate -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmcclure at pneservices.com Wed Oct 22 21:55:07 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Wed, 22 Oct 2003 14:55:07 -0500 (CDT) Subject: NetBIOS Response Checking In-Reply-To: <9667A0D2033CD51195F90002B330A3BF07856A77@moe.fhcrc.org> References: <9667A0D2033CD51195F90002B330A3BF07856A77@moe.fhcrc.org> Message-ID: <35208.64.219.133.155.1066852507.squirrel@xyzzy.homeip.net> Have you tried check_disk_smb.pl? > Hi All: > > > > I have a Windows server that keeps locking up every once in awhile (big > surprise), but it still responds to pings. Users are complaining that they > cannot do anything while the server is locked up (ie. Retrieve files, browse > directories, etc)... The current way I am trying to keep an eye on this is > by having a service check for telnet: port 139, but it seems that the server > still responds to telnet connection requests. Does anyone have any scripts > or ideas on how to detect this, since my telnet service check isn't working? > Thanks. > > > > James Gotner > > > > Security Certified Network Professional > > Linux+, Network+, i-Net+, A+ Hardware/Software Certified Professional > > Certified Internet Webmaster Associate > > > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgotner at fhcrc.org Wed Oct 22 22:22:41 2003 From: jgotner at fhcrc.org (Gotner, James) Date: Wed, 22 Oct 2003 13:22:41 -0700 Subject: NetBIOS Response Checking Message-ID: <9667A0D2033CD51195F90002B330A3BF07856A7C@moe.fhcrc.org> Nope. I will take a look into using this... I just want something that doesn't need anything installed on the server. Hopefully this works so I don't have to end up doing that. Of course, I wont know if it works the way that I want it to for a week or so, but when I find out, I'll let everyone know. Thanks. James Gotner Security Certified Network Professional Linux+, Network+, i-Net+, A+ Hardware/Software Certified Professional Certified Internet Webmaster Associate -----Original Message----- From: Mike McClure [mailto:mmcclure at pneservices.com] Sent: Wednesday, October 22, 2003 12:55 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NetBIOS Response Checking Have you tried check_disk_smb.pl? > Hi All: > > > > I have a Windows server that keeps locking up every once in awhile (big > surprise), but it still responds to pings. Users are complaining that they > cannot do anything while the server is locked up (ie. Retrieve files, browse > directories, etc)... The current way I am trying to keep an eye on this is > by having a service check for telnet: port 139, but it seems that the server > still responds to telnet connection requests. Does anyone have any scripts > or ideas on how to detect this, since my telnet service check isn't working? > Thanks. > > > > James Gotner > > > > Security Certified Network Professional > > Linux+, Network+, i-Net+, A+ Hardware/Software Certified Professional > > Certified Internet Webmaster Associate > > > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 yahoo.com Thu Oct 23 00:03:11 2003 From: td3201 at yahoo.com (Terry) Date: Wed, 22 Oct 2003 15:03:11 -0700 (PDT) Subject: downtime - couple of questions Message-ID: <20031022220311.39099.qmail@web60310.mail.yahoo.com> 1) How can one easily schedule downtime for multiple hosts? 2) If there is a downtime for a host, are the services for that host assumed to be down as well? Sounds stupid but a comment isnt added to the service when a downtime is added to the host. ===== Terry __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yc at eng.bahcesehir.edu.tr Wed Oct 22 23:32:47 2003 From: yc at eng.bahcesehir.edu.tr (yc) Date: Thu, 23 Oct 2003 00:32:47 +0300 Subject: Cisco switch and routers Message-ID: <20031022213247.8697.qmail@akademik.bahcesehir.edu.tr> Hi, I am a new bee in nagios list. I installed nagios 1.0 with no problem :-) I works for localhost very well. I want to check my cisco switch/router, I cant find any plugin or something for cisco in nagios. Is it possible? how? any help is welcome, Y.C ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Oct 23 01:21:52 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 22 Oct 2003 18:21:52 -0500 Subject: Cisco switch and routers Message-ID: It all depends on what you are wanting to check. Just off the top of my head there's check_snmp, check_ifoperstatus, check_ifstatus, check_ping, and check_tcp, all default plugins that could be used to check all kinds of things on cisco routers and switches and there are probably others as well (I think there's a check_bgpstate in the contrib directory). If none of those suit you then you always have the capability of creating your own plugins easily to check whatever it is you want to check. The general rule of thumb is if you can do something from a Unix command line, even if it's very convoluted, you can probably make a plugin for Nagios to do the same thing. All that really matters is the exit status. -- Marc -----Original Message----- From: yc [mailto:yc at eng.bahcesehir.edu.tr] Sent: Wed 10/22/2003 4:32 PM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Cisco switch and routers Hi, I am a new bee in nagios list. I installed nagios 1.0 with no problem :-) I works for localhost very well. I want to check my cisco switch/router, I cant find any plugin or something for cisco in nagios. Is it possible? how? any help is welcome, Y.C ------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: From igor.kurtovic at qsc.de Thu Oct 23 10:52:40 2003 From: igor.kurtovic at qsc.de (Igor Kurtovic) Date: Thu, 23 Oct 2003 10:52:40 +0200 Subject: NAGIOS limitation In-Reply-To: References: Message-ID: <1066899158.3707.4.camel@qsclap888.sl.qsc.de> Hi there, 300 hosts, 1700 services on a dual 1ghz xeon with 2GB ram works pretty well here, load is pretty high, but mrtg (100 hosts) and apan (600 services with apan) eat up a good part of it.. The main nagios doesnt eat so many resources, when i stop the "rest", load is around 2. For your 15000 services i would recommend some faster processors ;) 10:51am up 12 days, 23:57, 1 user, load average: 9.52, 7.85, 6.77 135 processes: 132 sleeping, 3 running, 0 zombie, 0 stopped CPU0 states: 18.3% user, 33.0% system, 0.0% nice, 48.0% idle CPU1 states: 21.0% user, 32.2% system, 0.0% nice, 46.1% idle Mem: 2064644K av, 1987256K used, 77388K free, 0K shrd, 146972K buff Swap: 2048276K av, 6924K used, 2041352K free 1572764K cached Regards, Igor On Wed, 2003-10-22 at 11:11, Roland.Sorgenfrei at spb.de wrote: > Hi all, > > I'm a nagios beginner. My requirement is, we will managed round 600 server > with round > about 25 services per server, in sum 15 000 services. The normal > checkinterval must be 10 minutes. > > Now my questions : > > Can nagios handle so many services in one nagios installation? > Know anyone, where are the limitation from nagios? > > > Thanks for help! > > Roland > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here's your chance to show off your extensive product knowledge > We want to know what you know. Tell us and you have a chance to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: From sam_ml at spacething.org Thu Oct 23 11:29:22 2003 From: sam_ml at spacething.org (Sam Stickland) Date: Thu, 23 Oct 2003 10:29:22 +0100 Subject: NetBIOS Response Checking References: <9667A0D2033CD51195F90002B330A3BF07856A77@moe.fhcrc.org> <35208.64.219.133.155.1066852507.squirrel@xyzzy.homeip.net> Message-ID: <05ba01c39948$254304b0$fb00a8c0@office.toastedmedia.net> Try using a check that will access the disk I/O subsystems. ----- Original Message ----- From: "Mike McClure" To: Sent: Wednesday, October 22, 2003 8:55 PM Subject: Re: [Nagios-users] NetBIOS Response Checking > > Have you tried check_disk_smb.pl? > > > Hi All: > > > > > > > > I have a Windows server that keeps locking up every once in awhile (big > > surprise), but it still responds to pings. Users are complaining that they > > cannot do anything while the server is locked up (ie. Retrieve files, browse > > directories, etc)... The current way I am trying to keep an eye on this is > > by having a service check for telnet: port 139, but it seems that the server > > still responds to telnet connection requests. Does anyone have any scripts > > or ideas on how to detect this, since my telnet service check isn't working? > > Thanks. > > > > > > > > James Gotner > > > > > > > > Security Certified Network Professional > > > > Linux+, Network+, i-Net+, A+ Hardware/Software Certified Professional > > > > Certified Internet Webmaster Associate > > > > > > > > > > > -- > Mike McClure, CCIE # 5125, CISSP # 30232 > PNE Services, Inc. - http://www.pneservices.com > mmcclure [at] pneservices [dot] com > mobile: 913-636-5590 > > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here's your chance to show off your extensive product knowledge > We want to know what you know. Tell us and you have a chance to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssaddison at memorialsb.org Sun Oct 19 05:50:39 2003 From: ssaddison at memorialsb.org (Scott Saddison) Date: Sat, 18 Oct 2003 22:50:39 -0500 Subject: Nagios-users digest, Vol 1 #1709 - 3 msgs (Out of the Office) Message-ID: I am out of the office until Monday, 10/20/03. ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From 240086 at bigfoot.com Thu Oct 23 23:39:14 2003 From: 240086 at bigfoot.com (240086 at bigfoot.com) Date: Thu, 23 Oct 2003 16:39:14 -0500 Subject: (no subject) Message-ID: An HTML attachment was scrubbed... URL: From GWCOOK at mactec.com Thu Oct 23 17:04:29 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Thu, 23 Oct 2003 09:04:29 -0600 Subject: Cisco switch and routers Message-ID: On my Cisco IOS gear I'm checking PING, BGP State, CPU Utilization, Free Memory, as well as looking for interfaces that are administratively up but operationally down. The plugins used are: check_ping, check_bgpstate.pl (from the contrib directory), check_snmp (CPU & MEM), and check_ifstatus. Each of these plugins (with the exception of BGP State) can be run on IOS Routers & Switches. These should be found in your '/path/to/nagios/libexec' directory can be run with '-h' or '--help' to get help on how to use them. I believe the bgpstate plugin my have it's own README file, although you'll only want to use this on your routers that are running the BGP routing protocol, if any. On my CatOS switches I just run a PING check. I could setup some SNMP checks I suppose, I just haven't gotten around to this yet. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) > -----Original Message----- > From: yc [mailto:yc at eng.bahcesehir.edu.tr] > Sent: Wednesday, October 22, 2003 3:33 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Cisco switch and routers > > > > Hi, > > I am a new bee in nagios list. > I installed nagios 1.0 with no problem :-) > I works for localhost very well. > I want to check my cisco switch/router, > I cant find any plugin or something for cisco in nagios. > Is it possible? how? > > any help is welcome, > > Y.C > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here's your chance to show off your extensive product knowledge > We want to know what you know. Tell us and you have a chance > to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeff.Engstrom at fortix.net Thu Oct 23 18:04:59 2003 From: Jeff.Engstrom at fortix.net (Jeff Engstrom) Date: Thu, 23 Oct 2003 09:04:59 -0700 Subject: Failover Script Message-ID: <6DC8CB0C5A67744EB3D89E41BC429F95A5C6E2@fortix-exchange.fortix-office.com> Greetings, Well... I have Nagios installed and setup on two servers. What's missing is the cron job that runs a failover script. This script checks the master server to make sure all is well... if it is not it tells the secondary Nagios server to start monitoring and sending notifications. Does anyone have this script? I cannot seem to locate it in the Nagios install directory....? Any help is greatly appreciated!! Thanks in advance! Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From mailinglist at teifke.de Tue Oct 21 22:43:20 2003 From: mailinglist at teifke.de (Sascha Teifke) Date: Tue, 21 Oct 2003 22:43:20 +0200 Subject: Errors compiling with the statusmap.cgi In-Reply-To: <001a01c397c8$02d431a0$0400a8c0@squarebox.com> References: <001a01c397c8$02d431a0$0400a8c0@squarebox.com> Message-ID: <3F959A68.9060506@teifke.de> Hello List, I want to compile nagios *with* the statusmap.cgi. The first time I did it, i haven't got the libraries, but reading the FAQ I got them all and compiled them. GD Lib may be found in /usr/local/lib and the header files are at /usr/local/include the lib path is found in /etc/ld.so.conf and ldconfig did already run. So everything seems to be ok. But running ./configure --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include always brings the message that the libraries were not found. What else may be missing? Thanks Sascha ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailinglist at teifke.de Tue Oct 21 08:31:12 2003 From: mailinglist at teifke.de (Sascha Teifke) Date: Tue, 21 Oct 2003 08:31:12 +0200 Subject: Command File Problem In-Reply-To: References: Message-ID: <3F94D2B0.4050205@teifke.de> Marc Powell wrote: > Hey Sascha -- > > 2 things, the first being most likely. > > 1) did you restart apache after adding it to the nagioscmd group? > > 2) are there any directories above nagios.cmd that are not +rx for the > nagioscmd group? > That's it! I didn't restart Apache! Thank you! Sascha ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailinglist at teifke.de Mon Oct 20 22:05:00 2003 From: mailinglist at teifke.de (Sascha Teifke) Date: Mon, 20 Oct 2003 22:05:00 +0200 Subject: Command File Problem Message-ID: <3F943FEC.20106@teifke.de> Hello List, I've got a problem using the cmd-execution feature. If I try to schedule a downtime for a host the following Error occurs: == snip == Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occurred while attempting to commit your command for processing. == snap == But, I set the rights as descriped in the FAQ. My Nagios User: nagios My Apache-User: wwwrun My Nagios-CMD Group: nagiocmd Users of nagiocmd: nagios, wwwrun Rights of the Directory /usr/local/nagios/var/rw drwxrws___ 2 nagios nagiocmd 80 Oct 20 21:34 rw/ Any Ideas? Thanks Sascha ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tskyers at foxroach.com Thu Oct 23 20:09:21 2003 From: tskyers at foxroach.com (Tory Skyers) Date: Thu, 23 Oct 2003 14:09:21 -0400 Subject: Monitoring an ISDN line's usage Message-ID: We have a backup line here what module or combinations of modules would I use to monitor the ISDN line? IE when it becomes active and when it goes dormant again. Tory Skyers Network Administrator Prudential Fox & Roach 610-993-1327 tskyers at foxroach.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.garrett at shell.com Fri Oct 24 10:05:22 2003 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITDIEEE) Date: Fri, 24 Oct 2003 09:05:22 +0100 Subject: Availability reports by hostgroup's , but jut on one service type e.g PING Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D5B51E2E@abe-s-039.europe.shell.com> Folks I have been running availability reports via a perl script , for about 6 months with out any problems. However last month one of the main servers had a problem with a disk array While the server was not down , in fact users did not notice any problems. The availability reports show the up time as only 20% This is due to the one services Meta_Disk been down for 14 days. Is there any way to use the avail.cgi but to specify a services just to report on e.g PING A copy of the avail.cgi command line is as: /nagios/cgi-bin/avail.cgi?show_log_entries=&hostgroup=sun-servers&timeperiod=custom&smon=9&sday=1&syear=2003&shour=08&smin=00&ssec=00&emon=10&eday=23&eyear=2003&ehour=17&emin=00&esec=00&assumeinitialstates=yes&assumestateretention=yes&initialassumedstate=-1&backtrack=8&csvoutput= Having a scan through avail.c for Nagios 1.1 , I can not see any options to allow this. Note this is done by hostgroups and not just by one host at a time, which trends.cgi can do. Any idea's Thanks Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesusolivan at pickingpack.net Fri Oct 24 09:14:27 2003 From: jesusolivan at pickingpack.net (=?iso-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Fri, 24 Oct 2003 09:14:27 +0200 Subject: tcp response time graph Message-ID: hi, i'm creating reports with apan about 50 hosts ping response. Now i need to create more graphs with an specific tcp port response time, for example: if i got a service who make periodic check_tcp to some host's port 515 i'll receive this: TCP OK - 0.051 second response time on port 515. I want to receive a graph about this port's response times, like apan do with ping, disk_load, etc. Thx in advance. ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssaddison at memorialsb.org Mon Oct 20 05:15:42 2003 From: ssaddison at memorialsb.org (Scott Saddison) Date: Sun, 19 Oct 2003 22:15:42 -0500 Subject: Nagios-users digest, Vol 1 #1710 - 1 msg (Out of the Office) Message-ID: I am out of the office until Monday, 10/20/03. ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.garrett at shell.com Fri Oct 24 13:50:42 2003 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITDIEEE) Date: Fri, 24 Oct 2003 12:50:42 +0100 Subject: Availability reports by hostgroup's , but jut on one service type e.g PING Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D5B51E32@abe-s-039.europe.shell.com> Folks I have been running availability reports via a perl script , for about 6 months with out any problems. However last month one of the main servers had a problem with a disk array While the server was not down , in fact users did not notice any problems. The availability reports show the up time as only 20% This is due to the one services Meta_Disk been down for 14 days. Is there any way to use the avail.cgi but to specify a services just to report on e.g PING A copy of the avail.cgi command line is as: /nagios/cgi-bin/avail.cgi?show_log_entries=&hostgroup=sun-servers&timeperiod=custom&smon=9&sday=1&syear=2003&shour=08&smin=00&ssec=00&emon=10&eday=23&eyear=2003&ehour=17&emin=00&esec=00&assumeinitialstates=yes&assumestateretention=yes&initialassumedstate=-1&backtrack=8&csvoutput= Having a scan through avail.c for Nagios 1.1 , I can not see any options to allow this. Note this is done by hostgroups and not just by one host at a time, which trends.cgi can do. Any idea's Thanks Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom -------------- next part -------------- An HTML attachment was scrubbed... URL: From jvogel at it-sec.de Fri Oct 24 09:42:08 2003 From: jvogel at it-sec.de (Jochen Vogel) Date: Fri, 24 Oct 2003 09:42:08 +0200 Subject: AW: Need Process check plugin Message-ID: hi mohamed, i use define command{ command_name check-proc command_line /usr/local/nagios/libexec/check_procs -a $ARG1$ -c $ARG2$ } -a search the string within a ps -w -c is the range of the nr of processes to be ok and define service{ use generic host_name spawn service_description snort check_command check-proc!/usr/local/bin/snort!1:1 contact_groups admins } in this case i search for /usr/local/bin/snort and go to critical if none or more processes are running hope that helps jo Hi All, I need to find a way to check if there is 2 certain process running on my cluster. check_proc is not enough...! because it give me a warning (or critical) if the process is running. But I want it to give me OK if these process is running, and warn me if they are not. because these process is daemons and should be running. any idea...? Regards, Mohamed El Zeiny, ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cgill at NewWorldApps.com Thu Oct 23 17:32:10 2003 From: cgill at NewWorldApps.com (Chris Gill) Date: Thu, 23 Oct 2003 11:32:10 -0400 Subject: Different paging for different levels Message-ID: <48F26311AF9C9943926CA0CD204BC214E1300A@nwa-srv-01.newworldapps.com> Hi all, We've moved to Nagios here over the last few months, and things have been going swimingly. There's one question, though, that's cropped up that I can't seem to figure out. Is there a way to send different types of alerts based on severity. IE: send warning alerts by e-mail, and critical alerts by pager. The only way I've seen to do this is to set up two contacts for each user (bob-email, bob-pager). This seems inordinately clunky, though. Is there a better way to do it? ----------------------------------------------------------------- Christopher P. Gill, Systems Engineer, New World Apps cgill at newworldapps.com 703-856-7268 (Cell/Business) ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Fri Oct 24 14:09:42 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Fri, 24 Oct 2003 08:09:42 -0400 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20RE:=20[Nagios-users]=20Cisco=20switc?= =?ISO-8859-1?Q?h=20and=20routers?= Message-ID: Here are some OID if you want to use check_snmp... ** Cisco Routeur 6500 ** 1.3.6.1.2.1.47.1.1.1.1.2.1001 = description : module intake Temp sensor 1.3.6.1.2.1.47.1.1.1.1.2.1002 = description : module Exhaust Temp sensor 1.3.6.1.2.1.47.1.1.1.1.2.1003 = description : module device 1 Temp sensor 1.3.6.1.2.1.47.1.1.1.1.2.1004 = description : module device 2 Temp sensor 1.3.6.1.4.1.9.9.91.1.1.1.1.4.1001 = module intake Temp sensor 1.3.6.1.4.1.9.9.91.1.1.1.1.4.1002 = module Exhaust Temp sensor 1.3.6.1.4.1.9.9.91.1.1.1.1.4.1003 = module device 1 Temp sensor 1.3.6.1.4.1.9.9.91.1.1.1.1.4.1004 = module device 2 Temp sensor ** Cisco C3524pwr ** OLD-CISCO-SYS-MIB.OID 1.3.6.1.4.1.9.2.1.2.0 = Contains a printable octet string which contains the reason why the system was last restarted. 1.3.6.1.4.1.9.2.1.58.0 = 5 minute exponentially-decayed moving average of the CPU busy percentage. 1.3.6.1.4.1.9.2.1.57.0 = 1 minute exponentially-decayed moving average of the CPU busy percentage. ** all that do snmp ** sysUpTime = 1.3.6.1.2.1.1.3.0 = "The time since the network management portion of the system was last re-initialized." ---------- --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada >>> "Cook, Garry" 23/10/03 11h04 >>> On my Cisco IOS gear I'm checking PING, BGP State, CPU Utilization, Free Memory, as well as looking for interfaces that are administratively up but operationally down. The plugins used are: check_ping, check_bgpstate.pl (from the contrib directory), check_snmp (CPU & MEM), and check_ifstatus. Each of these plugins (with the exception of BGP State) can be run on IOS Routers & Switches. These should be found in your '/path/to/nagios/libexec' directory can be run with '-h' or '--help' to get help on how to use them. I believe the bgpstate plugin my have it's own README file, although you'll only want to use this on your routers that are running the BGP routing protocol, if any. On my CatOS switches I just run a PING check. I could setup some SNMP checks I suppose, I just haven't gotten around to this yet. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) > -----Original Message----- > From: yc [mailto:yc at eng.bahcesehir.edu.tr] > Sent: Wednesday, October 22, 2003 3:33 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Cisco switch and routers > > > > Hi, > > I am a new bee in nagios list. > I installed nagios 1.0 with no problem :-) > I works for localhost very well. > I want to check my cisco switch/router, > I cant find any plugin or something for cisco in nagios. > Is it possible? how? > > any help is welcome, > > Y.C > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here's your chance to show off your extensive product knowledge > We want to know what you know. Tell us and you have a chance > to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthewwilson at dsl.pipex.com Fri Oct 24 15:49:29 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: Fri, 24 Oct 2003 14:49:29 +0100 Subject: tcp response time graph References: Message-ID: <002f01c39a35$a63a7920$0300a8c0@optiplex> Hi, All you need to do is write a simple wrapper script that calls check_tcp from apan - i.e. a shell script that calls the standard plugin and returns the result to apan. Look at utils.sh in the apan directory to see how this is done (ping is a good example). Also don't forget you'll need to add it to the case statement in apan.sh If you need any more help please contact me Matthew Wilson DC-Sat.net ----- Original Message ----- From: "Jes?s Oliv?n" To: "Nagios List" Sent: Friday, October 24, 2003 8:14 AM Subject: [Nagios-users] tcp response time graph > hi, > > i'm creating reports with apan about 50 hosts ping response. Now i need to > create more graphs with an specific tcp port response time, for example: if > i got a service who make periodic check_tcp to some host's port 515 i'll > receive this: TCP OK - 0.051 second response time on port 515. > > I want to receive a graph about this port's response times, like apan do > with ping, disk_load, etc. > > Thx in advance. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. > Do you like what SourceForge.net is doing for the Open > Source Community? Make a contribution, and help us add new > features and functionality. Click here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ramereth at gentoo.org Fri Oct 24 19:40:58 2003 From: ramereth at gentoo.org (Lance Albertson) Date: Fri, 24 Oct 2003 12:40:58 -0500 Subject: check_ircd woes Message-ID: <1067017257.2972.11.camel@mirage> I've been having some issues getting the check_ircd plugin to work. I've set up the command definition as this: define command { command_name check_ircd command_line $USER1$/check_ircd -H $HOSTADDRESS$ } I have a group of servers for an irc network I oper on, and was wanting to just monitor how many users each host had locally. Whenever I run this, I get this as status information: Invalid warning threshold: -H I've looked through the docs and online, but couldn't find an answer. What am I missing? Thanks, -- Lance Albertson -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From monkey at raindog2.no-ip.org Fri Oct 24 20:07:41 2003 From: monkey at raindog2.no-ip.org (Scott) Date: Fri, 24 Oct 2003 11:07:41 -0700 Subject: Statusmap not showing images Message-ID: <0cbd01c39a59$b795f1d0$0900a8c0@cloverpoint> Hi all, Just finishing up an install of nagios1.1, all the important stuff is working great. Just one minor thing, I cannot get the system images to show up on the status map, but other that that it functions nicely. The images are in the images/logos directory with nagios:nagios 644 permissions. I tried using the sample, changing only the host name, and nada. I'm no apache guru, is there something else, that needs to be done? any ideas? Thanks Scott ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/nagios/share/ AllowOverride AuthConfig Order allow,deny Allow from all ... hostextinfo[queeg]=;win40.gif;win40.jpg;win40.gd2;Windows 2000 Server;;; hostextinfo[hal]=;win40.gif;win40.jpg;win40.gd2;Windows 2000 Server;;; hostextinfo[holly]=;win40.gif;win40.jpg;win40.gd2;Windows 2000 Server;;; hostextinfo[otto]=;win40.gif;win40.jpg;win40.gd2;Windows 2000 Server;;; hostextinfo[hilly2]=;linux40.gif;linux40.jpg;linux40.gd2;Gentoo Linux;;; hostextinfo[mail]=;linux40.gif;linux40.jpg;linux40.gd2;Gentoo Linux;;; hostextinfo[hilly]=;redhat40.gif;redhat40.jpg;redhat40.gd2;RedHat Linux; hostextinfo[fw1]=;firebox.gif;firebox.jpg;firebox.gd2;Bering Linux;;; hostextinfo[hp4100]=;HPlj5000.gif;HPlj5000.jpg;HPlj5000.gd2;HP4100DTN;;; hostextinfo[hp8500]=;HPlj8500.gif;HPlj8500.jpg;HPlj8500.gd2;HP8500DN;;; ... ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike at mbmwebcraft.com Fri Oct 24 17:08:45 2003 From: mike at mbmwebcraft.com (Mickael Maddison) Date: Fri, 24 Oct 2003 08:08:45 -0700 Subject: Nagios Message-ID: <3962919437.20031024080845@mbmwebcraft.com> Hello Nagios-Users, I sent this to the Nagios Users list just after I signed up, and I didn't get mail for the first couple days, so I'm not sure if anyone responded... if so, thank you, hopefully you don't mind resending your reply.... I am a 'new' Nagios user, and have set up a basic install to monitor ~20 hosts. So far, once the initial config files get figured out, it's looking pretty good. I am looking for some comments on a few questions/thoughts though. -- Layout; I've been trying to figure out how to modify the reporting screens to save viewing space. find that there is plenty of unused space that could be more efficiently laid out so more useful information is on the screen at all times. Has anyone else done this? I've looked at the stylesheets and I'm no stylesheet expert, but there doesn't seem to be much I can do with these... -- Web-Based Config File scripts; I'm wondering if anyone knows if/where on can find some good web-based configuration file editing scripts? I wouldn't want to re-invent these if there are good ones available. -- Group services; Is there a way to say that "all hosts in group linux" get the same ping testing, rather than having to enter a services.cfg entry for each host? -- MySQL Config; I haven't looked into this yet, but it is a very attractive option... any comments on how stable - reliable the MySQL based setup is? Sorry for the big list of questions, I'm sure more will pop up... Thanks in advance for taking the time to read through this. Mike -- Mail -v nobody ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ferlatte at cryptio.net Fri Oct 24 18:32:16 2003 From: ferlatte at cryptio.net (Mark Ferlatte) Date: Fri, 24 Oct 2003 09:32:16 -0700 Subject: Different paging for different levels In-Reply-To: <48F26311AF9C9943926CA0CD204BC214E1300A@nwa-srv-01.newworldapps.com> References: <48F26311AF9C9943926CA0CD204BC214E1300A@nwa-srv-01.newworldapps.com> Message-ID: <20031024163216.GB68311@radix.cryptio.net> Chris Gill said on Thu, Oct 23, 2003 at 11:32:10AM -0400: > Hi all, > We've moved to Nagios here over the last few months, and things have > been going swimingly. There's one question, though, that's cropped up that I > can't seem to figure out. Is there a way to send different types of alerts > based on severity. IE: send warning alerts by e-mail, and critical alerts by > pager. The only way I've seen to do this is to set up two contacts for each > user (bob-email, bob-pager). This seems inordinately clunky, though. Is > there a better way to do it? Modify your alerting script to use the pager for crits and the email for warnings. :) M -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From dgomillion at eyecarenow.com Fri Oct 24 20:34:45 2003 From: dgomillion at eyecarenow.com (David Gomillion) Date: Fri, 24 Oct 2003 13:34:45 -0500 Subject: "Could not locate a running Nagios process!" Message-ID: <000e01c39a5d$7f76e440$2801a8c0@EyeCenterOfNorthFl.com> I am sure this is a RTFM problem, but I couldn't find it in the docs. If someone can point me in the right direction, I'd appreciate it. And I did search the archives... or tried to, with no hits. I am running Nagios (newest version, downloaded yesterday) and have it up and running. I have the plugins, also newest version, and they are working correctly. I am getting updated status on all of the hosts I configured, I have services set up, and I have created hostgroups for my hosts. I set all contacts, and I have Nagios starting correctly, except... When I go to the web interface, I cannot execute commands, and the Process Info page has the error message, "Could not locate a running Nagios process!". However, the process is located in the box, and has the correct PID and running time. Can anyone point me in the right direction? Thanks, David ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From parzamendi at Fiskars.com Fri Oct 24 20:37:46 2003 From: parzamendi at Fiskars.com (Arzamendi, Peter) Date: Fri, 24 Oct 2003 13:37:46 -0500 Subject: tcp response time graph Message-ID: <31BD3FA83CF1F948AF20F4A1C3BC9F7F04D40901@madmail01.fiskars.com> Is there documentation on how to write plug-in for apan? Thanks, Pete -----Original Message----- From: Matthew Wilson [mailto:matthewwilson at dsl.pipex.com] Sent: Friday, October 24, 2003 8:49 AM To: Jes?s Oliv?n; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] tcp response time graph Hi, All you need to do is write a simple wrapper script that calls check_tcp from apan - i.e. a shell script that calls the standard plugin and returns the result to apan. Look at utils.sh in the apan directory to see how this is done (ping is a good example). Also don't forget you'll need to add it to the case statement in apan.sh If you need any more help please contact me Matthew Wilson DC-Sat.net ----- Original Message ----- From: "Jes?s Oliv?n" To: "Nagios List" Sent: Friday, October 24, 2003 8:14 AM Subject: [Nagios-users] tcp response time graph > hi, > > i'm creating reports with apan about 50 hosts ping response. Now i > need to create more graphs with an specific tcp port response time, > for example: if > i got a service who make periodic check_tcp to some host's port 515 > i'll receive this: TCP OK - 0.051 second response time on port 515. > > I want to receive a graph about this port's response times, like apan > do with ping, disk_load, etc. > > Thx in advance. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. Do you > like what SourceForge.net is doing for the Open Source Community? > Make a contribution, and help us add new features and functionality. > Click here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From monkey at raindog2.no-ip.org Fri Oct 24 21:50:11 2003 From: monkey at raindog2.no-ip.org (Scott) Date: Fri, 24 Oct 2003 12:50:11 -0700 Subject: Statusmap not showing images References: <31BD3FA83CF1F948AF20F4A1C3BC9F7F04D40926@madmail01.fiskars.com> Message-ID: <0d2201c39a68$0953a9a0$0900a8c0@cloverpoint> The error.log has an error from this morning, though I honestly don't know if it has anything to do with Nagios. But other than that I don't see anything. [Fri Oct 24 09:39:52 2003] [warn] child process 23666 still did not exit, sendin g a SIGTERM [Fri Oct 24 09:39:52 2003] [warn] child process 23667 still did not exit, sendin g a SIGTERM [Fri Oct 24 09:39:52 2003] [warn] child process 23668 still did not exit, sendin g a SIGTERM [Fri Oct 24 09:39:52 2003] [warn] child process 23669 still did not exit, sendin g a SIGTERM [Fri Oct 24 09:39:52 2003] [warn] child process 23670 still did not exit, sendin g a SIGTERM [Fri Oct 24 09:39:52 2003] [warn] child process 23695 still did not exit, sendin g a SIGTERM [Fri Oct 24 09:39:52 2003] [warn] child process 8091 still did not exit, sending a SIGTERM [Fri Oct 24 09:39:52 2003] [notice] caught SIGTERM, shutting down [Fri Oct 24 09:39:54 2003] [notice] Digest: generating secret for digest authent ication ... [Fri Oct 24 09:39:54 2003] [notice] Digest: done [Fri Oct 24 09:39:55 2003] [notice] Apache/2.0.47 (Gentoo/Linux) mod_ssl/2.0.47 OpenSSL/0.9.6j configured -- resuming normal operations ----- Original Message ----- From: "Arzamendi, Peter" To start, look at your apache error log. Error_log. Peter Arzamendi Network Engineer Fiskars Brands, Inc. ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri Oct 24 23:11:31 2003 From: jhmartin at toger.us (Jason Martin) Date: Fri, 24 Oct 2003 14:11:31 -0700 (PDT) Subject: Nagios skipping service checks In-Reply-To: <0d2201c39a68$0953a9a0$0900a8c0@cloverpoint> References: <31BD3FA83CF1F948AF20F4A1C3BC9F7F04D40926@madmail01.fiskars.com> <0d2201c39a68$0953a9a0$0900a8c0@cloverpoint> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm seeing some odd scheduling behavior on Nagios 1.1 / Linux. I have 12 hosts and 303 services, the vast majority of which are monitored 6am - 8pm only. The problem is that several of the service checks don't properly kick off in the morning. Looking at the status-detail map shows that the Last-Check time is from yesterday and the next-schedule service check is from 6am this morning. Bouncing nagios and / or rescheduling the next service check resolves the problem, but it seems kind of odd. I currently have max parallism set to 0 and service_reaper set to 10. Any thoughts on what could be causing the problem? Thanks, - -Jason Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/mZWIl2ODWuqVSBMRAiy+AJ0Q1pBZhLSiVO4hKFkjUKod9QQC9wCdEywD DD9oGiRhYYRqdUwUAZzvpZM= =wAHd -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DOlbersen at stbernard.com Fri Oct 24 23:14:51 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Fri, 24 Oct 2003 14:14:51 -0700 Subject: check_ircd woes Message-ID: Lance Albertson wrote: > define command { > command_name check_ircd > command_line $USER1$/check_ircd -H $HOSTADDRESS$ > } [... snip ...] > Invalid warning threshold: -H Lance, Typically `check_* -h` will tell you about options. Also, the check_* modules tend to need values to create warning and critical messages. Try specifying those as well. If you don't really care about being paged, try something like: check_ircd -w 9998 -c 9999 -H $HOSTADDRESS$ Or use some other insanely large numbers. -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri Oct 24 23:16:19 2003 From: jhmartin at toger.us (Jason Martin) Date: Fri, 24 Oct 2003 14:16:19 -0700 (PDT) Subject: Statusmap not showing images In-Reply-To: <0d2201c39a68$0953a9a0$0900a8c0@cloverpoint> References: <31BD3FA83CF1F948AF20F4A1C3BC9F7F04D40926@madmail01.fiskars.com> <0d2201c39a68$0953a9a0$0900a8c0@cloverpoint> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > The error.log has an error from this morning, though I honestly don't know > if it has anything to do with Nagios. But other than that I don't see > anything. > > > [Fri Oct 24 09:39:52 2003] [warn] child process 23666 still did not exit, > sendin > g a SIGTERM This sounds like the cgi process was taking too long to do it's work and the client went away, so apache killed it. - -Jason Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/mZanl2ODWuqVSBMRAsvwAKCbKKQura9ywgQFZNKB1x+x2KYjRgCeMFHo kYxnlZpTOueo0TptD4SKE18= =4JPV -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Oct 24 23:21:34 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 24 Oct 2003 16:21:34 -0500 Subject: check_ircd woes Message-ID: > -----Original Message----- > From: Lance Albertson [mailto:ramereth at gentoo.org] > Sent: Friday, October 24, 2003 12:41 PM > To: nagios-users at lists.sourceforge.net > > I've been having some issues getting the check_ircd plugin to work. I've > set up the command definition as this: > > define command { > command_name check_ircd > command_line $USER1$/check_ircd -H $HOSTADDRESS$ > } > > I have a group of servers for an irc network I oper on, and was wanting > to just monitor how many users each host had locally. Whenever I run > this, I get this as status information: > > Invalid warning threshold: -H > > I've looked through the docs and online, but couldn't find an answer. > What am I missing? Can you run it from the command line? [nagios at betelgeuse libexec]$ ./check_ircd -H ircd.lagged.org Critical Number Of Clients Connected : 8119 (Limit = 100) [nagios at betelgeuse libexec]$ ./check_ircd -H ircd.lagged.org -w 9000 -c 10000 IRCD ok - Current Local Users: 8124 What does your service definition for the host look like? -- Marc ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Oct 24 23:25:11 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 24 Oct 2003 16:25:11 -0500 Subject: "Could not locate a running Nagios process!" Message-ID: > -----Original Message----- > From: David Gomillion [mailto:dgomillion at eyecarenow.com] > Sent: Friday, October 24, 2003 1:35 PM > To: nagios-users at lists.sourceforge.net > > I am sure this is a RTFM problem, but I couldn't find it in the docs. > If someone can point me in the right direction, I'd appreciate it. > > And I did search the archives... or tried to, with no hits. > > I am running Nagios (newest version, downloaded yesterday) and have it > up and running. > > I have the plugins, also newest version, and they are working correctly. > > I am getting updated status on all of the hosts I configured, I have > services set up, and I have created hostgroups for my hosts. I set all > contacts, and I have Nagios starting correctly, except... > > When I go to the web interface, I cannot execute commands, and the > Process Info page has the error message, "Could not locate a running > Nagios process!". However, the process is located in the box, and has > the correct PID and running time. > > Can anyone point me in the right direction? You probably need to edit your nagios_check_command in cgi.cfg. If you post your current command and a brief ps -ef output including the nagios process, someone is bound to be able to help. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DOlbersen at stbernard.com Fri Oct 24 23:17:43 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Fri, 24 Oct 2003 14:17:43 -0700 Subject: Statusmap not showing images Message-ID: Scott wrote: > Just one minor thing, I cannot get the system images to show up on the status map > but other that that it functions nicely. [... snip ...] > > ... > hostextinfo[queeg]=;win40.gif;win40.jpg;win40.gd2;Windows 2000 Server;;; > hostextinfo[hal]=;win40.gif;win40.jpg;win40.gd2;Windows 2000 Server;;; > hostextinfo[holly]=;win40.gif;win40.jpg;win40.gd2;Windows 2000 Server;;; > hostextinfo[otto]=;win40.gif;win40.jpg;win40.gd2;Windows 2000 Server;;; > hostextinfo[hilly2]=;linux40.gif;linux40.jpg;linux40.gd2;Gentoo Linux;;; > hostextinfo[mail]=;linux40.gif;linux40.jpg;linux40.gd2;Gentoo Linux;;; > hostextinfo[hilly]=;redhat40.gif;redhat40.jpg;redhat40.gd2;RedHat Linux; > hostextinfo[fw1]=;firebox.gif;firebox.jpg;firebox.gd2;Bering Linux;;; > hostextinfo[hp4100]=;HPlj5000.gif;HPlj5000.jpg;HPlj5000.gd2;HP4100DTN;;; > hostextinfo[hp8500]=;HPlj8500.gif;HPlj8500.jpg;HPlj8500.gd2;HP8500DN;;; > ... > Scott, A suggestion and a question: 1) Get away from using the 'old' definition method. The new template-based system makes life EASY. 2) What's the value of physical_html_path in your cgi.cfg? And where is all your HTML located? -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ramereth at gentoo.org Fri Oct 24 23:27:22 2003 From: ramereth at gentoo.org (Lance Albertson) Date: Fri, 24 Oct 2003 16:27:22 -0500 Subject: check_ircd woes In-Reply-To: References: Message-ID: <1067030842.2401.2.camel@pursuit> On Fri, 2003-10-24 at 16:21, Marc Powell wrote: > > Can you run it from the command line? Yes, I can actually: lance at clarity libexec $ ./check_ircd -H us.co.nixhelp.org IRCD ok - Current Local Users: 16 lance at clarity libexec $ And this is what boggles me. > What does your service definition for the host look like? define service { use generic-service hostgroup_name nixhelp service_description IRCD is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups lance-admin notification_interval 120 notification_period 24x7 notification_options n ;w,c,r check_command check_ircd } -- Lance Albertson -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From monkey at raindog2.no-ip.org Fri Oct 24 23:39:45 2003 From: monkey at raindog2.no-ip.org (Scott) Date: Fri, 24 Oct 2003 14:39:45 -0700 Subject: Statusmap not showing images References: Message-ID: <0df401c39a77$57504550$0900a8c0@cloverpoint> ----- Original Message ----- From: "David Olbersen" >A suggestion and a question: >1) Get away from using the 'old' definition method. The new template-based >system makes life EASY. Yes, I saw that method this morning while search for a solution. I'll give it a try time soon. >2) What's the value of physical_html_path in your cgi.cfg? And where is all >your HTML located? physical_html_path=/usr/nagios/share I know its not the prescribed path /usr/local/nagios/share, its just where gentoo put it. ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Oct 24 23:44:25 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 24 Oct 2003 16:44:25 -0500 Subject: check_ircd woes Message-ID: Well, I would suggest modifying the service definition by dropping the hostgroup_name line and replacing it with a single host_name line as a test. Maybe it's something wacky with the expansion of the hostgroup_name. If that works, (or if it doesn't) also include the host and hostgroup definitions. -- Marc > -----Original Message----- > From: Lance Albertson [mailto:ramereth at gentoo.org] > Sent: Friday, October 24, 2003 4:27 PM > To: nagios-users at lists.sourceforge.net > > On Fri, 2003-10-24 at 16:21, Marc Powell wrote: > > > > > Can you run it from the command line? > > Yes, I can actually: > > lance at clarity libexec $ ./check_ircd -H us.co.nixhelp.org > IRCD ok - Current Local Users: 16 > lance at clarity libexec $ > > And this is what boggles me. > > > What does your service definition for the host look like? > > define service { > use generic-service > hostgroup_name nixhelp > service_description IRCD > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups lance-admin > notification_interval 120 > notification_period 24x7 > notification_options n ;w,c,r > check_command check_ircd > } ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tskyers at foxroach.com Fri Oct 24 17:20:03 2003 From: tskyers at foxroach.com (Tory Skyers) Date: Fri, 24 Oct 2003 11:20:03 -0400 Subject: Nagmin Config Problem Message-ID: When I define an extended info config file in nagios.cfg I get this error message: Executing /etc/init.d/nagios restart Running configuration check... Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Error: Invalid object definition type 'serviceextinfo' in file '/etc/nagios/ServiceExtInfo.cfg' on line 3. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. failed - aborting restart. I checked the cgi.cfg file and the syntax is just about the same in that file to define the extended info object. Thank you! Tory Skyers Network Administrator Prudential Fox & Roach 610-993-1327 tskyers at foxroach.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramereth at gentoo.org Fri Oct 24 23:52:55 2003 From: ramereth at gentoo.org (Lance Albertson) Date: Fri, 24 Oct 2003 16:52:55 -0500 Subject: check_ircd woes In-Reply-To: References: Message-ID: <1067032375.2406.8.camel@pursuit> On Fri, 2003-10-24 at 16:44, Marc Powell wrote: > Well, I would suggest modifying the service definition by dropping the > hostgroup_name line and replacing it with a single host_name line as a > test. Maybe it's something wacky with the expansion of the > hostgroup_name. I do that and I get this. I even added -w 50 -c 100 to the command definition. Invalid warning threshold: -H=209.248.79.90 And to verify what I have in checkcommands.cfg: define command { command_name check_ircd command_line $USER1$/check_ircd -H $HOSTADDRESS$ -w 50 -c 100 } I've also tried other combinations of the command definition using -w $ARG1$ -c $ARG2$. I even changed the order of the commands, still with no luck. Sometimes it'll say the same error, but instead of -H its -w. It's really strange... > If that works, (or if it doesn't) also include the host and hostgroup > definitions. Here's the host definition for the host I tried: define host { use generic-host host_name us.co alias us.co.nixhelp.org address 209.248.79.90 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r } -- Lance Albertson -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From DOlbersen at stbernard.com Fri Oct 24 23:50:40 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Fri, 24 Oct 2003 14:50:40 -0700 Subject: Statusmap not showing images Message-ID: Scott wrote: > physical_html_path=/usr/nagios/share > > I know its not the prescribed path /usr/local/nagios/share, its just where > gentoo put it. Oh it doesn't really matter where it is so long as ${physical_html_path}/images/logos is where your logos are :) ... so they are in /usr/nagios/share/images/logos, right? And instead of icons you're getting empty rectangles, right? -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dgomillion at eyecarenow.com Fri Oct 24 23:59:48 2003 From: dgomillion at eyecarenow.com (David Gomillion) Date: Fri, 24 Oct 2003 16:59:48 -0500 Subject: "Could not locate a running Nagios process!" In-Reply-To: References: Message-ID: <001401c39a7a$24ad7160$2801a8c0@EyeCenterOfNorthFl.com> Thanks. I actually got some help already (may have been off-list. I didn't pay attention). It turns out that I had a typo in the ps string in the check_nagios args. Thanks for your help. -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Friday, October 24, 2003 4:25 PM To: David Gomillion; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] "Could not locate a running Nagios process!" > -----Original Message----- > From: David Gomillion [mailto:dgomillion at eyecarenow.com] > Sent: Friday, October 24, 2003 1:35 PM > To: nagios-users at lists.sourceforge.net > > I am sure this is a RTFM problem, but I couldn't find it in the docs. > If someone can point me in the right direction, I'd appreciate it. > > And I did search the archives... or tried to, with no hits. > > I am running Nagios (newest version, downloaded yesterday) and have it > up and running. > > I have the plugins, also newest version, and they are working correctly. > > I am getting updated status on all of the hosts I configured, I have > services set up, and I have created hostgroups for my hosts. I set all > contacts, and I have Nagios starting correctly, except... > > When I go to the web interface, I cannot execute commands, and the > Process Info page has the error message, "Could not locate a running > Nagios process!". However, the process is located in the box, and has > the correct PID and running time. > > Can anyone point me in the right direction? You probably need to edit your nagios_check_command in cgi.cfg. If you post your current command and a brief ps -ef output including the nagios process, someone is bound to be able to help. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From monkey at raindog2.no-ip.org Sat Oct 25 01:16:47 2003 From: monkey at raindog2.no-ip.org (Scott) Date: Fri, 24 Oct 2003 16:16:47 -0700 Subject: Statusmap not showing images References: Message-ID: <0e6601c39a84$e55a8060$0900a8c0@cloverpoint> ----- Original Message ----- From: "David Olbersen" I think its getting that image from the image directory. >Yes, it is. It should be unknown.(gd2|gif|png). >So your physical_html_path is fine if it's finding that. >Are you sure there's no typos in the directory name, 'logos'? its fine >Also, what're the permissions & owner/group settings on the 'logos' >directory? They need to be set so that the user your web server runs as can >access them (e.g. 751 or 755 would be good). nagios:nagios 755 all images are nagios:nagios 644 >It really sounds like Nagios just isn't finding that extended information... >If you go to the 'Host Detail' page, do you get the little icons next to the >machine names? Just the little taffic lights. ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon.q at pacific.net.ph Sat Oct 25 01:45:00 2003 From: jon.q at pacific.net.ph (jon quidilla) Date: Sat, 25 Oct 2003 07:45:00 +0800 Subject: Color Coding in Alerts Message-ID: <5.2.1.1.0.20031025074044.00a7e920@pacific.net.ph> Hi I'm just a newbie in nagios. I just want to know if it is possible to edit the color of the alerts. For example: for regular down - red for clients under icmp / firewall - orange suspended account - yellow client's initiated - blue Thanks, ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DOlbersen at stbernard.com Sat Oct 25 01:59:44 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Fri, 24 Oct 2003 16:59:44 -0700 Subject: Statusmap not showing images Message-ID: Scott wrote: > > If you go to the 'Host Detail' page, do you get the little icons next to > > the machine names? > > Just the little taffic lights. Then Nagios probably isn't picking up the extended host information at all. -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From VTsugranes at AtlasAir.com Sat Oct 25 04:12:20 2003 From: VTsugranes at AtlasAir.com (Tsugranes, Vincent) Date: Fri, 24 Oct 2003 22:12:20 -0400 Subject: "Could not locate a running Nagios process!" Message-ID: > -----Original Message----- > From: David Gomillion [mailto:dgomillion eyecarenow.com] > Sent: Friday, October 24, 2003 1:35 PM > To: nagios-users lists.sourceforge.net > > I am sure this is a RTFM problem, but I couldn't find it in the docs. > If someone can point me in the right direction, I'd appreciate it. > > And I did search the archives... or tried to, with no hits. > > I am running Nagios (newest version, downloaded yesterday) and have it > up and running. > > I have the plugins, also newest version, and they are working correctly. > > I am getting updated status on all of the hosts I configured, I have > services set up, and I have created hostgroups for my hosts. I set all > contacts, and I have Nagios starting correctly, except... > > When I go to the web interface, I cannot execute commands, and the > Process Info page has the error message, "Could not locate a running > Nagios process!". However, the process is located in the box, and has > the correct PID and running time. > > Can anyone point me in the right direction? I am having a similar problem... Nagios is compiled and running with database support / nagmin, and all processes are running correctly, but when nagios starts, the files nagios.cmd and status.log are not created. status_file=/usr/local/nagios/var/status.log command_file=/usr/local/nagios/var/rw/nagios.cmd [root at nagios nagios]# ls -al total 32 drwxrwxr-x 8 nagios nagios 4096 Oct 24 09:39 . drwxr-xr-x 15 root root 4096 Oct 23 14:27 .. drwxrwxr-x 2 nagios nagios 4096 Oct 23 14:10 bin drwxrwxr-x 3 nagios nagios 4096 Oct 24 21:46 etc drwxr-xr-x 2 root root 4096 Oct 24 21:31 libexec drwxrwxr-x 2 nagios nagios 4096 Oct 23 14:10 sbin drwxrwxr-x 8 nagios nagios 4096 Oct 23 15:08 share drwxrw-rw- 4 nagios nagios 4096 Oct 24 21:36 var drwxrwxr-x 2 nagios nagios 4096 Oct 24 21:36 rw [root at nagios nagios]# ps -ef | grep nagios nagios 6805 1 0 21:36 ? 00:00:00 [nagios] root 8058 31784 0 21:49 pts/2 00:00:00 grep nagios nagios_check_command=/usr/local/nagios/libexec/check_nagios -F ~ /usr/local/nagios/var/status.log -e 5 -C 'nagios' Error: Cannot open status log for reading! When I create the log manually, and give permissions, the Process Status Information returns the correct data: [root at nagios nagios]# touch /usr/local/nagios/var/status.log [root at nagios nagios]# chown nagios /usr/local/nagios/var/status.log [root at nagios nagios]# /usr/local/nagios/libexec/check_nagios -F ~ /usr/local/nagios/var/status.log -e 5 -C 'nagios' Nagios problem: located 1 process, status log updated 1067046914 ~ seconds ago The status data is going into the database, but the CGIs are all configured for database support; why is the status.log file still necessary? Sorry about the extended post, but I'm out of ideas. -Vincent ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From VTsugranes at AtlasAir.com Sat Oct 25 04:12:20 2003 From: VTsugranes at AtlasAir.com (Tsugranes, Vincent) Date: Fri, 24 Oct 2003 22:12:20 -0400 Subject: "Could not locate a running Nagios process!" Message-ID: > -----Original Message----- > From: David Gomillion [mailto:dgomillion eyecarenow.com] > Sent: Friday, October 24, 2003 1:35 PM > To: nagios-users lists.sourceforge.net > > I am sure this is a RTFM problem, but I couldn't find it in the docs. > If someone can point me in the right direction, I'd appreciate it. > > And I did search the archives... or tried to, with no hits. > > I am running Nagios (newest version, downloaded yesterday) and have it > up and running. > > I have the plugins, also newest version, and they are working correctly. > > I am getting updated status on all of the hosts I configured, I have > services set up, and I have created hostgroups for my hosts. I set all > contacts, and I have Nagios starting correctly, except... > > When I go to the web interface, I cannot execute commands, and the > Process Info page has the error message, "Could not locate a running > Nagios process!". However, the process is located in the box, and has > the correct PID and running time. > > Can anyone point me in the right direction? I am having a similar problem... Nagios is compiled and running with database support / nagmin, and all processes are running correctly, but when nagios starts, the files nagios.cmd and status.log are not created. status_file=/usr/local/nagios/var/status.log command_file=/usr/local/nagios/var/rw/nagios.cmd [root at nagios nagios]# ls -al total 32 drwxrwxr-x 8 nagios nagios 4096 Oct 24 09:39 . drwxr-xr-x 15 root root 4096 Oct 23 14:27 .. drwxrwxr-x 2 nagios nagios 4096 Oct 23 14:10 bin drwxrwxr-x 3 nagios nagios 4096 Oct 24 21:46 etc drwxr-xr-x 2 root root 4096 Oct 24 21:31 libexec drwxrwxr-x 2 nagios nagios 4096 Oct 23 14:10 sbin drwxrwxr-x 8 nagios nagios 4096 Oct 23 15:08 share drwxrw-rw- 4 nagios nagios 4096 Oct 24 21:36 var drwxrwxr-x 2 nagios nagios 4096 Oct 24 21:36 rw [root at nagios nagios]# ps -ef | grep nagios nagios 6805 1 0 21:36 ? 00:00:00 [nagios] root 8058 31784 0 21:49 pts/2 00:00:00 grep nagios nagios_check_command=/usr/local/nagios/libexec/check_nagios -F ~ /usr/local/nagios/var/status.log -e 5 -C 'nagios' Error: Cannot open status log for reading! When I create the log manually, and give permissions, the Process Status Information returns the correct data: [root at nagios nagios]# touch /usr/local/nagios/var/status.log [root at nagios nagios]# chown nagios /usr/local/nagios/var/status.log [root at nagios nagios]# /usr/local/nagios/libexec/check_nagios -F ~ /usr/local/nagios/var/status.log -e 5 -C 'nagios' Nagios problem: located 1 process, status log updated 1067046914 ~ seconds ago The status data is going into the database, but the CGIs are all configured for database support; why is the status.log file still necessary? Sorry about the extended post, but I'm out of ideas. -Vincent ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crsurf at terra.com.br Sat Oct 25 05:43:15 2003 From: crsurf at terra.com.br (crsurf) Date: Sat, 25 Oct 2003 01:43:15 -0200 Subject: service checks interval Message-ID: Hello I already read and re-read documentation about the parameters service_interleave_factor, normal_check_interval, freshness_treshould, status_update_interval, command_check_interval, sleep_time, inter_check_delay_method, service_reapear_frequency, freshness_check_interval and other timeouts parameters. I test with some values based on number of services and hosts and I test too using "s" (smart) in inter_delay_check_method and service_interleave_factor. But the interval in which a service was checked are some variant values betwen 10 and 20 seconds. I?m suposing a hipotetical situation that I have to monitoring critical services in a LAN enviroment and I using Nagios in a box with P4-1.8GHz processor with 128 MB of RAM, the minumum interval of fresh information in theory is the status_update_interval parameter, that have a minimum of 5 seconds, I?m correct or wrong about this? What values I have to use to guarantee this minimum interval of 5 seconds or at least 10 seconds,? This is possible? Sorry about my poor english, I?m trying to improve it and not sleep. :) [ ] Cristiano Costa ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Fri Oct 24 15:55:58 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Fri, 24 Oct 2003 07:55:58 -0600 Subject: Cisco switch and routers Message-ID: It's possible. However, most people on mailing lists don't want to give away free tech support. Don't get me wrong though, we don't mind helping out our mailing-list friends... So, let's keep this thread on-list. That way someone else searching for the same problem may find this info in the archives, and I won't have to answer the same question once a month. :-) Beware of email word-wrap in the following entries. This is an entry from my services.cfg file: #------------------------------ # router-cpu definition define service{ name router-cpu use generic-service hostgroup_name ce-router service_description CPU is_volatile 0 check_period 24x7 max_check_attempts 5 normal_check_interval 20 retry_check_interval 5 notification_interval 30 notification_period daytime notification_options w,c,r check_command cisco_cpunew register 1 } #------------------------------ The check command above points to this in checkcommands.cfg: #------------------------------ # 'cisco_cpunew' command definition define command{ command_name cisco_cpunew command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.4.1.9.2.1.58.0 -w 84:70 -c 100:85 -C $USER9$ -l CPU\ Utilization -u% } #------------------------------ The line above that starts with 'command_line' should end with 'Utilization -u%'. It may very well be broken into two lines in email, so make sure that you put it back together should you decide to paste it into your config. OK, so if you are now somewhat familiar with Nagios, and have read the help on the check_snmp command like I suggested earlier, the two entries above should make sense. If not, run 'check_snmp -h' from /path/to/nagios/libexec again and compare the output to the command definition above. The only thing that might not be readily apparent is the $USER9$ variable, which is where I store my SNMP community string. This is located in the resource.cfg file, which has a restricted set of permissions so that it cannot be read by the world. If you get this setup properly and are still having issues, make sure that your SNMP community string is the same as the one on the router and that there is no firewall between the Nagios server and router that may be blocking SNMP. HTH Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) > -----Original Message----- > From: Yalcin Cekic [mailto:yc at eng.bahcesehir.edu.tr] > Sent: Friday, October 24, 2003 7:28 AM > To: Cook, Garry > Subject: Re[2]: [Nagios-users] Cisco switch and routers > > > > Hi Garry, > > Is it possible to give some example of plugins you use? > I try to use check_snmp but cant receive any info. > ---------- > [root at testpc plugins]# ./check_snmp -H 193.255.xx.xx -C abcd > SNMP problem - No data recieved from host > CMD: /usr/bin/snmpget -m ALL -v 1 -c ycro 193.255.85.21:161 > ---------- > > I can get info using mrtg program. > > thx for your help, > > Y.C > > CG> On my Cisco IOS gear I'm checking PING, BGP State, CPU > Utilization, Free > CG> Memory, as well as looking for interfaces that are > administratively up > CG> but operationally down. > > CG> The plugins used are: check_ping, check_bgpstate.pl (from > the contrib > CG> directory), check_snmp (CPU & MEM), and check_ifstatus. > > CG> Each of these plugins (with the exception of BGP State) > can be run on > CG> IOS Routers & Switches. These should be found in your > CG> '/path/to/nagios/libexec' directory can be run with '-h' > or '--help' to > CG> get help on how to use them. > > CG> I believe the bgpstate plugin my have it's own README > file, although > CG> you'll only want to use this on your routers that are > running the BGP > CG> routing protocol, if any. > > CG> On my CatOS switches I just run a PING check. I could > setup some SNMP > CG> checks I suppose, I just haven't gotten around to this yet. > > CG> Garry W. Cook, CCNA > CG> Network Infrastructure Manager > CG> MACTEC, Inc. - http://www.mactec.com/ > CG> 303.308.6228 (Office) - 720.220.1862 (Mobile) > > >> -----Original Message----- > >> From: yc [mailto:yc at eng.bahcesehir.edu.tr] > >> Sent: Wednesday, October 22, 2003 3:33 PM > >> To: nagios-users at lists.sourceforge.net > >> Subject: [Nagios-users] Cisco switch and routers > >> > >> > >> > >> Hi, > >> > >> I am a new bee in nagios list. > >> I installed nagios 1.0 with no problem :-) > >> I works for localhost very well. > >> I want to check my cisco switch/router, > >> I cant find any plugin or something for cisco in nagios. > >> Is it possible? how? > >> > >> any help is welcome, > >> > >> Y.C > >> > > ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Sat Oct 25 06:19:23 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 24 Oct 2003 23:19:23 -0500 Subject: service checks interval Message-ID: I have to ask. What could you possibly do in 5 seconds to correct any failure situation that you might discover monitoring at that frequency. IMHO, you interval sould never be shoerter than the minimum time to correct a problem. What could you possibly be interested in at 5 second intervals? -- Marc -----Original Message----- From: crsurf To: nagios-users at lists.sourceforge.net Sent: Fri Oct 24 22:43:15 2003 Subject: [Nagios-users] service checks interval Hello I already read and re-read documentation about the parameters service_interleave_factor, normal_check_interval, freshness_treshould, status_update_interval, command_check_interval, sleep_time, inter_check_delay_method, service_reapear_frequency, freshness_check_interval and other timeouts parameters. I test with some values based on number of services and hosts and I test too using "s" (smart) in inter_delay_check_method and service_interleave_factor. But the interval in which a service was checked are some variant values betwen 10 and 20 seconds. I?m suposing a hipotetical situation that I have to monitoring critical services in a LAN enviroment and I using Nagios in a box with P4-1.8GHz processor with 128 MB of RAM, the minumum interval of fresh information in theory is the status_update_interval parameter, that have a minimum of 5 seconds, I?m correct or wrong about this? What values I have to use to guarantee this minimum interval of 5 seconds or at least 10 seconds,? This is possible? Sorry about my poor english, I?m trying to improve it and not sleep. :) [ ] Cristiano Costa ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: From fredrik.wanglund at datavis.se Fri Oct 24 16:28:27 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 24 Oct 2003 16:28:27 +0200 Subject: tcp response time graph In-Reply-To: References: Message-ID: <3F99370B.5070208@datavis.se> Heres a new plugin for Apan that uses check_tcp How to use it to check port 80 and 22 on a host: - Replace the existing apan.sh with this one (make a backup first..) - Save tcp.sh in apans plugs-directory - Define a service in Nagios: define service { host_name bandit service_description TCP check_command apan!tcp!1!2 ... } - Add the service to apan.cfg: bandit;TCP;/usr/local/nagios/rrd/bandit_tcp.rrd;80|22;port-80:LINE2 port-22:LINE2;TCP responce-time;seconds - Create the rrd: rrdtool create bandit_tcp.rrd -s 60 DS:port-80:GAUGE:900:0:U DS:port-22:GAUGE:900:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 - Define extinfo in Nagios: define serviceextinfo{ host_name bandit service_description TCP notes_url /nagios/cgi-bin/apan.cgi?host=bandit&service=TCP icon_image graph.png icon_image_alt View graphs } DONE! /FredrikW Jes?s Oliv?n wrote: > hi, > > i'm creating reports with apan about 50 hosts ping response. Now i need to > create more graphs with an specific tcp port response time, for example: if > i got a service who make periodic check_tcp to some host's port 515 i'll > receive this: TCP OK - 0.051 second response time on port 515. > > I want to receive a graph about this port's response times, like apan do > with ping, disk_load, etc. > > Thx in advance. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. > Do you like what SourceForge.net is doing for the Open > Source Community? Make a contribution, and help us add new > features and functionality. Click here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 embedded and charset-unspecified text was scrubbed... Name: apan.sh URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: tcp.sh URL: From matthewwilson at dsl.pipex.com Sat Oct 25 12:50:28 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: 25 Oct 2003 11:50:28 +0100 Subject: Two hostgroups questions Message-ID: <1067079028.4156.10.camel@localhost.localdomain> Hi, 1) (silly question) How do I view service detail for a hostgroup? I can see all hosts but it would be useful to have them grouped by hostgroup. My hostgroups are properly defined and show up in Status Overview. 2) As I need to provide access for our clients to view only their own hosts, I have had to set up a host group for each one (in order to associate them with a unique contact). I also have three larger hostgroups which put our clients in to logical groups for us to view. Is there a way I can hide the hostgroups for individual hosts and only view the 3 big hostgroups in Status Overview and Status Summary? (or is there a better way to give individual client access?) Thanks Matthew Wilson. ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.garrett at shell.com Thu Oct 23 16:04:09 2003 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITDIEEE) Date: Thu, 23 Oct 2003 15:04:09 +0100 Subject: Availability reports by hostgroup's , but jut on one service type e.g PING Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D5B51E2A@abe-s-039.europe.shell.com> Folks I have been running availability reports via a perl script , for about 6 months with out any problems. However last month one of the main servers had a problem with a disk array While the server was not down , in fact users did not notice any problems. The availability reports show the up time as only 20% This is due to the one services Meta_Disk been down for 14 days. Is there any way to use the avail.cgi but to specify a services just to report on e.g PING A copy of the avail.cgi command line is as: /nagios/cgi-bin/avail.cgi?show_log_entries=&hostgroup=sun-servers&timeperiod=custom&smon=9&sday=1&syear=2003&shour=08&smin=00&ssec=00&emon=10&eday=23&eyear=2003&ehour=17&emin=00&esec=00&assumeinitialstates=yes&assumestateretention=yes&initialassumedstate=-1&backtrack=8&csvoutput= Having a scan through avail.c for Nagios 1.1 , I can not see any options to allow this. Any idea's Thanks Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom -------------- next part -------------- An HTML attachment was scrubbed... URL: From DOlbersen at stbernard.com Fri Oct 24 18:18:15 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Fri, 24 Oct 2003 09:18:15 -0700 Subject: Different paging for different levels Message-ID: Chris Gill wrote: > Hi all, > We've moved to Nagios here over the last few months, and things have > been going swimingly. There's one question, though, that's cropped up that I > can't seem to figure out. Is there a way to send different types of alerts > based on severity. IE: send warning alerts by e-mail, and critical alerts by > pager. The only way I've seen to do this is to set up two contacts for each > user (bob-email, bob-pager). This seems inordinately clunky, though. Is > there a better way to do it? Chris, I've found myself in the same situation. What I decided to do was create a template for email & pager contacts. Since I have multiple contacts I can define email contacts or pager contacts or both for each user, depending on their situation. Simply inheriting from the correct template was all I did. Have you thought about this? Are there flaws with it? -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atonns at mail.ivillage.com Fri Oct 24 18:21:39 2003 From: atonns at mail.ivillage.com (atonns at mail.ivillage.com) Date: Fri, 24 Oct 2003 12:21:39 -0400 Subject: Different paging for different levels Message-ID: Matter of factly, your situation doesn't even work properly. ie: If a service goes from OK to WARNING this is a hard state change, and it will notify via email. If it then goes from WARNING to CRITICAL this is NOT a hard state change and it will NOT notify via pager. I have not found a solution for this problem. However, I would really like to be able to handle sending notification via pager when a service enters a CRITICAL state without adding an ocsp_command. -- "Computer science is as much about computers as astronomy is about telescopes" -- Edsger Dijkstra --------------------------------------------------------- Anthony Tonns, UNIX Administrator - atonns at mail.ivillage.com > -----Original Message----- > From: Chris Gill [mailto:cgill at NewWorldApps.com] > Sent: Thursday, October 23, 2003 11:32 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Different paging for different levels > > > Hi all, > We've moved to Nagios here over the last few months, > and things have > been going swimingly. There's one question, though, that's > cropped up that I > can't seem to figure out. Is there a way to send different > types of alerts > based on severity. IE: send warning alerts by e-mail, and > critical alerts by > pager. The only way I've seen to do this is to set up two > contacts for each > user (bob-email, bob-pager). This seems inordinately clunky, > though. Is > there a better way to do it? > > ----------------------------------------------------------------- > Christopher P. Gill, Systems Engineer, New World Apps > cgill at newworldapps.com > 703-856-7268 (Cell/Business) > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. > Do you like what SourceForge.net is doing for the Open > Source Community? Make a contribution, and help us add new > features and functionality. Click here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From almayirapinzon at yahoo.com Sat Oct 25 20:36:57 2003 From: almayirapinzon at yahoo.com (=?iso-8859-1?q?almayira=20pinzon?=) Date: Sat, 25 Oct 2003 13:36:57 -0500 (CDT) Subject: I can't get nagios web from other computer Message-ID: <20031025183657.99582.qmail@web40302.mail.yahoo.com> Hi there, I am attempting get web nagios from other computer, but I always get the same mistakes mensage that it doesn't exists. But this computer already is turn on. How can i get figure out that? Thanks --------------------------------- Do You Yahoo!? Todo lo que quieres saber de Estados Unidos, Am?rica Latina y el resto del Mundo. Vis?ta Yahoo! Noticias. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dbrowett at coquitlam.ca Fri Oct 24 18:36:22 2003 From: dbrowett at coquitlam.ca (Browett, Darren) Date: Fri, 24 Oct 2003 09:36:22 -0700 Subject: New to Nagios Message-ID: <8423DAC11EF82D469CF20CE341CC4EDF01D49C07@EXCHANGE.private.coquitlam.bc.ca> Hi all, I am new to nagios, I have it up and running, and I am now looking at the various add-ons for it before I roll it out. One question I have is using mysql to storing the extended data. >From what I have read, the only info that is stored is the status logs and extended data, and that is does NOT store the standard configuration information. Is that correct?, and if so what are the benefits of using the database add-on. Thanks Darren ------------------------------------------------------------------------ -------------------------------------------------- Darren Browett P.Eng This message was transmitted Data Administrator using 100% recycled electrons Information and Communication Technology City of Coquitlam P:(604)927 - 3614 E:dbrowett at coquitlam.ca ------------------------------------------------------------------------ --------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Sat Oct 25 21:36:14 2003 From: jhmartin at toger.us (Jason Martin) Date: Sat, 25 Oct 2003 12:36:14 -0700 (PDT) Subject: New to Nagios In-Reply-To: <8423DAC11EF82D469CF20CE341CC4EDF01D49C07@EXCHANGE.private.coquitlam.bc.ca> References: <8423DAC11EF82D469CF20CE341CC4EDF01D49C07@EXCHANGE.private.coquitlam.bc.ca> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Is that correct?, and if so what are the benefits of using the database > add-on. Using the database addon gives you a database you can query for status information, say if you want to write your own interface to view it. I believe that option is going away in 2.0 (at least, it'll be a seperate function) - -Jason Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/mtCxl2ODWuqVSBMRAuPoAJ4iwVPAWRf4Jq2/NZ3pzizgjArlrwCdHAwV TovYKky8iZwGTZAiCVtKIVM= =/eF1 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Fri Oct 24 07:42:38 2003 From: noah at mac.com (Noah Leaman) Date: Thu, 23 Oct 2003 22:42:38 -0700 Subject: CPU Utilization on Cisco routers that have multiple CPUs Message-ID: Anyone have any elegant and scalable method of monitoring CPU utilization on Cisco routers that have multiple CPUs? I know I can specify more than one OID with check_snmp, but I would need to know the exact OID for each CPU like this: cpmCPUTotal5minRev.1, cpmCPUTotal5minRev.2 But as you can see below, the OID is variable and the total number of CPUs/OIDs will range for each router. $ snmpwalk -m ALL -c readstring router1.domain.com cpmCPUTotal5minRev CISCO-PROCESS-MIB::cpmCPUTotal5minRev.1 = Gauge32: 1 percent CISCO-PROCESS-MIB::cpmCPUTotal5minRev.2 = Gauge32: 1 percent CISCO-PROCESS-MIB::cpmCPUTotal5minRev.3 = Gauge32: 0 percent CISCO-PROCESS-MIB::cpmCPUTotal5minRev.4 = Gauge32: 5 percent $ snmpwalk -m ALL -c readstring router2.domain.com cpmCPUTotal5minRev CISCO-PROCESS-MIB::cpmCPUTotal5minRev.1 = Gauge32: 1 percent CISCO-PROCESS-MIB::cpmCPUTotal5minRev.3 = Gauge32: 4 percent CISCO-PROCESS-MIB::cpmCPUTotal5minRev.8 = Gauge32: 16 percent CISCO-PROCESS-MIB::cpmCPUTotal5minRev.9 = Gauge32: 0 percent CISCO-PROCESS-MIB::cpmCPUTotal5minRev.10 = Gauge32: 0 percent CISCO-PROCESS-MIB::cpmCPUTotal5minRev.11 = Gauge32: 7 percent CISCO-PROCESS-MIB::cpmCPUTotal5minRev.12 = Gauge32: 0 percent I'm at a loss on this one. I would be curious how others have router CPU utilization monitoring implemented out there. -- Noah ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryan.mooney at pnl.gov Thu Oct 23 18:38:04 2003 From: ryan.mooney at pnl.gov (Mooney, Ryan) Date: Thu, 23 Oct 2003 09:38:04 -0700 Subject: NAGIOS limitation Message-ID: Hello, I'm monitoring ~12,000 services on almost 1000 hosts, most are 5 minute interval or less. I have a dual 2.4Ghz Xenon & ~4G ram (almost 3 used, although a ~700M is for buffer cache). Some things I found include: - Passive service check GOOD! Nagios will fork for every test otherwise and that will quickly bring everything you've built crashing down :) However this means that you basically have to write all your own service checks which can be a bit of work (and thought as to how to transport them, etc...). NSCA can also help here, although I didn't want to deploy it everywhere so I used slightly different custom hacks... - On linux (RH 8 & 9 at least) there is some brokenness in the scheduler and you will end up with a lot of nagios processes hanging around. This is caused by a sub process trying to write to the parent through an anonymous pipe and getting starved for time, thus the writes never complete. A discussion of a "fix" was posted by "Jay 'Whip' Grizzard" in a post talking about "[Nagios-users] Processes hung on pipe writes (and other fun)" on Aug 20, 2003. I "solved" the problem by wrapping the write in an alarm and timing it out as well - this results in some lost messages, but oh well :) FreeBSD doesn't have this issue, and I'd be (more) suprised is linux 2.6 kernel has it (as bad) either. - The CGI interface is terminally slow for large installations in 1.x. 2.x is supposed to fix it, but as I look at the CVS as of today I still see some of the linked list traversals that I know are slow still in the code - it appears that the hash replacements are also in the code, so I'm assuming that the linked list stuff will be removed RSN but its just that not everything has caught up yet. I "fixed" this by writing a php interface to the status file, its an ugly hack but hey I have all the info on one page, and what took a long time is now relatively zippy. You can DL it at: http://www.pcslink.com/~ryan/ > -----Original Message----- > From: Roland.Sorgenfrei at spb.de [mailto:Roland.Sorgenfrei at spb.de] > Sent: Wednesday, October 22, 2003 2:11 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NAGIOS limitation > > > Hi all, > > I'm a nagios beginner. My requirement is, we will managed > round 600 server > with round > about 25 services per server, in sum 15 000 services. The normal > checkinterval must be 10 minutes. > > Now my questions : > > Can nagios handle so many services in one nagios installation? > Know anyone, where are the limitation from nagios? > > > Thanks for help! > > Roland > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here's your chance to show off your extensive product knowledge > We want to know what you know. Tell us and you have a chance > to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crsurf at terra.com.br Sat Oct 25 23:51:04 2003 From: crsurf at terra.com.br (crsurf) Date: Sat, 25 Oct 2003 19:51:04 -0200 Subject: service checks interval In-Reply-To: References: Message-ID: Re: [Nagios-users] service checks intervalI?m interested to know the problem before users notify this for me or to administrator, and in some criticial services for business, in most cases the users notify the administrator before monitoring system, in case of this services are being checked at an interval of 5 or 10 minutes. I not see correlation in service check interval with time to correct a problem, a problem correction depends of the problem, in some cases a service restart is sufficient to solve a problem, but when a disk crash, the time to resolve this problem is much largest. Cristiano Costa -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: s?bado, 25 de outubro de 2003 02:19 To: crsurf at terra.com.br; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] service checks interval I have to ask. What could you possibly do in 5 seconds to correct any failure situation that you might discover monitoring at that frequency. IMHO, you interval sould never be shoerter than the minimum time to correct a problem. What could you possibly be interested in at 5 second intervals? -- Marc -----Original Message----- From: crsurf To: nagios-users at lists.sourceforge.net Sent: Fri Oct 24 22:43:15 2003 Subject: [Nagios-users] service checks interval Hello I already read and re-read documentation about the parameters service_interleave_factor, normal_check_interval, freshness_treshould, status_update_interval, command_check_interval, sleep_time, inter_check_delay_method, service_reapear_frequency, freshness_check_interval and other timeouts parameters. I test with some values based on number of services and hosts and I test too using "s" (smart) in inter_delay_check_method and service_interleave_factor. But the interval in which a service was checked are some variant values betwen 10 and 20 seconds. I?m suposing a hipotetical situation that I have to monitoring critical services in a LAN enviroment and I using Nagios in a box with P4-1.8GHz processor with 128 MB of RAM, the minumum interval of fresh information in theory is the status_update_interval parameter, that have a minimum of 5 seconds, I?m correct or wrong about this? What values I have to use to guarantee this minimum interval of 5 seconds or at least 10 seconds,? This is possible? Sorry about my poor english, I?m trying to improve it and not sleep. :) [ ] Cristiano Costa ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- Esta mensagem foi verificada pelo E-mail Protegido Terra. Scan engine: VirusScan / Atualizado em 22/10/2003 / Vers?o: 1.4.0 Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.530 / Virus Database: 325 - Release Date: 22/10/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Sun Oct 26 00:23:29 2003 From: teng at dataway.com (Tedman Eng) Date: Sat, 25 Oct 2003 15:23:29 -0700 Subject: tcp response time graph References: <3F99370B.5070208@datavis.se> Message-ID: It would be useful to update the apan.sourceforge.net site with this info. "Fredrik W?nglund" wrote in message news:3F99370B.5070208 at datavis.se... Heres a new plugin for Apan that uses check_tcp How to use it to check port 80 and 22 on a host: - Replace the existing apan.sh with this one (make a backup first..) - Save tcp.sh in apans plugs-directory - Define a service in Nagios: define service { host_name bandit service_description TCP check_command apan!tcp!1!2 ... } - Add the service to apan.cfg: bandit;TCP;/usr/local/nagios/rrd/bandit_tcp.rrd;80|22;port-80:LINE2 port-22:LINE2;TCP responce-time;seconds - Create the rrd: rrdtool create bandit_tcp.rrd -s 60 DS:port-80:GAUGE:900:0:U DS:port-22:GAUGE:900:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 - Define extinfo in Nagios: define serviceextinfo{ host_name bandit service_description TCP notes_url /nagios/cgi-bin/apan.cgi?host=bandit&service=TCP icon_image graph.png icon_image_alt View graphs } DONE! /FredrikW Jes?s Oliv?n wrote: > hi, > > i'm creating reports with apan about 50 hosts ping response. Now i need to > create more graphs with an specific tcp port response time, for example: if > i got a service who make periodic check_tcp to some host's port 515 i'll > receive this: TCP OK - 0.051 second response time on port 515. > > I want to receive a graph about this port's response times, like apan do > with ping, disk_load, etc. > > Thx in advance. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. > Do you like what SourceForge.net is doing for the Open > Source Community? Make a contribution, and help us add new > features and functionality. Click here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- ---- > #!/bin/bash > > # Change this if you are not installing apan in /usr/local/nagios/apan > DEFSFILE=/usr/local/nagios/apan/apan.defs > # > # Don't change anything below... > # > > # Source the configuration > . $DEFSFILE > > #Source the plugin-functions > for file in $PLUGSDIR/*.sh; do > . $file > done > > #debug "`date` Args: $*" > > #Read arguments from the command-line > CHECK=$1 > HOST=$2 > SVCNAME=$3 > TIME=$4 > WARN=$5 > CRIT=$6 > XARGS=$7 > > RETVAL=0 > RETSTR="" > > #Get configuration for this service > CONF=`grep "^${HOST};${SVCNAME};" $CFGFILE` > ARGS="`echo $CONF|cut -d ";" -f 4`" > NAMES=`echo $CONF|cut -d ";" -f 5` > RRDFILE=`echo $CONF|cut -d ";" -f 3` > > if [ "$CONF" = "" ]; then > ERR=1 > RETVAL=3 > RETSTR="Apan could not find service." > else > > N=0 > ERR=0 > DATA="$TIME" > TEMPL="" > # Make a array of DS-names > for DS in $NAMES; do > NAMELIST[N]=`echo $DS|cut -d ":" -f 1` > N=`expr $N + 1` > done > N=0 > > #debug "`date` $HOST: $CHECK" > ################################################################3 > case $CHECK in > disk) disk > ;; > nt-net) nt_net > ;; > nt_disk) nt_disk > ;; > nt_disk2) nt_disk2 > ;; > nt_smtp) nt_smtp > ;; > nt_load) nt_load > ;; > load) load > ;; > ping) ping > ;; > ping_any) ping_any > ;; > lxk_pages) lxk_pages > ;; > snmpget) snmpget > ;; > disk_by_snmp) disk_by_snmp > ;; > disk_by_snmp2) disk_by_snmp_test > ;; > proc_by_snmp) proc_by_snmp > ;; > http) http > ;; > tcp) tcp > ;; > *) > debug "`date` Unknown service $HOST:$CHECK" > RETSTR="Unknown Apan-service: $CHECK" > RETVAL=3 > ERR=1 > ;; > esac > > fi > if [ $ERR = 0 ]; then > if [ `echo $TEMPL|cut -b 1-1` = ":" ]; then > TEMPL=`echo $TEMPL|cut -b 2-` > fi > $RRDTOOL update $RRDFILE -t $TEMPL $DATA > #debug "`date` Inserting '$TEMPL' , '$DATA' into $RRDFILE" > else > debug "`date` ${HOST}:${SVCNAME}, Could not insert '$TEMPL' , '$DATA' into $RRDFILE" > fi > > #debug "Returning '$RETSTR' , $RETVAL" > echo $RETSTR > exit $RETVAL > ---------------------------------------------------------------------------- ---- > > tcp() { > RETSTR="" > #debug "TCP: $HOST, '$ARGS'" > for PORT in `echo $ARGS|tr "|" " "`; do > RES=`$PLUGINSDIR/check_tcp -H $HOST -p $PORT -w $WARN -c $CRIT` > STATUS=$? > if [ $STATUS -gt 2 ]; then > RETVAL=3 > RETSTR="$RETSTR $RES" > ERR=1 > break > fi > #RTT=`echo $RES|cut -d "," -f 2|cut -d "=" -f 2|tr -d " [a-zA-Z]"` > RT=`echo $RES|awk -F "|" '{print $NF}'|tr -d -c "0-9."` > RES=`echo $RES|awk -F "|" '{print $1}'` > > #debug "`date` TCP: $HOST, $STATUS, '$RES', $RT" > > DSNAME=${NAMELIST[$N]} > if [ $RETVAL -lt $STATUS ]; then > RETVAL=$STATUS > fi > TEMPL=`echo "${TEMPL}:$DSNAME"` > DATA=`echo "${DATA}:$RT"` > N=`expr $N + 1` > RETSTR="$RETSTR $RES" > done > } > > > > ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DOlbersen at stbernard.com Fri Oct 24 17:32:32 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Fri, 24 Oct 2003 08:32:32 -0700 Subject: FW: [Nagiosplug-help] check_disk problems Message-ID: David Olbersen wrote: > Hello all! > > I have a problem with check_disk on FreeBSD. > > I happen to have FreeBSD 3, 4, and 5 machines, they all show the same problem: > > running `check_disk -e -w 10% -c 5%` I get: > Unable to read output > /bin/df > > > If I take out the -e the error goes away, but I get back MUCH more output > than I wanted. I don't expect I've misconfigured something, is this a known > bug? > > This is check_disk out of the nagios-plugins-1.3.1 FreeBSD port and nagios > v1.1. This didn't get much (any) attention on nagiosplug-help, can anybody in nagios-users help me out? -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nleaman at apple.com Fri Oct 24 07:30:43 2003 From: nleaman at apple.com (Noah Leaman) Date: Thu, 23 Oct 2003 22:30:43 -0700 Subject: CPU Utilization on Cisco routers that have multiple CPUs Message-ID: <3667EF3C-05E3-11D8-820E-000393ACBF0C@apple.com> Anyone have any elegant and scalable method of monitoring CPU utilization on Cisco routers that have multiple CPUs? I know I can specify more than one OID with check_snmp, but I would need to know the exact OID for each CPU like this: cpmCPUTotal5minRev.1, cpmCPUTotal5minRev.2 But as you can see below, the OID is variable and the total number of CPUs/OIDs will range for each router. $ snmpwalk -m ALL -c readstring router1.domain.com cpmCPUTotal5minRev CISCO-PROCESS-MIB::cpmCPUTotal5minRev.1 = Gauge32: 1 percent CISCO-PROCESS-MIB::cpmCPUTotal5minRev.2 = Gauge32: 1 percent CISCO-PROCESS-MIB::cpmCPUTotal5minRev.3 = Gauge32: 0 percent CISCO-PROCESS-MIB::cpmCPUTotal5minRev.4 = Gauge32: 5 percent $ snmpwalk -m ALL -c readstring router2.domain.com cpmCPUTotal5minRev CISCO-PROCESS-MIB::cpmCPUTotal5minRev.1 = Gauge32: 1 percent CISCO-PROCESS-MIB::cpmCPUTotal5minRev.3 = Gauge32: 4 percent CISCO-PROCESS-MIB::cpmCPUTotal5minRev.8 = Gauge32: 16 percent CISCO-PROCESS-MIB::cpmCPUTotal5minRev.9 = Gauge32: 0 percent CISCO-PROCESS-MIB::cpmCPUTotal5minRev.10 = Gauge32: 0 percent CISCO-PROCESS-MIB::cpmCPUTotal5minRev.11 = Gauge32: 7 percent CISCO-PROCESS-MIB::cpmCPUTotal5minRev.12 = Gauge32: 0 percent I'm at a loss here on this one. I would be curious how others have router CPU utilization monitoring implemented out there. -- Noah ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jirons at knowledgekids.com Sun Oct 26 06:47:17 2003 From: jirons at knowledgekids.com (Jarrett Irons) Date: Sat, 25 Oct 2003 22:47:17 -0700 Subject: Reply to extended host info images Message-ID: was having a hard time with that till i looked at the demo files through the site. In cgi.cfg add a line " xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg". Then create hostextinfo.cfg file. To have a image associated to that host type: # 'gdserver03' host definition define hostextinfo{ host_name gdserver03 icon_image win40.jpg icon_image_alt win40.gif vrml_image win40.png statusmap_image win40.gd2 } Make sure these images are in your html path (ex. /usr/local/nagios/share/images/logos/) -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: Fri 10/24/2003 8:19 PM To: nagios-users at lists.sourceforge.net Cc: Subject: Nagios-users digest, Vol 1 #1716 - 5 msgs Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-admin at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: Statusmap not showing images (Scott) 2. Color Coding in Alerts (jon quidilla) 3. RE: Statusmap not showing images (David Olbersen) 4. RE: "Could not locate a running Nagios process!" (Tsugranes, Vincent) 5. RE: "Could not locate a running Nagios process!" (Tsugranes, Vincent) --__--__-- Message: 1 From: "Scott" To: Subject: Re: [Nagios-users] Statusmap not showing images Date: Fri, 24 Oct 2003 16:16:47 -0700 ----- Original Message ----- From: "David Olbersen" I think its getting that image from the image directory. >Yes, it is. It should be unknown.(gd2|gif|png). >So your physical_html_path is fine if it's finding that. >Are you sure there's no typos in the directory name, 'logos'? its fine >Also, what're the permissions & owner/group settings on the 'logos' >directory? They need to be set so that the user your web server runs as can >access them (e.g. 751 or 755 would be good). nagios:nagios 755 all images are nagios:nagios 644 >It really sounds like Nagios just isn't finding that extended information... >If you go to the 'Host Detail' page, do you get the little icons next to the >machine names? Just the little taffic lights. --__--__-- Message: 2 Date: Sat, 25 Oct 2003 07:45:00 +0800 To: nagios-users at lists.sourceforge.net From: jon quidilla Subject: [Nagios-users] Color Coding in Alerts Hi I'm just a newbie in nagios. I just want to know if it is possible to edit the color of the alerts. For example: for regular down - red for clients under icmp / firewall - orange suspended account - yellow client's initiated - blue Thanks, --__--__-- Message: 3 Subject: RE: [Nagios-users] Statusmap not showing images Date: Fri, 24 Oct 2003 16:59:44 -0700 From: "David Olbersen" To: "Scott" , Scott wrote: > > If you go to the 'Host Detail' page, do you get the little icons = next to > > the machine names? > > Just the little taffic lights. Then Nagios probably isn't picking up the extended host information at = all. --=20 David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 --__--__-- Message: 4 From: "Tsugranes, Vincent" To: "'nagios-users at lists.sourceforge.net'" Date: Fri, 24 Oct 2003 22:12:20 -0400 Subject: [Nagios-users] RE: "Could not locate a running Nagios process!" > -----Original Message----- > From: David Gomillion [mailto:dgomillion eyecarenow.com] > Sent: Friday, October 24, 2003 1:35 PM > To: nagios-users lists.sourceforge.net > > I am sure this is a RTFM problem, but I couldn't find it in the docs. > If someone can point me in the right direction, I'd appreciate it. > > And I did search the archives... or tried to, with no hits. > > I am running Nagios (newest version, downloaded yesterday) and have it > up and running. > > I have the plugins, also newest version, and they are working correctly. > > I am getting updated status on all of the hosts I configured, I have > services set up, and I have created hostgroups for my hosts. I set all > contacts, and I have Nagios starting correctly, except... > > When I go to the web interface, I cannot execute commands, and the > Process Info page has the error message, "Could not locate a running > Nagios process!". However, the process is located in the box, and has > the correct PID and running time. > > Can anyone point me in the right direction? I am having a similar problem... Nagios is compiled and running with database support / nagmin, and all processes are running correctly, but when nagios starts, the files nagios.cmd and status.log are not created. status_file=/usr/local/nagios/var/status.log command_file=/usr/local/nagios/var/rw/nagios.cmd [root at nagios nagios]# ls -al total 32 drwxrwxr-x 8 nagios nagios 4096 Oct 24 09:39 . drwxr-xr-x 15 root root 4096 Oct 23 14:27 .. drwxrwxr-x 2 nagios nagios 4096 Oct 23 14:10 bin drwxrwxr-x 3 nagios nagios 4096 Oct 24 21:46 etc drwxr-xr-x 2 root root 4096 Oct 24 21:31 libexec drwxrwxr-x 2 nagios nagios 4096 Oct 23 14:10 sbin drwxrwxr-x 8 nagios nagios 4096 Oct 23 15:08 share drwxrw-rw- 4 nagios nagios 4096 Oct 24 21:36 var drwxrwxr-x 2 nagios nagios 4096 Oct 24 21:36 rw [root at nagios nagios]# ps -ef | grep nagios nagios 6805 1 0 21:36 ? 00:00:00 [nagios] root 8058 31784 0 21:49 pts/2 00:00:00 grep nagios nagios_check_command=/usr/local/nagios/libexec/check_nagios -F ~ /usr/local/nagios/var/status.log -e 5 -C 'nagios' Error: Cannot open status log for reading! When I create the log manually, and give permissions, the Process Status Information returns the correct data: [root at nagios nagios]# touch /usr/local/nagios/var/status.log [root at nagios nagios]# chown nagios /usr/local/nagios/var/status.log [root at nagios nagios]# /usr/local/nagios/libexec/check_nagios -F ~ /usr/local/nagios/var/status.log -e 5 -C 'nagios' Nagios problem: located 1 process, status log updated 1067046914 ~ seconds ago The status data is going into the database, but the CGIs are all configured for database support; why is the status.log file still necessary? Sorry about the extended post, but I'm out of ideas. -Vincent --__--__-- Message: 5 From: "Tsugranes, Vincent" To: "'nagios-users at lists.sourceforge.net'" Date: Fri, 24 Oct 2003 22:12:20 -0400 Subject: [Nagios-users] RE: "Could not locate a running Nagios process!" > -----Original Message----- > From: David Gomillion [mailto:dgomillion eyecarenow.com] > Sent: Friday, October 24, 2003 1:35 PM > To: nagios-users lists.sourceforge.net > > I am sure this is a RTFM problem, but I couldn't find it in the docs. > If someone can point me in the right direction, I'd appreciate it. > > And I did search the archives... or tried to, with no hits. > > I am running Nagios (newest version, downloaded yesterday) and have it > up and running. > > I have the plugins, also newest version, and they are working correctly. > > I am getting updated status on all of the hosts I configured, I have > services set up, and I have created hostgroups for my hosts. I set all > contacts, and I have Nagios starting correctly, except... > > When I go to the web interface, I cannot execute commands, and the > Process Info page has the error message, "Could not locate a running > Nagios process!". However, the process is located in the box, and has > the correct PID and running time. > > Can anyone point me in the right direction? I am having a similar problem... Nagios is compiled and running with database support / nagmin, and all processes are running correctly, but when nagios starts, the files nagios.cmd and status.log are not created. status_file=/usr/local/nagios/var/status.log command_file=/usr/local/nagios/var/rw/nagios.cmd [root at nagios nagios]# ls -al total 32 drwxrwxr-x 8 nagios nagios 4096 Oct 24 09:39 . drwxr-xr-x 15 root root 4096 Oct 23 14:27 .. drwxrwxr-x 2 nagios nagios 4096 Oct 23 14:10 bin drwxrwxr-x 3 nagios nagios 4096 Oct 24 21:46 etc drwxr-xr-x 2 root root 4096 Oct 24 21:31 libexec drwxrwxr-x 2 nagios nagios 4096 Oct 23 14:10 sbin drwxrwxr-x 8 nagios nagios 4096 Oct 23 15:08 share drwxrw-rw- 4 nagios nagios 4096 Oct 24 21:36 var drwxrwxr-x 2 nagios nagios 4096 Oct 24 21:36 rw [root at nagios nagios]# ps -ef | grep nagios nagios 6805 1 0 21:36 ? 00:00:00 [nagios] root 8058 31784 0 21:49 pts/2 00:00:00 grep nagios nagios_check_command=/usr/local/nagios/libexec/check_nagios -F ~ /usr/local/nagios/var/status.log -e 5 -C 'nagios' Error: Cannot open status log for reading! When I create the log manually, and give permissions, the Process Status Information returns the correct data: [root at nagios nagios]# touch /usr/local/nagios/var/status.log [root at nagios nagios]# chown nagios /usr/local/nagios/var/status.log [root at nagios nagios]# /usr/local/nagios/libexec/check_nagios -F ~ /usr/local/nagios/var/status.log -e 5 -C 'nagios' Nagios problem: located 1 process, status log updated 1067046914 ~ seconds ago The status data is going into the database, but the CGIs are all configured for database support; why is the status.log file still necessary? Sorry about the extended post, but I'm out of ideas. -Vincent --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 17858 bytes Desc: not available URL: From eduardo.moura at telway.com.br Sun Oct 26 13:15:39 2003 From: eduardo.moura at telway.com.br (Eduardo Moura) Date: Sun, 26 Oct 2003 10:15:39 -0200 Subject: Multiple status map views Message-ID: <000b01c39bba$df0672f0$1a36b0c8@telwayhome> Hi everybody! We are starting to use nagios to take care of a 1200 objects network. Here is the problem: We have one team who have responsability for intel and risc world (servers) and another wich take care of networks (routers, switches and so on), the status map view become very polluted with all objects bringing problems to managing down objects. Can anybody have a hint to create separate views in nagios to acomodate servers and network devices? best regards Eduardo Moura -------------- next part -------------- An HTML attachment was scrubbed... URL: From monkey at raindog2.no-ip.org Sun Oct 26 18:56:34 2003 From: monkey at raindog2.no-ip.org (Scott) Date: Sun, 26 Oct 2003 09:56:34 -0800 Subject: Statusmap not showing images References: Message-ID: <000901c39bea$7edf45c0$0900a8c0@cloverpoint> I found out what caused the error. Me. ; ) Nagios was compiled with mysql support and I failed to notice the table dealing with extended host information (hostextinfo). After it was populated all the nice images appeared. Thanks for your help David. ----- Original Message ----- From: "David Olbersen" Then Nagios probably isn't picking up the extended host information at all. ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sfque at goslbd.com Sun Oct 26 19:59:41 2003 From: sfque at goslbd.com (Syed Faruque Ahmed) Date: Mon, 27 Oct 2003 00:59:41 +0600 Subject: Problems in archiving log files Message-ID: <5.1.1.6.0.20031027005026.021ee6e0@sslpop.global-bd.net> Hello List, We are using Nagios 1.0 on FreeBSD. We set the log rotation for nagios.log to daily. It was working fine for a few months now, but last few days the archiving doesn't seem to be working correctly. Instead of archiving the log file before it gets "rotated", nagios seems to be archiving the log file after it gets rotated; i.e. instead of containing the last 24 hour log, the archived log file contains only one line, [1067191200] LOG ROTATION: DAILY which is the first line in the "new" log file. One hint is that the currently the log file has been getting pretty big, about 600KB. It did not seem to have the problem when the log file was under 300KB. Any help on this would be appreciated. Thanks in advance Faruque From tskyers at foxroach.com Sun Oct 26 21:49:59 2003 From: tskyers at foxroach.com (Tory Skyers) Date: Sun, 26 Oct 2003 15:49:59 -0500 Subject: Unable to view Trends and availability for particular services Message-ID: When I try to look at "trends for a service" I get 100% indeterminiate. When only a few days ago I got what I was looking for. Also in the availability section of reports I get some services which show 100% time undeterminied. What would be causing this? I only have one service defined and applied to all hosts, why would it be behaving differently for different hosts? I have included a small example: Center_City-1800_Rittenhouse Ping 0.000% (0.000%)0.000% (0.000%)0.000% (0.000%)0.000% (0.000%)100.000% Center_City-210_Rittenhouse Ping 30.096% (99.835%)0.050% (0.165%)0.000% (0.000%)0.000% (0.000%)69.854% How can I fix this? Tory Skyers Network Administrator Prudential Fox & Roach 610-993-1327 tskyers at foxroach.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Parker at beacon.com.au Mon Oct 27 03:43:10 2003 From: Mark.Parker at beacon.com.au (Mark Parker) Date: Mon, 27 Oct 2003 10:43:10 +0800 Subject: Simultaneous Host Up/Down events Message-ID: <625D3E3C37F378439E59202BA15ADBD201B5CC@opal.beacon.com.au> Hi, Can anyone shed some light on how it would be possible for Nagios to report a Host UP event and a Host Down event at precisely the same time, down to the second? When I view the history logs it shows the two events occurred at the exact same time, although the Host Down is the first entry in the log file. This presented an issue for us, as we received a host down alert, and with no subsequent Host Up notification manual intervention was required, despite the host being fine. Has anyone any insight into a probable cause for this, and why the Host Up notification was not sent, when the Host Down was. Thanks in advance Mark Parker ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aknipmeyer at looksmart.net Mon Oct 27 06:50:34 2003 From: aknipmeyer at looksmart.net (Alan Knipmeyer) Date: 27 Oct 2003 16:50:34 +1100 Subject: submit Message-ID: <1067233834.1924.3.camel@smelbak01.looksmart.com.au> submit -- aknipmeyer at looksmart.net | Systems Architect Level 5/388 Lonsdale Street,Melbourne,Victoria, 3000 Australia Phone 03 9648 2200 Fax 03 9648 2244 ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jkinred at tycoint.com Mon Oct 27 06:11:01 2003 From: jkinred at tycoint.com (Jon Kinred) Date: Mon, 27 Oct 2003 16:11:01 +1100 Subject: Passing arguments from check_nrpe Message-ID: <3F9CA8E5.7090006@tycoint.com> Hi, Is it possible to pass arguments from check_nrpe to the nrpe daemon running on the client? I would like to pass the name of a process to the check_nrpe command rather than defining multiple almost identical commands on the client. Jon ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ttanaka at naisis.co.jp Mon Oct 27 10:14:49 2003 From: ttanaka at naisis.co.jp (=?ISO-2022-JP?B?GyRCRURDZiEhPVM5VBsoQg==?=) Date: Mon, 27 Oct 2003 18:14:49 +0900 Subject: Mail configuration use Another Mail Server Message-ID: <20031027165736.8589.TTANAKA@naisis.co.jp> Hi,all This is my problem. I don't know how to config "??.cfg"file. I want to know configuration to be able send mail outer network. My Server Environment is -- Nagios Installed Server 192.168.1.1 Mail server 192.168.1.2 (qmail installed mail server) I want to send mail from 192.168.1.2 to Outer network (for security reasons) but I can't! In this case, Need to Use NFS? (like 192.168.1.2:/var/qmail/bin/qmail-inject) Or Other Configuration exist? (good code of misccommand.cfg?) Please give me advice to solve my problem. What cfg file I should edit??? -- Toshiyuiki Tanaka (JP-Osaka) ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.garrett at shell.com Mon Oct 27 13:08:29 2003 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITDIEEE) Date: Mon, 27 Oct 2003 12:08:29 -0000 Subject: Passing arguments from check_nrpe Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D5B51E3B@abe-s-039.europe.shell.com> Jon Assuming you are using nrpe version 2.0 When you do configure add the following switch. --enable-command-args You will need to recompile. Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom > -----Original Message----- > From: Jon Kinred [mailto:jkinred at tycoint.com] > Sent: 27 October 2003 05:11 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Passing arguments from check_nrpe > > > Hi, > > Is it possible to pass arguments from check_nrpe to the nrpe daemon > running on the client? I would like to pass the name of a > process to the > check_nrpe command rather than defining multiple almost identical > commands on the client. > > Jon > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. > Do you like what SourceForge.net is doing for the Open > Source Community? Make a contribution, and help us add new > features and functionality. Click here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cgill at NewWorldApps.com Mon Oct 27 16:14:09 2003 From: cgill at NewWorldApps.com (Chris Gill) Date: Mon, 27 Oct 2003 10:14:09 -0500 Subject: Different paging for different levels Message-ID: <48F26311AF9C9943926CA0CD204BC214E1300C@nwa-srv-01.newworldapps.com> David and others who've responded: I'm going to go ahead and give multiple contacts a shot, and play with the notification_options for the contacts to prevent certain contacts from getting certian kinds of pages. Will this get around the issue Anthony mentioned, where a Warning->Critical state change doesn't get detected, or is that just a fundamental limitation of the software at this point? ----------------------------------------------------------------- Christopher P. Gill, Systems Engineer, New World Apps cgill at newworldapps.com 703-856-7268 (Cell/Business) -----Original Message----- From: David Olbersen [mailto:DOlbersen at stbernard.com] Sent: Friday, October 24, 2003 12:18 PM To: Chris Gill; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Different paging for different levels Chris Gill wrote: > Hi all, > We've moved to Nagios here over the last few months, and things have > been going swimingly. There's one question, though, that's cropped up that I > can't seem to figure out. Is there a way to send different types of alerts > based on severity. IE: send warning alerts by e-mail, and critical alerts by > pager. The only way I've seen to do this is to set up two contacts for each > user (bob-email, bob-pager). This seems inordinately clunky, though. Is > there a better way to do it? Chris, I've found myself in the same situation. What I decided to do was create a template for email & pager contacts. Since I have multiple contacts I can define email contacts or pager contacts or both for each user, depending on their situation. Simply inheriting from the correct template was all I did. Have you thought about this? Are there flaws with it? -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Mon Oct 27 16:21:23 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 27 Oct 2003 09:21:23 -0600 Subject: Simultaneous Host Up/Down events In-Reply-To: <625D3E3C37F378439E59202BA15ADBD201B5CC@opal.beacon.com.au> References: <625D3E3C37F378439E59202BA15ADBD201B5CC@opal.beacon.com.au> Message-ID: <1067268082.32045.5.camel@localhost> Can you verify that you're not accidentally running two nagios daemons at the same time? I had similar craziness when I tried to do a 'restart' with the rc script (found out it didn't like that very much and would often spawn a second daemon before the first daemon was gone and leave the first one running alongside the new one...bad. Now I am sure to use the web interface for restarts...can use the rc script for stops and starts, though) On Sun, 2003-10-26 at 20:43, Mark Parker wrote: > Hi, > > Can anyone shed some light on how it would be possible for Nagios to report a Host UP event and a Host Down event at precisely the same time, down to the second? > > When I view the history logs it shows the two events occurred at the exact same time, although the Host Down is the first entry in the log file. > > This presented an issue for us, as we received a host down alert, and with no subsequent Host Up notification manual intervention was required, despite the host being fine. > > Has anyone any insight into a probable cause for this, and why the Host Up notification was not sent, when the Host Down was. > > Thanks in advance > > Mark Parker > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. > Do you like what SourceForge.net is doing for the Open > Source Community? Make a contribution, and help us add new > features and functionality. Click here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Oct 27 16:32:05 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 27 Oct 2003 09:32:05 -0600 Subject: Mail configuration use Another Mail Server Message-ID: This is more a function of your operating system than Nagios -- http://www.nagios.org/faqs/viewfaq.php?faq_id=150&expand=false&showdesc= true -- Marc > -----Original Message----- > From: ttanaka at naisis.co.jp [mailto:ttanaka at naisis.co.jp] > Sent: Monday, October 27, 2003 3:15 AM > To: nagios-users at lists.sourceforge.net > > Hi,all > > This is my problem. > I don't know how to config "??.cfg"file. > I want to know configuration to be able send mail outer network. > > My Server Environment is -- > Nagios Installed Server 192.168.1.1 > Mail server 192.168.1.2 > (qmail installed mail server) > > I want to send mail from 192.168.1.2 to Outer network > (for security reasons) > but I can't! > > > In this case, Need to Use NFS? > (like 192.168.1.2:/var/qmail/bin/qmail-inject) > Or Other Configuration exist? > (good code of misccommand.cfg?) > > > Please give me advice to solve my problem. > What cfg file I should edit??? > > -- > Toshiyuiki Tanaka > (JP-Osaka) > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. > Do you like what SourceForge.net is doing for the Open > Source Community? Make a contribution, and help us add new > features and functionality. Click here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ykorff at cigital.com Mon Oct 27 16:30:58 2003 From: ykorff at cigital.com (Yanek Korff) Date: Mon, 27 Oct 2003 10:30:58 -0500 Subject: FW: [Nagiosplug-help] check_disk problems Message-ID: <9B05A21842F77F41ABFB3153FC93201D139765@va-mail.cigital.com> Well I'm not using -e, I just have different lines in my nrpe.cfg for each filesystem I want checked since I want to indpendently specify warning and critical levels on a filesystem-by-filesystem basis. In any case, out of curiosity I looked at the check_disk function today... looks like under ideal circumstances: if (disk_result==STATE_OK && erronly && !verbose) continue; This if statement results in the following line not executing: result = max_state (result, disk_result); Which means result retains its initialized value of STATE_UNKNOWN, so later it errors out. I'd contact whomever wrote this, or perhaps just place a copy of the result-assigning line in the aforementioned if statement and rebuild check_disk. I just confirmed this seems to work okay -- for your sanity you may want to use the -m option. -Yanek. > -----Original Message----- > From: David Olbersen [mailto:DOlbersen at stbernard.com] > Sent: Friday, October 24, 2003 11:33 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] FW: [Nagiosplug-help] check_disk problems > > > David Olbersen wrote: > > > Hello all! > > > > I have a problem with check_disk on FreeBSD. > > > > I happen to have FreeBSD 3, 4, and 5 machines, they all > show the same problem: > > > > running `check_disk -e -w 10% -c 5%` I get: > > Unable to read output > > /bin/df > > > > > > If I take out the -e the error goes away, but I get back > MUCH more output > > than I wanted. I don't expect I've misconfigured something, > is this a known > > bug? > > > > This is check_disk out of the nagios-plugins-1.3.1 FreeBSD > port and nagios > > v1.1. > > This didn't get much (any) attention on nagiosplug-help, can > anybody in nagios-users help me out? > > -- > David Olbersen > iGuard Engineer > St. Bernard Software > 15015 Avenue of Sciences > San Diego, CA 92127 > x2152 > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. > Do you like what SourceForge.net is doing for the Open > Source Community? Make a contribution, and help us add new > features and functionality. Click here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 electronic message transmission contains information that may be confidential or privileged. The information contained herein is intended solely for the recipient and use by any other party is not authorized. If you are not the intended recipient (or otherwise authorized to receive this message by the intended recipient), any disclosure, copying, distribution or use of the contents of the information is prohibited. If you have received this electronic message transmission in error, please contact the sender by reply email and delete all copies of this message. Cigital, Inc. accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or its contents. Thank You. ---------------------------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Oct 27 19:00:56 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 27 Oct 2003 12:00:56 -0600 Subject: check_ircd woes Message-ID: > -----Original Message----- > From: Lance Albertson [mailto:ramereth at gentoo.org] > Sent: Friday, October 24, 2003 4:53 PM > To: nagios-users at lists.sourceforge.net > > On Fri, 2003-10-24 at 16:44, Marc Powell wrote: > > Well, I would suggest modifying the service definition by dropping the > > hostgroup_name line and replacing it with a single host_name line as a > > test. Maybe it's something wacky with the expansion of the > > hostgroup_name. > > I do that and I get this. I even added -w 50 -c 100 to the command > definition. > > Invalid warning threshold: -H=209.248.79.90 Looking at the code, I see where it prints out the Invalid warning threshold error message, but I can't for the life of me figure out how it's possible for it to print out as above. In any event, something is decidedly wrong and I'm willing to bet it's not nagios' substitution of $HOSTADDRESS$ because of the jumbling of command line options. Back to basics - - Stop nagios and kill any processes that may remain (I'm thinking there might be some because of the intermittent behavior you mention below). - Continue to use the single host instead of hostgroup for now. - Start nagios and see if the behavior continues. - If so, try adding some debugging to check_ircd as below to make sure you're getting passed what you think you're getting passed -- [root at gemini libexec]# diff -C 5 check_ircd check_test *** check_ircd Thu Aug 15 16:52:33 2002 --- check_test Mon Oct 27 11:54:24 2003 *************** *** 192,201 **** --- 192,205 ---- if ($opt_V) { print_revision($PROGNAME,'$Revision: 1.3 $ '); exit $ERRORS{'OK'}; } + + print "Host: $opt_H, warning: $opt_w, critical: $opt_c"; + exit $ERRORS{'OK'}; + if ($opt_h) {print_help(); exit $ERRORS{'OK'};} ($opt_H) || ($opt_H = shift) || usage("Host name/address not specified\n"); my $remotehost = $1 if ($opt_H =~ /([-.A-Za-z0-9]+)/); ($remotehost) || usage("Invalid host: $opt_H\n"); - Worst case, try retyping the command definition... Maybe there's some weird control characters you can't see that are confusing the plugin. Not likley but not out of the realm of possibility. You'll need to restart nagios again, of course. -- Marc > > And to verify what I have in checkcommands.cfg: > > define command { > command_name check_ircd > command_line $USER1$/check_ircd -H $HOSTADDRESS$ -w 50 -c 100 > } > > I've also tried other combinations of the command definition using -w > $ARG1$ -c $ARG2$. I even changed the order of the commands, still with > no luck. Sometimes it'll say the same error, but instead of -H its -w. > It's really strange... > > > If that works, (or if it doesn't) also include the host and hostgroup > > definitions. > > Here's the host definition for the host I tried: > > define host { > use generic-host > host_name us.co > alias us.co.nixhelp.org > address 209.248.79.90 > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,r > } ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eblumenau at techtvcorp.com Mon Oct 27 19:02:19 2003 From: eblumenau at techtvcorp.com (Eric Blumenau) Date: Mon, 27 Oct 2003 10:02:19 -0800 Subject: nrpe and logging Message-ID: <3F9D5DAB.4050602@techtvcorp.com> Hello all, I'm getting tons of entries for NRPE in my authentication log. Is there a way to turn off NRPE logging on the client via nrpe.cfg? I've read the README that comes with the source. I've read through the sample nrpe.cfg that comes with the source. I've googled and google-grouped for this. I've searched the list archives. No dice. This is probably a straight-forward configuration entry, but I'll summarize if I get an answer or two. Thanks, Eric ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From astamand at ati.com Mon Oct 27 17:38:51 2003 From: astamand at ati.com (Alex St. Amand) Date: Mon, 27 Oct 2003 11:38:51 -0500 Subject: check_wins Message-ID: <54CC136E5398384485619BC34B3A0F0B011610A7@ma00exh02.ma.atitech.com> Hello, Has anyone had any luck with the check_wins plug-in? I can get it to work fine from the command line but running it through nagios results in a "no output" and critical flag. I am thinking it is not picking up the exit code properly? Thanks for any help. Alex St. Amand Information Technology ATI Research, Inc. 62 Forest Street Marlborough, MA 01752 astamand at ati.com (508) 263-4843 -------------- next part -------------- An HTML attachment was scrubbed... URL: From td3201 at yahoo.com Mon Oct 27 17:39:42 2003 From: td3201 at yahoo.com (Terry) Date: Mon, 27 Oct 2003 08:39:42 -0800 (PST) Subject: Fwd: notification not being sent Message-ID: <20031027163942.13247.qmail@web60305.mail.yahoo.com> Hello, I never heard a response on this. I am still seeing the same problems. Can someone take a peek at the below configs and see if I have something horked up? Thanks! --- Terry wrote: > From: Terry > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notification not being sent > Date: Wed, 22 Oct 2003 07:53:08 -0700 (PDT) > > Hello, > > Here is the service config: > define service{ > use > generic-service > host_name foobar01 > service_description > SLS-Non-Maintenence > is_volatile 0 > check_period > nonmaintenence > max_check_attempts 1 > contact_groups > warning,critical > notification_interval 5 > notification_period > nonmaintenence > notification_options w,u,c,r > check_command > check_sls!foobar > } > > Here is the timeperiod config: > define timeperiod{ > timeperiod_name nonmaintenence > alias Non-Maintenence Period > sunday 00:00-01:00,04:30-24:00 > monday 00:00-01:00,04:30-24:00 > tuesday 00:00-01:00,04:30-24:00 > wednesday 00:00-01:00,04:30-24:00 > thursday 00:00-01:00,04:30-24:00 > friday 00:00-01:00,04:30-24:00 > saturday 00:00-01:00,04:30-24:00 > } > > Here is the log entry of a service being checked: > [2003-10-22 04:30:25] SERVICE ALERT: > foobar01;SLS-Non-Maintenence;CRITICAL;HARD;1;CRITICAL. > foobar is down! > > Based on this, I should be getting a notification > that > this service was down, correct? > > Thanks! > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > http://sitebuilder.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer > relations > Here's your chance to show off your extensive > product knowledge > We want to know what you know. Tell us and you have > a chance to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null ===== Terry __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Oct 27 17:54:56 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 27 Oct 2003 10:54:56 -0600 Subject: check_wins Message-ID: Is there anything in your nagios.log file? Can you execute the plugin as the nagios user from the command line (not as root). It looks like it depends on /usr/bin/nmblookup. Is that executable by the nagios user as well? Typically when I've seen something like this it's because some dependent program or file isn't accessible by the nagios user due to permission issues. -- Marc ________________________________________ From: Alex St. Amand [mailto:astamand at ati.com] Sent: Monday, October 27, 2003 10:39 AM To: 'nagios-users at lists.sourceforge.net' Hello, Has anyone had any luck with the check_wins plug-in? I can get it to work fine from the command line but running it through nagios results in a "no output" and critical flag. I am thinking it is not picking up the exit code properly? ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeff.Engstrom at fortix.net Mon Oct 27 18:11:43 2003 From: Jeff.Engstrom at fortix.net (Jeff Engstrom) Date: Mon, 27 Oct 2003 09:11:43 -0800 Subject: Failover - Master Process Check Message-ID: <6DC8CB0C5A67744EB3D89E41BC429F95A5C6EE@fortix-exchange.fortix-office.com> I have reached a point where my knowledge is lacking and my hope is that some of you kind folks can help me. In a failover configuration the instructions call for a cron job to be setup and call a script to check the master host. The exact instructions are here... "Set up a cron job on the slave host that periodically (say every minute) runs a script that checks the status of the Nagios process on the master host (using the check_nrpe plug-in on the slave host and the nrpe daemon and check_nagios plug-in on the master host). The script should check the return code of the check_nrpe plug-in . If it returns a non-OK state, the script should send the appropriate commands to the external command file to enable both notifications and active service checks. If the plug-in returns an OK state, the script should send commands to the external command file to disable both notifications and active checks. " My scripting ability is not up to par these days. Does anyone have a script I might be able to use? Thanks in advance for any help!! -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From fredreimers at comcast.net Mon Oct 27 20:54:51 2003 From: fredreimers at comcast.net (Fred Reimers) Date: Mon, 27 Oct 2003 14:54:51 -0500 Subject: [Nagmin-users] adding extra tables to NagMIN In-Reply-To: <16260.34370.725701.607755@montanaro.dyndns.org> References: <16260.34370.725701.607755@montanaro.dyndns.org> Message-ID: <000301c39cc4$2fc616a0$6401a8c0@nanner> Skip, If you add a field to a NagMIN table, NagMIN will automatically write any additional fields from the table to the configuration file. I did this on purpose in case anyone wanted to add a real Nagios field to a table where I've left it out. That's why the logic seems backwards. However, new tables won't create anything useful, so the patch you've submitted makes a lot of sense. The other routine where extra tables get special treatment is in "view_tables.cgi". There's a section where NagMIN decides where to display the tables. I split it out between Nagios DB and NagMIN DB tables. Extra tables won't be displayed unless they're added to one of the lists. What does "keyed by the ." mean?? Another option for your engineer info would be add phone number fields to the contact information table and then ask NagMIN to ignore those fields in nagios_write. I was thinking of doing this anyway, but there are so many applications with contact information that's never used, I'd didn't want to create yet another place to store name/address/phone number. (I'm waiting to be asked for my zip code or phone number when buying a 1/4 Pounder pretty soon.) Let me know if adding phone information to the Contact table would be helpful to you and I'll include the fields. Fred -----Original Message----- From: nagmin-users-admin at lists.sourceforge.net [mailto:nagmin-users-admin at lists.sourceforge.net] On Behalf Of Skip Montanaro Sent: Wednesday, October 08, 2003 5:49 PM To: nagios-users at lists.sourceforge.net; nagmin-users at lists.sourceforge.net Subject: [Nagmin-users] adding extra tables to NagMIN I have auxiliary info about our system engineers (home, work, cell phones) which I want to store in a separate NagMIN table keyed by the . I figured NagMIN would just ignore my system_engineers table, but I was mistaken: Activate Nagios Configuration SQL select * from `system_engineers` order by system_engineers_name failed : Looking at the source for nagios_write.cgi I saw: for ($i=0;$i<@titles;$i++) { my $ok=1; if ($titles[$i] eq "PortScan") { $ok=0; } if ($titles[$i] eq "ServiceGroup") { $ok=0; } if ($titles[$i] eq "System") { $ok=0; } if ($ok) { push(@nagios_tables,$titles[$i]); } } which seemed backwards to me. Instead of excluding certain tables I think it should explicitly mention the tables it's interested in. I submitted a patch to the NagMIN project: http://sourceforge.net/tracker/index.php?func=detail&aid=820273&group_id =77010&atid=548908 which solves the problem I encountered. Is anyone aware of other places where NagMIN excludes tables instead of specifically including the ones it needs? Thx, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Nagmin-users mailing list Nagmin-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagmin-users ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ejl at man.fwltech.com Mon Oct 27 18:44:59 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Mon, 27 Oct 2003 17:44:59 -0000 Subject: check_wins Message-ID: <1012BD903945D411915500105A48FF5701C739C7@nt.man.fwltech.com> I've not got the wins plugin installed to check, but the easiest way to check this is type "echo $?" after you run it from the command line. 0 means ok, 1 warning, 2 critical. If you don't get a response of one of those 3 numbers then it's exiting with the wrong code. Ewan -----Original Message----- From: Alex St. Amand [mailto:astamand at ati.com] Sent: 27 October 2003 16:39 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] check_wins Hello, Has anyone had any luck with the check_wins plug-in? I can get it to work fine from the command line but running it through nagios results in a "no output" and critical flag. I am thinking it is not picking up the exit code properly? Thanks for any help. Alex St. Amand Information Technology ATI Research, Inc. 62 Forest Street Marlborough, MA 01752 astamand at ati.com (508) 263-4843 ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PFraser at LeapFrog.com Mon Oct 27 21:55:08 2003 From: PFraser at LeapFrog.com (Paulo Fraser) Date: Mon, 27 Oct 2003 12:55:08 -0800 Subject: semicolon in check command Message-ID: <91F5F0B08F271B4EBA56C69BC40B6459024DF4@emw2kml05.leapfrog.local> I am trying to use a semicolon as part of a URL in a check command and it is not being accepted by Nagios. One the command line, the following command works great: # /usr/lib/nagios/plugins/check_http -H web -u "/acp-servlet/LinkServlet;jsessionid=bogus.acp2_tomcat1?type=DOWNLOAD&packag eID=300-4" -s Math I get the following: HTTP ok: HTTP/1.1 200 OK - 0.138 second response time |time= 0.138 However, when I try to create a service using this plugin it fails because of the semicolon. I have defined a command using the check_http plugin in checkcommands.cfg: # 'check_content' command definition define command{ command_name check_content command_line $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$ -s $ARG2$ } In my services.cfg I then have the following definition: check_command check_content!"/acp-servlet/LeapLinkServlet;jsessionid=bogus.acp2_tomcat1?ty pe=DOWNLOAD&packageID=300-4"!Math However, Nagios seems to be truncating everything at the semicolon. When I use View Config in the web interface and view the Services it shows: check_content!"/acp-servlet/LeapLinkServlet I tried escaping the semicolon with a backslash ( \; ) but that didn't work. Has anyone ever had to monitor a URL with a semicolon, is there someway to do this? Any help or suggestions would be appreciated? PS - Now that I'm a member of this list is there a way to see the email addresses in the mailing list archives? I found a post with a similar problem to mine by someone named Jamin back in January of 2003, but I can't email him, since the email address is hidden. -- Paulo Fraser Senior Systems Administrator Leapfrog Enterprises, Inc. (510) 420-5374 ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Mon Oct 27 23:37:59 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 27 Oct 2003 16:37:59 -0600 Subject: semicolon in check command In-Reply-To: <91F5F0B08F271B4EBA56C69BC40B6459024DF4@emw2kml05.leapfrog.local> References: <91F5F0B08F271B4EBA56C69BC40B6459024DF4@emw2kml05.leapfrog.local> Message-ID: <1067294279.32045.43.camel@localhost> Why not just write a wrapper that does the multiple commands? On Mon, 2003-10-27 at 14:55, Paulo Fraser wrote: > I am trying to use a semicolon as part of a URL in a check command and it is > not being accepted by Nagios. One the command line, the following command > works great: > > # /usr/lib/nagios/plugins/check_http -H web -u > "/acp-servlet/LinkServlet;jsessionid=bogus.acp2_tomcat1?type=DOWNLOAD&packag > eID=300-4" -s Math > > I get the following: > HTTP ok: HTTP/1.1 200 OK - 0.138 second response time |time= 0.138 > > However, when I try to create a service using this plugin it fails because > of the semicolon. I have defined a command using the check_http plugin in > checkcommands.cfg: > > # 'check_content' command definition > define command{ > command_name check_content > command_line $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$ -s > $ARG2$ > } > > In my services.cfg I then have the following definition: > > check_command > check_content!"/acp-servlet/LeapLinkServlet;jsessionid=bogus.acp2_tomcat1?ty > pe=DOWNLOAD&packageID=300-4"!Math > > However, Nagios seems to be truncating everything at the semicolon. When I > use View Config in the web interface and view the Services it shows: > > check_content!"/acp-servlet/LeapLinkServlet > > I tried escaping the semicolon with a backslash ( \; ) but that didn't work. > Has anyone ever had to monitor a URL with a semicolon, is there someway to > do this? > > Any help or suggestions would be appreciated? > > PS - Now that I'm a member of this list is there a way to see the email > addresses in the mailing list archives? I found a post with a similar > problem to mine by someone named Jamin back in January of 2003, but I can't > email him, since the email address is hidden. > > -- > Paulo Fraser > Senior Systems Administrator > Leapfrog Enterprises, Inc. > (510) 420-5374 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. > Do you like what SourceForge.net is doing for the Open > Source Community? Make a contribution, and help us add new > features and functionality. Click here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Mon Oct 27 23:43:49 2003 From: skip at pobox.com (Skip Montanaro) Date: Mon, 27 Oct 2003 16:43:49 -0600 Subject: [Nagmin-users] NagMIN Question In-Reply-To: <000001c39828$8eaad520$6401a8c0@nanner> References: <516DA7BE5D87C8469D89F150CA0B491102CDF81F@PDAWB02C.ad.sprint.com> <000001c39828$8eaad520$6401a8c0@nanner> Message-ID: <16285.40869.26393.435752@montanaro.dyndns.org> Fred> I love Nagios but my concern has been, and is, that it's too Fred> focused on continuing to modify different ways of configuring it Fred> from flat files. Conversely, using NagMIN to add information for several machines at a time can be tedious. ;-) My biggest feature request would be to allow the NagMIN database to be locked (as far as the NagMIN user interface is concerned). This allows me to dump the database to flat files and make large-scale changes by safely editing the SQL file. Right now I just dump the database, make my edits, then reload the database, all the while praying that one of the other system engineers doesn't get adventurous and choose that moment to try NagMIN themselves (so far they just ask me to make changes). -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ferlatte at cryptio.net Tue Oct 28 00:00:41 2003 From: ferlatte at cryptio.net (Mark Ferlatte) Date: Mon, 27 Oct 2003 15:00:41 -0800 Subject: semicolon in check command In-Reply-To: <1067294279.32045.43.camel@localhost> References: <91F5F0B08F271B4EBA56C69BC40B6459024DF4@emw2kml05.leapfrog.local> <1067294279.32045.43.camel@localhost> Message-ID: <20031027230041.GE89206@radix.cryptio.net> jeff vier said on Mon, Oct 27, 2003 at 04:37:59PM -0600: > Why not just write a wrapper that does the multiple commands? Or URI escape the semi-colon? check_content!"/acp-servlet/LeapLinkServlet%3bjsessionid=bogus..." M -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From jfitzhug at macromedia.com Tue Oct 28 02:04:22 2003 From: jfitzhug at macromedia.com (Justin Fitzhugh) Date: Mon, 27 Oct 2003 17:04:22 -0800 Subject: Multiple parent nodes Message-ID: Hello, I am wondering if the following setup is possible: I would like a node to have 2 parents, and only have that node deemed unreachable if _both_ parents are down. This comes into play when I have a redundant router pair and there is only a network blockage when both routers are down. Is this possible? How have others done this? Thanks, -Justin ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 05:25:32 2003 From: teng at dataway.com (Tedman Eng) Date: Mon, 27 Oct 2003 20:25:32 -0800 Subject: semicolon in check command References: <91F5F0B08F271B4EBA56C69BC40B6459024DF4@emw2kml05.leapfrog.local> Message-ID: Try escaping with $ ($; ) instead of backslash ( \; ) "Paulo Fraser" wrote in message news:91F5F0B08F271B4EBA56C69BC40B6459024DF4 at emw2kml05.leapfrog.local... > I am trying to use a semicolon as part of a URL in a check command and it is > not being accepted by Nagios. One the command line, the following command > works great: > > # /usr/lib/nagios/plugins/check_http -H web -u > "/acp-servlet/LinkServlet;jsessionid=bogus.acp2_tomcat1?type=DOWNLOAD&packag > eID=300-4" -s Math > > I get the following: > HTTP ok: HTTP/1.1 200 OK - 0.138 second response time |time= 0.138 > > However, when I try to create a service using this plugin it fails because > of the semicolon. I have defined a command using the check_http plugin in > checkcommands.cfg: > > # 'check_content' command definition > define command{ > command_name check_content > command_line $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$ -s > $ARG2$ > } > > In my services.cfg I then have the following definition: > > check_command > check_content!"/acp-servlet/LeapLinkServlet;jsessionid=bogus.acp2_tomcat1?ty > pe=DOWNLOAD&packageID=300-4"!Math > > However, Nagios seems to be truncating everything at the semicolon. When I > use View Config in the web interface and view the Services it shows: > > check_content!"/acp-servlet/LeapLinkServlet > > I tried escaping the semicolon with a backslash ( \; ) but that didn't work. > Has anyone ever had to monitor a URL with a semicolon, is there someway to > do this? > > Any help or suggestions would be appreciated? > > PS - Now that I'm a member of this list is there a way to see the email > addresses in the mailing list archives? I found a post with a similar > problem to mine by someone named Jamin back in January of 2003, but I can't > email him, since the email address is hidden. > > -- > Paulo Fraser > Senior Systems Administrator > Leapfrog Enterprises, Inc. > (510) 420-5374 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. > Do you like what SourceForge.net is doing for the Open > Source Community? Make a contribution, and help us add new > features and functionality. Click here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 05:33:36 2003 From: teng at dataway.com (Tedman Eng) Date: Mon, 27 Oct 2003 20:33:36 -0800 Subject: Multiple parent nodes References: Message-ID: Yes, you can (because I currently do) use multiple parents. 'Unreachable' for a child node only happens if both parents incur blocking outages. They work exactly as expected. The only oddity is in Status Map view, the child node(s) seem to have an affinity towards one parent. "Justin Fitzhugh" wrote in message news:AABAEEC2-08E2-11D8-98C4-000A958C4BEA at macromedia.com... > Hello, > > I am wondering if the following setup is possible: > > I would like a node to have 2 parents, and only have that node deemed > unreachable if _both_ parents are down. This comes into play when I > have a redundant router pair and there is only a network blockage when > both routers are down. Is this possible? How have others done this? > > Thanks, > > -Justin > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. > Do you like what SourceForge.net is doing for the Open > Source Community? Make a contribution, and help us add new > features and functionality. Click here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AChandrashekar at MercuryInsurance.com Tue Oct 28 07:37:15 2003 From: AChandrashekar at MercuryInsurance.com (Akash Chandrashekar) Date: Mon, 27 Oct 2003 22:37:15 -0800 Subject: using check_log with check_nrpe Message-ID: Hi, Im attempting configure check_log with check_nrpe. I can successfully run check_log on the remote machine via command line, but I receive a CRC32 error when checking web interface. Can someone help out? Regards, Akash -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve at sliderule.demon.co.uk Tue Oct 28 11:38:52 2003 From: steve at sliderule.demon.co.uk (Burton, Steven) Date: Tue, 28 Oct 2003 10:38:52 -0000 Subject: check_snmp syntax Message-ID: Hi, I'm having trouble (I i.e. totally failing) in checking available swap space on a remote server. I tried check check_snmp (nagios_plugins 1.3.1) 1.24.2.2 and (nagios_plugins 1.3.0) 1.24 . My results: # snmpget -v 1 -c public sclcache1 .1.3.6.1.2.1.25.2.3.1.6.2 HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 512 # ./check_snmp -w 1:100000 -P 1 -H sclcache1 -o .1.3.6.1.2.1.25.2.3.1.6.2 ; echo $? SNMP WARNING - 512 1 # ./check_snmp -w 1000:100000 -P 1 -H sclcache1 -o .1.3.6.1.2.1.25.2.3.1.6.2 ; echo $? SNMP WARNING - *512* 1 In fact, it always returns 1 unless I use the -c and such parameters as to make it critical. It seems that OK and WARNING both return 1 but WARNING puts '*' around the variable value. Am I doing something wrong or is this a known problem? If necessary I'll burrow into the source but I *useless* at reading other peoples C. Steve. ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rudik at sgn.com Tue Oct 28 13:26:21 2003 From: rudik at sgn.com (Rudolf Amirjanyan) Date: Tue, 28 Oct 2003 15:26:21 +0300 Subject: Nagios start Message-ID: <03b001c39d4e$b48ee760$4d01a8c0@Rudik> Hello All On RH 9 server have insatlled nagios monitoring software. in ngaios/etc directoey I have renamed hosts.cfg-sample to hosts.cfg, and the same with all the files. and made some changes in the hosts.cfg, by adding one host, to see the progress. But. When I want to start it by /etc/init.d/nagios start it says the following Starting network monitor: nagios No lock file found in /nagios/var/nagios.lock what can you suggest me to do? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fredreimers at comcast.net Tue Oct 28 13:38:51 2003 From: fredreimers at comcast.net (Fred Reimers) Date: Tue, 28 Oct 2003 07:38:51 -0500 Subject: [Nagmin-users] NagMIN Question In-Reply-To: <16285.40869.26393.435752@montanaro.dyndns.org> References: <16285.40869.26393.435752@montanaro.dyndns.org> Message-ID: <000601c39d50$71472ba0$6401a8c0@nanner> Skip, I have to admit that I haven't tried it, but I believe you already can set security levels on a user-by-user basis through WebMIN user permissions. I haven't really tested this out or changed it. It has all of the former MySQL module commands in it. You can at least change which databases a user can access. It's accessed by adding a module individual to a WebMIN user and then clicking on the Module link in WebMIN Users. Take a look at it and let me know if anything here would be useful or what might be good to have. Fred -----Original Message----- From: Skip Montanaro [mailto:skip at pobox.com] Sent: Monday, October 27, 2003 5:44 PM To: freimers at sanctuarynet.org Cc: 'Martin, Stanley G [CC]'; nagios-users at lists.sourceforge.net; nagmin-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: [Nagmin-users] NagMIN Question Fred> I love Nagios but my concern has been, and is, that it's too Fred> focused on continuing to modify different ways of configuring it Fred> from flat files. Conversely, using NagMIN to add information for several machines at a time can be tedious. ;-) My biggest feature request would be to allow the NagMIN database to be locked (as far as the NagMIN user interface is concerned). This allows me to dump the database to flat files and make large-scale changes by safely editing the SQL file. Right now I just dump the database, make my edits, then reload the database, all the while praying that one of the other system engineers doesn't get adventurous and choose that moment to try NagMIN themselves (so far they just ask me to make changes). -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredreimers at comcast.net Tue Oct 28 13:48:16 2003 From: fredreimers at comcast.net (Fred Reimers) Date: Tue, 28 Oct 2003 07:48:16 -0500 Subject: [Nagmin-users] NagMIN Question In-Reply-To: <16285.40869.26393.435752@montanaro.dyndns.org> References: <16285.40869.26393.435752@montanaro.dyndns.org> Message-ID: <000901c39d51$c1e889e0$6401a8c0@nanner> Skip, I think NagMIN is close to being able to load multiple machines from the same database. How about if NagMIN could process multiple entries in the System table for the same database. Another someone else mentioned was a way to copy single, or multiple lines in a table. I'd like this one myself. I'm also trying to figure out how to easily add a sorting feature for the tables. I'm thinking of using the same up/down arrow approach that the Nagios GUI uses. Fred -----Original Message----- From: Skip Montanaro [mailto:skip at pobox.com] Sent: Monday, October 27, 2003 5:44 PM To: freimers at sanctuarynet.org Cc: 'Martin, Stanley G [CC]'; nagios-users at lists.sourceforge.net; nagmin-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: [Nagmin-users] NagMIN Question Fred> I love Nagios but my concern has been, and is, that it's too Fred> focused on continuing to modify different ways of configuring it Fred> from flat files. Conversely, using NagMIN to add information for several machines at a time can be tedious. ;-) My biggest feature request would be to allow the NagMIN database to be locked (as far as the NagMIN user interface is concerned). This allows me to dump the database to flat files and make large-scale changes by safely editing the SQL file. Right now I just dump the database, make my edits, then reload the database, all the while praying that one of the other system engineers doesn't get adventurous and choose that moment to try NagMIN themselves (so far they just ask me to make changes). -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Arends at dsv.rotterdam.nl Tue Oct 28 14:54:21 2003 From: M.Arends at dsv.rotterdam.nl (Arends, Mike) Date: Tue, 28 Oct 2003 14:54:21 +0100 Subject: Nagios (project) deployment plan Message-ID: Hi all, Does anybody have a Nagios specific deployment plan or project plan template? Any help greatly appreciated. Cheers, Mike ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 comcast.net Tue Oct 28 15:31:26 2003 From: nagios at comcast.net (Tom) Date: Tue, 28 Oct 2003 08:31:26 -0600 Subject: Getting check_snmp to work properly under Freebsd5/nagios/apan References: Message-ID: <002301c39d60$2e4dd5a0$ca01a8c0@gamers.edw> I ran into this problem with the same results, it seems to be needing (for nt atleast) to use snmpgetnext for the information to be brought forth. Not sure how to make the change for this to work though. ----- Original Message ----- From: To: Sent: Wednesday, September 17, 2003 3:47 AM Subject: [Nagios-users] Getting check_snmp to work properly under Freebsd5/nagios/apan Hi there i have a strange problem, im trying to check out he bw on some nt-server but i don't recive anything so it could be putted in to my rrd record if i try to run snmpget with the default command all i get is "SNMP problem - No data recieved from host" . I have dubbel and tripple checked rights,case sensitive , spelling. dns lookup. And still nothing.. if someone have @ least the smallest think of what it can be you would make me very glad!!! With regards /Goran (Embedded image moved to file: pic18605.gif) G?ran Nilsson IT-Ingenj?r FMLOG, LedTek Halmstad Tel 035-266 2133 Fax 035-266 2109 goran.nilsson at fmhs.mil.se ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.garrett at shell.com Tue Oct 28 15:49:38 2003 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITDIEEE) Date: Tue, 28 Oct 2003 14:49:38 -0000 Subject: Submitting nagios commands e.g downtime from remote systems. Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D5B51E41@abe-s-039.europe.shell.com> Folks I would like to be able to run a script on a remote host , that can submit downtime on the nagios server. e.g scripts would work out what host it is been run on and then submit 24hrs downtime While I have such a script that works very nicely on the nagios server. not sure how to do this from a client. I have thought that nsca might be able to be modified to do this as it all ready writes to the nagios cmd file Which is basically what the downtime script does. Does any body have any suggestions , or idea's Thanks Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Tue Oct 28 16:11:36 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 28 Oct 2003 10:11:36 -0500 (EST) Subject: check_snmp syntax In-Reply-To: References: Message-ID: On Tue, 28 Oct 2003, Burton, Steven wrote: > Hi, > > I'm having trouble (I i.e. totally failing) in checking available swap space > on a remote server. > > I tried check check_snmp (nagios_plugins 1.3.1) 1.24.2.2 and (nagios_plugins > 1.3.0) 1.24 . > > My results: > > # snmpget -v 1 -c public sclcache1 .1.3.6.1.2.1.25.2.3.1.6.2 > HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 512 > # ./check_snmp -w 1:100000 -P 1 -H sclcache1 -o .1.3.6.1.2.1.25.2.3.1.6.2 ; > echo $? > SNMP WARNING - 512 > 1 > # ./check_snmp -w 1000:100000 -P 1 -H sclcache1 -o > .1.3.6.1.2.1.25.2.3.1.6.2 ; echo $? > SNMP WARNING - *512* > 1 It looks like snmpget is returning something on stderr (may be a MIB parsing problem, specially if you are loading a lot of mibs). Any output on stdderr automatically bumps the output to WARNING - and adds the "*" Since you are using oids, you might want to try adding the -m "" option to disable loading of MIBs for both a speedup and removal of mib parsing errors. -sg > > In fact, it always returns 1 unless I use the -c and such parameters as to > make it critical. > It seems that OK and WARNING both return 1 but WARNING puts '*' around the > variable value. > > Am I doing something wrong or is this a known problem? > > If necessary I'll burrow into the source but I *useless* at reading other > peoples C. > > Steve. -- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yohann.desquerre at anpe.fr Tue Oct 28 16:50:32 2003 From: yohann.desquerre at anpe.fr (Yohann DESQUERRE (DSI NOISIEL)) Date: Tue, 28 Oct 2003 16:50:32 +0100 Subject: (no subject) Message-ID: Hi all, Is there anyone who can tell me where can i find doc on nrpe (How to install and configure it, where's the Nagios plugins needs to be installed, nrpe plugins, nrpe, etc..) Are there any officials rpms for it ??? Thanks ----------------------------------------------- Yohann Desquerre "Plateforme ANPE.FR" ??????? Supervision S/Direction de la production Gestion des Ressources ----------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From minfrin at sharp.fm Tue Oct 28 17:26:23 2003 From: minfrin at sharp.fm (Graham Leggett) Date: Tue, 28 Oct 2003 18:26:23 +0200 Subject: WAP and Nokia 7210 Message-ID: <3F9E98AF.50205@sharp.fm> Hi all, Has anybody had any success accessing the Nagios WAP interface using a Nokia 7210? It seems this phone does not support basic authentication. If I try and access the status URL, the phone complains "file format unknown". The apache log says that a "406 unauthorised" was returned to the request. Trying to embed the username and password into the URL like so doesn't work either: http://username:password at site.com/nagios/cgi-bin/statuswml.cgi The above request appears in the apache log, but missing the username, thus another 406 unauthorised as above. Is basic authentication possible over WAP, or is this phone a dud? Regards, Graham -- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Tue Oct 28 17:32:18 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 28 Oct 2003 09:32:18 -0700 Subject: Check_NTP Message-ID: Nagios v1.1 Plugins v1.3.1 I'm attempting to use the check_ntp plugin from the command line. When run, it gives the error 'Could not open ntpdate'. So I open up the check_ntp script and check it out, and I find what appears to be a placeholder 'PATH_TO_NTPDATE'. I changed this to '/usr/sbin/ntpdate' and now when I run the command I get this error: Use of uninitialized value in concatenation (.) or string at ./check_ntp line 179. NTP OK: Offset -0.007811 secs Line 179 lookl like: If (!open (NTPDATE, "$utils::/usr/sbin/ntpdate -q $host 2>&1 |")) { So, it appears as though the check is working now, although I am getting an error. I'm not sure if this error will cause Nagios to report the service as critical/not responding or something similar, but I'd like to be able to run it without errors regardless. I've also run into the problem when I replace the ntpq placeholder later on in the script. Can anyone recognize what might be wrong with line 179? TIA Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yohann.desquerre at anpe.fr Tue Oct 28 17:49:37 2003 From: yohann.desquerre at anpe.fr (Yohann DESQUERRE (DSI NOISIEL)) Date: Tue, 28 Oct 2003 17:49:37 +0100 Subject: nrpe conf Message-ID: Hi all, Is there anyone who can tell me where can i find doc on nrpe (How to install and configure it, where's the Nagios plugins needs to be installed, nrpe plugins, nrpe, etc..) Are there any officials rpms for it ??? Thanks ----------------------------------------------- Yohann Desquerre "Plateforme ANPE.FR" ??????? Supervision S/Direction de la production Gestion des Ressources 01-49-31-82-03 ----------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Tue Oct 28 18:15:16 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue, 28 Oct 2003 11:15:16 -0600 Subject: [Nagmin-users] NagMIN Question In-Reply-To: <000601c39d50$71472ba0$6401a8c0@nanner> References: <16285.40869.26393.435752@montanaro.dyndns.org> <000601c39d50$71472ba0$6401a8c0@nanner> Message-ID: <16286.42020.803690.526115@montanaro.dyndns.org> Fred> I have to admit that I haven't tried it, but I believe you already Fred> can set security levels on a user-by-user basis through WebMIN Fred> user permissions. Oh, I'd be happy to have the other system engineers all maintaining the information about their machines. The problem is that when I want to make a wide ranging change to the NagMIN (say, to add several new machines or rename something which appears in several places), I want to dump the SQL and just edit it instead of peeking and poking my way around NagMIN. To do that safely, I need to be able to lock the database before dumping the database. If I have to go through and disable NagMIN editing for 20 system engineers so I can safely dump the NagMIN database, then reenable access after reloading the database, that's not really any better than poking around NagMIN to modify individual table rows, and may be worse. What I really need is a global way (poke one button) to temporarily disable through-the-web modifications of the database. I can then backup the database to a file, edit that file, reload it using the mysql command, then reenable database mods. I think the ideal place for this would be in the row of buttons on the nagios database page (next to the Verify, Activate, Status, ... buttons). Skip ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Tue Oct 28 18:31:27 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue, 28 Oct 2003 11:31:27 -0600 Subject: [Nagmin-users] NagMIN Question In-Reply-To: <000901c39d51$c1e889e0$6401a8c0@nanner> References: <16285.40869.26393.435752@montanaro.dyndns.org> <000901c39d51$c1e889e0$6401a8c0@nanner> Message-ID: <16286.42991.158278.817514@montanaro.dyndns.org> Fred> I think NagMIN is close to being able to load multiple machines Fred> from the same database. How about if NagMIN could process Fred> multiple entries in the System table for the same database. Fred, I'm afraid I have no idea what you are referring to here. My benchmark example was a couple weeks ago I got an email from one of the other engineers. He wanted me to start monitoring eight to ten new machines to the system along with various accompanying service tests (different for different classes of machines). That's a pretty trivial task using SQL insert statements, but a pretty tedious, error prone task using the web interface. Fred> Another someone else mentioned was a way to copy single, or Fred> multiple lines in a table. I'd like this one myself. I'm also Fred> trying to figure out how to easily add a sorting feature for the Fred> tables. I'm thinking of using the same up/down arrow approach Fred> that the Nagios GUI uses. That would probably help incrementally, but I think is still focused on making fairly localized changes to the system. The way our environment works, if I add a new machine I also wind up adding new hostgroups, contact groups, host group escalations, etc. Everything is associated with individual machine name. (That's for historical reasons, not because I want it that way. It creates more work for me and bloats the database for no particularly good reason, but I'm not in a position to change things.) To make it concrete, suppose I want to add a new machine named trigger whose system engineer (in priority order) are Tommy, Mary, John and Jill. I need to add a Host table entry for trigger, relevant tests, a hostgroup associated with trigger and escalation rules for all four engineers. Sorting along columns would be nice, especially if you can figure out how to include default values, but wouldn't affect my current problem. Skip ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From val at nycity.com Tue Oct 28 18:39:37 2003 From: val at nycity.com (Val Vechnyak) Date: Tue, 28 Oct 2003 12:39:37 -0500 Subject: control server failover from nagios via DNS Message-ID: <00cb01c39d7a$75a4c750$fa01a8c0@msohosting.com> Dear All, I wrote this hack to run nsupdate when my primary server is not available to redirect traffic to my backup server. this perl script uses two config files to give nsupdate all the stuff it needs to do the dynamic update. One config is for the general configuration and one for each server. I am finding this script useful and a) want to share with other people and b) hopefully improve it as I am FAR from being a programmer. Nagios configuration is described in event handler doc. failover.conf # DNS server IP server=192.168.1.1 # requesting server tsigname=msoeq # requesting server key tsigkey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx== www.server.com.conf # DNS records (hostnames) that will be effected when failover occures # hostnames must be separated by a (,) records=www.server.com,www1.server.com,www2.server.com,server.com # TTL to set for each record ttl=300 # IP of the primary server primary=x.x.x.x # IP of the backup server backup=y.y.y.y The actual script: failover #!/usr/bin/perl use IO::File; use POSIX qw(tmpnam); $conf_path="/usr/local/failover"; $DOMAIN = "$ARGV[ 0 ]\.conf"; $SERVICESTATE = $ARGV[ 1 ]; $STATETYPE = $ARGV[ 2 ]; $SERVICEATTEMPT = $ARGV[ 3 ]; open(GEN_CONFIG, "< $conf_path/failover.conf") or die "Can't open $conf_path/failover.conf: $!\n"; while () { chomp; s/#.*//; s/^\s+//; s/\s+$//; next unless length; my ($var, $value) = split(/\s*=\s*/, $_, 2); $failover_params{$var} = $value; } open(SERVER_CONFIG, "< $conf_path/$DOMAIN") or die "Couldn't open $DOMAIN for reading: $!\n"; while () { chomp; s/#.*//; s/^\s+//; s/\s+$//; next unless length; my ($var, $value) = split(/\s*=\s*/, $_, 2); $server_params{$var} = $value; } # Build temp files based on how many hostnames will be effected. @array = split(/\s*,\s*/, $server_params{records}); foreach $url (@array) { # Create a temp file $tmp_file = tmpnam(); $fh = IO::File->new($tmp_file, O_RDWR|O_CREAT|O_EXCL); open(OUTFILE, ">>$tmp_file") or die "Can't write to $tmp_file: $!\n"; if ($SERVICESTATE eq 'CRITICAL' && $STATETYPE eq 'HARD') { print OUTFILE "server $failover_params{server}\nsend\n"; print OUTFILE "key $failover_params{tsigname} $failover_params{tsigkey}\nsend\n"; print OUTFILE "update delete $url A\nsend\n"; print OUTFILE "update add $url $server_params{ttl} A $server_params{backup}\nsend\n"; # perform actual update system("/usr/bin/nsupdate -d $tmp_file"); } elsif ($SERVICESTATE eq 'CRITICAL' && $STATETYPE eq 'SOFT') { print "Soft Critical State... Please wait... \n"; } elsif ($SERVICESTATE eq 'OK' && $STATETYPE eq 'HARD') { print OUTFILE "server $failover_params{server}\nsend\n"; print OUTFILE "key $failover_params{tsigname} $failover_params{tsigkey}\nsend\n"; print OUTFILE "update delete $url A\nsend\n"; print OUTFILE "update add $url $server_params{ttl} A $server_params{primary}\nsend\n"; # perform actual update system("/usr/bin/nsupdate -d $tmp_file"); } else { } # Delete temp file unlink($tmp_file) or die "Can't delete $tmp_file: $!\n"; } -------------- next part -------------- An HTML attachment was scrubbed... URL: From SrvFaucon at cslaval.qc.ca Tue Oct 28 20:13:56 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Tue, 28 Oct 2003 14:13:56 -0500 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20[Nagios-users]=20Check=5FNTP?= Message-ID: The only hint I can give you is, do you have ntp version 4.1.2 or later? --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada >>> "Cook, Garry" 28/10/03 11h32 >>> Nagios v1.1 Plugins v1.3.1 I'm attempting to use the check_ntp plugin from the command line. When run, it gives the error 'Could not open ntpdate'. So I open up the check_ntp script and check it out, and I find what appears to be a placeholder 'PATH_TO_NTPDATE'. I changed this to '/usr/sbin/ntpdate' and now when I run the command I get this error: Use of uninitialized value in concatenation (.) or string at ./check_ntp line 179. NTP OK: Offset -0.007811 secs Line 179 lookl like: If (!open (NTPDATE, "$utils::/usr/sbin/ntpdate -q $host 2>&1 |")) { So, it appears as though the check is working now, although I am getting an error. I'm not sure if this error will cause Nagios to report the service as critical/not responding or something similar, but I'd like to be able to run it without errors regardless. I've also run into the problem when I replace the ntpq placeholder later on in the script. Can anyone recognize what might be wrong with line 179? TIA Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AChandrashekar at MercuryInsurance.com Tue Oct 28 22:50:48 2003 From: AChandrashekar at MercuryInsurance.com (Akash Chandrashekar) Date: Tue, 28 Oct 2003 13:50:48 -0800 Subject: FW: using check_log with check_nrpe Message-ID: Hi, Im attempting to configure check_log plugin with check_nrpe. I can successfully run check_log on the remote machine via command line, but I receive a CRC32 error when attempting to remotely have my Nagios server query the client box via check_nrpe.I have successfully used check_nrpe with other services such as disk space,users, system load etc.Can someone help out? Regards, Akash -------------- next part -------------- An HTML attachment was scrubbed... URL: From eduardo.moura at telway.com.br Tue Oct 28 23:00:01 2003 From: eduardo.moura at telway.com.br (eduardo moura) Date: Tue, 28 Oct 2003 20:00:01 -0200 Subject: Database integration Message-ID: <003101c39d9e$d6df5520$394baa0a@cbemi> Hi all, I?m trying to install nagios with postgresql support, the compilation works fine the sanity check (nagios -v) too. but the cgi?s don?t work. Anyone have this problem? Eduardo -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Tue Oct 28 23:11:54 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 28 Oct 2003 16:11:54 -0600 Subject: Database integration Message-ID: I have been successfully using postgres as a back end for over a year. Did you modify the database definitions in cgi.cfg appropriately? Have you verified that the data is actually being inserted into postgres by nagios? What problem are you seeing with the CGI's exactly? What version of nagios are you using? Is there anything interesting in your nagios.log or http error log? -- Marc ________________________________________ From: eduardo moura [mailto:eduardo.moura at telway.com.br] Sent: Tuesday, October 28, 2003 4:00 PM To: nagios-users at lists.sourceforge.net Hi all, ? I?m trying to install nagios with postgresql support, the compilation works fine the sanity check (nagios -v) too. but the cgi?s don?t work. Anyone have this problem? ? Eduardo ? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Tue Oct 28 23:55:14 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 29 Oct 2003 09:55:14 +1100 Subject: Nagios-users digest: check_wins. Please don't post in HTML. In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Mon, Oct 27, 2003 at 08:14:28PM -0800 References: Message-ID: <20031029095505.A25965@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say my reply is way way way down below that ugly HTML your mailer mangled your letter into. On Mon, Oct 27, 2003 at 08:14:28PM -0800, nagios-users-request at lists.sourceforge.net wrote: > > Message: 9 > From: "Alex St. Amand" > To: "'nagios-users at lists.sourceforge.net'" > > Date: Mon, 27 Oct 2003 11:38:51 -0500 > Subject: [Nagios-users] check_wins > > This message is in MIME format. Since your mail reader does not understand > this format, some or all of this message may not be legible. > > ------_=_NextPart_001_01C39CA8.CDC4EE60 > Content-Type: text/plain > > Hello, > > Has anyone had any luck with the check_wins plug-in? I can get it to work > fine from the command line but running it through nagios results in a "no > output" and critical flag. I am thinking it is not picking up the exit code > properly? > > Thanks for any help. > > Alex St. Amand > Information Technology > ATI Research, Inc. > 62 Forest Street > Marlborough, MA 01752 > astamand at ati.com > (508) 263-4843 > > > ------_=_NextPart_001_01C39CA8.CDC4EE60 > Content-Type: text/html > Content-Transfer-Encoding: quoted-printable > > xmlns:w=3D"urn:schemas-microsoft-com:office:word" = > xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" = > xmlns=3D"http://www.w3.org/TR/REC-html40"> > > > charset=3Dus-ascii"> > > > > > > > namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" > name=3D"PostalCode"/> > namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" > name=3D"State"/> > namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" > name=3D"City"/> > namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" > name=3D"place"/> > namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" > name=3D"Street"/> > namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" > name=3D"address"/> > > > > > > style=3D'tab-interval:.5in'> > >
> >

style=3D'font-size:10.0pt; > font-family:Arial'>Hello,

> >

style=3D'font-size:10.0pt; > font-family:Arial'> 

> >

style=3D'font-size:10.0pt; > font-family:Arial'>Has anyone had any luck with the check_wins plug-in? = > style=3D'mso-spacerun:yes'> I can get it to work fine from = > the command > line but running it through nagios results in a "no output" and > critical flag.  I am = > thinking it is not > picking up the exit code properly?

> >

style=3D'font-size:10.0pt; > font-family:Arial'> 

> >

style=3D'font-size:10.0pt; > font-family:Arial'>Thanks for any help.

> >

style=3D'font-size:10.0pt; > font-family:Arial'> 

> >

style=3D'font-size:10.0pt; > font-family:Arial;mso-no-proof:yes'>Alex St. Amand style=3D'mso-no-proof:yes'>

> >

style=3D'font-size:10.0pt; > font-family:Arial;mso-no-proof:yes'>Information = > Technology style=3D'mso-no-proof:yes'>

> >

style=3D'font-size: > 10.0pt;font-family:Arial;color:red;mso-no-proof:yes'>ATI = > size=3D2 face=3DArial> style=3D'font-size:10.0pt;font-family:Arial;mso-no-proof: > yes'>Research, Inc. style=3D'mso-no-proof:yes'>

> >

face=3DArial> style=3D'font-size:10.0pt;font-family:Arial;mso-no-proof:yes'>62 = > Forest Street style=3D'mso-no-proof:yes'>

> >

face=3DArial> = > style=3D'font-size:10.0pt;font-family:Arial;mso-no-proof:yes'>Marlboroug= > h size=3D2 face=3DArial> style=3D'font-size:10.0pt;font-family:Arial;mso-no-proof: > yes'>, = > style=3D'font-size:10.0pt;font-family:Arial;mso-no-proof:yes'>MA<= > /font> size=3D2 face=3DArial> style=3D'font-size:10.0pt;font-family:Arial;mso-no-proof: > yes'> = > style=3D'font-size:10.0pt;font-family:Arial;mso-no-proof:yes'>01752 n> style=3D'mso-no-proof:yes'>

> >

style=3D'font-size:10.0pt; > font-family:Arial;mso-no-proof:yes'> href=3D"mailto:astamand at ati.com">astamand at ati.com > style=3D'mso-no-proof:yes'>

> >

style=3D'font-size:10.0pt; > font-family:Arial;mso-no-proof:yes'>(508) = > 263-4843

> >

style=3D'font-size: > 12.0pt'> 

> >
> > > > > > ------_=_NextPart_001_01C39CA8.CDC4EE60-- > It would be better for other list readers for you to ask your mail user agent - Outlook I guess - to not do this. The main problem that plugins like check_wins encounter is that the Nagios user cannot access the binaries that a program such as this needs to operate. Please note that check_wins is a contrib plugin and therefore requires explicit path changes to work (core plugins work hard to find the path to Samba and so on and then edit the source to accordingly in the configure processe). This may help . su nagios (or whatever your Nag user is) . run the plugin from the CLI ==> works ? some sort of permission problem with the Samba binary nmblookup (can't imagine what since on this system tsitc> ls -l /usr/local/samba/bin/nmblookup -rwxr-xr-x 1 root wheel 516027 Apr 9 2003 /usr/local/samba/bin/nmblookup tsitc> ) ==> doesn't work ? Please post your 1 plugin version: (tsitc> /usr/local/nagios/libexec/check_wins -V check_wins (netsaint-plugins 1.2.9-4) 2.8 The netsaint plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. tsitc> ) 2 Samba nmblookup version: tsitc> /usr/local/samba/bin/nmblookup -v nmblookup: illegal option -- v Usage: nmblookup [-M] [-B bcast address] [-d debuglevel] name Version 2.2.8a FWIW, I have been using check_wins for some years, and I know of at least one other site that is using it. 3 The definition of check_wins from checkcommand.cfg and how you are calling it from services.cfg NB. You __must__ provide the -D and -C parameters tsitc> /usr/local/nagios/libexec/check_wins -h check_wins (netsaint-plugins 1.2.9-4) 2.8 The netsaint plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Copyright (c) 2001 Karl DeBisschop/S Hopcroft Perl Check WINS plugin for NetSaint. Returns OK if the addresses of domain controllers are found in the list of domain controllers returned in the WINS response to a 'domain controllers query' Why would you want to do this ? MS File server clients insist on connecting to file servers using NetBIOS names. If they __don't__ resolve NetBIOS names with a WINS (NBNS) then they'll either fail to logon and connect to shares or they will broadcast requsts for names. Both problems are eliminated by a healthy WINS. Also, you may have a MS domain spanning a number of WAN connected sites, with domain controllers far away from powerful local domain controllers. In this case, you want your local clients to have their logon requests validated by the local controllers. The plugin works by asking the WINS to resolve the addresses of the domain controllers (supplied by -C or from the constant MY_DCS) asking the WINS to return the list of addresses of the domain controllers able to validate requests for the domain whose name is given by -D returning Ok if all controller addresses are in that list (of addresses of domain controllers) or returning WARNING if not all the controller addresses are in the list or returning CRITICAL if there is no reply from the WINS or the list contains none of the contoller addresses Usage: check_wins -W -D -W, --wins=STRING Hostname or address of the WINS (Either Samba/nmbd or MS product) -D, --domain=STRING MS Domain name to find the Domain controllers of. -C, --controllers:STRING Optional __name(s)__ of domain controller that __must__ be found in the response to a domain controller name query. If not defined, then use the constant value MY_DCS. You must use either -C or make sure that MY_DCS contains the names of __your__ domain controllers. -T, --timeout:INTEGER -d, --debug Debugging output. -h, --help This stuff. Send email to netsaint-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to netsaintplug-devel at lists.sourceforge.net tsitc> Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jchambers at shaw.ca Wed Oct 29 00:17:42 2003 From: jchambers at shaw.ca (jason) Date: Tue, 28 Oct 2003 16:17:42 -0700 Subject: distributed monitoring setup - ocsp_command not being executed Message-ID: <002b01c39da9$b0314a40$de49000a@jchambers2k> Hey all, I am trying to setup distributed monitoring and I am running into wall. After following the steps describing setting up the distributed server, I don't see the ocsp_command getting executed. I can execute the submit_check_result script manually. Any help/suggestions would be appreciated. TIA, Jason. (details below) $ ../bin/nagios -v Nagios 1.0 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 11-24-2002 License: GPL Nagios Process Information: Program Start Time: 2003-10-28T15:47:18 Total Running Time: 0d 0h 0m 4s Last External Command Check: N/A Last Log File Rotation: N/A Nagios PID 12135 Notifications Enabled? NO Service Checks Being Executed? YES Passive Service Checks Being Accepted? YES Event Handlers Enabled? Yes Obsessing Over Services? Yes Flap Detection Enabled? No Performance Data Being Processed? No commands.cfg: ... define command{ command_name submit_check_result command_line /usr/lib/nagios/plugins/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' } $ pwd /usr/lib/nagios/plugins -rwxr-xr-x 1 nagios nagios 981 Oct 27 12:53 submit_check_result nagios.cfg: ------------------------------------------ log_file=/var/log/nagios/nagios.log cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/commands.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg cfg_file=/usr/local/nagios/etc/servicedependencies.cfg resource_file=/usr/local/nagios/etc/resource.cfg status_file=/var/log/nagios/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/var/log/nagios/nagios.cmd comment_file=/var/log/nagios/comment.log downtime_file=/var/log/nagios/downtime.log lock_file=/var/log/nagios/nagios.pid temp_file=/var/log/nagios/nagios.tmp log_rotation_method=d log_archive_path=/var/log/nagios/archives use_syslog=0 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_service_checks=1 inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=5 sleep_time=1 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/status.sav retention_update_interval=60 use_retained_program_state=0 interval_length=60 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 obsess_over_services=1 ocsp_command=submit_check_result check_for_orphaned_services=0 check_service_freshness=1 freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=strict-iso8601 admin_email=me at myserver.com admin_pager=me at myserver.com soft_state_dependencies=1 illegal_macro_output_chars=~^<> ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dsimpson at friedmancorp.com Wed Oct 29 00:28:02 2003 From: dsimpson at friedmancorp.com (Simpson, Doug) Date: Tue, 28 Oct 2003 17:28:02 -0600 Subject: wap Message-ID: <20ED00AA0BC135449469D6EF0AE79C976E4371@ozlan.fcdomain.net> I am new to wap and Nagios. I am trying to set the wap interface up. I run into two problems 1. I am using .htaccess for authentication and the wap browser I am testing on fails when it gets to the authentiction part. I can see the side.html and the main.html but when I click on a link it errors 401 "Authentication Requirred" 2. My palm Tungsten just errors "Access denied" What do I need to do to get these to work? Thanks, Doug "This one's tricky. You have to use imaginary numbers, like eleventeen..." Hobbes (Calvin's tiger) ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Wed Oct 29 04:57:12 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 29 Oct 2003 13:57:12 +1000 Subject: temperature monitoring probes Message-ID: <5.2.0.9.2.20031029135423.019b7d38@imap.qut.edu.au> Hi all, When the temptrax devices were first available, wasn't there a section on the Nagios homepage that showed you how to build your own temperature probe device? I'm sure there was one and I can't find it - does anyone know the detail or have the instruction? Thanks, ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Oct 29 05:08:38 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 28 Oct 2003 23:08:38 -0500 (EST) Subject: Check_NTP In-Reply-To: References: Message-ID: On Tue, 28 Oct 2003, Cook, Garry wrote: > Nagios v1.1 > Plugins v1.3.1 > > I'm attempting to use the check_ntp plugin from the command line. When > run, it gives the error 'Could not open ntpdate'. So I open up the > check_ntp script and check it out, and I find what appears to be a > placeholder 'PATH_TO_NTPDATE'. I changed this to '/usr/sbin/ntpdate' and > now when I run the command I get this error: > > Use of uninitialized value in concatenation (.) or string at ./check_ntp > line 179. > NTP OK: Offset -0.007811 secs > > Line 179 lookl like: > > If (!open (NTPDATE, "$utils::/usr/sbin/ntpdate -q $host 2>&1 |")) { > > So, it appears as though the check is working now, although I am getting > an error. I'm not sure if this error will cause Nagios to report the > service as critical/not responding or something similar, but I'd like to > be able to run it without errors regardless. > > I've also run into the problem when I replace the ntpq placeholder later > on in the script. > > Can anyone recognize what might be wrong with line 179? Yes - when you installed the plugins (ran configure) you either did not have ntpdate and ntpdc installed or it was not in the path. As a result the location of the binaries could not be found and check_ntp was not configured... What should happen is that configure should find the binary (including the full path) and place that information in "utils.pm" not in the plugin itself. Then the plugin gets the value of PATH_TO_NTPDATE from utils.pm -- -sg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pikelner at rogers.com Wed Oct 29 05:57:45 2003 From: pikelner at rogers.com (Frank Pikelner) Date: Tue, 28 Oct 2003 23:57:45 -0500 Subject: HP/Compaq memory utilization OID string Message-ID: <000e01c39dd9$31614c30$0607a8c0@netcraftinc.int> Hello, I need to monitor the memory utilization of HP/Compaq servers. The servers are running Insight Agents. Doe anyone know the OID string of for determining the memory utilization? Thank you, Frank Pikelner frank.pikelner at blue-dot.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From IRONBARK-SA at MSA.com Wed Oct 29 06:02:52 2003 From: IRONBARK-SA at MSA.com (System Attendant) Date: Wed, 29 Oct 2003 00:02:52 -0500 Subject: ScanMail Message: To Recipient Match eManager setting and take ac tion. Message-ID: **************** eManager Notification ***************** The following mail was blocked since it contains sensitive content. Source mailbox: pikelner at rogers.com Destination mailbox(es): nagios-users at lists.sourceforge.net Rule/Policy: Anti-Spam(Patricia Stocke Concern) Action: Delete Recipient, Anti-Spam filter has detected a suspicious SPAM e-mail. ******************* End of message ********************* ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roland.Sorgenfrei at spb.de Wed Oct 29 09:10:05 2003 From: Roland.Sorgenfrei at spb.de (Roland.Sorgenfrei at spb.de) Date: Wed, 29 Oct 2003 09:10:05 +0100 Subject: Distributed Monitorig Message-ID: Hi all, my first question was the limitation from nagios. Well i know, i can solve my requirement problem ( 600 server with round about 25 services per server, in sum 15 000 services) with nagios "distributed monitoring". But now i have the next question, have anyone experience with distributed monitoring from a large network ? And what kind of experience ? Thanks in advance! Roland ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rvdmerwe at mhg.co.za Wed Oct 29 13:13:54 2003 From: Rvdmerwe at mhg.co.za (Rabie van der Merwe) Date: Wed, 29 Oct 2003 14:13:54 +0200 Subject: Nagios spawning more and more processes. Message-ID: <39B69D20AF5DD611BA7F00306E1E8F2E02B1383A@cptexc02.bankmed.co.za> I have been successfully running Nagios 1.1 on Mandrake 8.2 9.0 and 9.1, but have been having some issues running it Mandrake 9.2. I run a distributed setup with nsca, and a dedicated "parent" server. Nagios starts fine on the parent, but after a while it will start to spawn more 'nagios -d -c /etc/nagios/nagios.cfg'`s until the box runs out of memory. I have run nagios from the command line, and then every now and then it says that some check is stale and it will do a manual check. These checks just seem to sit their until killed. I have extended the check_freshness interval, but it's ignoring the setting, I then tried disabling the setting, still nothing. Any help would be appreciated. Regards Rabie ********************************************************************** ------ NOTICE ------ This message contains privileged and confidential information intended only for the person or entity to which it is addressed. Any review, retransmission, dissemination, copy or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient, is prohibited. If you received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter delete the material from any computer. Metropolitan Health Group, its subsidiaries or associates do not accept liability for any personal views expressed in this message. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmorris at kief.com Wed Oct 29 15:08:02 2003 From: kmorris at kief.com (Kief Morris) Date: Wed, 29 Oct 2003 14:08:02 +0000 Subject: HP/Compaq memory utilization OID string In-Reply-To: <000e01c39dd9$31614c30$0607a8c0@netcraftinc.int> References: <000e01c39dd9$31614c30$0607a8c0@netcraftinc.int> Message-ID: <4.3.2.7.2.20031029140658.04288370@pong.bitbull.com> I'm using this for DL320 machines: 1.3.6.1.2.1.25.2.3.1.6.101&1.3.6.1.2.1.25.2.3.1.6.101 I found this, and some others, by running snmpwalk. Regards, Kief Frank Pikelner typed the following on 23:57 28/10/2003 -0500 >Hello, > > > >I need to monitor the memory utilization of HP/Compaq servers. The servers are running Insight Agents. Doe anyone know the OID string of for determining the memory utilization? > > > >Thank you, > >Frank Pikelner >frank.pikelner at blue-dot.ca > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From astamand at ati.com Wed Oct 29 15:26:50 2003 From: astamand at ati.com (Alex St. Amand) Date: Wed, 29 Oct 2003 09:26:50 -0500 Subject: Nagios-users digest: check_wins. Please don't post in HTML. Message-ID: <54CC136E5398384485619BC34B3A0F0B011611CC@ma00exh02.ma.atitech.com> Thank you. I had not tried it at the CLI as the nagios user only as root. The problem was that the path in the plug-in contained the word netsaint instead of nagios for the common lib path. Fixing that fixed the problem -Alex ? -----Original Message----- From: Stanley Hopcroft [mailto:Stanley.Hopcroft at ipaustralia.gov.au] Sent: Tuesday, October 28, 2003 5:55 PM To: nagios-users at lists.sourceforge.net Cc: astamand at ati.com Subject: Re: Nagios-users digest: check_wins. Please don't post in HTML. Dear Sir, I am writing to thank you for your letter and say my reply is way way way down below that ugly HTML your mailer mangled your letter into. > Hello, > > Has anyone had any luck with the check_wins plug-in? I can get it to work > fine from the command line but running it through nagios results in a "no > output" and critical flag. I am thinking it is not picking up the exit code > properly? > > Thanks for any help. > > Alex St. Amand > Information Technology > ATI Research, Inc. > 62 Forest Street > Marlborough, MA 01752 > astamand at ati.com > (508) 263-4843 The main problem that plugins like check_wins encounter is that the Nagios user cannot access the binaries that a program such as this needs to operate. Please note that check_wins is a contrib plugin and therefore requires explicit path changes to work (core plugins work hard to find the path to Samba and so on and then edit the source to accordingly in the configure processe). This may help . su nagios (or whatever your Nag user is) . run the plugin from the CLI ==> works ? some sort of permission problem with the Samba binary nmblookup (can't imagine what since on this system tsitc> ls -l /usr/local/samba/bin/nmblookup -rwxr-xr-x 1 root wheel 516027 Apr 9 2003 /usr/local/samba/bin/nmblookup tsitc> ) ==> doesn't work ? Please post your 1 plugin version: (tsitc> /usr/local/nagios/libexec/check_wins -V check_wins (netsaint-plugins 1.2.9-4) 2.8 The netsaint plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. tsitc> ) 2 Samba nmblookup version: tsitc> /usr/local/samba/bin/nmblookup -v nmblookup: illegal option -- v Usage: nmblookup [-M] [-B bcast address] [-d debuglevel] name Version 2.2.8a FWIW, I have been using check_wins for some years, and I know of at least one other site that is using it. 3 The definition of check_wins from checkcommand.cfg and how you are calling it from services.cfg NB. You __must__ provide the -D and -C parameters tsitc> /usr/local/nagios/libexec/check_wins -h check_wins (netsaint-plugins 1.2.9-4) 2.8 The netsaint plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Copyright (c) 2001 Karl DeBisschop/S Hopcroft Perl Check WINS plugin for NetSaint. Returns OK if the addresses of domain controllers are found in the list of domain controllers returned in the WINS response to a 'domain controllers query' Why would you want to do this ? MS File server clients insist on connecting to file servers using NetBIOS names. If they __don't__ resolve NetBIOS names with a WINS (NBNS) then they'll either fail to logon and connect to shares or they will broadcast requsts for names. Both problems are eliminated by a healthy WINS. Also, you may have a MS domain spanning a number of WAN connected sites, with domain controllers far away from powerful local domain controllers. In this case, you want your local clients to have their logon requests validated by the local controllers. The plugin works by asking the WINS to resolve the addresses of the domain controllers (supplied by -C or from the constant MY_DCS) asking the WINS to return the list of addresses of the domain controllers able to validate requests for the domain whose name is given by -D returning Ok if all controller addresses are in that list (of addresses of domain controllers) or returning WARNING if not all the controller addresses are in the list or returning CRITICAL if there is no reply from the WINS or the list contains none of the contoller addresses Usage: check_wins -W -D -W, --wins=STRING Hostname or address of the WINS (Either Samba/nmbd or MS product) -D, --domain=STRING MS Domain name to find the Domain controllers of. -C, --controllers:STRING Optional __name(s)__ of domain controller that __must__ be found in the response to a domain controller name query. If not defined, then use the constant value MY_DCS. You must use either -C or make sure that MY_DCS contains the names of __your__ domain controllers. -T, --timeout:INTEGER -d, --debug Debugging output. -h, --help This stuff. Send email to netsaint-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to netsaintplug-devel at lists.sourceforge.net tsitc> Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From axanet at ms32.hinet.net Wed Oct 29 15:36:22 2003 From: axanet at ms32.hinet.net (axacheng) Date: Wed, 29 Oct 2003 22:36:22 +0800 Subject: [Help][URGENT] i CAN NOT drawing my Status Map.... Message-ID: <20031029223602.C381.AXANET@ms32.hinet.net> Hello All: I'm using Gentoo GNU/Linux 1.4 as my Nagios server nagios version is 1.1 and it has compiled --with-template-extinfo so that , i CAN use "Template-based method" to configure nagios for drawing my status map right?????? === COMPILE LOG:=== External Data Routines: ------------------------ Status data: Default (text file) Object data: Template-based (text file) Comment data: Default (text file) Downtime data: Default (text file) Retention data: Default (text file) Peformance data: Default (external commands) Extended info data: Template-based (text file) Unfortunately, i always got error message when i view my "Status Map", error message as following: **You have not supplied any host drawing coordinates , so you cannot use this layout method.** i DO NOT restrict cgi.cfg access in cgi.cfg "use_authentication=0" OK, i refer to my config ### /etc/nagios/cgi.cfg #### snip--->%---->%----snip use_authentication=0 xedtemplate_config_file=/etc/nagios/hostexinfo.cfg default_statusmap_layout=0 snip--->%---->%----snip ### /etc/nagios/hostextinfo.cfg ### define hostextinfo{ host_name stage2luke notes_url http://localhost/nagios/share/docs/xedtemplate.html icon_image debian.png icon_image_alt web server vrml_image debian.png statusmap_image debian.gd2 2d_coords 100,50 3d_coords 100.0,50.0,75.0 } i known someone got same error before, but i can NOT find how does they solve this problem..... i had studied many doc , faq and mailing list....but still no idea to solution about this error..... need your help , please........ hostextinfo -- Trust & Unique ... ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.geiger at tiwag.at Wed Oct 29 15:38:26 2003 From: andreas.geiger at tiwag.at (Geiger Andreas) Date: Wed, 29 Oct 2003 15:38:26 +0100 Subject: beginners problem in template based service definition Message-ID: <01B66D0A11EB3E439676C0EAA891D89F8F2081@TWEXC1.tiwag.at> Hi list, Using nagios 1.0 - Cannot upgrade to 1.1! I have set up a general ping service definition and want to use it for all hosts without writing this service definition for every host or hostgroup again. So i use a list of ALL defined hostgroups via the hostgroup_name directive instead of the host_name directive within the ping service definition. My problem is that the service definition requires an option for the contact_groups directive. I didn't pass this dirctive to the service definition because I think the contact group is defined via the hostgroup definition. This works and so I was able to use one service definition and send notifications to different contacts relating to the hostgroup. But everytime when i reload the configuration i get many warning message: Warning: Service 'PING' on host 'xxx' has no default contact group(s) defined! For every host assigned to the ping service. Is there a possibility to turn off these warning messages, because the fill up my logs? Do I have to specifie the ping service for every hostgroup to get around this problem? Thanks! Andreas Geiger mail ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From axa.cheng at ezplay.tv Wed Oct 29 15:36:29 2003 From: axa.cheng at ezplay.tv (axa.cheng) Date: Wed, 29 Oct 2003 22:36:29 +0800 Subject: [Help][URGENT] i CAN NOT drawing my Status Map.... Message-ID: <20031029220237.C37D.AXA.CHENG@ezplay.tv> Hello All: I'm using Gentoo GNU/Linux 1.4 as my Nagios server nagios version is 1.1 and it has compiled --with-template-extinfo so that , i CAN use "Template-based method" to configure nagios for drawing my status map right?????? === COMPILE LOG:=== External Data Routines: ------------------------ Status data: Default (text file) Object data: Template-based (text file) Comment data: Default (text file) Downtime data: Default (text file) Retention data: Default (text file) Peformance data: Default (external commands) Extended info data: Template-based (text file) Unfortunately, i always got error message when i view my "Status Map", error message as following: **You have not supplied any host drawing coordinates , so you cannot use this layout method.** i DO NOT restrict cgi.cfg access in cgi.cfg "use_authentication=0" OK, i refer to my config ### /etc/nagios/cgi.cfg #### snip--->%---->%----snip use_authentication=0 xedtemplate_config_file=/etc/nagios/hostexinfo.cfg default_statusmap_layout=0 snip--->%---->%----snip ### /etc/nagios/hostextinfo.cfg ### define hostextinfo{ host_name stage2luke notes_url http://localhost/nagios/share/docs/xedtemplate.html icon_image debian.png icon_image_alt web server vrml_image debian.png statusmap_image debian.gd2 2d_coords 100,50 3d_coords 100.0,50.0,75.0 } i known someone got same error before, but i can NOT find how does they solve this problem..... i had studied many doc , faq and mailing list....but still no idea to solution about this error..... need your help , please........ hostextinfo ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Oct 29 16:06:20 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 29 Oct 2003 09:06:20 -0600 Subject: Distributed Monitorig Message-ID: > -----Original Message----- > From: Roland.Sorgenfrei at spb.de [mailto:Roland.Sorgenfrei at spb.de] > Sent: Wednesday, October 29, 2003 2:10 AM > To: nagios-users at lists.sourceforge.net > > Hi all, > > my first question was the limitation from nagios. Well i know, i can solve > my requirement problem ( 600 server with round > about 25 services per server, in sum 15 000 services) with nagios > "distributed monitoring". > > But now i have the next question, have anyone experience with distributed > monitoring from a large network ? Yes, well moderate sized network at least. 2530 services on 1811 hosts at the moment. > And what kind of experience ? Generally positive. The CGI's are slow, I've had to disable host checking entirely but other than that, I like it. I'm anxiously awaiting 2.0 beta though. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Oct 29 16:17:16 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 29 Oct 2003 09:17:16 -0600 Subject: distributed monitoring setup - ocsp_command not being executed Message-ID: > -----Original Message----- > From: jason [mailto:jchambers at shaw.ca] > Sent: Tuesday, October 28, 2003 5:18 PM > To: nagios-users at lists.sourceforge.net > > Hey all, > I am trying to setup distributed monitoring and I am running > into > wall. > After following the steps describing setting up the distributed > server, > I don't see the ocsp_command getting executed. I can execute the > submit_check_result script manually. At first glance your command and nagios config information looks correct. One thing that you don't mention, and is important, is whether you have enabled the obsess_over_service option for each service you wish to submit results for? Here is what I use -- # Generic service definition template define service{ name generic-service 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 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 0 ; Process performance data retain_status_information 0 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 check_period none max_check_attempts 5 normal_check_interval 5 retry_check_interval 3 notification_interval 10080 notification_period none notification_options c,r register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } # Service definition define service{ use generic-service host_name my_host service_description HTTP retry_check_interval 3 contact_groups nateng-oncall-servers check_command check_http } -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Oct 29 16:37:58 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 29 Oct 2003 09:37:58 -0600 Subject: Database integration Message-ID: > -----Original Message----- > From: eduardo moura [mailto:eduardo.moura at telway.com.br] > Sent: Tuesday, October 28, 2003 5:19 PM > To: Marc Powell > > Marc, > > Regarding your questions: > > Did you modify the database definitions in cgi.cfg appropriately? > > yes. Bellow follow a portion of my cgi.cfg file: [snip] > # DB DOWNTIME DATA (Read-Only For CGIs) > # Note: These config directives are only used if you compiled > # in database support for downtime data! > # The user you specify here only needs SELECT privileges on the > # 'hostdowntime', and 'servicedowntime' tables in the database, > # as these values are only used by the CGIs. The core program > # will read the directives you specify in a resource file. > > xdddb_host=localhost > xdddb_port=5432 > xdddb_database=nagios > xdddb_username=postgres > xdddb_password= > I am assuming that the user postgres is able to access the database with no password from localhost. Other than that, you appear to be missing an xrddb* section. Not sure if this is important but it could be. xrddb_host=localhost xrddb_port=5432 xrddb_username=postgres xrddb_password= xrddb_database=nagios > The postgresql server is in the same server of nagios process. > > Have you verified that the data is actually being inserted into postgres > by > nagios? > > yes. the nagios database have some data in the hostretentio table. How about the servicestatus and hoststatus tables? Those are what the CGI's are reading. It could be that the permissions in the db are fine for hostretention, but not the other tables. In fact, I would verify permissions on all the objects in the database to be sure. > What problem are you seeing with the CGI's exactly? > > accessing the tactical overview or any other options in the main menu the > message: > > Whoops! > Error: Could not read host and service status information! > Is there any further information? Does it complain that the nagios process might not be running? That's a typical error message when using a DB for retention as the default nagios_check_command assumes that you are using flat files http://www.nagios.org/faqs/viewfaq.php?faq_id=170&expand=false&showdesc=true > is showed. It?s seem some compilation problem. I have used the configure > shell has follows: > > > ./configure --with-pgsql-xdata --with-pgsql-status --with-pgsql-comments > -- > with-pgsql-extinfo --with-pgsql-retention --with-pgsql-downtime --with-pgsql-xdata implies all the others, but I don't think that's an issue. What makes you think it's a compilation problem? Did you see any errors during ./configure or make all that might be pertinent? -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Wed Oct 29 16:46:48 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 29 Oct 2003 09:46:48 -0600 Subject: [Nagmin-users] adding extra tables to NagMIN In-Reply-To: <000301c39cc4$2fc616a0$6401a8c0@nanner> References: <16260.34370.725701.607755@montanaro.dyndns.org> <000301c39cc4$2fc616a0$6401a8c0@nanner> Message-ID: <16287.57576.116076.571842@montanaro.dyndns.org> Fred> The other routine where extra tables get special treatment is in Fred> "view_tables.cgi". There's a section where NagMIN decides where Fred> to display the tables. I split it out between Nagios DB and Fred> NagMIN DB tables. Extra tables won't be displayed unless they're Fred> added to one of the lists. Thanks, I will check into this. Fred> What does "keyed by the ." mean?? Whoops. That sentence should have read I have auxiliary info about our system engineers (home, work, cell phones) which I want to store in a separate NagMIN table keyed by Contact.contact_name. Fred> Another option for your engineer info would be add phone number Fred> fields to the contact information table and then ask NagMIN to Fred> ignore those fields in nagios_write. I was thinking of doing this Fred> anyway, but there are so many applications with contact Fred> information that's never used, I'd didn't want to create yet Fred> another place to store name/address/phone number. (I'm waiting to Fred> be asked for my zip code or phone number when buying a 1/4 Pounder Fred> pretty soon.) Yeah, I think it's cleaner to put auxiliary information in separate tables then use a foreign key to associate them with content in other tables. Fred> Let me know if adding phone information to the Contact table would Fred> be helpful to you and I'll include the fields. Eventually I'd want you to add pager, wife's maiden name, shoe size, first pet's name, yadda yadda yadda. I think separation is the key to a good long-term relationship in this case. Skip ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From larry.bills at mci.com Wed Oct 29 17:58:32 2003 From: larry.bills at mci.com (Larry Bills) Date: Wed, 29 Oct 2003 10:58:32 -0600 Subject: Database integration In-Reply-To: References: Message-ID: <3F9FF1B8.6020208@mci.com> I have had a problem with the cgi's and the webserver when I went to postgre. Apache was not recognizing the LD_LIBRARY_PATH for the postgresql libraries on our Solaris 9 server. Adding the following to the end of Apache httpd.conf solved the problem...you must have modenv loaded in Apache to do this of course. PassEnv LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/u03/app/nagios/postgresql/lib PassEnv PATH=/usr/local/bin:/usr/bin:/u03/app/nagios/postgresql/bin:/u03/app/nagios/postgresql/data Hope this is of some assistance Larry Bills Marc Powell wrote: > > >>-----Original Message----- >>From: eduardo moura [mailto:eduardo.moura at telway.com.br] >>Sent: Tuesday, October 28, 2003 5:19 PM >>To: Marc Powell >> >>Marc, >> >>Regarding your questions: >> >>Did you modify the database definitions in cgi.cfg appropriately? >> >>yes. Bellow follow a portion of my cgi.cfg file: >> >> > >[snip] > > > >># DB DOWNTIME DATA (Read-Only For CGIs) >># Note: These config directives are only used if you compiled >># in database support for downtime data! >># The user you specify here only needs SELECT privileges on the >># 'hostdowntime', and 'servicedowntime' tables in the database, >># as these values are only used by the CGIs. The core program >># will read the directives you specify in a resource file. >> >>xdddb_host=localhost >>xdddb_port=5432 >>xdddb_database=nagios >>xdddb_username=postgres >>xdddb_password= >> >> >> > >I am assuming that the user postgres is able to access the database with no password from localhost. Other than that, you appear to be missing an xrddb* section. Not sure if this is important but it could be. > >xrddb_host=localhost >xrddb_port=5432 >xrddb_username=postgres >xrddb_password= >xrddb_database=nagios > > > >>The postgresql server is in the same server of nagios process. >> >>Have you verified that the data is actually being inserted into postgres >>by >>nagios? >> >>yes. the nagios database have some data in the hostretentio table. >> >> > >How about the servicestatus and hoststatus tables? Those are what the CGI's are reading. It could be that the permissions in the db are fine for hostretention, but not the other tables. In fact, I would verify permissions on all the objects in the database to be sure. > > > >>What problem are you seeing with the CGI's exactly? >> >>accessing the tactical overview or any other options in the main menu the >>message: >> >>Whoops! >>Error: Could not read host and service status information! >> >> >> > >Is there any further information? Does it complain that the nagios process might not be running? That's a typical error message when using a DB for retention as the default nagios_check_command assumes that you are using flat files > >http://www.nagios.org/faqs/viewfaq.php?faq_id=170&expand=false&showdesc=true > > > > >>is showed. It?s seem some compilation problem. I have used the configure >>shell has follows: >> >> >>./configure --with-pgsql-xdata --with-pgsql-status --with-pgsql-comments >>-- >>with-pgsql-extinfo --with-pgsql-retention --with-pgsql-downtime >> >> > >--with-pgsql-xdata implies all the others, but I don't think that's an issue. What makes you think it's a compilation problem? Did you see any errors during ./configure or make all that might be pertinent? > > >-- >Marc > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >Does SourceForge.net help you be more productive? Does it >help you create better code? SHARE THE LOVE, and help us help >YOU! Click Here: http://sourceforge.net/donate/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: From jlyons30 at yahoo.com Wed Oct 29 19:18:40 2003 From: jlyons30 at yahoo.com (Jon Lyons) Date: Wed, 29 Oct 2003 10:18:40 -0800 (PST) Subject: check_snmp -s option Message-ID: <20031029181840.83906.qmail@web21510.mail.yahoo.com> Am I reading help info for the check_snmp plugin right? I'm trying to snmp pull a firewall and verify that the policy is installed, however whenever I use the -s option I get critical. The plugin responds with installed or not installed depending on the policy... 1301-IDS-Console# ./check_snmp -H 10.128.254.12 -o .1.3.6.1.4.1.2620.1.1.1.0 -C bbeedd SNMP OK - "installed" 1301-IDS-Console# ./check_snmp -H 10.128.254.12 -o .1.3.6.1.4.1.2620.1.1.1.0 -C bbeedd -s installed SNMP CRITICAL - *"installed"* 1301-IDS-Console# ./check_snmp -H 10.128.254.12 -o .1.3.6.1.4.1.2620.1.1.1.0 -C bbeedd -s not SNMP CRITICAL - *"installed"* 1301-IDS-Console# --------------------------------- Do you Yahoo!? Exclusive Video Premiere - Britney Spears -------------- next part -------------- An HTML attachment was scrubbed... URL: From mgrome at techmergency.com Wed Oct 29 19:48:33 2003 From: mgrome at techmergency.com (Mike Grome) Date: Wed, 29 Oct 2003 12:48:33 -0600 Subject: help Message-ID: <4B150442E2198E45A373FB5FAA9F4EBF014A42@executive.techmergency.com> Can someone help me with the following syntax, possibly with an example?? I am stuck. command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ -------------- next part -------------- An HTML attachment was scrubbed... URL: From Keith.Hochberg at mtvi.com Wed Oct 29 20:26:01 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Wed, 29 Oct 2003 14:26:01 -0500 Subject: help Message-ID: <5F29693503507B4FB4032686ADF862673B5C1F@mtviny25.mtvi.com> What are you getting back as an error? A little more info would be helpful... but here goes: [root at nagios etc]# ../libexec/check_nt rsn-1 -p 1248 -v USEDDISKSPACE -l C -w 90 -c 95 C:\ - total: 37.21 Gb - used: 3.87 Gb (10%) - free 33.34 Gb (90%) -Keith -----Original Message----- From: Mike Grome [mailto:mgrome at techmergency.com] Sent: Wednesday, October 29, 2003 1:49 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] help Can someone help me with the following syntax, possibly with an example?? I am stuck. command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Wed Oct 29 20:29:53 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 29 Oct 2003 13:29:53 -0600 Subject: help Message-ID: ________________________________________ From: Mike Grome [mailto:mgrome at techmergency.com] Sent: Wednesday, October 29, 2003 12:49 PM To: nagios-users at lists.sourceforge.net ? Can someone help me with the following syntax, possibly with an example??? I am stuck. ? ? command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ ? This looks like it will work if your service definition looks like -- check_nt_disk!C!90!95 That will warn if C: is 90% and critical if it's 95%. Some more information on what problem you are having exactly and the relevant config information would be useful. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danslists at conpoint.com Wed Oct 29 21:11:53 2003 From: danslists at conpoint.com (Dan Spray) Date: Wed, 29 Oct 2003 14:11:53 -0600 Subject: No Output! problem Message-ID: Hello, I just moved Nagios onto another server. The new server is running Net-SNMP 5.0.9. It appears that everything is running fine except for the services that depend on snmp, such as interfaces on routers and such. I'm not sure what I am missing here but any help would be great. Thanks in advance, Dan -- Dan Spray, Director of Internet Operations dan at conpoint.com Connecting Point Norfolk, NE < http://www.conpoint.com/> Voice - 402.371.4530 x208 Fax - 402.371.4515 "The trouble with doing anything right the first time is that nobody appreciates how difficult it was!" -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From AChandrashekar at MercuryInsurance.com Wed Oct 29 21:22:38 2003 From: AChandrashekar at MercuryInsurance.com (Akash Chandrashekar) Date: Wed, 29 Oct 2003 12:22:38 -0800 Subject: nrpe plugin help Message-ID: Hi, I have got nrpe plugin working allright with load, disk space etc. Im a little stumped with regards to the check_log one. I get a crc32 error. Can someone be of assistance ? Regards, Akash -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Wed Oct 29 21:25:14 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 29 Oct 2003 14:25:14 -0600 Subject: No Output! problem Message-ID: This must be a day for the psychic help line... What exactly is happening, or not as the case may be? What are your host, service and command definitions that are relevant? Are you able to run the command from the command line _as the nagios user_ on the new machine? check_snmp may not be able to execute or read a program or file that it depends on (/usr/bin/snmpget for example). This is a common cause of No Output problems. strace -fF -s 512 ~nagios/libexec/check_snmp [full command definition]... may offer insight. Also, did you recompile the plugins on the new machine or just copy them over? It would be prudent to recompile since you've implied that you've changed Net-SNMP versions. -- Marc ________________________________________ From: Dan Spray [mailto:danslists at conpoint.com] Sent: Wednesday, October 29, 2003 2:12 PM To: Nagios-Users Hello, ? I just moved Nagios onto another server.? The new server is running Net-SNMP 5.0.9.? It appears that everything is running fine except for the services that depend on snmp, such as interfaces on routers and such.? I'm not sure what I am missing here but any help would be great. ? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jchambers at shaw.ca Wed Oct 29 21:40:53 2003 From: jchambers at shaw.ca (jason) Date: Wed, 29 Oct 2003 13:40:53 -0700 Subject: distributed monitoring setup - ocsp_command not being executed References: Message-ID: <008501c39e5c$f27f8890$de49000a@jchambers2k> ----- Original Message ----- From: "Marc Powell" To: "jason" ; Sent: Wednesday, October 29, 2003 8:17 AM Subject: RE: [Nagios-users] distributed monitoring setup - ocsp_command not being executed > -----Original Message----- > From: jason [mailto:jchambers at shaw.ca] > Sent: Tuesday, October 28, 2003 5:18 PM > To: nagios-users at lists.sourceforge.net > > Hey all, > I am trying to setup distributed monitoring and I am running > into > wall. > After following the steps describing setting up the distributed > server, > I don't see the ocsp_command getting executed. I can execute the > submit_check_result script manually. At first glance your command and nagios config information looks correct. One thing that you don't mention, and is important, is whether you have enabled the obsess_over_service option for each service you wish to submit results for? Here is what I use -- Thanks marc, I've tried embedding the obsess_over_service even at a per service definition and still don't see desired results (don't see updates on the central server), but when I run the submit_check_result command via command line I do see the update... here is the services.cfg: define service { name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 0 register 0 } define service { name alt-service use generic-service check_period 24x7 max_check_attempts 5 normal_check_interval 5 retry_check_interval 1 obsess_over_service 1 event_handler_enabled 1 contact_groups jason notification_interval 60 notification_period 24x7 notification_options c,r register 0 } # define service { use alt-service host_name host1 service_description Ping - Internal check_command check_ping!10.0.0.6!200!20%!800!60% } ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jchambers at shaw.ca Wed Oct 29 21:56:15 2003 From: jchambers at shaw.ca (jason) Date: Wed, 29 Oct 2003 13:56:15 -0700 Subject: distributed monitoring setup - ocsp_command not being executed References: <008501c39e5c$f27f8890$de49000a@jchambers2k> Message-ID: <008b01c39e5f$17f80dc0$de49000a@jchambers2k> more info ----- Original Message ----- From: "jason" To: Sent: Wednesday, October 29, 2003 1:40 PM Subject: Re: [Nagios-users] distributed monitoring setup - ocsp_command not being executed > > ----- Original Message ----- > From: "Marc Powell" > To: "jason" ; > Sent: Wednesday, October 29, 2003 8:17 AM > Subject: RE: [Nagios-users] distributed monitoring setup - ocsp_command not > being executed > > > > > > -----Original Message----- > > From: jason [mailto:jchambers at shaw.ca] > > Sent: Tuesday, October 28, 2003 5:18 PM > > To: nagios-users at lists.sourceforge.net > > > > Hey all, > > I am trying to setup distributed monitoring and I am running > > into > > wall. > > After following the steps describing setting up the distributed > > server, > > I don't see the ocsp_command getting executed. I can execute the > > submit_check_result script manually. > > At first glance your command and nagios config information looks > correct. One thing that you don't mention, and is important, is whether > you have enabled the obsess_over_service option for each service you > wish to submit results for? Here is what I use -- > > Thanks marc, > I've tried embedding the obsess_over_service even at a per service > definition and still don't see desired results > (don't see updates on the central server), but when I run the > submit_check_result command via command line I do see the update... > > here is the services.cfg: > > define service { > name generic-service > active_checks_enabled 1 > passive_checks_enabled 1 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > notifications_enabled 0 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 0 > register 0 > } > > define service { > name alt-service > use generic-service > check_period 24x7 > max_check_attempts 5 > normal_check_interval 5 > retry_check_interval 1 > obsess_over_service 1 > event_handler_enabled 1 > contact_groups jason > notification_interval 60 > notification_period 24x7 > notification_options c,r > register 0 > } > # > define service { > use alt-service > host_name host1 > service_description Ping - Internal > check_command check_ping!10.0.0.6!200!20%!800!60% > } > as well, when i use the web interface to look at configuration, services... this is what nagios sees Service Host Description Max. Check Attempts Normal Check Interval Retry Check Interal Check Command host1 Ping - Internal 5 0h 5m 0s 0h 1m 0s check_ping!10.0.0.6!200!20%!800!60% Check Period Parallelize Volatile Obsess Over Enable Active Checks Enable Passive Checks 24x7 Yes No Yes Yes Yes Check Freshness Freshness Threshold Default Contact Groups Enable Notifications Notification Interval No Auto-determined value snms, rsc No 1h 0m 0s Notification Options Notification Period Event Handler Enable Event Handler Stalking Options Critical, Recovery 24x7 Yes None Enable Flap Detection Low Flap Threshold High Flap Threshold Process Performance Data Enable Failure Prediction Failure Prediction Options Retention Options Yes Program-wide value Program-wide value Yes Yes None ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 comcast.net Wed Oct 29 22:18:33 2003 From: nagios at comcast.net (Tom) Date: Wed, 29 Oct 2003 15:18:33 -0600 Subject: Apan Message-ID: <000c01c39e62$37cd9770$ca01a8c0@gamers.edw> Using the below example can you use snmpgetnext instead of snmpget? (in the service definition) Seems that snmpget won't work with w2k boxes but snmpgetnext will? This is the net-usage example? Measure bandwith-usage 1. Create a service-definition in Nagios: define service { host_name server service_description Net-usage check_command apan!snmpget!10!20 use generic-service normal_check_interval 1 }Note that the last two arguments in the check_command not are used by this plugin. 2. Create a RRD: rrdtool create /usr/local/nagios/rrd/server_Net-usage.rrd -s 60 DS:IN:COUNTER:300:0:U DS:OUT:COUNTER:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 3. Add a line in apan.cfg: server;Net-usage;/usr/local/nagios/rrd/server_Net-usage.rrd;public:.1.3.6.1.2.1.2.2.1.10.2|public:.1.3.6.1.2.1.2.2.1.16.2;IN:LINE2 OUT:LINE2;Network throughput;Bytes/sek; 4. Add an icon and a link as extended service-info: define serviceextinfo{ host_name server service_description Net-usage notes_url /nagios/cgi-bin/apan.cgi?host=server&service=Net-usage icon_image graph.png icon_image_alt View graphs } -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Wed Oct 29 22:06:35 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 29 Oct 2003 15:06:35 -0600 Subject: distributed monitoring setup - ocsp_command not being executed Message-ID: > -----Original Message----- > From: jason [mailto:jchambers at shaw.ca] > Sent: Wednesday, October 29, 2003 2:41 PM > To: nagios-users at lists.sourceforge.net > > > ----- Original Message ----- > From: "Marc Powell" > To: "jason" ; > Sent: Wednesday, October 29, 2003 8:17 AM > Subject: RE: [Nagios-users] distributed monitoring setup - ocsp_command > not > being executed > > > > > > -----Original Message----- > > From: jason [mailto:jchambers at shaw.ca] > > Sent: Tuesday, October 28, 2003 5:18 PM > > To: nagios-users at lists.sourceforge.net > > > > Hey all, > > I am trying to setup distributed monitoring and I am running > > into > > wall. > > After following the steps describing setting up the distributed > > server, > > I don't see the ocsp_command getting executed. I can execute the > > submit_check_result script manually. > > At first glance your command and nagios config information looks > correct. One thing that you don't mention, and is important, is whether > you have enabled the obsess_over_service option for each service you > wish to submit results for? Here is what I use -- > > Thanks marc, > I've tried embedding the obsess_over_service even at a per service > definition and still don't see desired results > (don't see updates on the central server), but when I run the > submit_check_result command via command line I do see the update... > > here is the services.cfg: Again, this looks good. Back to absolute basics- You've restarted nagios since making the changes and verified that you don't have any stray processes running around, right? I would recommend putting some kind of debugging into the submit_check_result script to see if it's even being called. Something as simple as echoing the date/time/host to a file would be sufficient. Just for grins, what does your submit_check_result script contain? Maybe there's a clue there. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Oct 29 22:24:34 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 29 Oct 2003 15:24:34 -0600 Subject: distributed monitoring setup - ocsp_command not being executed Message-ID: Actually, this is what the CGI's see, which could be very different than what nagios is seeing, especially if config changes were made after nagios was running. For the most part, the CGI's are completely separate and detached from the operation of nagios and in fact you could have a perfectly functioning installation without the CGIs. -- Marc > as well, when i use the web interface to look at configuration, > services... > this is what nagios sees > > Service > Host Description Max. Check Attempts Normal Check Interval Retry Check > Interal Check Command > host1 Ping - Internal 5 0h 5m 0s 0h 1m 0s > check_ping!10.0.0.6!200!20%!800!60% > > Check Period Parallelize Volatile Obsess Over Enable Active Checks > Enable Passive Checks > 24x7 Yes No Yes Yes Yes > > Check Freshness Freshness Threshold Default Contact Groups Enable > Notifications Notification Interval > No Auto-determined value snms, rsc No 1h 0m 0s > > Notification Options Notification Period Event Handler Enable Event > Handler Stalking Options > Critical, Recovery 24x7 Yes None > > Enable Flap Detection Low Flap Threshold High Flap Threshold Process > Performance Data Enable Failure Prediction Failure Prediction Options > Retention Options > Yes Program-wide value Program-wide value Yes Yes > None > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danslists at conpoint.com Wed Oct 29 22:18:06 2003 From: danslists at conpoint.com (Dan Spray) Date: Wed, 29 Oct 2003 15:18:06 -0600 Subject: No Output! problem In-Reply-To: References: Message-ID: Thank you for the help...I'm sorry that it was so vague. I did find the problem though, it was the fact that I had not installed Net::SNMP. I installed that and it took right off. Thanks again, Dan -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Wednesday, October 29, 2003 2:25 PM To: danslists at conpoint.com; Nagios-Users Subject: RE: [Nagios-users] No Output! problem This must be a day for the psychic help line... What exactly is happening, or not as the case may be? What are your host, service and command definitions that are relevant? Are you able to run the command from the command line _as the nagios user_ on the new machine? check_snmp may not be able to execute or read a program or file that it depends on (/usr/bin/snmpget for example). This is a common cause of No Output problems. strace -fF -s 512 ~nagios/libexec/check_snmp [full command definition]... may offer insight. Also, did you recompile the plugins on the new machine or just copy them over? It would be prudent to recompile since you've implied that you've changed Net-SNMP versions. -- Marc ________________________________________ From: Dan Spray [mailto:danslists at conpoint.com] Sent: Wednesday, October 29, 2003 2:12 PM To: Nagios-Users Hello, ? I just moved Nagios onto another server.? The new server is running Net-SNMP 5.0.9.? It appears that everything is running fine except for the services that depend on snmp, such as interfaces on routers and such.? I'm not sure what I am missing here but any help would be great. ? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jchambers at shaw.ca Wed Oct 29 22:39:13 2003 From: jchambers at shaw.ca (jason) Date: Wed, 29 Oct 2003 14:39:13 -0700 Subject: distributed monitoring setup - ocsp_command not being executed References: Message-ID: <009e01c39e65$1857f950$de49000a@jchambers2k> > > Thanks marc, > I've tried embedding the obsess_over_service even at a per service > definition and still don't see desired results > (don't see updates on the central server), but when I run the > submit_check_result command via command line I do see the update... > > here is the services.cfg: Again, this looks good. Back to absolute basics- You've restarted nagios since making the changes and verified that you don't have any stray processes running around, right? I would recommend putting some kind of debugging into the submit_check_result script to see if it's even being called. Something as simple as echoing the date/time/host to a file would be sufficient. Just for grins, what does your submit_check_result script contain? Maybe there's a clue there. -- Marc Nice. taking your advice I added an echo line >> /tmp/check-check the file gets updated every couple seconds - so the scipt is being called, but I still don't see the updates on the central server (unlike when being called when executed on the command line). #!/bin/sh # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = state_string (A string representing the status of # the given service - "OK", "WARNING", "CRITICAL" # or "UNKNOWN") # $4 = plugin_output (A text string that should be used # as the plugin output for the service checks) # # Convert the state string to the corresponding return code return_code=-1 case "$3" in OK) return_code=0 ;; WARNING) return_code=1 ;; CRITICAL) return_code=2 ;; UNKNOWN) return_code=-1 ;; esac # pipe the service check info into the send_nsca program, which # in turn transmits the data to the nsca daemon on the central # monitoring server /bin/echo -e "$1\t$2\t$return_code\t$4\n" >> /tmp/check-check /bin/echo -e "$1\t$2\t$return_code\t$4\n" | /usr/local/nagios/bin/send_nsca 10.0.73.235 -c /usr/local/nagios/etc/send_nsca.cfg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Oct 29 23:09:04 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 29 Oct 2003 16:09:04 -0600 Subject: distributed monitoring setup - ocsp_command not being executed Message-ID: > -----Original Message----- > From: jason [mailto:jchambers at shaw.ca] > Sent: Wednesday, October 29, 2003 3:39 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > > Nice. > taking your advice I added an echo line >> /tmp/check-check > the file gets updated every couple seconds - so the scipt is being called, > but I still don't see the updates on the central server (unlike when being > called when executed on the command line). > [snip] > > # pipe the service check info into the send_nsca program, which > # in turn transmits the data to the nsca daemon on the central > # monitoring server > /bin/echo -e "$1\t$2\t$return_code\t$4\n" >> /tmp/check-check > > /bin/echo -e "$1\t$2\t$return_code\t$4\n" | > /usr/local/nagios/bin/send_nsca > 10.0.73.235 -c /usr/local/nagios/etc/send_nsca.cfg > Very similar to mine except I specify the port -- /bin/echo -e "$1\t$2\t$return_code\t$4\n" | /usr/local/nagios/bin/send_nsca [host removed] -p 5668 -c /usr/local/nagios/etc/send_nsca.cfg I can't remember if it's mandatory to specify the port or not actually... It's odd that it works from the command line _and_ it's actually being called by nagios with the right information... The last thing I can think of (besides specifying the port) would be permissions on send_nsca. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jleggat at prescott.edu Wed Oct 29 23:30:48 2003 From: jleggat at prescott.edu (Jeremy Leggat) Date: Wed, 29 Oct 2003 15:30:48 -0700 Subject: Problem installing plugins Message-ID: Hi, I am stuck trying to install nagios-plugins-1.3.1 from the tar file. Having already untarred the install files to their own directory, when I run ./configure it stops at: checking for ping... /bin/ping No error message, the configure program just seems to hang. I am running Mandrake 9.1 and have already installed Nagios 1.1 from tar without any problems. Please help. Thank you, Jeremy ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jchambers at shaw.ca Wed Oct 29 23:18:48 2003 From: jchambers at shaw.ca (jason) Date: Wed, 29 Oct 2003 15:18:48 -0700 Subject: distributed monitoring setup - ocsp_command not being executed References: Message-ID: <00c901c39e6a$a01f3e70$de49000a@jchambers2k> ----- Original Message ----- From: "Marc Powell" To: "jason" ; Sent: Wednesday, October 29, 2003 3:09 PM Subject: RE: [Nagios-users] distributed monitoring setup - ocsp_command not being executed > -----Original Message----- > From: jason [mailto:jchambers at shaw.ca] > Sent: Wednesday, October 29, 2003 3:39 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > > Nice. > taking your advice I added an echo line >> /tmp/check-check > the file gets updated every couple seconds - so the scipt is being called, > but I still don't see the updates on the central server (unlike when being > called when executed on the command line). > [snip] > > # pipe the service check info into the send_nsca program, which > # in turn transmits the data to the nsca daemon on the central > # monitoring server > /bin/echo -e "$1\t$2\t$return_code\t$4\n" >> /tmp/check-check > > /bin/echo -e "$1\t$2\t$return_code\t$4\n" | > /usr/local/nagios/bin/send_nsca > 10.0.73.235 -c /usr/local/nagios/etc/send_nsca.cfg > Very similar to mine except I specify the port -- /bin/echo -e "$1\t$2\t$return_code\t$4\n" | /usr/local/nagios/bin/send_nsca [host removed] -p 5668 -c /usr/local/nagios/etc/send_nsca.cfg I can't remember if it's mandatory to specify the port or not actually... It's odd that it works from the command line _and_ it's actually being called by nagios with the right information... The last thing I can think of (besides specifying the port) would be permissions on send_nsca. -- Marc Jebus!. I added the port and its working like a charm. many thanx. Jason. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AChandrashekar at MercuryInsurance.com Wed Oct 29 23:48:46 2003 From: AChandrashekar at MercuryInsurance.com (Akash Chandrashekar) Date: Wed, 29 Oct 2003 14:48:46 -0800 Subject: check_log on remote clients Message-ID: Hello, Has anyone successfully configured check_log on remote clients ( specifically linux?) If so what remote client is being used? Check_by_ssh or check_nrpe Regards, Akash -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramereth at gentoo.org Thu Oct 30 01:10:21 2003 From: ramereth at gentoo.org (Lance Albertson) Date: Wed, 29 Oct 2003 18:10:21 -0600 Subject: check_ircd woes In-Reply-To: References: Message-ID: <1067472621.2418.4.camel@pursuit> On Mon, 2003-10-27 at 12:00, Marc Powell wrote: > - Stop nagios and kill any processes that may remain (I'm thinking there > might be some because of the intermittent behavior you mention below). Did that, still not working right. > - Continue to use the single host instead of hostgroup for now. Still doing that > - Start nagios and see if the behavior continues. Indeed, it does > - If so, try adding some debugging to check_ircd as below to make sure > you're getting passed what you think you're getting passed -- > > [root at gemini libexec]# diff -C 5 check_ircd check_test > *** check_ircd Thu Aug 15 16:52:33 2002 > --- check_test Mon Oct 27 11:54:24 2003 > *************** > *** 192,201 **** > --- 192,205 ---- > if ($opt_V) { > print_revision($PROGNAME,'$Revision: 1.3 $ '); > exit $ERRORS{'OK'}; > } > > + > + print "Host: $opt_H, warning: $opt_w, critical: $opt_c"; > + exit $ERRORS{'OK'}; > + > if ($opt_h) {print_help(); exit $ERRORS{'OK'};} > > ($opt_H) || ($opt_H = shift) || usage("Host name/address not > specified\n"); > my $remotehost = $1 if ($opt_H =~ /([-.A-Za-z0-9]+)/); > ($remotehost) || usage("Invalid host: $opt_H\n"); > I added that code, and the values being returned seemed to be right. Nothing added. I even tried adding the values for -w -c. When I run the plugin with the added debug, nagios just shows that debug statement. If I take out those lines, I'm back to my problems. > - Worst case, try retyping the command definition... Maybe there's some > weird control characters you can't see that are confusing the plugin. > Not likley but not out of the realm of possibility. You'll need to > restart nagios again, of course. I looked again, nothing weird at all. define command { command_name check_ircd command_line $USER1$/check_ircd -H $HOSTADDRESS$ } I also tried manually setting the path instead of using $USER1$, still no luck. Is anyone one else having this problem?? I'm at a loss here. Thanks, -- Lance Albertson -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From mike at daboyz.org Thu Oct 30 01:50:46 2003 From: mike at daboyz.org (Michael Barrett) Date: Wed, 29 Oct 2003 16:50:46 -0800 Subject: Escalations Message-ID: <20031030005046.GB64676@daboyz.org> Hi, is there any way to define the escalation to be used in the service or host check definitions? The reason I ask is because the way documented seems like it would require a massive escalations configuration. I monitor around 120 services, with at least half of those (probably more) needing an escalation procedure. By the documented method that means I'm going to have to do quite a bit more typing. Please, help my poor dying fingers. :) Thanks in advance for any help. -- ________________________________________________________________________ Mike Barrett | "We have veggie bacon, why don't we have mike at daboyz.org | meat fruit?" www.daboyz.org | -- My ex-coworker, Ben ------------------------+----------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Oct 30 02:33:45 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 29 Oct 2003 20:33:45 -0500 (EST) Subject: check_snmp -s option In-Reply-To: <20031029181840.83906.qmail@web21510.mail.yahoo.com> References: <20031029181840.83906.qmail@web21510.mail.yahoo.com> Message-ID: On Wed, 29 Oct 2003, Jon Lyons wrote: > Am I reading help info for the check_snmp plugin right? I'm trying to > snmp pull a firewall and verify that the policy is installed, however > whenever I use the -s option I get critical. The plugin responds with > installed or not installed depending on the policy... > > 1301-IDS-Console# ./check_snmp -H 10.128.254.12 -o .1.3.6.1.4.1.2620.1.1.1.0 -C bbeedd > SNMP OK - "installed" > > 1301-IDS-Console# ./check_snmp -H 10.128.254.12 -o .1.3.6.1.4.1.2620.1.1.1.0 -C bbeedd -s installed > SNMP CRITICAL - *"installed"* > > 1301-IDS-Console# ./check_snmp -H 10.128.254.12 -o .1.3.6.1.4.1.2620.1.1.1.0 -C bbeedd -s not > SNMP CRITICAL - *"installed"* > 1301-IDS-Console# Can you try the solution in the this bug id? http://sourceforge.net/tracker/index.php?func=detail&aid=756567&group_id=29880&atid=397597 -- -sg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Oct 30 02:31:58 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 29 Oct 2003 20:31:58 -0500 (EST) Subject: Problem installing plugins In-Reply-To: References: Message-ID: On Wed, 29 Oct 2003, Jeremy Leggat wrote: > Hi, > > I am stuck trying to install nagios-plugins-1.3.1 from the tar file. > Having already untarred the install files to their own directory, when I > run ./configure it stops at: > > checking for ping... /bin/ping > > No error message, the configure program just seems to hang. I am > running Mandrake 9.1 and have already installed Nagios 1.1 from tar > without any problems. > Normally check_ping uses "ping -n -c %d %s" or "ping -n -U -c %d %s" Lookis like Mandrake 9.1 may have introduces a new syntax - Can you take a look at the man page for the options? Also try passing arguments to configure "--with-ping-command=SYNTAX sets syntax for ICMP ping" -- -sg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30 at yahoo.com Thu Oct 30 03:33:00 2003 From: jlyons30 at yahoo.com (Jon Lyons) Date: Wed, 29 Oct 2003 18:33:00 -0800 (PST) Subject: Check_snmp -s option Message-ID: <20031030023300.91873.qmail@web21506.mail.yahoo.com> Yep, that fixed it... Thanks! /* create the command line to execute */ asprintf (&command_line, " %s -OQ -m %s -v %s %s %s:%s %s", PATH_TO_SNMPGET, miblist, proto, authpriv, server_address, port, oid); Subhendu Ghosh wrote: On Wed, 29 Oct 2003, Jon Lyons wrote: > Am I reading help info for the check_snmp plugin right? I'm trying to > snmp pull a firewall and verify that the policy is installed, however > whenever I use the -s option I get critical. The plugin responds with > installed or not installed depending on the policy... > > 1301-IDS-Console# ./check_snmp -H 10.128.254.12 -o .1.3.6.1.4.1.2620.1.1.1.0 -C bbeedd > SNMP OK - "installed" > > 1301-IDS-Console# ./check_snmp -H 10.128.254.12 -o .1.3.6.1.4.1.2620.1.1.1.0 -C bbeedd -s installed > SNMP CRITICAL - *"installed"* > > 1301-IDS-Console# ./check_snmp -H 10.128.254.12 -o .1.3.6.1.4.1.2620.1.1.1.0 -C bbeedd -s not > SNMP CRITICAL - *"installed"* > 1301-IDS-Console# --------------------------------- Do you Yahoo!? Exclusive Video Premiere - Britney Spears -------------- next part -------------- An HTML attachment was scrubbed... URL: From shirley at origamipartners.com Thu Oct 30 07:03:20 2003 From: shirley at origamipartners.com (Shirley) Date: Wed, 29 Oct 2003 22:03:20 -0800 (PST) Subject: could not open command file for update Message-ID: aside from directory permissions being wrong, is there any other reason nagios would start to report Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! for any external command attempts? i've looked through the faqs and the only searchable archive i could find, and aside from directory problems, someone reported seeing the problem one night and then having it disappear by morning. initially i did not change any permissions while i was updating cfg files. after restarting nagios to watch the changes take affect, i tried to restart again via the web interface and i started getting first 'could not stat()' errors and after i did all sorts of variations of permissions/ownership on the var/rw/ directory, now i get the 'could not open' with the most permissive options set on that dir. i have restarted apache after every permissions change, btw and restarted nagios process as well several times. external commands are enabled and the right directory is referenced in the main cfg what else can i check? thanks for any help ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Oct 30 07:18:38 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 30 Oct 2003 00:18:38 -0600 Subject: could not open command file for update Message-ID: What are the permissions on nagios.cmd itself? Is your web server user allowed to write to the file, not just the directory? Also, any directories above and including rw must be at least +rx for the web server user (typically 755). -- Marc -----Original Message----- From: Shirley To: Nagios-users at lists.sourceforge.net Sent: Thu Oct 30 00:03:20 2003 Subject: [Nagios-users] could not open command file for update aside from directory permissions being wrong, is there any other reason nagios would start to report Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! for any external command attempts? i've looked through the faqs and the only searchable archive i could find, and aside from directory problems, someone reported seeing the problem one night and then having it disappear by morning. initially i did not change any permissions while i was updating cfg files. after restarting nagios to watch the changes take affect, i tried to restart again via the web interface and i started getting first 'could not stat()' errors and after i did all sorts of variations of permissions/ownership on the var/rw/ directory, now i get the 'could not open' with the most permissive options set on that dir. i have restarted apache after every permissions change, btw and restarted nagios process as well several times. external commands are enabled and the right directory is referenced in the main cfg what else can i check? thanks for any help ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: From shirley at origamipartners.com Thu Oct 30 08:42:43 2003 From: shirley at origamipartners.com (Shirley) Date: Wed, 29 Oct 2003 23:42:43 -0800 (PST) Subject: could not open command file for update In-Reply-To: References: Message-ID: On Thu, 30 Oct 2003, Marc Powell wrote: > What are the permissions on nagios.cmd itself? Is your web server user > allowed to write to the file, not just the directory? prw-rw---- 1 nagios nagios 0 Oct 30 02:06 nagios.cmd webserver runs as nobody. . . once things started 'breaking' i followed the docs, creating a nagiocmd group and making users nagios and nobody part of that group, but i guess it was still creating the actual cmd file with the user/group that i specified during compile time (nagios/nagios). so i added nobody to nagios group and changed directory ownership back to nagios.nagios now the webserver has access to the file and external commands work again. the fact that it stopped working w/o (as far as i could remember) having explicitly changed permissions anywhere confused me, still not sure how or when things changed..thanks very much for your help, it's exactly what i needed pointed out to me ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pierrew at belnet.be Thu Oct 30 11:16:33 2003 From: pierrew at belnet.be (Pierre Wallemacq) Date: Thu, 30 Oct 2003 12:16:33 +0200 Subject: Performance data. Message-ID: <200310301116.33788.pierrew@belnet.be> I am trying to use nagios to gather performance data. Therefore I updated some plugins to collect perfomance data. For example: ./check_juniper_env -c community_string --temp 50:80 --load 50:80 router Problems with:
Temperature: MCS 0 : 50 ?C
| Temp: min (9.2.0,28)#av (41.5813953488372)#max (12.1.0,50);CPU: SFM 1 SPP : 30# SFM 1 SPR Internet Processor II : 30# SFM 3 SPR Internet Processor II : 32# Routing Engine 0 : 19# SFM 0 SPR Internet Processor II : 27# SFM 2 SPP : 18# SFM 0 SPP : 27# SFM 3 SPP : 32# SFM 2 SPR Internet Processor II : 18# Routing Engine 1 : 19 I also recompiled nagios with the --with-file-perfdata file. I also modified nagios.cfg as follows : process_performance_data=1 xpdfile_host_perfdata_file=/var/log/nagios/hostperf.log xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$ xpdfile_service_perfdata_file=/var/log/nagios/serviceperf.log xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t$PERFDATA$ I also changed my templates to set : process_perf_data 1 But when I restart nagios the log files are indeed created but in hostperf.log I see things like: 1067506384 Interxion.bnix.net PING OK - Packet loss = 0%, RTA = 0.78 ms but the other file remains empty ? How can I be sure that indeed nagios is compiled to use --with-file-perfdata? How can check what's hapening, and why no perfomance data are logged? Using the web interface, I see in the process information : Process Performance Data = yes for the services. and on the process page: Performance Data Being Processed? Yes Thank you, Pierre ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ParamanP at microland.net Thu Oct 30 13:41:43 2003 From: ParamanP at microland.net (Paraman Pachaimuthu) Date: Thu, 30 Oct 2003 18:11:43 +0530 Subject: how to get graphs in Nagios ... Message-ID: <226C58401C8BD41195E700B0D022182F030DAF14@mlcor00103> Hi Nagi Kings, I have installed nagios and monitoring is happening with out any problem. I want to see the graphs of monitoring components. I just installed RRD Tools and Apan. I am not getting the graph. What should I do ? The following things I have done in the Nagios server : 1. Services.cfg has been edited with the following content # Service definition define service{ use generic-service ; Name of service template to use host_name PARAMANP service_description Ping is_volatile 0 check_period 24x7 max_check_attempts 10 normal_check_interval 1 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options c,r name Ping check_command apan!ping!100.0,20%!500.0,60% } 2. RRD has been created with the following command. rrdtool create /usr/local/nagios/rrd/PARAMANP_Ping.rrd -s 60 DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 3. apan.cfg has been edited with the following content PARAMANP;Ping;/usr/local/nagios/rrd/PARAMANP_ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds 4. cgi.cfg has been edited with the following content define serviceextinfo{ host_name PARAMANP service_description Ping notes_url /nagios/cgi-bin/apan.cgi?host=PARAMANP&service=Ping icon_image graph.png icon_image_alt View graphs } 5. Nagios has been restarted. How to go on this ? Should I do anything else ? Any help will be appreciated. Thanks. with warm regards, Paraman Pachaimuthu -------------- next part -------------- An HTML attachment was scrubbed... URL: From kphillips at wwre.org Thu Oct 30 14:16:21 2003 From: kphillips at wwre.org (Kevin Phillips) Date: Thu, 30 Oct 2003 08:16:21 -0500 Subject: Permissions error when browsing hosts or services page Message-ID: <3321B3C578DE6F40B92B974303779E6A04E6D3@dcmserver2.wwre.org> Hello, New to using Nagios here... I got it installed and running pretty much but when I connect to the server and try to browse anything having to do with hosts or services I get the following message. It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. I have gone over all file permissions, and file configs but nothing is jumping out at me. Wonder if someone could point out what I am missing. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesusolivan at pickingpack.net Thu Oct 30 15:10:54 2003 From: jesusolivan at pickingpack.net (=?iso-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Thu, 30 Oct 2003 15:10:54 +0100 Subject: how to get graphs in Nagios ... In-Reply-To: <226C58401C8BD41195E700B0D022182F030DAF14@mlcor00103> References: <226C58401C8BD41195E700B0D022182F030DAF14@mlcor00103> Message-ID: how to get graphs in Nagios ...u've to put this line in cgi.cfg: xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg Then, create file /usr/local/nagios/etc/serviceextinfo.cfg and put in: define serviceextinfo{ host_name PARAMANP service_description Ping notes_url /nagios/cgi-bin/apan.cgi?host=PARAMANP&service=Ping icon_image graph.png icon_image_alt View graphs } Regards -----Mensaje original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]En nombre de Paraman Pachaimuthu Enviado el: jueves, 30 de octubre de 2003 13:42 Para: 'nagios-users at lists.sourceforge.net' Asunto: [Nagios-users] how to get graphs in Nagios ... Importancia: Alta Hi Nagi Kings, I have installed nagios and monitoring is happening with out any problem. I want to see the graphs of monitoring components. I just installed RRD Tools and Apan. I am not getting the graph. What should I do ? The following things I have done in the Nagios server : 1. Services.cfg has been edited with the following content # Service definition define service{ use generic-service ; Name of service template to use host_name PARAMANP service_description Ping is_volatile 0 check_period 24x7 max_check_attempts 10 normal_check_interval 1 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options c,r name Ping check_command apan!ping!100.0,20%!500.0,60% } 2. RRD has been created with the following command. rrdtool create /usr/local/nagios/rrd/PARAMANP_Ping.rrd -s 60 DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 3. apan.cfg has been edited with the following content PARAMANP;Ping;/usr/local/nagios/rrd/PARAMANP_ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds 4. cgi.cfg has been edited with the following content define serviceextinfo{ host_name PARAMANP service_description Ping notes_url /nagios/cgi-bin/apan.cgi?host=PARAMANP&service=Ping icon_image graph.png icon_image_alt View graphs } 5. Nagios has been restarted. How to go on this ? Should I do anything else ? Any help will be appreciated. Thanks. with warm regards, Paraman Pachaimuthu -------------- next part -------------- An HTML attachment was scrubbed... URL: From rafe.oxley at moving-edge.net Thu Oct 30 15:20:05 2003 From: rafe.oxley at moving-edge.net (Rafe Oxley) Date: Thu, 30 Oct 2003 14:20:05 -0000 (GMT) Subject: how to get graphs in Nagios ... In-Reply-To: <226C58401C8BD41195E700B0D022182F030DAF14@mlcor00103> References: <226C58401C8BD41195E700B0D022182F030DAF14@mlcor00103> Message-ID: <1593.217.154.88.70.1067523605.squirrel@POP3.moving-edge.net> Hi Paraman Do you see the graph icons in service detail, but just get empty graphs? is PARAMANP_ping.rrd being updated? permissions? And looking at the command lines you've given,you created as PARAMANP_Ping.rrd , but have PARAMANP_ping.rrd in your apan.cfg rgds Rafe > Hi Nagi Kings, > > I have installed nagios and monitoring is happening with out any problem. > I > want to see the graphs of monitoring components. I just installed RRD Tools > and Apan. > I am not getting the graph. What should I do ? > > The following things I have done in the Nagios server : > > > 1. Services.cfg has been edited with the following content > > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name PARAMANP > service_description Ping > is_volatile 0 > check_period 24x7 > max_check_attempts 10 > normal_check_interval 1 > retry_check_interval 1 > contact_groups nt-admins > notification_interval 120 > notification_period 24x7 > notification_options c,r > name Ping > check_command apan!ping!100.0,20%!500.0,60% > } > > 2. RRD has been created with the following command. > > rrdtool create /usr/local/nagios/rrd/PARAMANP_Ping.rrd -s 60 > DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 > > 3. apan.cfg has been edited with the following content > PARAMANP;Ping;/usr/local/nagios/rrd/PARAMANP_ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds > > 4. cgi.cfg has been edited with the following content > > define serviceextinfo{ > host_name PARAMANP > service_description Ping > notes_url /nagios/cgi-bin/apan.cgi?host=PARAMANP&service=Ping > icon_image graph.png > icon_image_alt View graphs > } > > 5. Nagios has been restarted. > > How to go on this ? Should I do anything else ? Any help will be appreciated. Thanks. > > with warm regards, > Paraman Pachaimuthu > > > > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From astamand at ati.com Thu Oct 30 15:40:19 2003 From: astamand at ati.com (Alex St. Amand) Date: Thu, 30 Oct 2003 09:40:19 -0500 Subject: NRPE just won't start on Solaris. Message-ID: <54CC136E5398384485619BC34B3A0F0B01161244@ma00exh02.ma.atitech.com> Hello, I am trying to get NRPE running on a Solaris 8 system. The plugins have compiled correctly and the system has the /dev/random patch applied. The problem I am having is getting NRPE to start. It just does nothing. I have enclosed the entries from both /etc/services and /etc/inetd.conf. I have also enclosed a message I found in /var/adm/messages indicating the address is already in use (which I assume it means port # which is not the case). I HUP, and I HUP, but it just wont start. The nagios user exists and owns and can execute the binary as well as read the config file. Did I miss something here? FROM /ETC/SERVICES: nrpe 5666/tcp # Nagios FROM /ETC/INETD.CONF: nrpe stream tcp nowait nagios /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -inetd FROM /VAR/ADM/MESSAGES: Oct 30 08:55:04 smbck1 nrpe[1361]: [ID 434846 daemon.error] Network server bind failure (125: Address already in use) $ cat /etc/services | grep 5666 nrpe 5666/tcp # Nagios $ Thank you! Alex St. Amand Information Technology ATI Research, Inc. 62 Forest Street Marlborough, MA 01752 astamand at ati.com (508) 263-4843 -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.garrett at shell.com Thu Oct 30 15:56:18 2003 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITDIEEE) Date: Thu, 30 Oct 2003 14:56:18 -0000 Subject: NRPE just won't start on Solaris. Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D5B51E61@abe-s-039.europe.shell.com> Alex Have a check in /usr/local/nagios/etc/nrpe.cfg what does the server_port say it is set to. By default it should be 5666 , but your error logs seem to say it is trying to use port 125 that is all ready used by something else. I would also try running from the command line e.g /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d To see if that sheds any light on the problem. Hope this help's Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom -----Original Message----- From: Alex St. Amand [mailto:astamand at ati.com] Sent: 30 October 2003 14:40 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] NRPE just won't start on Solaris. Hello, I am trying to get NRPE running on a Solaris 8 system. The plugins have compiled correctly and the system has the /dev/random patch applied. The problem I am having is getting NRPE to start. It just does nothing. I have enclosed the entries from both /etc/services and /etc/inetd.conf. I have also enclosed a message I found in /var/adm/messages indicating the address is already in use (which I assume it means port # which is not the case). I HUP, and I HUP, but it just wont start. The nagios user exists and owns and can execute the binary as well as read the config file. Did I miss something here? FROM /ETC/SERVICES: nrpe 5666/tcp # Nagios FROM /ETC/INETD.CONF: nrpe stream tcp nowait nagios /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -inetd FROM /VAR/ADM/MESSAGES: Oct 30 08:55:04 smbck1 nrpe[1361]: [ID 434846 daemon.error] Network server bind failure (125: Address already in use) $ cat /etc/services | grep 5666 nrpe 5666/tcp # Nagios $ Thank you! Alex St. Amand Information Technology ATI Research, Inc. 62 Forest Street Marlborough, MA 01752 astamand at ati.com (508) 263-4843 -------------- next part -------------- An HTML attachment was scrubbed... URL: From astamand at ati.com Thu Oct 30 16:22:46 2003 From: astamand at ati.com (Alex St. Amand) Date: Thu, 30 Oct 2003 10:22:46 -0500 Subject: NRPE just won't start on Solaris. Message-ID: <54CC136E5398384485619BC34B3A0F0B01161255@ma00exh02.ma.atitech.com> Matt, That's the odd thing, the server port is correct: # cat /usr/local/nagios/etc/nrpe.cfg | grep server_port server_port=5666 I tried starting it as a daemon like this: # /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d ...and it just returns to the prompt. If I grep processes for nrpe there's nothing except another one of those error messages in the log file Thanks -Alex -----Original Message----- From: Garrett, Matt M SITI-ITDIEEE [mailto:matt.garrett at shell.com] Sent: Thursday, October 30, 2003 9:56 AM To: Alex St. Amand; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE just won't start on Solaris. Alex Have a check in /usr/local/nagios/etc/nrpe.cfg what does the server_port say it is set to. By default it should be 5666 , but your error logs seem to say it is trying to use port 125 that is all ready used by something else. I would also try running from the command line e.g /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d To see if that sheds any light on the problem. Hope this help's Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom -----Original Message----- From: Alex St. Amand [mailto:astamand at ati.com] Sent: 30 October 2003 14:40 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] NRPE just won't start on Solaris. Hello, I am trying to get NRPE running on a Solaris 8 system. The plugins have compiled correctly and the system has the /dev/random patch applied. The problem I am having is getting NRPE to start. It just does nothing. I have enclosed the entries from both /etc/services and /etc/inetd.conf. I have also enclosed a message I found in /var/adm/messages indicating the address is already in use (which I assume it means port # which is not the case). I HUP, and I HUP, but it just wont start. The nagios user exists and owns and can execute the binary as well as read the config file. Did I miss something here? FROM /ETC/SERVICES: nrpe 5666/tcp # Nagios FROM /ETC/INETD.CONF: nrpe stream tcp nowait nagios /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -inetd FROM /VAR/ADM/MESSAGES: Oct 30 08:55:04 smbck1 nrpe[1361]: [ID 434846 daemon.error] Network server bind failure (125: Address already in use) $ cat /etc/services | grep 5666 nrpe 5666/tcp # Nagios $ Thank you! Alex St. Amand Information Technology ATI Research, Inc. 62 Forest Street Marlborough, MA 01752 astamand at ati.com (508) 263-4843 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Thu Oct 30 16:33:53 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 30 Oct 2003 09:33:53 -0600 Subject: help Message-ID: Well, let's start with the basics since we don't have them. Is this a new installation of nagios or are you just new to using it? If it's a new installation of nagios, unless you specifically ran ./configure with the --with-default-objects option then you're using the wrong command format since nagios actually defaults to the template-based object definitions (see http://nagios.sourceforge.net/docs/1_0/configobject.html) which is much more flexible. Second, what is the exact error that's being reported? With the exception of Microsoft products, the actual error message is often central to determining what the problem is with any program. Third, what versions of nagios and plugins are you using and how were they installed (tar.gz, rpm, deb or other method)? What operating system is it running under and is there anything that you would consider 'special' about your installation? What configure options were used when building the program (if you know). Lastly, please provide the host definition and service definition for at least one host that uses the check_nt_disk command below. -- Marc > -----Original Message----- > From: Mike Grome [mailto:mgrome at techmergency.com] > Sent: Wednesday, October 29, 2003 7:12 PM > To: Marc Powell > > Sorry. I should have included more information, so here it is. Hope > you can help this newbie. > After installing NSClient and following the instructions > per.................. > > On the Unix machine > 1. Copy the file 'check_nt' under the libexec folder of Nagios. > 2. Add the following lines to the commands.cfg file: > -------------------- I have actually put this in the "checkcommands.cfg" > file. > > > # NSClient basic return types > > command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > CPULOAD -l $ARG1$ > command[check_nt_uptime]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > UPTIME > command[check_nt_clientversion]=$USER1$/check_nt -H $HOSTADDRESS$ -p > 1248 -v CLIENTVERSION > command[check_nt_process]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > PROCSTATE -l $ARG1$ > command[check_nt_service]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > SERVICESTATE -l $ARG1$ > command[check_nt_memuse]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > MEMUSE -w $ARG1$ -c $ARG2$ > command[check_nt_fileage]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > FILEAGE -l $ARG1$ -w $ARG2$ -c $ARG3$ > # Custom counters (one per required counter, or define a generic one and > use $ARG1$ to specify the requested counter). > > command[check_nt_pagingfile]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 > -v COUNTER -l "\\Paging File(_Total)\\%% Usage","Paging File usage is > %.2f %%" -w $ARG1$ -c $ARG2$ > > > I get an error when I try to restart nagios that points to the very > first line above (1st line not commented out) > I am trying to use NSClient to monitor remote/local NT machines. Is > this the proper plug in to use or should I be looking at something else > entirely? > Thanks for the assistance!!!!!!!!! > > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Wednesday, October 29, 2003 1:57 PM > To: Mike Grome > Subject: RE: [Nagios-users] help > > $USER1$ is a defined macro in resource.cfg. You shouldn't need to > replace it if you haven't changed its definition in resource.cfg ala > > # Sets $USER1$ to be the path to the plugins > $USER1$=/usr/local/nagios/libexec > > -- > Marc > > > -----Original Message----- > > From: Mike Grome [mailto:mgrome at techmergency.com] > > Sent: Wednesday, October 29, 2003 1:43 PM > > To: Marc Powell > > > > This is going to sound stupid but I was actually looking for what to > put > > where it says $USER$. I know I can use the ip address at $HOSTNAME$ > but > > not sure what I need here. > > > > -----Original Message----- > > From: Marc Powell [mailto:mpowell at ena.com] > > Sent: Wednesday, October 29, 2003 1:30 PM > > To: Mike Grome; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] help > > > > > > > > ________________________________________ > > From: Mike Grome [mailto:mgrome at techmergency.com] > > Sent: Wednesday, October 29, 2003 12:49 PM > > To: nagios-users at lists.sourceforge.net > > > > > > Can someone help me with the following syntax, possibly with an > example?? > > I am stuck. > > > > > > > > command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > > USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > > > > > > This looks like it will work if your service definition looks like -- > > > > check_nt_disk!C!90!95 > > > > That will warn if C: is 90% and critical if it's 95%. Some more > > information on what problem you are having exactly and the relevant > config > > information would be useful. > > > > -- > > Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wmf at noris.de Thu Oct 30 16:49:57 2003 From: wmf at noris.de (Wolfgang Fellner) Date: Thu, 30 Oct 2003 16:49:57 +0100 Subject: snmptrapreceiver and nagios? Message-ID: <3FA13325.6090507@noris.de> Hi, does anybody know an easy way to receive snmptraps from many machines, analyze them, give it an status (ok, warning, critical) and feed it to nagios e.g. with obsessive_svc_handler ? any ideas? thanks for hints. regards, Wolfgang Fellner ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Oct 30 16:59:37 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 30 Oct 2003 09:59:37 -0600 Subject: Permissions error when browsing hosts or services page Message-ID: It's not likely to be a file permissions issue, but that can't be ruled out. Let's start with the basics first before going overboard. Since we don't know the specific steps you have taken to configure authorization (and seemingly missed something), I'll paraphrase http://nagios.sourceforge.net/docs/1_0/cgiauth.html: 1) Modify httpd.conf to add 'AllowOverride AuthConfig' for the nagios/sbin and nagios/share directories. 2) restart httpd. 3) Create a .htpasswd file in your nagios/sbin and nagios/share directories. They should be identical. 4) Create the htpasswd.users file for any users that you will be allowing access for by using the htpasswd command. You'll need to use the -c option _the first time only_ to create the file. After that, when you use htpasswd to add users, leave off the -c option and they'll be appended to the existing htpasswd.users file. *Verification Point* - At this point you should be able to point your browser to your nagios URL and be prompted for a username and password. Once you're successfully authenticated, you'll still see the error page below. Continue on. If not, go back and re-read the documentation again, both for nagios and for your web server. 5) Turn on authentication for the cgi's by setting use_authentication=1 in cgi.cfg. 6) Create contact definitions in contacts.cfg for each user created in step 4. http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact 7) Create contactgroups containing the pertinent contacts from 6 that fits your requirements. http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contactgroup 8) Assign those contactgroups to the specific hosts and services that those users should see when they log in. http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#hostgroup and http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service 9) Restart nagios just for fun. Now, you should be able to log in and see any hosts and services for which you are a contact for. If you continue to have problems and have re-read the pertinent documentation, please include a sample host, service, hostgroup, contactgroup and contact definition (preferably all related) as well as your nagios version, httpd version, OS and version, how nagios was installed (tar.gz, rpm, pkg, deb, etc), configure options (if pertinent) and anything else you think might be useful information. -- Marc ________________________________________ From: Kevin Phillips [mailto:kphillips at wwre.org] Sent: Thursday, October 30, 2003 7:16 AM To: nagios-users at lists.sourceforge.net Hello, New to using Nagios here... I got it installed and running pretty much but when I connect to the server and try to browse anything having to do with hosts or services I get the following message. It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. I have gone over all file permissions, and file configs but nothing is jumping out at me. Wonder if someone could point out what I am missing. Thanks ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbrowett at coquitlam.ca Thu Oct 30 17:18:50 2003 From: dbrowett at coquitlam.ca (Browett, Darren) Date: Thu, 30 Oct 2003 08:18:50 -0800 Subject: Problems compiling with status/map MYSQl functionality Message-ID: <8423DAC11EF82D469CF20CE341CC4EDF0232756C@EXCHANGE.private.coquitlam.bc.ca> I am trying to add statusmap and mysql funcitionality and I am unable to successfully compile a new object on Suse Linux Enterrprise 8.0. My config statement is as follows : ./configure --prefix=/usr/local/nagios \ --with-cgiurl=/nagios/cgi \ --with-htmurl=/nagios \ --with-nagios-user=nagios \ --with-nagios-grp=nagios \ --with-mysql-xdata \ --with-mysql-inc=/usr/local/mysql/include \ --with-mysql-lib=/usr/local/mysql/lib \ --enable-statusmap \ --with-gd-lib=/usr/local/lib \ --with-gd-inc=/usr/local/include When I run this statement, everything look good, but when I run the make all ... the last couple of lines looks like this ../xdata/xdddb.c: In function `xdddb_read_service_downtime': ../xdata/xdddb.c:1210: `MYSQL_RES' undeclared (first use in this function) ../xdata/xdddb.c:1210: `query_result' undeclared (first use in this function) ../xdata/xdddb.c:1211: `MYSQL_ROW' undeclared (first use in this function) ../xdata/xdddb.c:1211: parse error before "result_row" ../xdata/xdddb.c:1242: `result_row' undeclared (first use in this function) make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/usr/local/src/nagios-1.1/base' make: *** [all] Error 2 and looking further back .... cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory ../xdata/xrddb.c:42:26: mysql/errmsg.h: No such file or directory ../xdata/xrddb.c:59: parse error before "xrddb_mysql" Am I missing something ?? Should I try postgresql instead ??? Any help and/or direction would be much appreciated. Thanks Darren ------------------------------------------------------------------------ -------------------------------------------------- Darren Browett P.Eng This message was transmitted Data Administrator using 100% recycled electrons Information and Communication Technology City of Coquitlam P:(604)927 - 3614 E:dbrowett at coquitlam.ca ------------------------------------------------------------------------ --------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Oct 30 17:15:43 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 30 Oct 2003 10:15:43 -0600 Subject: snmptrapreceiver and nagios? Message-ID: I think you're looking for this: http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html While the documentation is specific to arcserv, it can certainly be more generalized. -- Marc > -----Original Message----- > From: Wolfgang Fellner [mailto:wmf at noris.de] > Sent: Thursday, October 30, 2003 9:50 AM > To: nagios-users at lists.sourceforge.net > > Hi, > > does anybody know an easy way to receive snmptraps from many machines, > analyze them, give it an status (ok, warning, critical) and feed it to > nagios e.g. with obsessive_svc_handler ? > any ideas? > thanks for hints. > > regards, > Wolfgang Fellner > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Oct 30 17:41:15 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 30 Oct 2003 10:41:15 -0600 Subject: Problems compiling with status/map MYSQl functionality Message-ID: Try this -- cd /usr/local/mysql/include; ln -s ../include mysql cd /usr/local/mysql/lib; ln -s ../lib mysql I had the same problem with postgres. Nagios assumes that the mysql files are in a folder named 'mysql' in the include and lib directories. -- Marc > -----Original Message----- > From: Browett, Darren [mailto:dbrowett at coquitlam.ca] > Sent: Thursday, October 30, 2003 10:19 AM > To: nagios-users at lists.sourceforge.net > > I am trying to add statusmap and mysql funcitionality and I am unable to > successfully compile > a new object on Suse Linux Enterrprise 8.0. > > My config statement is as follows : > > ./configure --prefix=/usr/local/nagios \ > --with-cgiurl=/nagios/cgi \ > --with-htmurl=/nagios \ > --with-nagios-user=nagios \ > --with-nagios-grp=nagios \ > --with-mysql-xdata \ > --with-mysql-inc=/usr/local/mysql/include \ > --with-mysql-lib=/usr/local/mysql/lib \ > --enable-statusmap \ > --with-gd-lib=/usr/local/lib \ > --with-gd-inc=/usr/local/include > > When I run this statement, everything look good, but when I run the make > all ... > > the last couple of lines looks like this > > ../xdata/xdddb.c: In function `xdddb_read_service_downtime': > ../xdata/xdddb.c:1210: `MYSQL_RES' undeclared (first use in this > function) > ../xdata/xdddb.c:1210: `query_result' undeclared (first use in this > function) > ../xdata/xdddb.c:1211: `MYSQL_ROW' undeclared (first use in this > function) > ../xdata/xdddb.c:1211: parse error before "result_row" > ../xdata/xdddb.c:1242: `result_row' undeclared (first use in this > function) > make[1]: *** [nagios] Error 1 > make[1]: Leaving directory `/usr/local/src/nagios-1.1/base' > make: *** [all] Error 2 > > and looking further back .... > > cc1: warning: changing search order for system directory > "/usr/local/include" > cc1: warning: as it has already been specified as a non-system > directory > cc1: warning: changing search order for system directory > "/usr/local/include" > cc1: warning: as it has already been specified as a non-system > directory > ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory > ../xdata/xrddb.c:42:26: mysql/errmsg.h: No such file or directory > ../xdata/xrddb.c:59: parse error before "xrddb_mysql" > > Am I missing something ?? > > Should I try postgresql instead ??? > > Any help and/or direction would be much appreciated. > > Thanks > > Darren > > > ------------------------------------------------------------------------ > -------------------------------------------------- > Darren Browett P.Eng This > message was transmitted > Data Administrator using > 100% recycled electrons > Information and Communication Technology > City of Coquitlam > P:(604)927 - 3614 > E:dbrowett at coquitlam.ca > ------------------------------------------------------------------------ > --------------------------------------------------- > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dsimpson at friedmancorp.com Thu Oct 30 18:37:36 2003 From: dsimpson at friedmancorp.com (Simpson, Doug) Date: Thu, 30 Oct 2003 11:37:36 -0600 Subject: wap access Message-ID: <20ED00AA0BC135449469D6EF0AE79C976E4388@ozlan.fcdomain.net> I really want to access my nagios using wap but the .htaccess is stopping me from accessing any info via a wap devise. Does anyone know a work around? I really do not want to turn the authorization off. Is there a way to pass a username and password to the .htaccess via a wap devise? Is there anyone using wap to access Nagios? Thanks, Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From dbrowett at coquitlam.ca Thu Oct 30 18:31:27 2003 From: dbrowett at coquitlam.ca (Browett, Darren) Date: Thu, 30 Oct 2003 09:31:27 -0800 Subject: Problems compiling with status/map MYSQl functionality Message-ID: <8423DAC11EF82D469CF20CE341CC4EDF02327584@EXCHANGE.private.coquitlam.bc.ca> Thanks for the response, that worked, now I have another problem, /usr/local/src/nagios-1.1/base/../xdata/xdddb.c:1247: undefined reference to `mysql_free_result' usr/local/src/nagios-1.1/base/../xdata/xdddb.c:1280: undefined reference to `my sql_free_result' collect2: ld returned 1 exit status make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/usr/local/src/nagios-1.1/base' make: *** [all] Error 2 I can't find any reference to collect2, and it doesn't make sense why I get the undefined reference to mysql_free_result as I did a strings on the lib directory and it appears the function exists. Darren -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Thursday, October 30, 2003 8:41 AM To: Browett, Darren; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Problems compiling with status/map MYSQl functionality Try this -- cd /usr/local/mysql/include; ln -s ../include mysql cd /usr/local/mysql/lib; ln -s ../lib mysql I had the same problem with postgres. Nagios assumes that the mysql files are in a folder named 'mysql' in the include and lib directories. -- Marc > -----Original Message----- > From: Browett, Darren [mailto:dbrowett at coquitlam.ca] > Sent: Thursday, October 30, 2003 10:19 AM > To: nagios-users at lists.sourceforge.net > > I am trying to add statusmap and mysql funcitionality and I am unable to > successfully compile > a new object on Suse Linux Enterrprise 8.0. > > My config statement is as follows : > > ./configure --prefix=/usr/local/nagios \ > --with-cgiurl=/nagios/cgi \ > --with-htmurl=/nagios \ > --with-nagios-user=nagios \ > --with-nagios-grp=nagios \ > --with-mysql-xdata \ > --with-mysql-inc=/usr/local/mysql/include \ > --with-mysql-lib=/usr/local/mysql/lib \ > --enable-statusmap \ > --with-gd-lib=/usr/local/lib \ > --with-gd-inc=/usr/local/include > > When I run this statement, everything look good, but when I run the make > all ... > > the last couple of lines looks like this > > ../xdata/xdddb.c: In function `xdddb_read_service_downtime': > ../xdata/xdddb.c:1210: `MYSQL_RES' undeclared (first use in this > function) > ../xdata/xdddb.c:1210: `query_result' undeclared (first use in this > function) > ../xdata/xdddb.c:1211: `MYSQL_ROW' undeclared (first use in this > function) > ../xdata/xdddb.c:1211: parse error before "result_row" > ../xdata/xdddb.c:1242: `result_row' undeclared (first use in this > function) > make[1]: *** [nagios] Error 1 > make[1]: Leaving directory `/usr/local/src/nagios-1.1/base' > make: *** [all] Error 2 > > and looking further back .... > > cc1: warning: changing search order for system directory > "/usr/local/include" > cc1: warning: as it has already been specified as a non-system > directory > cc1: warning: changing search order for system directory > "/usr/local/include" > cc1: warning: as it has already been specified as a non-system > directory > ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory > ../xdata/xrddb.c:42:26: mysql/errmsg.h: No such file or directory > ../xdata/xrddb.c:59: parse error before "xrddb_mysql" > > Am I missing something ?? > > Should I try postgresql instead ??? > > Any help and/or direction would be much appreciated. > > Thanks > > Darren > > > ------------------------------------------------------------------------ > -------------------------------------------------- > Darren Browett P.Eng This > message was transmitted > Data Administrator using > 100% recycled electrons > Information and Communication Technology > City of Coquitlam > P:(604)927 - 3614 > E:dbrowett at coquitlam.ca > ------------------------------------------------------------------------ > --------------------------------------------------- > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From astamand at ati.com Thu Oct 30 19:19:47 2003 From: astamand at ati.com (Alex St. Amand) Date: Thu, 30 Oct 2003 13:19:47 -0500 Subject: NRPE just won't start on Solaris. Message-ID: <54CC136E5398384485619BC34B3A0F0B01161279@ma00exh02.ma.atitech.com> Thanks guys. I changed the port number in both services and the nrpe.cfg file (even though there were no conflicts I could find) and I am able to start it up as a daemon. I can not get it to start by HUP'ing inetd but I am less concerned about that for the moment. I did correct the line in the inetd.conf file as you suggested Phil. Now it works as long as I specify the new port number with the check_nrpe command. Thank you very much for your help. -Alex -----Original Message----- From: Garrett, Matt M SITI-ITDIEEE [mailto:matt.garrett at shell.com] Sent: Thursday, October 30, 2003 10:35 AM To: Alex St. Amand Subject: RE: [Nagios-users] NRPE just won't start on Solaris. Alex Very odd What config options did you give it. Assuming you are using openssl , which version What version of OS , Gcc compiler. since patch was applied , I asume a reboot was done. I asume it is the latest version of nrpe , from the web pages. I know when I first started looking at nrpe about 3 months ago it was a big job to get it working. But I thought the latest build worked fine. One last thing you could try is doing a truss on the process to see if that shows any thing usfull ? Let me know. Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373 Email: Matt.M.Garrett at is.shell.com Internet: http://www.shell.com -----Original Message----- From: Alex St. Amand [mailto:astamand at ati.com] Sent: 30 October 2003 15:23 To: Garrett, Matt M SITI-ITDIEEE; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] NRPE just won't start on Solaris. Matt, That's the odd thing, the server port is correct: # cat /usr/local/nagios/etc/nrpe.cfg | grep server_port server_port=5666 I tried starting it as a daemon like this: # /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d ...and it just returns to the prompt. If I grep processes for nrpe there's nothing except another one of those error messages in the log file Thanks -Alex -----Original Message----- From: Garrett, Matt M SITI-ITDIEEE [mailto:matt.garrett at shell.com] Sent: Thursday, October 30, 2003 9:56 AM To: Alex St. Amand; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NRPE just won't start on Solaris. Alex Have a check in /usr/local/nagios/etc/nrpe.cfg what does the server_port say it is set to. By default it should be 5666 , but your error logs seem to say it is trying to use port 125 that is all ready used by something else. I would also try running from the command line e.g /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d To see if that sheds any light on the problem. Hope this help's Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom -----Original Message----- From: Alex St. Amand [mailto:astamand at ati.com] Sent: 30 October 2003 14:40 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] NRPE just won't start on Solaris. Hello, I am trying to get NRPE running on a Solaris 8 system. The plugins have compiled correctly and the system has the /dev/random patch applied. The problem I am having is getting NRPE to start. It just does nothing. I have enclosed the entries from both /etc/services and /etc/inetd.conf. I have also enclosed a message I found in /var/adm/messages indicating the address is already in use (which I assume it means port # which is not the case). I HUP, and I HUP, but it just wont start. The nagios user exists and owns and can execute the binary as well as read the config file. Did I miss something here? FROM /ETC/SERVICES: nrpe 5666/tcp # Nagios FROM /ETC/INETD.CONF: nrpe stream tcp nowait nagios /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -inetd FROM /VAR/ADM/MESSAGES: Oct 30 08:55:04 smbck1 nrpe[1361]: [ID 434846 daemon.error] Network server bind failure (125: Address already in use) $ cat /etc/services | grep 5666 nrpe 5666/tcp # Nagios $ Thank you! Alex St. Amand Information Technology ATI Research, Inc. 62 Forest Street Marlborough, MA 01752 astamand at ati.com (508) 263-4843 -------------- next part -------------- An HTML attachment was scrubbed... URL: From GWCOOK at mactec.com Thu Oct 30 20:57:21 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Thu, 30 Oct 2003 12:57:21 -0700 Subject: wap access Message-ID: I use it from my Motorola T722i. Works great, uses authentication, asks for username/password. Are you not getting a username/password prompt? Be more specific about "the .htaccess is stopping me from accessing any info" line. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) -----Original Message----- From: Simpson, Doug [mailto:dsimpson at friedmancorp.com] Sent: Thursday, October 30, 2003 10:38 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] wap access I really want to access my nagios using wap but the .htaccess is stopping me from accessing any info via a wap devise. Does anyone know a work around? I really do not want to turn the authorization off. Is there a way to pass a username and password to the .htaccess via a wap devise? Is there anyone using wap to access Nagios? Thanks, Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at peaknetworks.com Thu Oct 30 21:05:20 2003 From: chris at peaknetworks.com (Chris Hale) Date: Thu, 30 Oct 2003 15:05:20 -0500 Subject: Permissions error when browsing hosts or services page In-Reply-To: <3321B3C578DE6F40B92B974303779E6A04E6D3@dcmserver2.wwre.org> References: <3321B3C578DE6F40B92B974303779E6A04E6D3@dcmserver2.wwre.org> Message-ID: <3FA16F00.6020207@peaknetworks.com> Make sure that your apache process has read permission on the .htaccess and htpasswd.users files. Kevin Phillips wrote: > Hello, > > New to using Nagios here? > > I got it installed and running pretty much but when I connect to the > server and try to browse anything having to do with hosts or services > I get the following message. > > It appears as though you do not have permission to view information > for any of the hosts you requested... > > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file. > > I have gone over all file permissions, and file configs but nothing is > jumping out at me. > > Wonder if someone could point out what I am missing. > > Thanks > -- Chris Hale Peak Networks, Inc. Motorola Authorized Canopy Solutions Provider 32 Third Avenue Burlington, MA 01803 TEL: 781-425-6500 FAX: 603-484-4770 chris_at_peaknetworks.com http://www.peaknetworks.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DMelczer at WLRK.com Thu Oct 30 21:14:31 2003 From: DMelczer at WLRK.com (DMelczer at WLRK.com) Date: Thu, 30 Oct 2003 15:14:31 -0500 Subject: wap access Message-ID: Create a new directory under your web root, ie: http://nagios.mycompany.com/wml , copy the statuswml.cgi file into it, and leave out the .htaccess... Make sure you set it up for proper execute permissions in your Apache httpd.conf file. It will draw from the same data and not prompt for authentication. Just access it from your client device as: http://nagios.mycompany.com/wml/statuswml.cgi Good luck. -Dave Melczer dmelczer at wlrk.com -----Original Message----- From: Simpson, Doug [mailto:dsimpson at friedmancorp.com] Sent: Thursday, October 30, 2003 12:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] wap access I really want to access my nagios using wap but the .htaccess is stopping me from accessing any info via a wap devise. Does anyone know a work around? I really do not want to turn the authorization off. Is there a way to pass a username and password to the .htaccess via a wap devise? Is there anyone using wap to access Nagios? Thanks, Doug ********************************************************************** Please be advised that this transmittal may be a confidential attorney-client communication or may otherwise be privileged or confidential. If you are not the intended recipient, please do not read, copy or re-transmit this communication. If you have received this communication in error, please notify us by e-mail (postmaster at wlrk.com) or by telephone (call us collect at 212-403-4357) and delete this message and any attachments. Thank you in advance for your cooperation and assistance. www.wlrk.com ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From dsimpson at friedmancorp.com Thu Oct 30 21:23:21 2003 From: dsimpson at friedmancorp.com (Simpson, Doug) Date: Thu, 30 Oct 2003 14:23:21 -0600 Subject: wap access Message-ID: <20ED00AA0BC135449469D6EF0AE79C976E438F@ozlan.fcdomain.net> I figure out how to get past the authentication - I was trying to hit http://nagios/ with my palm tungsten w and it would error. I then figured out that it is going to http://nagios/side.html and then it did prompt me and give me a place to enter the username and password. However, I cannot view any of my info. I click on any of the links on the sidebar and it fails - "webpage was outdated and was updated" click "accept" so I do and it goes no where. "Tactical Overview" will take me to a new page but then it errors when I click on any of the links on that page. Do I need to add something. Is it not accepting my request because the pages I want are not wap accessable? Thanks for the response, Doug -----Original Message----- From: Cook, Garry [mailto:GWCOOK at mactec.com] Sent: Thursday, October 30, 2003 1:57 PM To: Simpson, Doug; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] wap access I use it from my Motorola T722i. Works great, uses authentication, asks for username/password. Are you not getting a username/password prompt? Be more specific about "the .htaccess is stopping me from accessing any info" line. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) -----Original Message----- From: Simpson, Doug [mailto:dsimpson at friedmancorp.com] Sent: Thursday, October 30, 2003 10:38 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] wap access I really want to access my nagios using wap but the .htaccess is stopping me from accessing any info via a wap devise. Does anyone know a work around? I really do not want to turn the authorization off. Is there a way to pass a username and password to the .htaccess via a wap devise? Is there anyone using wap to access Nagios? Thanks, Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From atonns at mail.ivillage.com Thu Oct 30 21:24:19 2003 From: atonns at mail.ivillage.com (atonns at mail.ivillage.com) Date: Thu, 30 Oct 2003 15:24:19 -0500 Subject: Different paging for different levels Message-ID: Whoops. Looks like my assessment was not 100% accurate. When a service goes from WARNING to CRITICAL it _is_ a hard state change. The problem is that I have notification_interval=0 - which means since it's already sent single notification for a non-OK state (the WARNING) it will not send another notification for ANY OTHER non-OK state (the CRITICAL). What might be the "feature addition" that would make this work for me would be some option to enable some additional logic so that even if the notification_interval=0, Nagios should ignore the time interval and attempt to send a immediate notification (assuming all the other checks like downtime, flapping, etc. pass) whenever there's hard state change. I'd like to work on adding this feature (I've spent a lot of time reading the source at this point) but I don't want to add logic where it doesn't belong. There's a lot of checks going on with "check_service_notification_viability" in notifications.c, but there's nothing about how to determine a hard state change. That's done in checks.c as part of "reap_service_checks". The "semi-psuedo code" for my suggested change to "check_service_notification_viability" would be: /* dont notify contacts about this service problem again if the notification interval is set to 0 * unless forcing notification due to a hard state change */ if(svc->current_state!=STATE_OK && svc->no_more_notifications==TRUE){ if(force_hard_state_change_notification == FALSE || (svc->current_state!=svc->last_state && svc->current_attempt>=svc->max_attempts)) { #ifdef DEBUG4 printf("\tWe shouldn't re-notify contacts about this service problem!\n"); #endif return ERROR; } #ifdef DEBUG4 else { printf("\tNotifications about hard state changes were forced!\n"0; } #endif } -- "Computer science is as much about computers as astronomy is about telescopes" -- Edsger Dijkstra --------------------------------------------------------- Anthony Tonns, UNIX Administrator - atonns at mail.ivillage.com > -----Original Message----- > From: atonns at mail.ivillage.com [mailto:atonns at mail.ivillage.com] > Sent: Friday, October 24, 2003 12:22 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Different paging for different levels > > > Matter of factly, your situation doesn't even work properly. > > ie: > If a service goes from OK to WARNING this is a hard state > change, and it > will notify via email. > If it then goes from WARNING to CRITICAL this is NOT a hard > state change and > it will NOT notify via pager. > > I have not found a solution for this problem. However, I > would really like > to be able to handle sending notification via pager when a > service enters a > CRITICAL state without adding an ocsp_command. > > -- > "Computer science is as much about computers as > astronomy is about telescopes" -- Edsger Dijkstra > --------------------------------------------------------- > Anthony Tonns, UNIX Administrator - atonns at mail.ivillage.com > > > > -----Original Message----- > > From: Chris Gill [mailto:cgill at NewWorldApps.com] > > Sent: Thursday, October 23, 2003 11:32 AM > > To: 'nagios-users at lists.sourceforge.net' > > Subject: [Nagios-users] Different paging for different levels > > > > > > Hi all, > > We've moved to Nagios here over the last few months, > > and things have > > been going swimingly. There's one question, though, that's > > cropped up that I > > can't seem to figure out. Is there a way to send different > > types of alerts > > based on severity. IE: send warning alerts by e-mail, and > > critical alerts by > > pager. The only way I've seen to do this is to set up two > > contacts for each > > user (bob-email, bob-pager). This seems inordinately clunky, > > though. Is > > there a better way to do it? > > > > ----------------------------------------------------------------- > > Christopher P. Gill, Systems Engineer, New World Apps > > cgill at newworldapps.com > > 703-856-7268 (Cell/Business) > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: The SF.net Donation Program. > > Do you like what SourceForge.net is doing for the Open > > Source Community? Make a contribution, and help us add new > > features and functionality. Click here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dsimpson at friedmancorp.com Thu Oct 30 21:28:56 2003 From: dsimpson at friedmancorp.com (Simpson, Doug) Date: Thu, 30 Oct 2003 14:28:56 -0600 Subject: wap access Message-ID: <20ED00AA0BC135449469D6EF0AE79C976E4390@ozlan.fcdomain.net> Excellent thanks for the info. As I said in my last email I figured out the authentication part now I cannot get into view any data. Any thoughts there (please refer to my other email)? Thank you very much, Doug -----Original Message----- From: DMelczer at WLRK.com [mailto:DMelczer at WLRK.com] Sent: Thursday, October 30, 2003 2:15 PM To: Simpson, Doug; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] wap access Create a new directory under your web root, ie: http://nagios.mycompany.com/wml , copy the statuswml.cgi file into it, and leave out the .htaccess... Make sure you set it up for proper execute permissions in your Apache httpd.conf file. It will draw from the same data and not prompt for authentication. Just access it from your client device as: http://nagios.mycompany.com/wml/statuswml.cgi Good luck. -Dave Melczer dmelczer at wlrk.com -----Original Message----- From: Simpson, Doug [mailto:dsimpson at friedmancorp.com] Sent: Thursday, October 30, 2003 12:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] wap access I really want to access my nagios using wap but the .htaccess is stopping me from accessing any info via a wap devise. Does anyone know a work around? I really do not want to turn the authorization off. Is there a way to pass a username and password to the .htaccess via a wap devise? Is there anyone using wap to access Nagios? Thanks, Doug ********************************************************************** Please be advised that this transmittal may be a confidential attorney-client communication or may otherwise be privileged or confidential. If you are not the intended recipient, please do not read, copy or re-transmit this communication. If you have received this communication in error, please notify us by e-mail (postmaster at wlrk.com) or by telephone (call us collect at 212-403-4357) and delete this message and any attachments. Thank you in advance for your cooperation and assistance. www.wlrk.com ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From GWCOOK at mactec.com Thu Oct 30 21:58:32 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Thu, 30 Oct 2003 13:58:32 -0700 Subject: wap access Message-ID: Try using the URL http:///nagios/cgi-bin/statuswml.cgi Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) -----Original Message----- From: Simpson, Doug [mailto:dsimpson at friedmancorp.com] Sent: Thursday, October 30, 2003 1:23 PM To: Cook, Garry; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] wap access I figure out how to get past the authentication - I was trying to hit http://nagios/ with my palm tungsten w and it would error. I then figured out that it is going to http://nagios/side.html and then it did prompt me and give me a place to enter the username and password. However, I cannot view any of my info. I click on any of the links on the sidebar and it fails - "webpage was outdated and was updated" click "accept" so I do and it goes no where. "Tactical Overview" will take me to a new page but then it errors when I click on any of the links on that page. Do I need to add something. Is it not accepting my request because the pages I want are not wap accessable? Thanks for the response, Doug -----Original Message----- From: Cook, Garry [mailto:GWCOOK at mactec.com] Sent: Thursday, October 30, 2003 1:57 PM To: Simpson, Doug; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] wap access I use it from my Motorola T722i. Works great, uses authentication, asks for username/password. Are you not getting a username/password prompt? Be more specific about "the .htaccess is stopping me from accessing any info" line. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) -----Original Message----- From: Simpson, Doug [mailto:dsimpson at friedmancorp.com] Sent: Thursday, October 30, 2003 10:38 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] wap access I really want to access my nagios using wap but the .htaccess is stopping me from accessing any info via a wap devise. Does anyone know a work around? I really do not want to turn the authorization off. Is there a way to pass a username and password to the .htaccess via a wap devise? Is there anyone using wap to access Nagios? Thanks, Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From dsimpson at friedmancorp.com Thu Oct 30 21:59:57 2003 From: dsimpson at friedmancorp.com (Simpson, Doug) Date: Thu, 30 Oct 2003 14:59:57 -0600 Subject: wap access Message-ID: <20ED00AA0BC135449469D6EF0AE79C976E4391@ozlan.fcdomain.net> Thank you thank you - Your response made me rethink my problem and discover that I was not pointing to the correct spot with my wap device. Sweet! It is working. Thank you ALL, Doug -----Original Message----- From: DMelczer at WLRK.com [mailto:DMelczer at WLRK.com] Sent: Thursday, October 30, 2003 2:15 PM To: Simpson, Doug; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] wap access Create a new directory under your web root, ie: http://nagios.mycompany.com/wml , copy the statuswml.cgi file into it, and leave out the .htaccess... Make sure you set it up for proper execute permissions in your Apache httpd.conf file. It will draw from the same data and not prompt for authentication. Just access it from your client device as: http://nagios.mycompany.com/wml/statuswml.cgi Good luck. -Dave Melczer dmelczer at wlrk.com -----Original Message----- From: Simpson, Doug [mailto:dsimpson at friedmancorp.com] Sent: Thursday, October 30, 2003 12:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] wap access I really want to access my nagios using wap but the .htaccess is stopping me from accessing any info via a wap devise. Does anyone know a work around? I really do not want to turn the authorization off. Is there a way to pass a username and password to the .htaccess via a wap devise? Is there anyone using wap to access Nagios? Thanks, Doug ********************************************************************** Please be advised that this transmittal may be a confidential attorney-client communication or may otherwise be privileged or confidential. If you are not the intended recipient, please do not read, copy or re-transmit this communication. If you have received this communication in error, please notify us by e-mail (postmaster at wlrk.com) or by telephone (call us collect at 212-403-4357) and delete this message and any attachments. Thank you in advance for your cooperation and assistance. www.wlrk.com ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From jleggat at prescott.edu Thu Oct 30 23:01:38 2003 From: jleggat at prescott.edu (Jeremy Leggat) Date: Thu, 30 Oct 2003 15:01:38 -0700 Subject: Problem installing plugins In-Reply-To: References: Message-ID: <3FA18A42.40506@prescott.edu> Subhendu Ghosh wrote: >On Wed, 29 Oct 2003, Jeremy Leggat wrote: > > > >>Hi, >> >>I am stuck trying to install nagios-plugins-1.3.1 from the tar file. >>Having already untarred the install files to their own directory, when I >>run ./configure it stops at: >> >>checking for ping... /bin/ping >> >>No error message, the configure program just seems to hang. I am >>running Mandrake 9.1 and have already installed Nagios 1.1 from tar >>without any problems. >> >> >> > >Normally check_ping uses "ping -n -c %d %s" or "ping -n -U -c %d %s" > >Lookis like Mandrake 9.1 may have introduces a new syntax - > >Can you take a look at the man page for the options? > >Also try passing arguments to configure >"--with-ping-command=SYNTAX sets syntax for ICMP ping" > > > > Thanks, I specified the syntax like you suggested and it installed with no problems. Jeremy ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Thu Oct 30 23:02:19 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Thu, 30 Oct 2003 15:02:19 -0700 Subject: wap access Message-ID: I don't like the thought of removing authentication from the nagios site. Besides, if you can't authenticate, how can you gain access to the cgis and acknowledge alerts? Do you think it would work using the url: http://user at password:/nagios/cgi-bin/statuswml.cgi Maybe that should be 'user:password@', I don't recall, haven't used this method in a while. Either way, I think that this would be a better solution for gaining access to protected sites when using a device that will not prompt for authentication. I'd test it myself but I don't have a wireless device that neglects to prompt. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) -----Original Message----- From: DMelczer at WLRK.com [mailto:DMelczer at WLRK.com] Sent: Thursday, October 30, 2003 2:04 PM To: Cook, Garry Subject: RE: [Nagios-users] wap access Unfortunately, Garry, some WAP browsers will prompt, some won't. For example, I know BlackBerry 957 handhelds will NOT prompt for authentication, but will just give an "access denied". BlackBerry 7210 handhelds, on the other hand, will prompt for authentication and process it appropriately. Hence the need in some cases to remove .htaccess... Hope this helps. -Dave Melczer dmelczer at wlrk.com -----Original Message----- From: Cook, Garry [mailto:GWCOOK at mactec.com] Sent: Thursday, October 30, 2003 2:57 PM To: Simpson, Doug; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] wap access I use it from my Motorola T722i. Works great, uses authentication, asks for username/password. Are you not getting a username/password prompt? Be more specific about "the .htaccess is stopping me from accessing any info" line. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) -----Original Message----- From: Simpson, Doug [mailto:dsimpson at friedmancorp.com] Sent: Thursday, October 30, 2003 10:38 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] wap access I really want to access my nagios using wap but the .htaccess is stopping me from accessing any info via a wap devise. Does anyone know a work around? I really do not want to turn the authorization off. Is there a way to pass a username and password to the .htaccess via a wap devise? Is there anyone using wap to access Nagios? Thanks, Doug ********************************************************************** Please be advised that this transmittal may be a confidential attorney-client communication or may otherwise be privileged or confidential. If you are not the intended recipient, please do not read, copy or re-transmit this communication. If you have received this communication in error, please notify us by e-mail (postmaster at wlrk.com) or by telephone (call us collect at 212-403-4357) and delete this message and any attachments. Thank you in advance for your cooperation and assistance. www.wlrk.com ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From dsimpson at friedmancorp.com Fri Oct 31 00:02:21 2003 From: dsimpson at friedmancorp.com (Simpson, Doug) Date: Thu, 30 Oct 2003 17:02:21 -0600 Subject: wap access Message-ID: <20ED00AA0BC135449469D6EF0AE79C976E4394@ozlan.fcdomain.net> I have tested the /nagios/cgi-bin/statuswml.cgi">http://useer:password:@/nagios/cgi -bin/statuswml.cgi with "Deck-it" a wap browser for my PC. It did not work. It comes up "invalid URL" -----Original Message----- From: Cook, Garry [mailto:GWCOOK at mactec.com] Sent: Thursday, October 30, 2003 4:02 PM To: DMelczer at WLRK.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] wap access I don't like the thought of removing authentication from the nagios site. Besides, if you can't authenticate, how can you gain access to the cgis and acknowledge alerts? Do you think it would work using the url: /nagios/cgi-bin/statuswml.cgi">http://user at password:/nagios/cgi-b in/statuswml.cgi Maybe that should be 'user:password@', I don't recall, haven't used this method in a while. Either way, I think that this would be a better solution for gaining access to protected sites when using a device that will not prompt for authentication. I'd test it myself but I don't have a wireless device that neglects to prompt. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) -----Original Message----- From: DMelczer at WLRK.com [mailto:DMelczer at WLRK.com] Sent: Thursday, October 30, 2003 2:04 PM To: Cook, Garry Subject: RE: [Nagios-users] wap access Unfortunately, Garry, some WAP browsers will prompt, some won't. For example, I know BlackBerry 957 handhelds will NOT prompt for authentication, but will just give an "access denied". BlackBerry 7210 handhelds, on the other hand, will prompt for authentication and process it appropriately. Hence the need in some cases to remove .htaccess... Hope this helps. -Dave Melczer dmelczer at wlrk.com -----Original Message----- From: Cook, Garry [mailto:GWCOOK at mactec.com] Sent: Thursday, October 30, 2003 2:57 PM To: Simpson, Doug; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] wap access I use it from my Motorola T722i. Works great, uses authentication, asks for username/password. Are you not getting a username/password prompt? Be more specific about "the .htaccess is stopping me from accessing any info" line. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) -----Original Message----- From: Simpson, Doug [mailto:dsimpson at friedmancorp.com] Sent: Thursday, October 30, 2003 10:38 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] wap access I really want to access my nagios using wap but the .htaccess is stopping me from accessing any info via a wap devise. Does anyone know a work around? I really do not want to turn the authorization off. Is there a way to pass a username and password to the .htaccess via a wap devise? Is there anyone using wap to access Nagios? Thanks, Doug ********************************************************************** Please be advised that this transmittal may be a confidential attorney-client communication or may otherwise be privileged or confidential. If you are not the intended recipient, please do not read, copy or re-transmit this communication. If you have received this communication in error, please notify us by e-mail (postmaster at wlrk.com) or by telephone (call us collect at 212-403-4357) and delete this message and any attachments. Thank you in advance for your cooperation and assistance. www.wlrk.com ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at 9thlevel.org Fri Oct 31 00:33:38 2003 From: mark at 9thlevel.org (Mark Douglas) Date: Thu, 30 Oct 2003 18:33:38 -0500 (EST) Subject: "Could not locate a running Nagios process!" Message-ID: I have the same problem as mentioned a few days ago - however, I've got one additional bit of data to add. Whenever I create said status.log file, if I restart nagios, it gets removed. Obviously some process thinks it's not necessary, while another one does. All my other db functions are working correctly, what's wrong with the status update? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sstormes at jel.net Fri Oct 31 01:37:20 2003 From: sstormes at jel.net (Sonny Stormes) Date: Thu, 30 Oct 2003 16:37:20 -0800 Subject: Socket Timeout Message-ID: I am getting constant errors that read as follows: Socket timeout after 10 seconds What is the cause of this and how can I get rid of it? Keep in mind that the servers are remote to the Nagios instance and that they are up during the alert which lasts between 2 and 10 minutes. Thanks Sonny Stormes sonny at jel.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3299 bytes Desc: not available URL: From mark at douglasclan.ca Fri Oct 31 02:18:11 2003 From: mark at douglasclan.ca (Mark Douglas) Date: Thu, 30 Oct 2003 20:18:11 -0500 (EST) Subject: "Could not locate a running Nagios process!" In-Reply-To: References: Message-ID: Ok, after further reading, I see that this appears to be a problem with the syntax of the nagios_check_command in cgi.conf. However, I can't find any mention of how to configure check_nagios (or another tool) to check if nagios is running properly while using mysql for status logging. check_nagios seems to rely on the existence of var/status.log which isn't being created by my database using configuration. I tried configuring check_procs to look for a minimum of 1 nagios process, but I can't seem to configure the -C option to properly detect that process, let alone any process running on my system. So that's where I'm at now. Any ideas? Thanks, Mark ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at douglasclan.ca Fri Oct 31 02:32:38 2003 From: mark at douglasclan.ca (Mark Douglas) Date: Thu, 30 Oct 2003 20:32:38 -0500 (EST) Subject: "Could not locate a running Nagios process!" In-Reply-To: References: Message-ID: Ok, after further reading, I see that this appears to be a problem with the syntax of the nagios_check_command in cgi.conf. However, I can't find any mention of how to configure check_nagios (or another tool) to check if nagios is running properly while using mysql for status logging. check_nagios seems to rely on the existence of var/status.log which isn't being created by my database using configuration. I tried configuring check_procs to look for a minimum of 1 nagios process, but I can't seem to configure the -C option to properly detect that process, let alone any process running on my system. So that's where I'm at now. Any ideas? Thanks, Mark ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at 9thlevel.org Fri Oct 31 02:35:28 2003 From: mark at 9thlevel.org (Mark Douglas) Date: Thu, 30 Oct 2003 20:35:28 -0500 (EST) Subject: "Could not locate a running Nagios process!" In-Reply-To: References: Message-ID: Ok, after further reading, I see that this appears to be a problem with the syntax of the nagios_check_command in cgi.conf. However, I can't find any mention of how to configure check_nagios (or another tool) to check if nagios is running properly while using mysql for status logging. check_nagios seems to rely on the existence of var/status.log which isn't being created by my database using configuration. I tried configuring check_procs to look for a minimum of 1 nagios process, but I can't seem to configure the -C option to properly detect that process, let alone any process running on my system. So that's where I'm at now. Any ideas? Thanks, Mark ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ParamanP at microland.net Fri Oct 31 04:51:28 2003 From: ParamanP at microland.net (Paraman Pachaimuthu) Date: Fri, 31 Oct 2003 09:21:28 +0530 Subject: how to get graphs in Nagios ... Message-ID: <226C58401C8BD41195E700B0D022182F030DAF17@mlcor00103> Hi Rafe Thanks for the reply. I created an another file as PARAMANP_ping.rrd. I am not getting the graph icon in service details itself. Thanks Paraman Pachaimuthu -----Original Message----- From: Rafe Oxley [mailto:rafe.oxley at moving-edge.net] Sent: Thursday, October 30, 2003 7:50 PM To: nagios-users at lists.sourceforge.net Cc: ParamanP at microland.net Subject: Re: [Nagios-users] how to get graphs in Nagios ... Importance: High Hi Paraman Do you see the graph icons in service detail, but just get empty graphs? is PARAMANP_ping.rrd being updated? permissions? And looking at the command lines you've given,you created as PARAMANP_Ping.rrd , but have PARAMANP_ping.rrd in your apan.cfg rgds Rafe > Hi Nagi Kings, > > I have installed nagios and monitoring is happening with out any problem. > I > want to see the graphs of monitoring components. I just installed RRD Tools > and Apan. > I am not getting the graph. What should I do ? > > The following things I have done in the Nagios server : > > > 1. Services.cfg has been edited with the following content > > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name PARAMANP > service_description Ping > is_volatile 0 > check_period 24x7 > max_check_attempts 10 > normal_check_interval 1 > retry_check_interval 1 > contact_groups nt-admins > notification_interval 120 > notification_period 24x7 > notification_options c,r > name Ping > check_command apan!ping!100.0,20%!500.0,60% > } > > 2. RRD has been created with the following command. > > rrdtool create /usr/local/nagios/rrd/PARAMANP_Ping.rrd -s 60 > DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 > > 3. apan.cfg has been edited with the following content > PARAMANP;Ping;/usr/local/nagios/rrd/PARAMANP_ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds > > 4. cgi.cfg has been edited with the following content > > define serviceextinfo{ > host_name PARAMANP > service_description Ping > notes_url /nagios/cgi-bin/apan.cgi?host=PARAMANP&service=Ping > icon_image graph.png > icon_image_alt View graphs > } > > 5. Nagios has been restarted. > > How to go on this ? Should I do anything else ? Any help will be appreciated. Thanks. > > with warm regards, > Paraman Pachaimuthu > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ParamanP at microland.net Fri Oct 31 04:58:46 2003 From: ParamanP at microland.net (Paraman Pachaimuthu) Date: Fri, 31 Oct 2003 09:28:46 +0530 Subject: how to get graphs in Nagios ... Message-ID: <226C58401C8BD41195E700B0D022182F030DAF18@mlcor00103> Hi Jesus Olivan, Thanks a lot. It works. I am getting graphical icon as well as graphs. Thanks a ton. Have an extra-ordinary day. with warm regards Paraman Pachaimuthu -----Original Message----- From: Jes?s Oliv?n [mailto:jesusolivan at pickingpack.net] Sent: Thursday, October 30, 2003 7:41 PM To: Paraman Pachaimuthu Cc: Nagios List Subject: RE: [Nagios-users] how to get graphs in Nagios ... u've to put this line in cgi.cfg: xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg Then, create file /usr/local/nagios/etc/serviceextinfo.cfg and put in: define serviceextinfo{ host_name PARAMANP service_description Ping notes_url /nagios/cgi-bin/apan.cgi?host=PARAMANP&service=Ping icon_image graph.png icon_image_alt View graphs } Regards -----Mensaje original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]En nombre de Paraman Pachaimuthu Enviado el: jueves, 30 de octubre de 2003 13:42 Para: 'nagios-users at lists.sourceforge.net' Asunto: [Nagios-users] how to get graphs in Nagios ... Importancia: Alta Hi Nagi Kings, I have installed nagios and monitoring is happening with out any problem. I want to see the graphs of monitoring components. I just installed RRD Tools and Apan. I am not getting the graph. What should I do ? The following things I have done in the Nagios server : 1. Services.cfg has been edited with the following content # Service definition define service{ use generic-service ; Name of service template to use host_name PARAMANP service_description Ping is_volatile 0 check_period 24x7 max_check_attempts 10 normal_check_interval 1 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options c,r name Ping check_command apan!ping!100.0,20%!500.0,60% } 2. RRD has been created with the following command. rrdtool create /usr/local/nagios/rrd/PARAMANP_Ping.rrd -s 60 DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 3. apan.cfg has been edited with the following content PARAMANP;Ping;/usr/local/nagios/rrd/PARAMANP_ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds 4. cgi.cfg has been edited with the following content define serviceextinfo{ host_name PARAMANP service_description Ping notes_url /nagios/cgi-bin/apan.cgi?host=PARAMANP&service=Ping icon_image graph.png icon_image_alt View graphs } 5. Nagios has been restarted. How to go on this ? Should I do anything else ? Any help will be appreciated. Thanks. with warm regards, Paraman Pachaimuthu -------------- next part -------------- An HTML attachment was scrubbed... URL: From ric at nkn.net Fri Oct 31 05:16:12 2003 From: ric at nkn.net (Ric Moseley) Date: Thu, 30 Oct 2003 22:16:12 -0600 Subject: distributed monitoring setup - ocsp_command not being executed In-Reply-To: <00c901c39e6a$a01f3e70$de49000a@jchambers2k> References: <00c901c39e6a$a01f3e70$de49000a@jchambers2k> Message-ID: <024c01c39f65$b83d3c40$1bd010ac@theplanet.com> I had a similar problem and I ended up using printf instead of echo. /usr/bin/printf "%s\t%s\t$return_code\t%s\n" $1 "$2" "$4" | /usr/local/nagios/sbin/nsca/send_nsca -H X.X.X.X -c /usr/local/nagi os/sbin/nsca/send_nsca.cfg Ric. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of jason Sent: Wednesday, October 29, 2003 4:19 PM To: Marc Powell; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] distributed monitoring setup - ocsp_command not being executed ----- Original Message ----- From: "Marc Powell" To: "jason" ; Sent: Wednesday, October 29, 2003 3:09 PM Subject: RE: [Nagios-users] distributed monitoring setup - ocsp_command not being executed > -----Original Message----- > From: jason [mailto:jchambers at shaw.ca] > Sent: Wednesday, October 29, 2003 3:39 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > > Nice. > taking your advice I added an echo line >> /tmp/check-check > the file gets updated every couple seconds - so the scipt is being called, > but I still don't see the updates on the central server (unlike when being > called when executed on the command line). > [snip] > > # pipe the service check info into the send_nsca program, which > # in turn transmits the data to the nsca daemon on the central > # monitoring server > /bin/echo -e "$1\t$2\t$return_code\t$4\n" >> /tmp/check-check > > /bin/echo -e "$1\t$2\t$return_code\t$4\n" | > /usr/local/nagios/bin/send_nsca > 10.0.73.235 -c /usr/local/nagios/etc/send_nsca.cfg > Very similar to mine except I specify the port -- /bin/echo -e "$1\t$2\t$return_code\t$4\n" | /usr/local/nagios/bin/send_nsca [host removed] -p 5668 -c /usr/local/nagios/etc/send_nsca.cfg I can't remember if it's mandatory to specify the port or not actually... It's odd that it works from the command line _and_ it's actually being called by nagios with the right information... The last thing I can think of (besides specifying the port) would be permissions on send_nsca. -- Marc Jebus!. I added the port and its working like a charm. many thanx. Jason. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From John.Hirbour at dsl.net Fri Oct 31 05:16:44 2003 From: John.Hirbour at dsl.net (Hirbour, John) Date: 30 Oct 2003 23:16:44 -0500 Subject: Permissions error when browsing hosts or services page In-Reply-To: <3FA16F00.6020207@peaknetworks.com> References: <3321B3C578DE6F40B92B974303779E6A04E6D3@dcmserver2.wwre.org> <3FA16F00.6020207@peaknetworks.com> Message-ID: <1067573804.20664.68.camel@sapporo.dsl.net> Also make sure that if you're using a database backend that you have the proper username/password/host/port etc... to access the database(s). On Thu, 2003-10-30 at 15:05, Chris Hale wrote: > Make sure that your apache process has read permission on the .htaccess > and htpasswd.users files. > > Kevin Phillips wrote: > > > Hello, > > > > New to using Nagios here? > > > > I got it installed and running pretty much but when I connect to the > > server and try to browse anything having to do with hosts or services > > I get the following message. > > > > It appears as though you do not have permission to view information > > for any of the hosts you requested... > > > > If you believe this is an error, check the HTTP server authentication > > requirements for accessing this CGI > > and check the authorization options in your CGI configuration file. > > > > I have gone over all file permissions, and file configs but nothing is > > jumping out at me. > > > > Wonder if someone could point out what I am missing. > > > > Thanks > > > > -- > Chris Hale > Peak Networks, Inc. > Motorola Authorized Canopy Solutions Provider > 32 Third Avenue > Burlington, MA 01803 > TEL: 781-425-6500 > FAX: 603-484-4770 > chris_at_peaknetworks.com > http://www.peaknetworks.com > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ~# John Hirbour OSS Development DSL.net (800)455-5546 Customer Support (866)340-2582 Network Security/Abuse ~# ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From John.Hirbour at dsl.net Fri Oct 31 05:15:42 2003 From: John.Hirbour at dsl.net (Hirbour, John) Date: 30 Oct 2003 23:15:42 -0500 Subject: Nagios: Scaling to monitor larger networks Message-ID: <1067573742.20074.65.camel@sapporo.dsl.net> Can anyone speak to the scaling of nagios when you want to monitor ~ 4000 hosts ? I'm currently working on setting up 3 collector and 2 display stations to monitor our network. I've already run into issues where I can't list too many "hosts" in a "host_group" because there seems to be a limit to how many characters you can have in the members section of a host definition. Any thoughts/comments would be appreciated. -- ~# John Hirbour OSS Development DSL.net (800)455-5546 Customer Support (866)340-2582 Network Security/Abuse ~# ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Oct 31 05:21:20 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 30 Oct 2003 22:21:20 -0600 Subject: "Could not locate a running Nagios process!" Message-ID: Use check_nagios_db in the contrib directory or you could create your own. -- Marc -----Original Message----- From: Mark Douglas To: nagios-users at lists.sourceforge.net Sent: Thu Oct 30 19:35:28 2003 Subject: [Nagios-users] RE: "Could not locate a running Nagios process!" Ok, after further reading, I see that this appears to be a problem with the syntax of the nagios_check_command in cgi.conf. However, I can't find any mention of how to configure check_nagios (or another tool) to check if nagios is running properly while using mysql for status logging. check_nagios seems to rely on the existence of var/status.log which isn't being created by my database using configuration. I tried configuring check_procs to look for a minimum of 1 nagios process, but I can't seem to configure the -C option to properly detect that process, let alone any process running on my system. So that's where I'm at now. Any ideas? Thanks, Mark ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: From wmf at noris.de Fri Oct 31 07:35:31 2003 From: wmf at noris.de (Wolfgang Fellner) Date: Fri, 31 Oct 2003 07:35:31 +0100 Subject: snmptrapreceiver and nagios? In-Reply-To: References: Message-ID: <3FA202B3.10106@noris.de> Marc Powell wrote: > I think you're looking for this: > http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html While the > documentation is specific to arcserv, it can certainly be more > generalized. great, exactly what i've searched for. thanks! regards, wmf ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vanny at artemis-it.com Fri Oct 31 10:34:44 2003 From: vanny at artemis-it.com (soeun vanny) Date: Fri, 31 Oct 2003 18:34:44 +0900 Subject: Any ideas how to restart/stop services on Win2K?! Message-ID: <001201c39f92$38004810$5201a8c0@vanny> Hi, everybody. Does anyone know how to make nagios be able to restart/stop services on Windows machines?Or is there any plugin that can do so? Cheers, vanny ######################################## Japan Artemis Co. Tokyo Toshima Kami-ikebukuro 1-25-2-201 ????03-5961-6802 ????03-5961-6804 Email:vanny at artemis-it.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Oct 31 11:29:06 2003 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Fri, 31 Oct 2003 10:29:06 -0000 Subject: Nagios+Postgres stopping service checks Message-ID: <251F83C07099B54EB727A3B9D784451A07674A30@vulcan.ukonline.co.uk> Hi, Does anyone have problems with Nagios stopping service checks when using Postgres for all external data? Using nagios 1.1_3, postgres 7.3.4_1 on FreeBSD 4.8. We're testing with around 1200 hosts and 2000 services. Everything runs fine for a few hours, sometimes a couple of days, then all service checks suddenly stop. Nagios is still running - still listening to its command pipe, auto-saving retention data periodically, updating the last_update data for each service, but not executing checks (next_check scheduled time stays static at whichever time nagios appears to stop checks) Tried passing forced schedule checks via the command pipe, these are logged correctly in nagios.log but don't get executed, nor updated in the DB. We've run the same service/host config against a nagios without postgres support, and this keeps running fine - so it doesnt' appear to be a particular external command hanging. We're vacuuming nagios every 2 hours (the only way we can keep the database response at a reasonable level) but not a full vacuum, so there's no exclusive lock problems - and other data is still being updated, so it wouldn't appear to be a general database locking problem. Anyone have any suggestions? Thanks, -- Dan ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ParamanP at microland.net Fri Oct 31 11:42:05 2003 From: ParamanP at microland.net (Paraman Pachaimuthu) Date: Fri, 31 Oct 2003 16:12:05 +0530 Subject: How to get Disk utilization graph in Nagios ... Message-ID: <226C58401C8BD41195E700B0D022182F030DAF23@mlcor00103> Hi Nagi Kings, I have a challenge with Nagios. My Nagios server is up,rrd tools and Apan is also up. I am getting graph for the Ping service and not for anything else (like Disk, Load ). The error display is : Status : Unknown States information : No perf-definition for service. The following are the config setting of the machine . 1. services.cfg is edited with the following setting # Service definition define service{ use generic-service ; Name of service template to use host_name matter service_description diska is_volatile 0 check_period 24x7 max_check_attempts 10 normal_check_interval 1 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r name disk check_command apan!disk!85!95 } 2. RRD has been created with the following command. rrdtool create /usr/local/nagios/rrd/matter_disk_usage.rrd -s 60 DS:root:GAUGE:300:0:U DS:home:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 3. cgi.cfg has been edited with the following setting. matter;disk_usage;/usr/local/nagios/rrd/matter_disk_usage.rrd;/|/export/home ;root:LINE2 home:LINE2;Disk usage;%; 4. serviceextinfo.cfg has been edited with the following setting. define serviceextinfo{ host_name matter service_description disk_usage notes_url /nagios/cgi-bin/apan.cgi?host=matter&service=disk_usage icon_image graph.png icon_image_alt View graphs } Note : If I replace the check_command of service.cfg with 'check_command check_local_disk!20!10!/dev/hda3 ', it works normally with out any graph. How to get the graph of disk utilization ? Any help will be appreciated. Thanks. with warm regards, Paraman Pachaimuthu -------------- next part -------------- An HTML attachment was scrubbed... URL: From fredrik.wanglund at datavis.se Fri Oct 31 12:26:10 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 31 Oct 2003 12:26:10 +0100 Subject: How to get Disk utilization graph in Nagios ... In-Reply-To: <226C58401C8BD41195E700B0D022182F030DAF23@mlcor00103> References: <226C58401C8BD41195E700B0D022182F030DAF23@mlcor00103> Message-ID: <3FA246D2.7070607@datavis.se> see inline comments ... > > # Service definition > define service{ > use generic-service ; Name > of service template to use > > host_name matter > service_description diska > is_volatile 0 > check_period 24x7 > max_check_attempts 10 > normal_check_interval 1 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > name disk > check_command apan!disk!85!95 > } .... > > *3. cgi.cfg has been edited with the following setting.* > > matter;disk_usage;/usr/local/nagios/rrd/matter_disk_usage.rrd;/|/export/home;root:LINE2 > home:LINE2;Disk usage;%; > I hope you mean apan.cfg, not cgi.cfg. The second field should be the name of the service - diska, not disk_usage (service_description in services.cfg). > *4. serviceextinfo.cfg has been edited with the following setting.* > > define serviceextinfo{ > host_name matter > service_description disk_usage > notes_url > /nagios/cgi-bin/apan.cgi?host=matter&service=disk_usage > icon_image graph.png > icon_image_alt View graphs > } > same here; service_description does not match the service. /FredrikW ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ebollengier at sigma.fr Fri Oct 31 14:38:40 2003 From: ebollengier at sigma.fr (BOLLENGIER Eric) Date: Fri, 31 Oct 2003 14:38:40 +0100 Subject: Nagios+Postgres stopping service checks In-Reply-To: <251F83C07099B54EB727A3B9D784451A07674A30@vulcan.ukonline.co.uk> References: <251F83C07099B54EB727A3B9D784451A07674A30@vulcan.ukonline.co.uk> Message-ID: <1067607520.1065.26.camel@plume.sigma.fr> Hi, I have the same problem with a redhat 7.3 and nagios1.0. But it's seem to appen sometime when i restart nagios with the web interface.... Hope it's help Regards Eric On Fri, 2003-10-31 at 11:29, Dan Hopkins wrote: > Hi, > Does anyone have problems with Nagios stopping service checks when using > Postgres for all external data? > > Using nagios 1.1_3, postgres 7.3.4_1 on FreeBSD 4.8. We're testing with > around 1200 hosts and 2000 services. Everything runs fine for a few hours, > sometimes a couple of days, then all service checks suddenly stop. Nagios is > still running - still listening to its command pipe, auto-saving retention > data periodically, updating the last_update data for each service, but not > executing checks (next_check scheduled time stays static at whichever time > nagios appears to stop checks) > > Tried passing forced schedule checks via the command pipe, these are logged > correctly in nagios.log but don't get executed, nor updated in the DB. We've > run the same service/host config against a nagios without postgres support, > and this keeps running fine - so it doesnt' appear to be a particular > external command hanging. > > We're vacuuming nagios every 2 hours (the only way we can keep the database > response at a reasonable level) but not a full vacuum, so there's no > exclusive lock problems - and other data is still being updated, so it > wouldn't appear to be a general database locking problem. > > Anyone have any suggestions? > > Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at 9thlevel.org Fri Oct 31 15:06:12 2003 From: mark at 9thlevel.org (Mark Douglas) Date: Fri, 31 Oct 2003 09:06:12 -0500 (EST) Subject: "Could not locate a running Nagios process!" In-Reply-To: References: Message-ID: Ahh, that did it. Need to apologize for my triple post yesterday - I had a brain fart and sent my reply from the wrong e-mail address, and then assuming it would get rejected as that e-mail is not the one I subscribed with, sent again (from the wrong e-mail) and finally from the right one. All this, only to discover in my mailbox an hour later, my three posts. DOH! Anyway folks, my apologies and thanks for helping me get this issue sorted! Mark On Thu, 30 Oct 2003, Marc Powell wrote: > Use check_nagios_db in the contrib directory or you could create your own. > > > -- > Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Basile.Mathieu at siris.sorbonne.fr Fri Oct 31 15:43:28 2003 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Fri, 31 Oct 2003 15:43:28 +0100 Subject: nrpe_nt plugins Message-ID: <5.0.2.1.2.20031031153529.00a6b200@195.220.107.3> hi i want to install nrpe_nt and search for plugins on miwi-dv.com there is a link for nrpe_nt plugins but then i am on a foum and dont understant how to download the plugins. does i register ? thanks ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From John.Hirbour at dsl.net Fri Oct 31 16:08:44 2003 From: John.Hirbour at dsl.net (Hirbour, John) Date: 31 Oct 2003 10:08:44 -0500 Subject: Nagios: Scaling to monitor larger networks In-Reply-To: <1067573742.20074.65.camel@sapporo.dsl.net> References: <1067573742.20074.65.camel@sapporo.dsl.net> Message-ID: <1067612924.31887.5.camel@sapporo.dsl.net> Not to answer my own question but I found out if you're defining a host group you can just split the members line and list as many as you want define hostgroup { hostgroup_name my_group alias my group members host1, host2 host3 members host4, host5, host6 contact_groups me } On Thu, 2003-10-30 at 23:15, Hirbour, John wrote: > Can anyone speak to the scaling of nagios when you want to monitor ~ > 4000 hosts ? > > I'm currently working on setting up 3 collector and 2 display stations > to monitor our network. I've already run into issues where I can't list > too many "hosts" in a "host_group" because there seems to be a limit to > how many characters you can have in the members section of a host > definition. > > Any thoughts/comments would be appreciated. > > -- > ~# > John Hirbour > OSS Development > DSL.net > (800)455-5546 Customer Support > (866)340-2582 Network Security/Abuse > ~# > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ~# John Hirbour OSS Development DSL.net (203)782-3871 (800)455-5546 Customer Support (866)340-2582 Network Security/Abuse ~# ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alberto at gridshield.net Fri Oct 31 16:54:39 2003 From: alberto at gridshield.net (Alberto Brealey G.) Date: Fri, 31 Oct 2003 09:54:39 -0600 Subject: "Could not locate a running Nagios process!" In-Reply-To: References: Message-ID: <1067615678.11047.7.camel@moon.gridshield.local> On Thu, 2003-10-30 at 19:18, Mark Douglas wrote: > Ok, after further reading, I see that this appears to be a problem with the > syntax of the nagios_check_command in cgi.conf. However, I can't find any > mention of how to configure check_nagios (or another tool) to check if nagios is > running properly while using mysql for status logging. there are a couple of alternatives to check_nagios on the contrib/ directory in the plugins distribution (1.3.1): check_nagios.pl and check_nagios_db.pl. I've never used anyone of them, but I can see that there is code to check that the nagios process is updating the database. hope this helps, -- Alberto Brealey G. alberto at gridshield.net ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Oct 31 17:04:30 2003 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Fri, 31 Oct 2003 16:04:30 -0000 Subject: Nagios: Scaling to monitor larger networks Message-ID: <251F83C07099B54EB727A3B9D784451A07674A34@vulcan.ukonline.co.uk> I'm suprised this works - I've tried before (and just re-tried now to confirm), only the last members line is detected, any preceeding hosts generate warnings of the: Warning: Host 'xxx' is not a member of any host groups! variety. (This is with nagios 1.3) Have you tested your config with a nagios -v ? fyi: our workaround was to generate multiple hostgroups when detecting members lines breaching the 8192 byte line length (our config is generated from a database) It's hardly ideal, but a short term fix. -- Dan Hopkins > -----Original Message----- > From: Hirbour, John [mailto:John.Hirbour at dsl.net] > Sent: 31 October 2003 15:09 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios: Scaling to monitor larger networks > > > Not to answer my own question but I found out if you're > defining a host > group you can just split the members line and list as many as you want > > define hostgroup { > hostgroup_name my_group > alias my group > members host1, host2 host3 > members host4, host5, host6 > contact_groups me > } > On Thu, 2003-10-30 at 23:15, Hirbour, John wrote: > > Can anyone speak to the scaling of nagios when you want to monitor ~ > > 4000 hosts ? > > > > I'm currently working on setting up 3 collector and 2 > display stations > > to monitor our network. I've already run into issues where > I can't list > > too many "hosts" in a "host_group" because there seems to > be a limit to > > how many characters you can have in the members section of a host > > definition. > > > > Any thoughts/comments would be appreciated. > > > > -- > > ~# > > John Hirbour > > OSS Development > > DSL.net > > (800)455-5546 Customer Support > > (866)340-2582 Network Security/Abuse > > ~# > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > -- > ~# > John Hirbour > OSS Development > DSL.net > (203)782-3871 > (800)455-5546 Customer Support > (866)340-2582 Network Security/Abuse > ~# > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Siegers at bauerverlag.de Fri Oct 31 17:01:00 2003 From: Daniel.Siegers at bauerverlag.de (Daniel Siegers) Date: Fri, 31 Oct 2003 17:01:00 +0100 Subject: Escaltion Problem Message-ID: Hi mailing list, i ve got a problem with hostescaltions. i ve got a host with 6 passive and 2 active services. hostnotifyinterval is set to 5 mins. servicecheckintervals are from 5 to 30 mins. if the host goes down i got an inital notfcation but no more. has anyone an idea ? Mit freundlichen Gr??en / Kind regards Daniel Siegers Systemadministrator Heinrich Bauer Dienstleistungs KG Brieffach 4620 Burchardstra?e 11 D-20077 Hamburg Telefon +49 (40)-3019-1991 Fax +49 (40)-3019-140-1991 E-Mail Daniel.Siegers at Bauerverlag.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Fri Oct 31 17:14:35 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 31 Oct 2003 10:14:35 -0600 Subject: Nagios: Scaling to monitor larger networks Message-ID: For both of you, I've had success just upping the input buffer limit. It may not be good programming, but it works -- xodtemplate.h:#define MAX_XODTEMPLATE_INPUT_BUFFER 49152 -- Marc > -----Original Message----- > From: Dan Hopkins [mailto:dan.hopkins at uk.easynet.net] > Sent: Friday, October 31, 2003 10:05 AM > To: 'Hirbour, John'; nagios-users at lists.sourceforge.net > > I'm suprised this works - I've tried before (and just re-tried now to > confirm), only the last members line is detected, any preceeding hosts > generate warnings of the: > > Warning: Host 'xxx' is not a member of any host groups! > > variety. (This is with nagios 1.3) Have you tested your config with a > nagios > -v ? > > fyi: our workaround was to generate multiple hostgroups when detecting > members lines breaching the 8192 byte line length (our config is generated > from a database) It's hardly ideal, but a short term fix. > > -- > Dan Hopkins > > > -----Original Message----- > > From: Hirbour, John [mailto:John.Hirbour at dsl.net] > > Sent: 31 October 2003 15:09 > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Nagios: Scaling to monitor larger networks > > > > > > Not to answer my own question but I found out if you're > > defining a host > > group you can just split the members line and list as many as you want > > > > define hostgroup { > > hostgroup_name my_group > > alias my group > > members host1, host2 host3 > > members host4, host5, host6 > > contact_groups me > > } > > On Thu, 2003-10-30 at 23:15, Hirbour, John wrote: > > > Can anyone speak to the scaling of nagios when you want to monitor ~ > > > 4000 hosts ? > > > > > > I'm currently working on setting up 3 collector and 2 > > display stations > > > to monitor our network. I've already run into issues where > > I can't list > > > too many "hosts" in a "host_group" because there seems to > > be a limit to > > > how many characters you can have in the members section of a host > > > definition. > > > > > > Any thoughts/comments would be appreciated. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Oct 31 17:15:13 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 31 Oct 2003 10:15:13 -0600 Subject: Nagios: Scaling to monitor larger networks Message-ID: I too am surprised this works. -- Marc > -----Original Message----- > From: Hirbour, John [mailto:John.Hirbour at dsl.net] > Sent: Friday, October 31, 2003 9:09 AM > To: nagios-users at lists.sourceforge.net > > Not to answer my own question but I found out if you're defining a host > group you can just split the members line and list as many as you want > > define hostgroup { > hostgroup_name my_group > alias my group > members host1, host2 host3 > members host4, host5, host6 > contact_groups me > } > On Thu, 2003-10-30 at 23:15, Hirbour, John wrote: > > Can anyone speak to the scaling of nagios when you want to monitor ~ > > 4000 hosts ? > > > > I'm currently working on setting up 3 collector and 2 display stations > > to monitor our network. I've already run into issues where I can't list > > too many "hosts" in a "host_group" because there seems to be a limit to > > how many characters you can have in the members section of a host > > definition. > > > > Any thoughts/comments would be appreciated. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DOlbersen at stbernard.com Fri Oct 31 17:10:46 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Fri, 31 Oct 2003 08:10:46 -0800 Subject: Nagios: Scaling to monitor larger networks Message-ID: Hirbour, John wrote: > Not to answer my own question but I found out if you're defining a host > group you can just split the members line and list as many as you want > > define hostgroup { > hostgroup_name my_group > alias my group > members host1, host2 host3 > members host4, host5, host6 > contact_groups me > } John, What version are you running? With 1.1 it looks to me like only the last 'members' statement is taken. -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Fri Oct 31 17:30:56 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Fri, 31 Oct 2003 10:30:56 -0600 Subject: Any ideas how to restart/stop services on Win2K?! Message-ID: <352B04312822444A962714393AED8A4D0268E9@ADAEVS01.int.chickasaw.net> You can use the event handler feature run a local bat file on the box the stop and start the services. This is easy if nagios is running on the Windoze machine. But if not, look into rsh or ssh for remote machines. Both rsh and ssh servers are available for the Win32 platform. > -----Original Message----- > From: soeun vanny [mailto:vanny at artemis-it.com] > Sent: Friday, October 31, 2003 3:35 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Any ideas how to restart/stop services on Win2K?! > > > > > Hi, everybody. > > Does anyone know how to make nagios be able to restart/stop services on > Windows machines?Or is there any plugin that can do so? > > Cheers, > vanny > > > > > > > > > ######################################## > Japan Artemis Co. > Tokyo Toshima Kami-ikebukuro 1-25-2-201 > ????03-5961-6802 > ????03-5961-6804 > Email:vanny at artemis-it.com > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lane.Williams at jhuapl.edu Fri Oct 31 17:42:51 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Fri, 31 Oct 2003 11:42:51 -0500 Subject: Any ideas how to restart/stop services on Win2 K?! Message-ID: Samba-TNG's rpcclient will do the job via an event-handler. Lane -----Original Message----- From: soeun vanny [mailto:vanny at artemis-it.com] Sent: Friday, October 31, 2003 4:35 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Any ideas how to restart/stop services on Win2K?! Hi, everybody. Does anyone know how to make nagios be able to restart/stop services on Windows machines?Or is there any plugin that can do so? Cheers, vanny ######################################## Japan Artemis Co. Tokyo Toshima Kami-ikebukuro 1-25-2-201 ????03-5961-6802 ????03-5961-6804 Email:vanny at artemis-it.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jchambers at shaw.ca Fri Oct 31 18:09:43 2003 From: jchambers at shaw.ca (jason) Date: Fri, 31 Oct 2003 10:09:43 -0700 Subject: Distributed Monitorig References: Message-ID: <005101c39fd1$c7444ff0$de49000a@jchambers2k> Any tips for the distributed servers? I am changing the architecture from 3 stand-alone instances to this distributed model and I am looking for ways to make the dist. servers (3 of them) run more efficiently while monitoring ~900 services each. cfg file options, services & service dependencies.... any experience that can be passed on would be appreciated. tia, Jason. ----- Original Message ----- From: "Marc Powell" To: ; Sent: Wednesday, October 29, 2003 8:06 AM Subject: RE: [Nagios-users] Distributed Monitorig > -----Original Message----- > From: Roland.Sorgenfrei at spb.de [mailto:Roland.Sorgenfrei at spb.de] > Sent: Wednesday, October 29, 2003 2:10 AM > To: nagios-users at lists.sourceforge.net > > Hi all, > > my first question was the limitation from nagios. Well i know, i can solve > my requirement problem ( 600 server with round > about 25 services per server, in sum 15 000 services) with nagios > "distributed monitoring". > > But now i have the next question, have anyone experience with distributed > monitoring from a large network ? Yes, well moderate sized network at least. 2530 services on 1811 hosts at the moment. > And what kind of experience ? Generally positive. The CGI's are slow, I've had to disable host checking entirely but other than that, I like it. I'm anxiously awaiting 2.0 beta though. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jfitzhug at macromedia.com Fri Oct 31 20:00:21 2003 From: jfitzhug at macromedia.com (Justin Fitzhugh) Date: Fri, 31 Oct 2003 11:00:21 -0800 Subject: Monitoring Performance explanation Message-ID: <79CC280B-0BD4-11D8-8A4D-000A958C4BEA@macromedia.com> Hello, Can any one give me a good, detailed explanation of what the metrics on tac.cgi mean? Specificly "Check Latency" and "Check Exectuion Time" and the associated data points (three for each)? I assume they help display the health of Nagios, but I would like to understand what they mean so I know when to get worried and how to fix them. For example, how much "Check Latency" is too much and what adverse affects should be expected? Thanks, -Justin ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kurgoth at comcast.net Fri Oct 31 21:15:38 2003 From: kurgoth at comcast.net (Kurgoth) Date: Fri, 31 Oct 2003 14:15:38 -0600 Subject: traceroute.cgi Message-ID: <000801c39feb$c3589800$ca01a8c0@gamers.edw> I was looking for documentation on where to add the traceroute.cgi into the nagios site? Where can it be placed to trace to each device in the list. Thanks, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From dan.hopkins at uk.easynet.net Fri Oct 31 20:57:21 2003 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Fri, 31 Oct 2003 19:57:21 -0000 Subject: Nagios: Scaling to monitor larger networks In-Reply-To: References: Message-ID: <000301c39fe9$360269b0$0000fea9@DILLIGAFF> Erk! My mistake, this should of course be nagios-1.1 (as a freebsd port it's nagios-1.1_3) Sorry about the confusion :) -- Dan -----Original Message----- From: Jason Martin [mailto:jhmartin at toger.us] Sent: 31 October 2003 18:47 To: Dan Hopkins Subject: RE: [Nagios-users] Nagios: Scaling to monitor larger networks -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nagios 1.3? Where did you get that? - -Jason Martin On Fri, 31 Oct 2003, Dan Hopkins wrote: > I'm suprised this works - I've tried before (and just re-tried now to > confirm), only the last members line is detected, any preceeding hosts > generate warnings of the: > > Warning: Host 'xxx' is not a member of any host groups! > > variety. (This is with nagios 1.3) Have you tested your config with a nagios > -v ? > > fyi: our workaround was to generate multiple hostgroups when detecting > members lines breaching the 8192 byte line length (our config is generated > from a database) It's hardly ideal, but a short term fix. > > -- > Dan Hopkins > > > -----Original Message----- > > From: Hirbour, John [mailto:John.Hirbour at dsl.net] > > Sent: 31 October 2003 15:09 > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Nagios: Scaling to monitor larger networks > > > > > > Not to answer my own question but I found out if you're > > defining a host > > group you can just split the members line and list as many as you want > > > > define hostgroup { > > hostgroup_name my_group > > alias my group > > members host1, host2 host3 > > members host4, host5, host6 > > contact_groups me > > } > > On Thu, 2003-10-30 at 23:15, Hirbour, John wrote: > > > Can anyone speak to the scaling of nagios when you want to monitor ~ > > > 4000 hosts ? > > > > > > I'm currently working on setting up 3 collector and 2 > > display stations > > > to monitor our network. I've already run into issues where > > I can't list > > > too many "hosts" in a "host_group" because there seems to > > be a limit to > > > how many characters you can have in the members section of a host > > > definition. > > > > > > Any thoughts/comments would be appreciated. > > > > > > -- > > > ~# > > > John Hirbour > > > OSS Development > > > DSL.net > > > (800)455-5546 Customer Support > > > (866)340-2582 Network Security/Abuse > > > ~# > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > Does SourceForge.net help you be more productive? Does it > > > help you create better code? SHARE THE LOVE, and help us help > > > YOU! Click Here: http://sourceforge.net/donate/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and > > OS when reporting any issue. > > > ::: Messages without supporting info will risk being sent > > to /dev/null > > -- > > ~# > > John Hirbour > > OSS Development > > DSL.net > > (203)782-3871 > > (800)455-5546 Customer Support > > (866)340-2582 Network Security/Abuse > > ~# > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/oq5Dl2ODWuqVSBMRApMMAJ4q6lQg+KrLQMpnVrEbPwXjqVUB6wCgnRMr foszwwDJYMdePsColZYs48A= =WUof -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From John.Hirbour at dsl.net Fri Oct 31 21:32:41 2003 From: John.Hirbour at dsl.net (Hirbour, John) Date: 31 Oct 2003 15:32:41 -0500 Subject: Nagios: Scaling to monitor larger networks In-Reply-To: References: Message-ID: <1067632361.773.7.camel@sapporo.dsl.net> You're right it didn't... all those "host is not part of any host groups" :-( Time to recompile... On Fri, 2003-10-31 at 11:15, Marc Powell wrote: > I too am surprised this works. > > -- > Marc > > > -----Original Message----- > > From: Hirbour, John [mailto:John.Hirbour at dsl.net] > > Sent: Friday, October 31, 2003 9:09 AM > > To: nagios-users at lists.sourceforge.net > > > > Not to answer my own question but I found out if you're defining a > host > > group you can just split the members line and list as many as you want > > > > define hostgroup { > > hostgroup_name my_group > > alias my group > > members host1, host2 host3 > > members host4, host5, host6 > > contact_groups me > > } > > On Thu, 2003-10-30 at 23:15, Hirbour, John wrote: > > > Can anyone speak to the scaling of nagios when you want to monitor ~ > > > 4000 hosts ? > > > > > > I'm currently working on setting up 3 collector and 2 display > stations > > > to monitor our network. I've already run into issues where I can't > list > > > too many "hosts" in a "host_group" because there seems to be a limit > to > > > how many characters you can have in the members section of a host > > > definition. > > > > > > Any thoughts/comments would be appreciated. -- ~# John Hirbour OSS Development DSL.net (203)782-3871 (800)455-5546 Customer Support (866)340-2582 Network Security/Abuse ~# ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AChandrashekar at MercuryInsurance.com Fri Oct 31 21:42:51 2003 From: AChandrashekar at MercuryInsurance.com (Akash Chandrashekar) Date: Fri, 31 Oct 2003 12:42:51 -0800 Subject: Using Nagios to chec for disk space on mainframes Message-ID: Hello, Has anyone effectively been able to monitor disk space on Mainframes such HP's XP512 running MPE ? using nrpe or some other tool? Regards, Akash -------------- next part -------------- An HTML attachment was scrubbed... URL: From enigmadivide at yahoo.com Fri Oct 31 21:54:37 2003 From: enigmadivide at yahoo.com (Yarmen Alero) Date: Fri, 31 Oct 2003 12:54:37 -0800 (PST) Subject: Problems compiling with status/map MYSQl functionality Message-ID: <20031031205437.85393.qmail@web41011.mail.yahoo.com> Try this compile line and it should find all the directories your needing CPPFLAGS="-I/usr/include" LDFLAGS="-L/usr/lib -L/lib" ./configure --prefix=/usr/local/nagios \ --with-cgiurl=/nagios/cgi-bin \ --with-htmurl=/nagios/ \ --with-nagios-user=apache \ --with-nagios-grp=apache \ --with-mysql-downtime \ --with-mysql-comments \ --with-mysql-status \ --with-mysql-retention \ --with-mysql-extinfo \ --with-mysql-xdata \ --with-mysql-inc=/usr/local/mysql/include \ --with-mysql-lib=/usr/local/mysql/lib this MAY be a bug but if you only declare --with-mysql-xdata and you do not declare the other mysql database options then the compiler defines are not set...i check each .c file and noticed they only check for the individual --with-mysql-(option). hope this helps you --------------------------------- Do you Yahoo!? Exclusive Video Premiere - Britney Spears -------------- next part -------------- An HTML attachment was scrubbed... URL: From NLehouillier at comptonpetroleum.com Fri Oct 31 22:01:46 2003 From: NLehouillier at comptonpetroleum.com (Neil Lehouillier) Date: Fri, 31 Oct 2003 14:01:46 -0700 Subject: Check_nt win2k service states and nagios Message-ID: Hi All, I'm having a problem monitoring some Win 2k exchange services using nagios and check_nt from nsclient. When I execute the following from the command line su'd to nagios(ie...su - nagios) I get the following: usr/local/nagios/libexec/check_nt -H 192.168.0.7 -s password123 -v SERVICESTATE -d SHOWALL -l SMTPSVC,AVExch32Service SMTPSVC: Started - AVExch32Service: Started But within nagios on the http web page I get: Service Checks(SMTP,AV) WARNING 10-31-2003 09:00:54 0d 0h 6m 11s 1/1 SMTPSVC: Started - AVExch32Service$: Unknown Here is the definition in the services.cfg file: define service { host_name Exchange service_description Service Checks(SMTP,AV) register 1 max_check_attempts 1 normal_check_interval 3 retry_check_interval 1 check_period 24x7 notification_interval 0 notification_period 24x7 notification_options w,u,c,r contact_groups ntadmins check_command "/usr/local/nagios/libexec/check_nt -H 192.168.0.7 -s password123 -v SERVICESTATE -d SHOWALL -l SMTPSVC,AVExch32Service" Has anyone seen this problem before.......? Thanks... Neil -------------- next part -------------- An HTML attachment was scrubbed... URL: From enigmadivide at yahoo.com Fri Oct 31 22:48:21 2003 From: enigmadivide at yahoo.com (Yarmen Alero) Date: Fri, 31 Oct 2003 13:48:21 -0800 (PST) Subject: Problems compiling with status/map MYSQl functionality Message-ID: <20031031214821.54252.qmail@web41006.mail.yahoo.com> pardon the errors in my last post...both the nagios user and groups should be set to what ever setup you have and after ./configure make sure to add another "\" so that teh script operates correctly. --------------------------------- Do you Yahoo!? Exclusive Video Premiere - Britney Spears -------------- next part -------------- An HTML attachment was scrubbed... URL: