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 h