From marcos.marinho at rac.com.br Tue Aug 1 03:56:54 2006 From: marcos.marinho at rac.com.br (Marcos Marinho) Date: Mon, 31 Jul 2006 22:56:54 -0300 Subject: RES: Nagios do not send e.mails In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4440170@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4440170@raptor.redhawk.info> Message-ID: RE: [Nagios-users] Nagios do not send e.mailsYes, Mike , In the nagios.cfg there is a line config like this : enable_notifications=1 Is this right ? Thanks for your cooperation [Marcos Marinho] -----Mensagem original----- De: Mike Koponick [mailto:mkoponick at redhawk.info] Enviada em: segunda-feira, 31 de julho de 2006 18:58 Para: marcos.marinho at rac.com.br; nagios-users at lists.sourceforge.net Assunto: RE: [Nagios-users] Nagios do not send e.mails Are notifications turned on in the nagios.cfg file? Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marcos Marinho Sent: Monday, July 31, 2006 2:57 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios do not send e.mails I had installed the version 2.4 by binary way and we had using NagiosQL to configure. The servers had been monitored ok In all time that nagios was installed here none of the serves had not been down any moment On the first server down one, the nagios process did not send any e.mail using the pre-configured scritp host-notify-by-email. Whe I had tried runnig the script using user nagios the message was sent with no problem. This is what is showed in nagio.log [1154056710] HOST ALERT: marcos;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [1154056720] HOST ALERT: marcos;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds [1154056730] HOST ALERT: marcos;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds [1154056740] HOST ALERT: marcos;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds [1154056750] HOST ALERT: marcos;DOWN;HARD;5;CRITICAL - Plugin timed out after 10 seconds This is our configuration files ================================================================ define host { host_name marcos alias Workstation Marcos address 10.10.21.18 parents Debian check_command check-host-alive max_check_attempts 5 check_interval 10 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 obsess_over_host 1 check_freshness 1 freshness_threshold 360 event_handler_enabled 0 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contact_groups admins notification_interval 5 notification_period 24x7 notification_options d,u notifications_enabled 1 stalking_options d,u register 1 } ================================================================ define command { command_name host-notify-by-email command_line /usr/bin/printf \\"%b\\" \\"***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\\" | /usr/bin/mail -s \\"Host $HOSTSTATE$ alert for $HOSTNAME$!\\" $CONTACTEMAIL$ } ================================================================ define contactgroup { contactgroup_name admins alias Nagios Administrators members redes } ================================================================ define contact { contact_name redes alias Grupo Redes host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,u,r service_notification_options w,u,c,r host_notification_commands host-notify-by-email service_notification_commands notify-by-email email marcos.marinho at dominio.com.br } ================================================================ Any hints Thank you before hands << File: ATT350909.txt >> << File: ATT350911.txt >> -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.mckee at gmail.com Tue Aug 1 06:03:54 2006 From: brian.mckee at gmail.com (Brian McKee) Date: Tue, 1 Aug 2006 00:03:54 -0400 Subject: Nagios disaster recovery plan! In-Reply-To: <10fa72f80607270843o209cba97r1e992666d8cd7977@mail.gmail.com> References: <10fa72f80607270843o209cba97r1e992666d8cd7977@mail.gmail.com> Message-ID: <200608010003.59220.brian.mckee@gmail.com> On Thursday 27 July 2006 11:43, Colby Williams wrote: > Has any one come up with a way to back up important Nagios files? > > Files like: > > *.cfg and httpd.conf Combining some of the best features of rsync and version control - there's rsnapshot - see http://www.rsnapshot.org Brian -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at ayksolutions.com Tue Aug 1 06:12:53 2006 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Tue, 1 Aug 2006 06:12:53 +0200 (CEST) Subject: getting some flyby errors In-Reply-To: <20060731114456.3036F4F4045@desire.netways.de> References: <20060731114456.3036F4F4045@desire.netways.de> Message-ID: <20060801041253.BC3894F4045@desire.netways.de> Hello, I am having another slight issue and would like some guidance on this. Here's the situation: I have one host that is being pinged and the SMTP is being checked just fine. It's in Group A. Now, I went ahead and defined 6 new hosts that need to be just pinged. I used the same templates in the hosts.cfg and services.cfg files that I am using for the Group A host which works fine. I have also renamed minimal.cfg to something else, so that is not a problem any longer. It pulls everything from checkcommands.cfg file where check_ping and check-host-alive are defined. I am also using macros, so, I have the following for check_ping in services: check_ping!100.0,10%!500.0,40%!5 Now, I reloaded Nagios just fine and thought that everything should work. Wrong, I am now getting the following error for all of my new 6 Hosts: "check_ping: %s: Warning threshold must be integer or percentage!" They all are UP and ping fine. What I can't figure out is how my first host works just fine but the new ones, which share the same templates and service group are throwing that annoying error. What am I overlooking here? Please let me know if you would like for me to paste anything to help with the explanation of my issue. Thank you kindly for your help ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=20587 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Aug 1 06:24:35 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 1 Aug 2006 00:24:35 -0400 Subject: getting some flyby errors In-Reply-To: <20060801041253.BC3894F4045@desire.netways.de> References: <20060801041253.BC3894F4045@desire.netways.de> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Artyom Khmelnitsky > Sent: Monday, July 31, 2006 9:13 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] getting some flyby errors > > check_ping!100.0,10%!500.0,40%!5 > > "check_ping: %s: Warning threshold must be integer or percentage!" > > What am I overlooking here? For starters, posting your check_ping command. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Aug 1 07:19:58 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 1 Aug 2006 07:19:58 +0200 (CEST) Subject: getting some flyby errors In-Reply-To: References: Message-ID: On Tue, 1 Aug 2006, Morris, Patrick wrote: > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > Of Artyom Khmelnitsky > > Sent: Monday, July 31, 2006 9:13 PM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] getting some flyby errors > > > > check_ping!100.0,10%!500.0,40%!5 > > > > "check_ping: %s: Warning threshold must be integer or percentage!" > > > > What am I overlooking here? > > For starters, posting your check_ping command. It seems like you changed it. The default one only reads two set of arguments. check_ping!300,40%!1000,80% define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ralph.Grothe at itdz-berlin.de Tue Aug 1 08:12:18 2006 From: Ralph.Grothe at itdz-berlin.de (Ralph.Grothe at itdz-berlin.de) Date: Tue, 1 Aug 2006 08:12:18 +0200 Subject: [Nagiosplug-help] BUG: check_disk doesn'tsupport LVM volumes Message-ID: Almost all of the hosts I monitor with Nagios use some kind of volume manager (either LVM on HP-UX and Linux, or VxVM on Solaris), and I have no problem whatsoever with check_disk on those. I wonder why you check the partitions (or better LVs in your case) instead of having all local mounts checked by explicitly excluding those which make no sense (e.g. media mounts like CD-ROMs) or special filesystems (like iso9660 or cdfs, procfs, tmpfs etc.) For the first use the -x option, and for the latter -X (both can be used repeatedly) As I usually have those checks executed on behalf of an nrpe daemon I simply define an appropiate command in nrpe.conf of the monitored host E.g. for Linux boxes I would use an nrpe command like # grep check_disk_LOCPCT_W10C5 /usr/lib/nagios/etc/nrpe.cfg command[check_disk_LOCPCT_W10C5]=/usr/lib/nagios/plugins/check_di sk -e -l -X iso9660 -X nfs -X proc -X sysv -X tmpfs -w 10% -c 5% where warning state is reached when percentage free space is less than 10% and a critical state when less than 5%. As you can see the "%" doesn't need any special quoting for the shell. Besides, I think it doesn't make sense to check the state of NFS mounts why I use the -l option above to restrict the check on local filesystems. Because of unnecessary performance penalties (querying rpc.statd) and possible absence of RPC services or stale NFS handles etc. those shared NFS filesystems should rather be checked on the exporting server, I would assume. > -----Original Message----- > From: nagiosplug-help-bounces at lists.sourceforge.net > [mailto:nagiosplug-help-bounces at lists.sourceforge.net]On Behalf Of > Martin J. Green > Sent: Monday, July 31, 2006 5:57 PM > To: Miles O'Neal; nagios-users at lists.sourceforge.net > Cc: nagiosplug-help at lists.sourceforge.net > Subject: Re: [Nagiosplug-help] [Nagios-users] BUG: check_disk > doesn'tsupport LVM volumes > > > / is the lvm volume and there's no hda1 (the machine has scsi disks in > hardware raid), but if I don't use *any* partition as an argument it > shows everything correctly (all partitions). I can also look at other > stuff like /dev/shm etc ok. > > Output of df... > > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/mapper/VolGroup00-LogVol01 > 142965368 75163388 60422628 56% / > /dev/md0 101018 10525 85277 11% /boot > /dev/shm 3070648 0 3070648 0% /dev/shm > 192.168.254.1:/storage/vm > 1118120992 1020981088 39426400 97% /mnt/storage > > And df -hP > > Filesystem Size Used Avail Use% Mounted on > /dev/mapper/VolGroup00-LogVol01 137G 72G 58G 56% / > /dev/md0 99M 11M 84M 11% /boot > /dev/shm 3.0G 0 3.0G 0% /dev/shm > 192.168.254.1:/storage/vm 1.1T 974G 38G 97% /mnt/storage > > Oh and nfs mounts don't work either (again they show up when > its passed > no partition as an argument, but try and check it on its own and it > doesn't work). > > M > > -----Original Message----- > From: Miles O'Neal [mailto:meo at intrinsity.com] > Sent: 31 July 2006 16:53 > To: Martin J. Green > Cc: Marc Powell; nagios-users at lists.sourceforge.net; > nagiosplug-help at lists.sourceforge.net > Subject: Re: [Nagios-users] BUG: check_disk doesn't support > LVM volumes > > Martin J. Green said... > | > |Both -p & --partition have been tried. Whether I use > |/dev/VolGroup00/LogVol01 or /dev/mapper/VolGroup00-LogVol01 I get the > |same error > > Do you have any non-RAID, non-LVM partitions > to try with check_disk on this system, to > verify what's happening? If so, does it work > correctly with those (either / or /dev/hda1. > or whatever)? > > What is the output if you just type "df -hP" > from a command line? > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the > chance to share your > opinions on IT & business topics through brief surveys -- and > earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge &CID=DEVDEV _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Tue Aug 1 11:33:21 2006 From: philc at foundation-it.com (Phil Costelloe) Date: Tue, 1 Aug 2006 10:33:21 +0100 Subject: Windows plugin to check process page faults? Message-ID: Frost, Mark {PBG} wrote: > Thanks very much, Phil! > > I'm having a little difficulty finding any documentation that tells > enumerates the PDH counters. The Microsoft documentation I can find > seems to talk more about the API for using PDH rather than > enumerating the possible keys you can search on. I See there's a > PDHbrowser function in the API which looks like it would be really > nice, But I'd have to actually do some Windows programming to get > that far.... I usually just have a browse through the Add Counter dialog in the Performance viewer that's installed with the Administrative Tools but the definitive source (for Windows 2003 at least) seems to be http://technet2.microsoft.com/WindowsServer/en/library/3fb01419-b1ab-4f5 2-a9f8-09d5ebeb9ef21033.mspx?mfr=true Phil -------------------------------------------------------- Phil Costelloe Technical Consultant philc at foundation-it.com http://www.foundation-it.com Foundation IT Foundation Court Old Street Oare Hermitage Berkshire RG18 9SE Switch: +44 (0) 1635 203700 Helpdesk: +44 (0) 800 0121099 DDI: +44 (0) 1635 203719 Fax: +44 (0) 8700 543537 Mobile: +44 (0) 7884 236299 -------------------------------------------------------- This message contains confidential information and is intended only for nagios-users at lists.sourceforge.net. If you are not nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -------------------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen at altien.com Tue Aug 1 12:45:35 2006 From: mgreen at altien.com (Martin J. Green) Date: Tue, 1 Aug 2006 11:45:35 +0100 Subject: [Nagiosplug-help] BUG: check_disk doesn'tsupport LVM volumes In-Reply-To: References: Message-ID: <5F54491268C784439D51B163322EE58C2F7B64@gorilla.hq.altien.com> Updating fedora fixed the problem :) -----Original Message----- From: Ralph.Grothe at itdz-berlin.de [mailto:Ralph.Grothe at itdz-berlin.de] Sent: 01 August 2006 07:12 To: Martin J. Green; meo at intrinsity.com; nagios-users at lists.sourceforge.net Cc: nagiosplug-help at lists.sourceforge.net Subject: RE: [Nagiosplug-help] [Nagios-users] BUG: check_disk doesn'tsupport LVM volumes Almost all of the hosts I monitor with Nagios use some kind of volume manager (either LVM on HP-UX and Linux, or VxVM on Solaris), and I have no problem whatsoever with check_disk on those. I wonder why you check the partitions (or better LVs in your case) instead of having all local mounts checked by explicitly excluding those which make no sense (e.g. media mounts like CD-ROMs) or special filesystems (like iso9660 or cdfs, procfs, tmpfs etc.) For the first use the -x option, and for the latter -X (both can be used repeatedly) As I usually have those checks executed on behalf of an nrpe daemon I simply define an appropiate command in nrpe.conf of the monitored host E.g. for Linux boxes I would use an nrpe command like # grep check_disk_LOCPCT_W10C5 /usr/lib/nagios/etc/nrpe.cfg command[check_disk_LOCPCT_W10C5]=/usr/lib/nagios/plugins/check_di sk -e -l -X iso9660 -X nfs -X proc -X sysv -X tmpfs -w 10% -c 5% where warning state is reached when percentage free space is less than 10% and a critical state when less than 5%. As you can see the "%" doesn't need any special quoting for the shell. Besides, I think it doesn't make sense to check the state of NFS mounts why I use the -l option above to restrict the check on local filesystems. Because of unnecessary performance penalties (querying rpc.statd) and possible absence of RPC services or stale NFS handles etc. those shared NFS filesystems should rather be checked on the exporting server, I would assume. > -----Original Message----- > From: nagiosplug-help-bounces at lists.sourceforge.net > [mailto:nagiosplug-help-bounces at lists.sourceforge.net]On Behalf Of > Martin J. Green > Sent: Monday, July 31, 2006 5:57 PM > To: Miles O'Neal; nagios-users at lists.sourceforge.net > Cc: nagiosplug-help at lists.sourceforge.net > Subject: Re: [Nagiosplug-help] [Nagios-users] BUG: check_disk > doesn'tsupport LVM volumes > > > / is the lvm volume and there's no hda1 (the machine has scsi disks in > hardware raid), but if I don't use *any* partition as an argument it > shows everything correctly (all partitions). I can also look at other > stuff like /dev/shm etc ok. > > Output of df... > > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/mapper/VolGroup00-LogVol01 > 142965368 75163388 60422628 56% / > /dev/md0 101018 10525 85277 11% /boot > /dev/shm 3070648 0 3070648 0% /dev/shm > 192.168.254.1:/storage/vm > 1118120992 1020981088 39426400 97% /mnt/storage > > And df -hP > > Filesystem Size Used Avail Use% Mounted on > /dev/mapper/VolGroup00-LogVol01 137G 72G 58G 56% / > /dev/md0 99M 11M 84M 11% /boot > /dev/shm 3.0G 0 3.0G 0% /dev/shm > 192.168.254.1:/storage/vm 1.1T 974G 38G 97% /mnt/storage > > Oh and nfs mounts don't work either (again they show up when > its passed > no partition as an argument, but try and check it on its own and it > doesn't work). > > M > > -----Original Message----- > From: Miles O'Neal [mailto:meo at intrinsity.com] > Sent: 31 July 2006 16:53 > To: Martin J. Green > Cc: Marc Powell; nagios-users at lists.sourceforge.net; > nagiosplug-help at lists.sourceforge.net > Subject: Re: [Nagios-users] BUG: check_disk doesn't support > LVM volumes > > Martin J. Green said... > | > |Both -p & --partition have been tried. Whether I use > |/dev/VolGroup00/LogVol01 or /dev/mapper/VolGroup00-LogVol01 I get the > |same error > > Do you have any non-RAID, non-LVM partitions > to try with check_disk on this system, to > verify what's happening? If so, does it work > correctly with those (either / or /dev/hda1. > or whatever)? > > What is the output if you just type "df -hP" > from a command line? > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the > chance to share your > opinions on IT & business topics through brief surveys -- and > earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge &CID=DEVDEV _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Tue Aug 1 14:35:40 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Tue, 1 Aug 2006 07:35:40 -0500 Subject: external commands schedule downtime. In-Reply-To: <20060731205440.GT13226@hermes.americas.hpqcorp.net> References: <20060731191831.GQ13226@hermes.americas.hpqcorp.net> <20060731203918.GS13226@hermes.americas.hpqcorp.net> <20060731205440.GT13226@hermes.americas.hpqcorp.net> Message-ID: Okay so I'm obviously missing the boat here: Looking in my nagios.cfg file, external command file is command_file=/usr/local/nagios/var/rw/nagios.cmd On 7/31/06, Patrick Morris wrote: > > On Mon, 31 Jul 2006, Hugo van der Kooij wrote: > > > On Mon, 31 Jul 2006, Patrick Morris wrote: > > > > > Without a slash at the beginning, it's a relative path. It's only > going > > > to be right if you're in the home directory. > > > > I assume you mean root directory here. > > Ayup. Sometimes the five remaining brain cells get ahead of the three > good typing fingers. > > A few more years of typing practice and I should be in good shape. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Tue Aug 1 14:48:25 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 01 Aug 2006 13:48:25 +0100 Subject: Externals Commands Message-ID: <44CF4D99.5070307@googlemail.com> I am having real difficulty getting external commands to work and don't full understand what's going wrong, despite having RTFMing several times. As an example, I log in to the web interface as nagiosadmin via basic apache auth successfully as usual. I go to "comments" in the left hand pane and enter one for a host but when I click submit, I get the error: "Sorry, but you are not authorized to commit the specified command. Read the section of the documentation that deals with authentication and authorization in the CGIs for more information. Return from whence you came" As far as I can tell, I have all the perms set right according to the docs: cgi.cfg use_authentication=1 authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin authorized_for_all_hosts=nagiosadmin authorized_for_all_service_commands=nagiosadmin authorized_for_all_host_commands=nagiosadmin nagios.cfg command_file=/var/nagios/rw/nagios.cmd check_external_commands=1 # NOTE: Setting this value to -1 causes Nagios to check the external # command file as often as possible. command_check_interval=-1 ll /var/nagios/ | grep rw/ drwxrws--- 2 nagios apache 4096 Aug 1 13:28 rw/ ll /var/nagios/rw/nagios.cmd prw-rw---- 1 nagios apache 0 Aug 1 13:28 /var/nagios/rw/nagios.cmd| The apache process is run by the apache user, a member of the apache group, so has full perms to the directory and the pipe file nagios.cmd. Nagios is run by nagios who is also a member of the apache group. This all looks as it should be according to the docs as far as I can see. What am I missing? Hari -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen at altien.com Tue Aug 1 15:06:33 2006 From: mgreen at altien.com (Martin J. Green) Date: Tue, 1 Aug 2006 14:06:33 +0100 Subject: Externals Commands In-Reply-To: <44CF4D99.5070307@googlemail.com> References: <44CF4D99.5070307@googlemail.com> Message-ID: <5F54491268C784439D51B163322EE58C2F7B6B@gorilla.hq.altien.com> I can't get external commands to work either (appears it can't write to the file for some reason), but its so low on my list of priorities I haven't gotten to it yet. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: 01 August 2006 13:48 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Externals Commands I am having real difficulty getting external commands to work and don't full understand what's going wrong, despite having RTFMing several times. As an example, I log in to the web interface as nagiosadmin via basic apache auth successfully as usual. I go to "comments" in the left hand pane and enter one for a host but when I click submit, I get the error: "Sorry, but you are not authorized to commit the specified command. Read the section of the documentation that deals with authentication and authorization in the CGIs for more information. Return from whence you came" As far as I can tell, I have all the perms set right according to the docs: cgi.cfg use_authentication=1 authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin authorized_for_all_hosts=nagiosadmin authorized_for_all_service_commands=nagiosadmin authorized_for_all_host_commands=nagiosadmin nagios.cfg command_file=/var/nagios/rw/nagios.cmd check_external_commands=1 # NOTE: Setting this value to -1 causes Nagios to check the external # command file as often as possible. command_check_interval=-1 ll /var/nagios/ | grep rw/ drwxrws--- 2 nagios apache 4096 Aug 1 13:28 rw/ ll /var/nagios/rw/nagios.cmd prw-rw---- 1 nagios apache 0 Aug 1 13:28 /var/nagios/rw/nagios.cmd| The apache process is run by the apache user, a member of the apache group, so has full perms to the directory and the pipe file nagios.cmd. Nagios is run by nagios who is also a member of the apache group. This all looks as it should be according to the docs as far as I can see. What am I missing? Hari -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Aug 1 15:08:42 2006 From: marc at ena.com (Marc Powell) Date: Tue, 1 Aug 2006 08:08:42 -0500 Subject: Externals Commands Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon > Sent: Tuesday, August 01, 2006 7:48 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Externals Commands > > I am having real difficulty getting external commands to work and don't > full understand what's going wrong, despite having RTFMing several times. > > As an example, I log in to the web interface as nagiosadmin via basic > apache auth successfully as usual. I go to "comments" in the left hand > pane and enter one for a host but when I click submit, I get the error: > > > "Sorry, but you are not authorized to commit the specified command. > Read the section of the documentation that deals with authentication and > authorization in the CGIs for more information. > > Return from whence you came" > The apache process is run by the apache user, a member of the apache > group, so has full perms to the directory and the pipe file nagios.cmd. > Nagios is run by nagios who is also a member of the apache group. > > This all looks as it should be according to the docs as far as I can see. > > > What am I missing? Who does nagios see you logged in as? It will be displayed in the upper left of every page. If it's '?', verify your htaccess configuration for the nagios/sbin directory. -- marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Tue Aug 1 15:11:20 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 01 Aug 2006 14:11:20 +0100 Subject: Externals Commands In-Reply-To: References: Message-ID: <44CF52F8.2030505@googlemail.com> Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon >> Sent: Tuesday, August 01, 2006 7:48 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Externals Commands >> >> I am having real difficulty getting external commands to work and >> > don't > >> full understand what's going wrong, despite having RTFMing several >> > times. > >> As an example, I log in to the web interface as nagiosadmin via basic >> apache auth successfully as usual. I go to "comments" in the left hand >> pane and enter one for a host but when I click submit, I get the >> > error: > >> "Sorry, but you are not authorized to commit the specified command. >> Read the section of the documentation that deals with authentication >> > and > >> authorization in the CGIs for more information. >> >> Return from whence you came" >> > > > >> The apache process is run by the apache user, a member of the apache >> group, so has full perms to the directory and the pipe file >> > nagios.cmd. > >> Nagios is run by nagios who is also a member of the apache group. >> >> This all looks as it should be according to the docs as far as I can >> > see. > >> What am I missing? >> > > Who does nagios see you logged in as? It will be displayed in the upper > left of every page. If it's '?', verify your htaccess configuration for > the nagios/sbin directory. > > -- > marc > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > from the top of my logged in page: Logged in as /nagiosadmin/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Tue Aug 1 15:13:49 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 01 Aug 2006 14:13:49 +0100 Subject: Externals Commands In-Reply-To: <5F54491268C784439D51B163322EE58C2F7B6B@gorilla.hq.altien.com> References: <5F54491268C784439D51B163322EE58C2F7B6B@gorilla.hq.altien.com> Message-ID: <44CF538D.7040200@googlemail.com> Martin J. Green wrote: > > I can't get external commands to work either (appears it can't write > to the file for some reason), but its so low on my list of priorities > I haven't gotten to it yet. > > > > ------------------------------------------------------------------------ > > *From:* nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] *On Behalf Of > *Hari Sekhon > *Sent:* 01 August 2006 13:48 > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Externals Commands > > > > I am having real difficulty getting external commands to work and > don't full understand what's going wrong, despite having RTFMing > several times. > > As an example, I log in to the web interface as nagiosadmin via basic > apache auth successfully as usual. I go to "comments" in the left hand > pane and enter one for a host but when I click submit, I get the error: > > "Sorry, but you are not authorized to commit the specified command. > > Read the section of the documentation that deals with authentication > and authorization in the CGIs for more information. > > Return from whence you came" > > As far as I can tell, I have all the perms set right according to the > docs: > > cgi.cfg > > use_authentication=1 > authorized_for_system_information=nagiosadmin > authorized_for_configuration_information=nagiosadmin > authorized_for_system_commands=nagiosadmin > authorized_for_all_services=nagiosadmin > authorized_for_all_hosts=nagiosadmin > authorized_for_all_service_commands=nagiosadmin > authorized_for_all_host_commands=nagiosadmin > > nagios.cfg > > command_file=/var/nagios/rw/nagios.cmd > check_external_commands=1 > # NOTE: Setting this value to -1 causes Nagios to check the external > # command file as often as possible. > command_check_interval=-1 > > ll /var/nagios/ | grep rw/ > drwxrws--- 2 nagios apache 4096 Aug 1 13:28 rw/ > > ll /var/nagios/rw/nagios.cmd > prw-rw---- 1 nagios apache 0 Aug 1 13:28 /var/nagios/rw/nagios.cmd| > > The apache process is run by the apache user, a member of the apache > group, so has full perms to the directory and the pipe file > nagios.cmd. Nagios is run by nagios who is also a member of the apache > group. > > This all looks as it should be according to the docs as far as I can see. > > What am I missing? > > > Hari > I think quite a lot of people have trouble with this but a lot give up or are satisfied that the main bit is working and don't bother with this... does anybody have this working and if so could you post your configs so I can see anything you have different to me? are external commands generally broken or is there something missing in the docs/our configs/our brains? I'm using Version 1.4.1 Hari -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at Kognitio.com Tue Aug 1 15:16:00 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Tue, 1 Aug 2006 14:16:00 +0100 Subject: Externals Commands Message-ID: look at your /usr/local/nagios/sbin directory and check a) file permissions are correct and also whether your .htaccess authrization file is present. This error is generally caused by not correctly using .htaccess and also not configuring apache properly - check your httpd.conf is correctly configured -----Original Message----- From: Hari Sekhon [mailto:hpsekhon at googlemail.com] Sent: 01 August 2006 14:14 To: Martin J. Green Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Externals Commands Martin J. Green wrote: I can't get external commands to work either (appears it can't write to the file for some reason), but its so low on my list of priorities I haven't gotten to it yet. _____ From: nagios-users-bounces at lists.sourceforge.net [ mailto:nagios-users-bounces at lists.sourceforge.net ] On Behalf Of Hari Sekhon Sent: 01 August 2006 13:48 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Externals Commands I am having real difficulty getting external commands to work and don't full understand what's going wrong, despite having RTFMing several times. As an example, I log in to the web interface as nagiosadmin via basic apache auth successfully as usual. I go to "comments" in the left hand pane and enter one for a host but when I click submit, I get the error: "Sorry, but you are not authorized to commit the specified command. Read the section of the documentation that deals with authentication and authorization in the CGIs for more information. Return from whence you came" As far as I can tell, I have all the perms set right according to the docs: cgi.cfg use_authentication=1 authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin authorized_for_all_hosts=nagiosadmin authorized_for_all_service_commands=nagiosadmin authorized_for_all_host_commands=nagiosadmin nagios.cfg command_file=/var/nagios/rw/nagios.cmd check_external_commands=1 # NOTE: Setting this value to -1 causes Nagios to check the external # command file as often as possible. command_check_interval=-1 ll /var/nagios/ | grep rw/ drwxrws--- 2 nagios apache 4096 Aug 1 13:28 rw/ ll /var/nagios/rw/nagios.cmd prw-rw---- 1 nagios apache 0 Aug 1 13:28 /var/nagios/rw/nagios.cmd| The apache process is run by the apache user, a member of the apache group, so has full perms to the directory and the pipe file nagios.cmd. Nagios is run by nagios who is also a member of the apache group. This all looks as it should be according to the docs as far as I can see. What am I missing? Hari I think quite a lot of people have trouble with this but a lot give up or are satisfied that the main bit is working and don't bother with this... does anybody have this working and if so could you post your configs so I can see anything you have different to me? are external commands generally broken or is there something missing in the docs/our configs/our brains? I'm using Version 1.4.1 Hari ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steven.lynch at network-box.com.au Tue Aug 1 15:39:02 2006 From: steven.lynch at network-box.com.au (Steven Lynch) Date: Tue, 1 Aug 2006 23:39:02 +1000 Subject: How to monitor transient services? In-Reply-To: References: Message-ID: <5ADD477D-B7C3-441E-B0D7-CB74A6925AA1@network-box.com.au> On 27/07/2006, at 12:11 AM, Janet Post wrote: > Hello, > > We are monitoring several different types of very fluid services and I > am having a design problem -- how do I set these up neatly in nagios. > > The first of these checks is a script that runs agains a reporting > database. This script runs every five minutes to make sure that > all of > the reports ran, or are running correctly. There are, at the moment, > around 50 reports, but the number and frequency of the reports changes > on a nearly daily basis. Granted, some reports are fairly stable: the > one that tells our VP's how much money we made last night is one that > rarely changes. But there are a number of one-off reports that are > created and deleted on an almost daily basis. I do NOT want to > maintain > a check in nagios for each and every report -- that's an > administrative > nightmare. I want to just run this script that checks them all at the > same time - no fuss no muss. BUT! And here is the problem: How do I > return the results to nagios? It is conceivable that more than one > report will fail at a time, and I will want notifications sent for all > failures. I don't mind clumping them into one email -- but can NRPE > handle more than one line of return values? > > The script in question is run remotely from my main nagios server. I > can invoke it either using nrpe, or via cron -- whichever way I see > fit. > > Any ideas on how I can solve this dilemma? How can I return multiple > errors for a single check? (I have an oracle tablespace check that > suffers the same problem -- too many transient tablespaces to be > monitored and I don't want to have a check for each TS because they > are > too temporary.) Hi Janet, It is true that only one line is supported. However, since the output is going to be rendered by a browser you can embed HTML in that one line. So, for example, you can put a
 at the start and use 
to begin each new line. I have used this technique quite successfully. The only small drawback is, if you are sending out page messages you will need a small intermediate script to strip out the HTML again before sending the text to the paging process. Cheers Steven -- Steven Lynch [Chief Technical Officer] mailto: steven.lynch at network-box.com.au Network Box Australia Pty Ltd Phone: +61-3-88410000 Suite 9 / 1020 Doncaster Road, Fax: +61-3-88410088 Doncaster East, Vic, Australia, 3109 Web: www.network-box.com.au ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Tue Aug 1 15:45:57 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Tue, 1 Aug 2006 08:45:57 -0500 Subject: Externals Commands In-Reply-To: References: Message-ID: i'm logged in as nagiosadmin and i have that username in all my cgi's. I have the sameissue, can't schedule downtime or issue external commands with the same error. I'm running nagios 2.4 On 8/1/06, Deborah Martin wrote: > > look at your /usr/local/nagios/sbin directory and check a) file > permissions are correct and also whether your .htaccess authrization file is > present. > This error is generally caused by not correctly using .htaccess and also > not configuring apache properly - check your httpd.conf is correctly > configured > > > -----Original Message----- > *From:* Hari Sekhon [mailto:hpsekhon at googlemail.com] > *Sent:* 01 August 2006 14:14 > *To:* Martin J. Green > *Cc:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Externals Commands > > Martin J. Green wrote: > > I can't get external commands to work either (appears it can't write to > the file for some reason), but its so low on my list of priorities I haven't > gotten to it yet. > > ------------------------------ > > *From:* nagios-users-bounces at lists.sourceforge.net [ > mailto:nagios-users-bounces at lists.sourceforge.net] > *On Behalf Of *Hari Sekhon > *Sent:* 01 August 2006 13:48 > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Externals Commands > > I am having real difficulty getting external commands to work and don't > full understand what's going wrong, despite having RTFMing several times. > > As an example, I log in to the web interface as nagiosadmin via basic > apache auth successfully as usual. I go to "comments" in the left hand pane > and enter one for a host but when I click submit, I get the error: > > "Sorry, but you are not authorized to commit the specified command. > > Read the section of the documentation that deals with authentication and > authorization in the CGIs for more information. > > Return from whence you came" > > As far as I can tell, I have all the perms set right according to the > docs: > > cgi.cfg > > use_authentication=1 > authorized_for_system_information=nagiosadmin > authorized_for_configuration_information=nagiosadmin > authorized_for_system_commands=nagiosadmin > authorized_for_all_services=nagiosadmin > authorized_for_all_hosts=nagiosadmin > authorized_for_all_service_commands=nagiosadmin > authorized_for_all_host_commands=nagiosadmin > > nagios.cfg > > command_file=/var/nagios/rw/nagios.cmd > check_external_commands=1 > # NOTE: Setting this value to -1 causes Nagios to check the external > # command file as often as possible. > command_check_interval=-1 > > ll /var/nagios/ | grep rw/ > drwxrws--- 2 nagios apache 4096 Aug 1 13:28 rw/ > > ll /var/nagios/rw/nagios.cmd > prw-rw---- 1 nagios apache 0 Aug 1 13:28 /var/nagios/rw/nagios.cmd| > > The apache process is run by the apache user, a member of the apache > group, so has full perms to the directory and the pipe file nagios.cmd. > Nagios is run by nagios who is also a member of the apache group. > > This all looks as it should be according to the docs as far as I can see. > > What am I missing? > > > Hari > > > I think quite a lot of people have trouble with this but a lot give up or > are satisfied that the main bit is working and don't bother with this... > > does anybody have this working and if so could you post your configs so I > can see anything you have different to me? > > are external commands generally broken or is there something missing in > the docs/our configs/our brains? > > I'm using Version 1.4.1 > > Hari > > ************************************************************************ > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > Any unauthorised distribution or copying is strictly prohibited. Whilst > Kognitio Limited takes steps to prevent the transmission of viruses via > e-mail, we can not guarantee that any email or attachment is free from > computer viruses and you are strongly advised to undertake your own > anti-virus precautions. Kognitio grants no warranties regarding performance, > use or quality of any e-mail or attachment and undertakes no liability for > loss or damage, howsoever caused. > *********************************************************************** > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at Kognitio.com Tue Aug 1 15:46:18 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Tue, 1 Aug 2006 14:46:18 +0100 Subject: Externals Commands Message-ID: can you forward the contents of the .htaccess file that resides in the cgi-bin directory ? and a listing of the rest of the directory including the permissions -----Original Message----- From: Justin Craig [mailto:jrcraig.email at gmail.com] Sent: 01 August 2006 14:46 To: Deborah Martin Cc: Hari Sekhon; Martin J. Green; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Externals Commands i'm logged in as nagiosadmin and i have that username in all my cgi's. I have the sameissue, can't schedule downtime or issue external commands with the same error. I'm running nagios 2.4 On 8/1/06, Deborah Martin < Deborah.Martin at kognitio.com > wrote: look at your /usr/local/nagios/sbin directory and check a) file permissions are correct and also whether your .htaccess authrization file is present. This error is generally caused by not correctly using .htaccess and also not configuring apache properly - check your httpd.conf is correctly configured -----Original Message----- From: Hari Sekhon [mailto: hpsekhon at googlemail.com] Sent: 01 August 2006 14:14 To: Martin J. Green Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Externals Commands Martin J. Green wrote: I can't get external commands to work either (appears it can't write to the file for some reason), but its so low on my list of priorities I haven't gotten to it yet. _____ From: nagios-users-bounces at lists.sourceforge.net [ mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: 01 August 2006 13:48 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Externals Commands I am having real difficulty getting external commands to work and don't full understand what's going wrong, despite having RTFMing several times. As an example, I log in to the web interface as nagiosadmin via basic apache auth successfully as usual. I go to "comments" in the left hand pane and enter one for a host but when I click submit, I get the error: "Sorry, but you are not authorized to commit the specified command. Read the section of the documentation that deals with authentication and authorization in the CGIs for more information. Return from whence you came" As far as I can tell, I have all the perms set right according to the docs: cgi.cfg use_authentication=1 authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin authorized_for_all_hosts=nagiosadmin authorized_for_all_service_commands=nagiosadmin authorized_for_all_host_commands=nagiosadmin nagios.cfg command_file=/var/nagios/rw/nagios.cmd check_external_commands=1 # NOTE: Setting this value to -1 causes Nagios to check the external # command file as often as possible. command_check_interval=-1 ll /var/nagios/ | grep rw/ drwxrws--- 2 nagios apache 4096 Aug 1 13:28 rw/ ll /var/nagios/rw/nagios.cmd prw-rw---- 1 nagios apache 0 Aug 1 13:28 /var/nagios/rw/nagios.cmd| The apache process is run by the apache user, a member of the apache group, so has full perms to the directory and the pipe file nagios.cmd. Nagios is run by nagios who is also a member of the apache group. This all looks as it should be according to the docs as far as I can see. What am I missing? Hari I think quite a lot of people have trouble with this but a lot give up or are satisfied that the main bit is working and don't bother with this... does anybody have this working and if so could you post your configs so I can see anything you have different to me? are external commands generally broken or is there something missing in the docs/our configs/our brains? I'm using Version 1.4.1 Hari ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php &p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at ayksolutions.com Tue Aug 1 16:03:56 2006 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Tue, 1 Aug 2006 16:03:56 +0200 (CEST) Subject: getting some flyby errors In-Reply-To: References: Message-ID: <20060801140356.734A04F4045@desire.netways.de> My check_ping command is as follows: define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p $ARG3$ } The above is also the structure of my check-host-alive in checkcommands.c fg same goes for the check-host-alive command which is what I have in the hosts.cfg file --> check_commmand check-host-alive. For my actual check_ping command in services.cfg I have the following: check_command check_ping!100.0,10%!500.0,40%!5 So, is passing that last argument '5' to $ARG3$ a problem? I did that with my first host and did not have a problem. Thanks again for the help ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=20646 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Tue Aug 1 16:06:43 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Tue, 1 Aug 2006 09:06:43 -0500 Subject: Externals Commands In-Reply-To: References: Message-ID: so obviously I RTFM or I wouldn't have got this far. One part that I did have questions of was the .htaccess creation, as the documentation I read only provided information for setting up users via htpasswd -c and changing your authorization functionality in the CGI's to 1. So I did a find / -name *.htaccess* and that file doesn't exist. Sounds like I need one? Sorry, there isn't anything in my /var/www/cgi-bin directory Is there something missed here? On 8/1/06, Deborah Martin wrote: > > can you forward the contents of the .htaccess file that resides in the > cgi-bin directory ? and a listing of the rest of the directory including the > permissions > > -----Original Message----- > *From:* Justin Craig [mailto:jrcraig.email at gmail.com] > *Sent:* 01 August 2006 14:46 > *To:* Deborah Martin > *Cc:* Hari Sekhon; Martin J. Green; nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Externals Commands > > i'm logged in as nagiosadmin and i have that username in all my cgi's. I > have the sameissue, can't schedule downtime or issue external commands with > the same error. I'm running nagios 2.4 > > > On 8/1/06, Deborah Martin wrote: > > > > look at your /usr/local/nagios/sbin directory and check a) file > > permissions are correct and also whether your .htaccess authrization file is > > present. > > This error is generally caused by not correctly using .htaccess and also > > not configuring apache properly - check your httpd.conf is correctly > > configured > > > > > > -----Original Message----- > > *From:* Hari Sekhon [mailto: hpsekhon at googlemail.com] > > *Sent:* 01 August 2006 14:14 > > *To:* Martin J. Green > > *Cc:* nagios-users at lists.sourceforge.net > > *Subject:* Re: [Nagios-users] Externals Commands > > > > Martin J. Green wrote: > > > > I can't get external commands to work either (appears it can't write to > > the file for some reason), but its so low on my list of priorities I haven't > > gotten to it yet. > > > > ------------------------------ > > > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] > > *On Behalf Of *Hari Sekhon > > *Sent:* 01 August 2006 13:48 > > *To:* nagios-users at lists.sourceforge.net > > *Subject: *[Nagios-users] Externals Commands > > > > I am having real difficulty getting external commands to work and don't > > full understand what's going wrong, despite having RTFMing several times. > > > > As an example, I log in to the web interface as nagiosadmin via basic > > apache auth successfully as usual. I go to "comments" in the left hand pane > > and enter one for a host but when I click submit, I get the error: > > > > "Sorry, but you are not authorized to commit the specified command. > > > > Read the section of the documentation that deals with authentication and > > authorization in the CGIs for more information. > > > > Return from whence you came" > > > > As far as I can tell, I have all the perms set right according to the > > docs: > > > > cgi.cfg > > > > use_authentication=1 > > authorized_for_system_information=nagiosadmin > > authorized_for_configuration_information=nagiosadmin > > authorized_for_system_commands=nagiosadmin > > authorized_for_all_services=nagiosadmin > > authorized_for_all_hosts=nagiosadmin > > authorized_for_all_service_commands=nagiosadmin > > authorized_for_all_host_commands=nagiosadmin > > > > nagios.cfg > > > > command_file=/var/nagios/rw/nagios.cmd > > check_external_commands=1 > > # NOTE: Setting this value to -1 causes Nagios to check the external > > # command file as often as possible. > > command_check_interval=-1 > > > > ll /var/nagios/ | grep rw/ > > drwxrws--- 2 nagios apache 4096 Aug 1 13:28 rw/ > > > > ll /var/nagios/rw/nagios.cmd > > prw-rw---- 1 nagios apache 0 Aug 1 13:28 /var/nagios/rw/nagios.cmd| > > > > The apache process is run by the apache user, a member of the apache > > group, so has full perms to the directory and the pipe file nagios.cmd. > > Nagios is run by nagios who is also a member of the apache group. > > > > This all looks as it should be according to the docs as far as I can > > see. > > > > What am I missing? > > > > > > Hari > > > > > > I think quite a lot of people have trouble with this but a lot give up > > or are satisfied that the main bit is working and don't bother with this... > > > > does anybody have this working and if so could you post your configs so > > I can see anything you have different to me? > > > > are external commands generally broken or is there something missing in > > the docs/our configs/our brains? > > > > I'm using Version 1.4.1 > > > > Hari > > > > ************************************************************************ > > This email and any files transmitted with it are confidential and intended > > solely for the use of the individual or entity to whom they are addressed. > > Any unauthorised distribution or copying is strictly prohibited. Whilst > > Kognitio Limited takes steps to prevent the transmission of viruses via > > e-mail, we can not guarantee that any email or attachment is free from > > computer viruses and you are strongly advised to undertake your own > > anti-virus precautions. Kognitio grants no warranties regarding performance, > > use or quality of any e-mail or attachment and undertakes no liability for > > loss or damage, howsoever caused. > > *********************************************************************** > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys -- and earn cash > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > -- > - Justin > > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From meo at intrinsity.com Tue Aug 1 16:17:54 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Tue, 1 Aug 2006 09:17:54 -0500 (CDT) Subject: getting some flyby errors In-Reply-To: <20060801140356.734A04F4045@desire.netways.de> References: <20060801140356.734A04F4045@desire.netways.de> Message-ID: <20060801141754.5253938029@chuys.eng.intrinsity.com> Have you done a grep for check_ping in all teh files in that dir to make sure there's not another check_ping that overries that? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at Kognitio.com Tue Aug 1 16:32:02 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Tue, 1 Aug 2006 15:32:02 +0100 Subject: Externals Commands Message-ID: ok - somewhere in the nagios docs are the details with regard to setting up .htaccess but I think there is a utility in the nagios install directory under bin called htpasswd or htpasswd2 and you run this util to generate a htpasswd.users file where all the users that have web interface access are stored including nagiosadmin. I store mine in the etc install directory. Then in my .htaccess file i have the following AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user This file resides in the sbin directory (which is also cgi-bin). Note though - change the AuthUserFile path to wherever you are storing the htpasswd.users file. When i was getting the 'return from whence you came error', this was exactly my problem - i hadn't set up authorisation correctly and the above was how i fixed it. hope this helps. -----Original Message----- From: Justin Craig [mailto:jrcraig.email at gmail.com] Sent: 01 August 2006 15:07 To: Deborah Martin Cc: Hari Sekhon; Martin J. Green; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Externals Commands so obviously I RTFM or I wouldn't have got this far. One part that I did have questions of was the .htaccess creation, as the documentation I read only provided information for setting up users via htpasswd -c and changing your authorization functionality in the CGI's to 1. So I did a find / -name *.htaccess* and that file doesn't exist. Sounds like I need one? Sorry, there isn't anything in my /var/www/cgi-bin directory Is there something missed here? On 8/1/06, Deborah Martin < Deborah.Martin at kognitio.com > wrote: can you forward the contents of the .htaccess file that resides in the cgi-bin directory ? and a listing of the rest of the directory including the permissions -----Original Message----- From: Justin Craig [mailto: jrcraig.email at gmail.com] Sent: 01 August 2006 14:46 To: Deborah Martin Cc: Hari Sekhon; Martin J. Green; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Externals Commands i'm logged in as nagiosadmin and i have that username in all my cgi's. I have the sameissue, can't schedule downtime or issue external commands with the same error. I'm running nagios 2.4 On 8/1/06, Deborah Martin < Deborah.Martin at kognitio.com > wrote: look at your /usr/local/nagios/sbin directory and check a) file permissions are correct and also whether your .htaccess authrization file is present. This error is generally caused by not correctly using .htaccess and also not configuring apache properly - check your httpd.conf is correctly configured -----Original Message----- From: Hari Sekhon [mailto: hpsekhon at googlemail.com] Sent: 01 August 2006 14:14 To: Martin J. Green Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Externals Commands Martin J. Green wrote: I can't get external commands to work either (appears it can't write to the file for some reason), but its so low on my list of priorities I haven't gotten to it yet. _____ From: nagios-users-bounces at lists.sourceforge.net [ mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: 01 August 2006 13:48 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Externals Commands I am having real difficulty getting external commands to work and don't full understand what's going wrong, despite having RTFMing several times. As an example, I log in to the web interface as nagiosadmin via basic apache auth successfully as usual. I go to "comments" in the left hand pane and enter one for a host but when I click submit, I get the error: "Sorry, but you are not authorized to commit the specified command. Read the section of the documentation that deals with authentication and authorization in the CGIs for more information. Return from whence you came" As far as I can tell, I have all the perms set right according to the docs: cgi.cfg use_authentication=1 authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin authorized_for_all_hosts=nagiosadmin authorized_for_all_service_commands=nagiosadmin authorized_for_all_host_commands=nagiosadmin nagios.cfg command_file=/var/nagios/rw/nagios.cmd check_external_commands=1 # NOTE: Setting this value to -1 causes Nagios to check the external # command file as often as possible. command_check_interval=-1 ll /var/nagios/ | grep rw/ drwxrws--- 2 nagios apache 4096 Aug 1 13:28 rw/ ll /var/nagios/rw/nagios.cmd prw-rw---- 1 nagios apache 0 Aug 1 13:28 /var/nagios/rw/nagios.cmd| The apache process is run by the apache user, a member of the apache group, so has full perms to the directory and the pipe file nagios.cmd. Nagios is run by nagios who is also a member of the apache group. This all looks as it should be according to the docs as far as I can see. What am I missing? Hari I think quite a lot of people have trouble with this but a lot give up or are satisfied that the main bit is working and don't bother with this... does anybody have this working and if so could you post your configs so I can see anything you have different to me? are external commands generally broken or is there something missing in the docs/our configs/our brains? I'm using Version 1.4.1 Hari ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php &p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- - Justin -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen at altien.com Tue Aug 1 16:35:55 2006 From: mgreen at altien.com (Martin J. Green) Date: Tue, 1 Aug 2006 15:35:55 +0100 Subject: Externals Commands In-Reply-To: References: Message-ID: <5F54491268C784439D51B163322EE58C2F7B70@gorilla.hq.altien.com> The .htaccess is only required if you don't have root access to the server & thus can't add it to the main httpd.conf. If you have root access, its almost always better to add it there. In that case you would have no .htaccess file, it would all be in the server config. M ________________________________ From: Deborah Martin [mailto:Deborah.Martin at kognitio.com] Sent: 01 August 2006 15:32 To: 'Justin Craig' Cc: Hari Sekhon; Martin J. Green; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Externals Commands ok - somewhere in the nagios docs are the details with regard to setting up .htaccess but I think there is a utility in the nagios install directory under bin called htpasswd or htpasswd2 and you run this util to generate a htpasswd.users file where all the users that have web interface access are stored including nagiosadmin. I store mine in the etc install directory. Then in my .htaccess file i have the following AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user This file resides in the sbin directory (which is also cgi-bin). Note though - change the AuthUserFile path to wherever you are storing the htpasswd.users file. When i was getting the 'return from whence you came error', this was exactly my problem - i hadn't set up authorisation correctly and the above was how i fixed it. hope this helps. -----Original Message----- From: Justin Craig [mailto:jrcraig.email at gmail.com] Sent: 01 August 2006 15:07 To: Deborah Martin Cc: Hari Sekhon; Martin J. Green; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Externals Commands so obviously I RTFM or I wouldn't have got this far. One part that I did have questions of was the .htaccess creation, as the documentation I read only provided information for setting up users via htpasswd -c and changing your authorization functionality in the CGI's to 1. So I did a find / -name *.htaccess* and that file doesn't exist. Sounds like I need one? Sorry, there isn't anything in my /var/www/cgi-bin directory Is there something missed here? On 8/1/06, Deborah Martin wrote: can you forward the contents of the .htaccess file that resides in the cgi-bin directory ? and a listing of the rest of the directory including the permissions -----Original Message----- From: Justin Craig [mailto: jrcraig.email at gmail.com ] Sent: 01 August 2006 14:46 To: Deborah Martin Cc: Hari Sekhon; Martin J. Green; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Externals Commands i'm logged in as nagiosadmin and i have that username in all my cgi's. I have the sameissue, can't schedule downtime or issue external commands with the same error. I'm running nagios 2.4 On 8/1/06, Deborah Martin wrote: look at your /usr/local/nagios/sbin directory and check a) file permissions are correct and also whether your .htaccess authrization file is present. This error is generally caused by not correctly using .htaccess and also not configuring apache properly - check your httpd.conf is correctly configured -----Original Message----- From: Hari Sekhon [mailto: hpsekhon at googlemail.com ] Sent: 01 August 2006 14:14 To: Martin J. Green Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Externals Commands Martin J. Green wrote: I can't get external commands to work either (appears it can't write to the file for some reason), but its so low on my list of priorities I haven't gotten to it yet. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [ mailto:nagios-users-bounces at lists.sourceforge.net ] On Behalf Of Hari Sekhon Sent: 01 August 2006 13:48 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Externals Commands I am having real difficulty getting external commands to work and don't full understand what's going wrong, despite having RTFMing several times. As an example, I log in to the web interface as nagiosadmin via basic apache auth successfully as usual. I go to "comments" in the left hand pane and enter one for a host but when I click submit, I get the error: "Sorry, but you are not authorized to commit the specified command. Read the section of the documentation that deals with authentication and authorization in the CGIs for more information. Return from whence you came" As far as I can tell, I have all the perms set right according to the docs: cgi.cfg use_authentication=1 authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin authorized_for_all_hosts=nagiosadmin authorized_for_all_service_commands=nagiosadmin authorized_for_all_host_commands=nagiosadmin nagios.cfg command_file=/var/nagios/rw/nagios.cmd check_external_commands=1 # NOTE: Setting this value to -1 causes Nagios to check the external # command file as often as possible. command_check_interval=-1 ll /var/nagios/ | grep rw/ drwxrws--- 2 nagios apache 4096 Aug 1 13:28 rw/ ll /var/nagios/rw/nagios.cmd prw-rw---- 1 nagios apache 0 Aug 1 13:28 /var/nagios/rw/nagios.cmd| The apache process is run by the apache user, a member of the apache group, so has full perms to the directory and the pipe file nagios.cmd. Nagios is run by nagios who is also a member of the apache group. This all looks as it should be according to the docs as far as I can see. What am I missing? Hari I think quite a lot of people have trouble with this but a lot give up or are satisfied that the main bit is working and don't bother with this... does anybody have this working and if so could you post your configs so I can see anything you have different to me? are external commands generally broken or is there something missing in the docs/our configs/our brains? I'm using Version 1.4.1 Hari ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- - Justin -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen at altien.com Tue Aug 1 16:36:53 2006 From: mgreen at altien.com (Martin J. Green) Date: Tue, 1 Aug 2006 15:36:53 +0100 Subject: Externals Commands In-Reply-To: References: Message-ID: <5F54491268C784439D51B163322EE58C2F7B71@gorilla.hq.altien.com> ________________________________ From: Deborah Martin [mailto:Deborah.Martin at kognitio.com] Sent: 01 August 2006 15:32 To: 'Justin Craig' Cc: Hari Sekhon; Martin J. Green; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Externals Commands >I think there is a utility in the nagios install directory under bin called htpasswd or htpasswd2 and you run this util to generate a htpasswd.users file where >all the users that have web interface access are stored including nagiosadmin. I store mine in the etc install directory. Htpasswd is included with apache by default. It's not a script or program in the nagios package, but is part of apache. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen at altien.com Tue Aug 1 16:39:54 2006 From: mgreen at altien.com (Martin J. Green) Date: Tue, 1 Aug 2006 15:39:54 +0100 Subject: Externals Commands In-Reply-To: References: Message-ID: <5F54491268C784439D51B163322EE58C2F7B72@gorilla.hq.altien.com> Guess I should read the email in whole before I reply... :P ________________________________ From: Deborah Martin [mailto:Deborah.Martin at kognitio.com] Sent: 01 August 2006 15:32 To: 'Justin Craig' Cc: Hari Sekhon; Martin J. Green; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Externals Commands This file resides in the sbin directory (which is also cgi-bin). Note though - change the AuthUserFile path to wherever you are storing the htpasswd.users file. It doesn't have to reside in the sbin directory, in fact since that directory is remotely/publically accessible via the webserver, its probably a better idea that it isn't. As long as the path in ur .htaccess or httpd.conf is accessible by your webserver user, and the file writable by the same, it can be anywhere on the file system. When i was getting the 'return from whence you came error', this was exactly my problem - i hadn't set up authorisation correctly and the above was how i fixed it. Incidentally, I have the authentication set up identically as described in the manual (with paths changed accordingly), and mine doesn't work :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Tue Aug 1 16:48:22 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Tue, 1 Aug 2006 09:48:22 -0500 Subject: Externals Commands In-Reply-To: <5F54491268C784439D51B163322EE58C2F7B72@gorilla.hq.altien.com> References: <5F54491268C784439D51B163322EE58C2F7B72@gorilla.hq.altien.com> Message-ID: Right, so I have AuthUser in my httpd.conf file which uses htpasswd file So, where are we with why I can't schedule downtime or issue external commands? On 8/1/06, Martin J. Green wrote: > > Guess I should read the email in whole before I reply? :P > > > ------------------------------ > > *From:* Deborah Martin [mailto:Deborah.Martin at kognitio.com] > *Sent:* 01 August 2006 15:32 > *To:* 'Justin Craig' > > *Cc:* Hari Sekhon; Martin J. Green; nagios-users at lists.sourceforge.net > *Subject:* RE: [Nagios-users] Externals Commands > > > > > > This file resides in the sbin directory (which is also cgi-bin). Note > though - change the AuthUserFile path to wherever you are storing the > htpasswd.users file. > > > > It doesn't have to reside in the sbin directory, in fact since that > directory is remotely/publically accessible via the webserver, its probably > a better idea that it isn't. As long as the path in ur .htaccess or > httpd.conf is accessible by your webserver user, and the file writable by > the same, it can be anywhere on the file system. > > > > When i was getting the 'return from whence you came error', this was > exactly my problem - i hadn't set up authorisation correctly and the above > was how i fixed it. > > > > Incidentally, I have the authentication set up identically as described in > the manual (with paths changed accordingly), and mine doesn't work J > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at Kognitio.com Tue Aug 1 16:47:50 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Tue, 1 Aug 2006 15:47:50 +0100 Subject: Externals Commands Message-ID: actually you can use .htaccess or the httpd.conf file it doesn't matter. If you put in the httpd.conf you have to restart apache - not always convenient to do that. But using .htaccess means you don't have to do that and can simply add this file into the locations required with immediate effect. Also, htpasswd(2) does as you say come with apache but it has been known to be included with Nagios! -----Original Message----- From: Martin J. Green [mailto:mgreen at altien.com] Sent: 01 August 2006 15:36 To: Deborah Martin; Justin Craig Cc: Hari Sekhon; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Externals Commands The .htaccess is only required if you don't have root access to the server & thus can't add it to the main httpd.conf. If you have root access, its almost always better to add it there. In that case you would have no .htaccess file, it would all be in the server config. M _____ From: Deborah Martin [mailto:Deborah.Martin at kognitio.com] Sent: 01 August 2006 15:32 To: 'Justin Craig' Cc: Hari Sekhon; Martin J. Green; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Externals Commands ok - somewhere in the nagios docs are the details with regard to setting up .htaccess but I think there is a utility in the nagios install directory under bin called htpasswd or htpasswd2 and you run this util to generate a htpasswd.users file where all the users that have web interface access are stored including nagiosadmin. I store mine in the etc install directory. Then in my .htaccess file i have the following AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user This file resides in the sbin directory (which is also cgi-bin). Note though - change the AuthUserFile path to wherever you are storing the htpasswd.users file. When i was getting the 'return from whence you came error', this was exactly my problem - i hadn't set up authorisation correctly and the above was how i fixed it. hope this helps. -----Original Message----- From: Justin Craig [mailto:jrcraig.email at gmail.com] Sent: 01 August 2006 15:07 To: Deborah Martin Cc: Hari Sekhon; Martin J. Green; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Externals Commands so obviously I RTFM or I wouldn't have got this far. One part that I did have questions of was the .htaccess creation, as the documentation I read only provided information for setting up users via htpasswd -c and changing your authorization functionality in the CGI's to 1. So I did a find / -name *.htaccess* and that file doesn't exist. Sounds like I need one? Sorry, there isn't anything in my /var/www/cgi-bin directory Is there something missed here? On 8/1/06, Deborah Martin < Deborah.Martin at kognitio.com > wrote: can you forward the contents of the .htaccess file that resides in the cgi-bin directory ? and a listing of the rest of the directory including the permissions -----Original Message----- From: Justin Craig [mailto: jrcraig.email at gmail.com] Sent: 01 August 2006 14:46 To: Deborah Martin Cc: Hari Sekhon; Martin J. Green; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Externals Commands i'm logged in as nagiosadmin and i have that username in all my cgi's. I have the sameissue, can't schedule downtime or issue external commands with the same error. I'm running nagios 2.4 On 8/1/06, Deborah Martin < Deborah.Martin at kognitio.com > wrote: look at your /usr/local/nagios/sbin directory and check a) file permissions are correct and also whether your .htaccess authrization file is present. This error is generally caused by not correctly using .htaccess and also not configuring apache properly - check your httpd.conf is correctly configured -----Original Message----- From: Hari Sekhon [mailto: hpsekhon at googlemail.com] Sent: 01 August 2006 14:14 To: Martin J. Green Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Externals Commands Martin J. Green wrote: I can't get external commands to work either (appears it can't write to the file for some reason), but its so low on my list of priorities I haven't gotten to it yet. _____ From: nagios-users-bounces at lists.sourceforge.net [ mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: 01 August 2006 13:48 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Externals Commands I am having real difficulty getting external commands to work and don't full understand what's going wrong, despite having RTFMing several times. As an example, I log in to the web interface as nagiosadmin via basic apache auth successfully as usual. I go to "comments" in the left hand pane and enter one for a host but when I click submit, I get the error: "Sorry, but you are not authorized to commit the specified command. Read the section of the documentation that deals with authentication and authorization in the CGIs for more information. Return from whence you came" As far as I can tell, I have all the perms set right according to the docs: cgi.cfg use_authentication=1 authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin authorized_for_all_hosts=nagiosadmin authorized_for_all_service_commands=nagiosadmin authorized_for_all_host_commands=nagiosadmin nagios.cfg command_file=/var/nagios/rw/nagios.cmd check_external_commands=1 # NOTE: Setting this value to -1 causes Nagios to check the external # command file as often as possible. command_check_interval=-1 ll /var/nagios/ | grep rw/ drwxrws--- 2 nagios apache 4096 Aug 1 13:28 rw/ ll /var/nagios/rw/nagios.cmd prw-rw---- 1 nagios apache 0 Aug 1 13:28 /var/nagios/rw/nagios.cmd| The apache process is run by the apache user, a member of the apache group, so has full perms to the directory and the pipe file nagios.cmd. Nagios is run by nagios who is also a member of the apache group. This all looks as it should be according to the docs as far as I can see. What am I missing? Hari I think quite a lot of people have trouble with this but a lot give up or are satisfied that the main bit is working and don't bother with this... does anybody have this working and if so could you post your configs so I can see anything you have different to me? are external commands generally broken or is there something missing in the docs/our configs/our brains? I'm using Version 1.4.1 Hari ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php &p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- - Justin -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at ayksolutions.com Tue Aug 1 17:14:44 2006 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Tue, 1 Aug 2006 17:14:44 +0200 (CEST) Subject: getting some flyby errors In-Reply-To: <20060801141754.5253938029@chuys.eng.intrinsity.com> References: <20060801141754.5253938029@chuys.eng.intrinsity.com> Message-ID: <20060801151444.502774F4045@desire.netways.de> My directory structure is as follows: /etc/nagios/ contains the main files (cgi, nagios, resources) /etc/nagios/mysite contains all the other files (hosts, services, servicegroups, checkcommands, etc..) What files do you think I should grep for check ping? Also, I have disabled check_ping altogether and am now using only check-host-alive as check_ping throws some errors. So, I now have in hosts.cfg check_command check-host-alive and in services I also have check_command check-host-alive One of them has arguments to pass to macros, the hosts.cfg I believe. I will try to run grep on all the files as mentioned however. Thanks for your help! ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=20668 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From meo at intrinsity.com Tue Aug 1 17:19:00 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Tue, 1 Aug 2006 10:19:00 -0500 (CDT) Subject: getting some flyby errors In-Reply-To: <20060801151444.502774F4045@desire.netways.de> References: <20060801151444.502774F4045@desire.netways.de> Message-ID: <20060801151900.532C138029@chuys.eng.intrinsity.com> Artyom Khmelnitsky said... | |My directory structure is as follows: | |/etc/nagios/ contains the main files (cgi, nagios, resources) | |/etc/nagios/mysite contains all the other files (hosts, services, | servicegroups, checkcommands, etc..) | |What files do you think I should grep for check ping? I just do something like grep check_ping /etc/nagios/* /etc/nagios/mysite/* to check everything. -Miles ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Tue Aug 1 17:22:09 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Tue, 1 Aug 2006 10:22:09 -0500 Subject: Externals Commands In-Reply-To: References: Message-ID: okay so here is my output: in my httpd.conf file I have: ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" # SSLRequireSSL Options ExecCGI AllowOverride AuthConfig Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Alias /nagios "/usr/local/nagios/share" # SSLRequireSSL Options None AllowOverride AuthConfig Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user # Where is my problem for not being able to execute external commands or schedule downtime for a host? On 8/1/06, Deborah Martin wrote: > > actually you can use .htaccess or the httpd.conf file it doesn't matter. > If you put in the httpd.conf you have to restart apache - not always > convenient to > do that. But using .htaccess means you don't have to do that and can > simply add this file into the locations required with immediate effect. > > Also, htpasswd(2) does as you say come with apache but it has been known > to be included with Nagios! > > > > -----Original Message----- > *From:* Martin J. Green [mailto:mgreen at altien.com] > *Sent:* 01 August 2006 15:36 > *To:* Deborah Martin; Justin Craig > *Cc:* Hari Sekhon; nagios-users at lists.sourceforge.net > *Subject:* RE: [Nagios-users] Externals Commands > > The .htaccess is only required if you don't have root access to the > server & thus can't add it to the main httpd.conf. If you have root > access, its almost always better to add it there. In that case you would > have no .htaccess file, it would all be in the server config. > > > > M > > > ------------------------------ > > *From:* Deborah Martin [mailto:Deborah.Martin at kognitio.com] > *Sent:* 01 August 2006 15:32 > *To:* 'Justin Craig' > *Cc:* Hari Sekhon; Martin J. Green; nagios-users at lists.sourceforge.net > *Subject:* RE: [Nagios-users] Externals Commands > > > > ok - somewhere in the nagios docs are the details with regard to setting > up .htaccess but > > > > I think there is a utility in the nagios install directory under bin > called htpasswd or htpasswd2 and you run this util to generate a > htpasswd.users file where > > all the users that have web interface access are stored including > nagiosadmin. I store mine in the etc install directory. > > > > Then in my .htaccess file i have the following > > > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > require valid-user > > > > This file resides in the sbin directory (which is also cgi-bin). Note > though - change the AuthUserFile path to wherever you are storing the > htpasswd.users file. > > > > When i was getting the 'return from whence you came error', this was > exactly my problem - i hadn't set up authorisation correctly and the above > was how i fixed it. > > > > hope this helps. > > -----Original Message----- > *From:* Justin Craig [mailto:jrcraig.email at gmail.com] > *Sent:* 01 August 2006 15:07 > *To:* Deborah Martin > > > *Cc:* Hari Sekhon; Martin J. Green; nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Externals Commands > > so obviously I RTFM or I wouldn't have got this far. One part that I did > have questions of was the .htaccess creation, as the documentation I read > only provided information for setting up users via htpasswd -c and changing > your authorization functionality in the CGI's to 1. > > > > So I did a find / -name *.htaccess* and that file doesn't exist. Sounds > like I need one? > > > > Sorry, there isn't anything in my /var/www/cgi-bin directory > > > > Is there something missed here? > > > > On 8/1/06, *Deborah Martin* wrote: > > can you forward the contents of the .htaccess file that resides in the > cgi-bin directory ? and a listing of the rest of the directory including the > permissions > > -----Original Message----- > *From:* Justin Craig [mailto: jrcraig.email at gmail.com] > *Sent:* 01 August 2006 14:46 > *To:* Deborah Martin > *Cc:* Hari Sekhon; Martin J. Green; nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Externals Commands > > i'm logged in as nagiosadmin and i have that username in all my cgi's. I > have the sameissue, can't schedule downtime or issue external commands with > the same error. I'm running nagios 2.4 > > > > On 8/1/06, *Deborah Martin* wrote: > > look at your /usr/local/nagios/sbin directory and check a) file > permissions are correct and also whether your .htaccess authrization file is > present. > > This error is generally caused by not correctly using .htaccess and also > not configuring apache properly - check your httpd.conf is correctly > configured > > > > -----Original Message----- > *From:* Hari Sekhon [mailto: hpsekhon at googlemail.com] > *Sent:* 01 August 2006 14:14 > *To:* Martin J. Green > *Cc:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Externals Commands > > Martin J. Green wrote: > > I can't get external commands to work either (appears it can't write to > the file for some reason), but its so low on my list of priorities I haven't > gotten to it yet. > ------------------------------ > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] > *On Behalf Of *Hari Sekhon > *Sent:* 01 August 2006 13:48 > *To:* nagios-users at lists.sourceforge.net > *Subject: *[Nagios-users] Externals Commands > > I am having real difficulty getting external commands to work and don't > full understand what's going wrong, despite having RTFMing several times. > > As an example, I log in to the web interface as nagiosadmin via basic > apache auth successfully as usual. I go to "comments" in the left hand pane > and enter one for a host but when I click submit, I get the error: > > "Sorry, but you are not authorized to commit the specified command. > > Read the section of the documentation that deals with authentication and > authorization in the CGIs for more information. > > Return from whence you came" > > As far as I can tell, I have all the perms set right according to the > docs: > > cgi.cfg > > use_authentication=1 > authorized_for_system_information=nagiosadmin > authorized_for_configuration_information=nagiosadmin > authorized_for_system_commands=nagiosadmin > authorized_for_all_services=nagiosadmin > authorized_for_all_hosts=nagiosadmin > authorized_for_all_service_commands=nagiosadmin > authorized_for_all_host_commands=nagiosadmin > > nagios.cfg > > command_file=/var/nagios/rw/nagios.cmd > check_external_commands=1 > # NOTE: Setting this value to -1 causes Nagios to check the external > # command file as often as possible. > command_check_interval=-1 > > ll /var/nagios/ | grep rw/ > drwxrws--- 2 nagios apache 4096 Aug 1 13:28 rw/ > > ll /var/nagios/rw/nagios.cmd > prw-rw---- 1 nagios apache 0 Aug 1 13:28 /var/nagios/rw/nagios.cmd| > > The apache process is run by the apache user, a member of the apache > group, so has full perms to the directory and the pipe file nagios.cmd. > Nagios is run by nagios who is also a member of the apache group. > > This all looks as it should be according to the docs as far as I can see. > > What am I missing? > > > Hari > > > I think quite a lot of people have trouble with this but a lot give up or > are satisfied that the main bit is working and don't bother with this... > > does anybody have this working and if so could you post your configs so I > can see anything you have different to me? > > are external commands generally broken or is there something missing in > the docs/our configs/our brains? > > I'm using Version 1.4.1 > > Hari > > ************************************************************************ > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > Any unauthorised distribution or copying is strictly prohibited. Whilst > Kognitio Limited takes steps to prevent the transmission of viruses via > e-mail, we can not guarantee that any email or attachment is free from > computer viruses and you are strongly advised to undertake your own > anti-virus precautions. Kognitio grants no warranties regarding performance, > use or quality of any e-mail or attachment and undertakes no liability for > loss or damage, howsoever caused. > *********************************************************************** > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > -- > - Justin > > > > > -- > - Justin > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rns3 at psu.edu Tue Aug 1 17:23:18 2006 From: rns3 at psu.edu (Robert Snyder) Date: Tue, 1 Aug 2006 11:23:18 -0400 Subject: Cingular SMS blocking my Nagios Pages Message-ID: <20060801152318.21700@studentservices.outreach.psu.edu> Hi, I am having a problem with my Cingular service passing emails to my phone from my Nagios server. I can see from the logs that sendmail on my naigos server is sending the emails. But they never come through. And there is no error returned from the Cingular mail server. The emails are from nagios at nagios.myserver.myschool.edu. I have tried going into the Cingular SMS management tool and adding nagios.myserver.myschool.edu to the white list for senders to my account. When that failed, I stopped sending them directly, but instead had them sent to a mail group on one of our mail servers, with a recipient list of my SMS phone address. Still no go. I can successfully send to my phone directly from my email and also via the email group route. I have tried setting up the notification as both email and pager. Neither made a difference. The odd thing, is that I am able to get pages to my phone from another nagios implementation on campus that has some of servers in a colocation room. Has anyone had a similar experience? I am sure they just assume I am spamming the phone. Robert ____________________________________________ Robert Snyder Outreach Technology Services The Pennsylvania State University 151A Outreach Building University Park PA 16802 Phone: 814-865-0912 Fax: 814-865-4406 E-mail: rsnyder at psu.edu ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Aug 1 17:29:17 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 1 Aug 2006 11:29:17 -0400 Subject: Cingular SMS blocking my Nagios Pages In-Reply-To: <20060801152318.21700@studentservices.outreach.psu.edu> References: <20060801152318.21700@studentservices.outreach.psu.edu> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Robert Snyder > Sent: Tuesday, August 01, 2006 8:23 AM > To: Nagios Users > Subject: [Nagios-users] Cingular SMS blocking my Nagios Pages > > Hi, > > I am having a problem with my Cingular service passing emails > to my phone from my Nagios server. Does the from address resolve (both forward and reverse) in external DNS? Does your site use anything like SPF, and if so is your Nagios box a valid sender for your domain? Is your Nagios box's IP on any blacklists? Are you sure it's sending to the right address? There are a whole lot of things that could be causing this -- none of them strictly Nagios-related, if you're seeing the messages get passed from your Nagios machine to Cingular. For what it's worth, almost my entire team is on Cingular, and dropped alerts have never been an issue. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MThomas at InnovationsTech.com Tue Aug 1 17:36:25 2006 From: MThomas at InnovationsTech.com (InnovationsTech, Matthew Thomas) Date: Tue, 1 Aug 2006 11:36:25 -0400 Subject: Cingular SMS blocking my Nagios Pages Message-ID: Are you able to receive the notifications at another address like your campus or 3rd party email? Matt -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Robert Snyder Sent: Tuesday, August 01, 2006 11.23 To: Nagios Users Subject: [Nagios-users] Cingular SMS blocking my Nagios Pages Hi, I am having a problem with my Cingular service passing emails to my phone from my Nagios server. I can see from the logs that sendmail on my naigos server is sending the emails. But they never come through. And there is no error returned from the Cingular mail server. The emails are from nagios at nagios.myserver.myschool.edu. I have tried going into the Cingular SMS management tool and adding nagios.myserver.myschool.edu to the white list for senders to my account. When that failed, I stopped sending them directly, but instead had them sent to a mail group on one of our mail servers, with a recipient list of my SMS phone address. Still no go. I can successfully send to my phone directly from my email and also via the email group route. I have tried setting up the notification as both email and pager. Neither made a difference. The odd thing, is that I am able to get pages to my phone from another nagios implementation on campus that has some of servers in a colocation room. Has anyone had a similar experience? I am sure they just assume I am spamming the phone. Robert ____________________________________________ Robert Snyder Outreach Technology Services The Pennsylvania State University 151A Outreach Building University Park PA 16802 Phone: 814-865-0912 Fax: 814-865-4406 E-mail: rsnyder at psu.edu ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rns3 at psu.edu Tue Aug 1 17:39:24 2006 From: rns3 at psu.edu (Robert Snyder) Date: Tue, 1 Aug 2006 11:39:24 -0400 Subject: Re(2): Cingular SMS blocking my Nagios Pages In-Reply-To: References: Message-ID: <20060801153924.12851@studentservices.outreach.psu.edu> On Tue, Aug 1, 2006, InnovationsTech, Matthew Thomas wrote: >Are you able to receive the notifications at another address like your >campus or 3rd party email? Yep to both. I can get them on campus account and my .mac account. Robert ____________________________________________ Robert Snyder Outreach Technology Services The Pennsylvania State University 151A Outreach Building University Park PA 16802 Phone: 814-865-0912 Fax: 814-865-4406 E-mail: rsnyder at psu.edu ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrickjmannion at gmail.com Tue Aug 1 17:46:16 2006 From: patrickjmannion at gmail.com (Patrick Mannion) Date: Tue, 01 Aug 2006 11:46:16 -0400 Subject: Cingular SMS blocking my Nagios Pages In-Reply-To: <20060801152318.21700@studentservices.outreach.psu.edu> References: <20060801152318.21700@studentservices.outreach.psu.edu> Message-ID: <44CF7748.1060806@gmail.com> Robert Snyder wrote: > Hi, > > I am having a problem with my Cingular service passing emails to my > phone from my Nagios server. > > I can see from the logs that sendmail on my naigos server is sending the > emails. But they never come through. And there is no error returned from > the Cingular mail server. > It might sound silly, but try turning the phone off and on. Cingular's SMSC infrastructure is notorious for "forgetting" how to route mail when a device hasn't registered recently (at least, in the NYC area). I've seen whole days where I will receive notifications from the office and personal implementations, but I won't get anything from Yahoo! Sports or GMail. Powering off and on re-registers the device and I'll get a flood of old messages, with the only commonality the sender being less frequent than the ones that are working. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rns3 at psu.edu Tue Aug 1 17:59:12 2006 From: rns3 at psu.edu (Robert Snyder) Date: Tue, 1 Aug 2006 11:59:12 -0400 Subject: Re(2): Cingular SMS blocking my Nagios Pages In-Reply-To: References: <20060801152318.21700@studentservices.outreach.psu.edu> Message-ID: <20060801155912.9153@studentservices.outreach.psu.edu> On Tue, Aug 1, 2006, Morris, Patrick wrote: >Does the from address resolve (both forward and reverse) in external >DNS? I think this is the problem. The canonical name is different than than the host name which is an alias on the dns record: IP address = NNN.NNN.NNN.206 canonical name = mydepartment206.mydeparment.myschool.edu; host name/alias = nagios.mydeparment.myschool.edu sender address nagios at nagios.mydeparment.myschool.edu I am trying adding the canonical name to my white list on cingular's SMS management site. Hopefully, if I am explicitly allowing sms from that system, it will get through. As far as being on any black lists, I don't think so. The box has never been a mail server before being set for the very limited ability to send nagios pages. Thanks for the suggestion. Robert ____________________________________________ Robert Snyder Outreach Technology Services The Pennsylvania State University 151A Outreach Building University Park PA 16802 Phone: 814-865-0912 Fax: 814-865-4406 E-mail: rsnyder at psu.edu ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at Kognitio.com Tue Aug 1 18:00:07 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Tue, 1 Aug 2006 17:00:07 +0100 Subject: Externals Commands Message-ID: no idea! i use .htaccess and it works for me! my httpd.conf has the following which is what i extracted from the docs! ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all AllowOverride AuthConfig order allow,deny allow from all Options ExecCGI Alias /nagios /usr/local/nagios/share Options None AllowOverride AuthConfig Order allow,deny Allow from all AllowOverride AuthConfig order allow,deny allow from all Maybe there is something else that is fundamentally wrong! -----Original Message----- From: Justin Craig [mailto:jrcraig.email at gmail.com] Sent: 01 August 2006 16:22 To: Deborah Martin Cc: Martin J. Green; Hari Sekhon; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Externals Commands okay so here is my output: in my httpd.conf file I have: ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" Options ExecCGI AllowOverride AuthConfig Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Alias /nagios "/usr/local/nagios/share" Options None AllowOverride AuthConfig Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user # Where is my problem for not being able to execute external commands or schedule downtime for a host? On 8/1/06, Deborah Martin < Deborah.Martin at kognitio.com> wrote: actually you can use .htaccess or the httpd.conf file it doesn't matter. If you put in the httpd.conf you have to restart apache - not always convenient to do that. But using .htaccess means you don't have to do that and can simply add this file into the locations required with immediate effect. Also, htpasswd(2) does as you say come with apache but it has been known to be included with Nagios! -----Original Message----- From: Martin J. Green [mailto: mgreen at altien.com ] Sent: 01 August 2006 15:36 To: Deborah Martin; Justin Craig Cc: Hari Sekhon; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Externals Commands The .htaccess is only required if you don't have root access to the server & thus can't add it to the main httpd.conf. If you have root access, its almost always better to add it there. In that case you would have no .htaccess file, it would all be in the server config. M _____ From: Deborah Martin [mailto: Deborah.Martin at kognitio.com ] Sent: 01 August 2006 15:32 To: 'Justin Craig' Cc: Hari Sekhon; Martin J. Green; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Externals Commands ok - somewhere in the nagios docs are the details with regard to setting up .htaccess but I think there is a utility in the nagios install directory under bin called htpasswd or htpasswd2 and you run this util to generate a htpasswd.users file where all the users that have web interface access are stored including nagiosadmin. I store mine in the etc install directory. Then in my .htaccess file i have the following AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user This file resides in the sbin directory (which is also cgi-bin). Note though - change the AuthUserFile path to wherever you are storing the htpasswd.users file. When i was getting the 'return from whence you came error', this was exactly my problem - i hadn't set up authorisation correctly and the above was how i fixed it. hope this helps. -----Original Message----- From: Justin Craig [mailto: jrcraig.email at gmail.com ] Sent: 01 August 2006 15:07 To: Deborah Martin Cc: Hari Sekhon; Martin J. Green; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Externals Commands so obviously I RTFM or I wouldn't have got this far. One part that I did have questions of was the .htaccess creation, as the documentation I read only provided information for setting up users via htpasswd -c and changing your authorization functionality in the CGI's to 1. So I did a find / -name *.htaccess* and that file doesn't exist. Sounds like I need one? Sorry, there isn't anything in my /var/www/cgi-bin directory Is there something missed here? On 8/1/06, Deborah Martin < Deborah.Martin at kognitio.com> wrote: can you forward the contents of the .htaccess file that resides in the cgi-bin directory ? and a listing of the rest of the directory including the permissions -----Original Message----- From: Justin Craig [mailto: jrcraig.email at gmail.com] Sent: 01 August 2006 14:46 To: Deborah Martin Cc: Hari Sekhon; Martin J. Green; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Externals Commands i'm logged in as nagiosadmin and i have that username in all my cgi's. I have the sameissue, can't schedule downtime or issue external commands with the same error. I'm running nagios 2.4 On 8/1/06, Deborah Martin < Deborah.Martin at kognitio.com > wrote: look at your /usr/local/nagios/sbin directory and check a) file permissions are correct and also whether your .htaccess authrization file is present. This error is generally caused by not correctly using .htaccess and also not configuring apache properly - check your httpd.conf is correctly configured -----Original Message----- From: Hari Sekhon [mailto: hpsekhon at googlemail.com] Sent: 01 August 2006 14:14 To: Martin J. Green Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Externals Commands Martin J. Green wrote: I can't get external commands to work either (appears it can't write to the file for some reason), but its so low on my list of priorities I haven't gotten to it yet. _____ From: nagios-users-bounces at lists.sourceforge.net [ mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: 01 August 2006 13:48 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Externals Commands I am having real difficulty getting external commands to work and don't full understand what's going wrong, despite having RTFMing several times. As an example, I log in to the web interface as nagiosadmin via basic apache auth successfully as usual. I go to "comments" in the left hand pane and enter one for a host but when I click submit, I get the error: "Sorry, but you are not authorized to commit the specified command. Read the section of the documentation that deals with authentication and authorization in the CGIs for more information. Return from whence you came" As far as I can tell, I have all the perms set right according to the docs: cgi.cfg use_authentication=1 authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin authorized_for_all_hosts=nagiosadmin authorized_for_all_service_commands=nagiosadmin authorized_for_all_host_commands=nagiosadmin nagios.cfg command_file=/var/nagios/rw/nagios.cmd check_external_commands=1 # NOTE: Setting this value to -1 causes Nagios to check the external # command file as often as possible. command_check_interval=-1 ll /var/nagios/ | grep rw/ drwxrws--- 2 nagios apache 4096 Aug 1 13:28 rw/ ll /var/nagios/rw/nagios.cmd prw-rw---- 1 nagios apache 0 Aug 1 13:28 /var/nagios/rw/nagios.cmd| The apache process is run by the apache user, a member of the apache group, so has full perms to the directory and the pipe file nagios.cmd. Nagios is run by nagios who is also a member of the apache group. This all looks as it should be according to the docs as far as I can see. What am I missing? Hari I think quite a lot of people have trouble with this but a lot give up or are satisfied that the main bit is working and don't bother with this... does anybody have this working and if so could you post your configs so I can see anything you have different to me? are external commands generally broken or is there something missing in the docs/our configs/our brains? I'm using Version 1.4.1 Hari ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php &p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- - Justin -- - Justin -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MThomas at InnovationsTech.com Tue Aug 1 18:15:36 2006 From: MThomas at InnovationsTech.com (InnovationsTech, Matthew Thomas) Date: Tue, 1 Aug 2006 12:15:36 -0400 Subject: Re(2): Cingular SMS blocking my Nagios Pages Message-ID: Not sure about cingular, but a lot of places, if the PTR is not right, they will not accept email. AOL is notorious for this. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Robert Snyder Sent: Tuesday, August 01, 2006 11.59 To: Nagios Users Subject: [Nagios-users] Re(2): Cingular SMS blocking my Nagios Pages On Tue, Aug 1, 2006, Morris, Patrick wrote: >Does the from address resolve (both forward and reverse) in external >DNS? I think this is the problem. The canonical name is different than than the host name which is an alias on the dns record: IP address = NNN.NNN.NNN.206 canonical name = mydepartment206.mydeparment.myschool.edu; host name/alias = nagios.mydeparment.myschool.edu sender address nagios at nagios.mydeparment.myschool.edu I am trying adding the canonical name to my white list on cingular's SMS management site. Hopefully, if I am explicitly allowing sms from that system, it will get through. As far as being on any black lists, I don't think so. The box has never been a mail server before being set for the very limited ability to send nagios pages. Thanks for the suggestion. Robert ____________________________________________ Robert Snyder Outreach Technology Services The Pennsylvania State University 151A Outreach Building University Park PA 16802 Phone: 814-865-0912 Fax: 814-865-4406 E-mail: rsnyder at psu.edu ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From felipe at tocchetto.com Tue Aug 1 18:33:01 2006 From: felipe at tocchetto.com (Felipe Tocchetto) Date: Tue, 1 Aug 2006 13:33:01 -0300 Subject: RES: Nagios do not send e.mails In-Reply-To: References: <8C18BAD1F46B2245B0A08BCF1A823DD4440170@raptor.redhawk.info> Message-ID: <4f70c5c80608010933m777b997bnc61487020eb83138@mail.gmail.com> What is the OS that Nagios is installed? 2006/7/31, Marcos Marinho : > > > > Yes, Mike , > > In the nagios.cfg there is a line config like this : > enable_notifications=1 > > Is this right ? > > Thanks for your cooperation > > > [Marcos Marinho] -----Mensagem original----- > De: Mike Koponick [mailto:mkoponick at redhawk.info] > Enviada em: segunda-feira, 31 de julho de 2006 18:58 > Para: marcos.marinho at rac.com.br; > nagios-users at lists.sourceforge.net > Assunto: RE: [Nagios-users] Nagios do not send e.mails > > > > Are notifications turned on in the nagios.cfg file? > > Mike > > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On > Behalf Of Marcos Marinho > Sent: Monday, July 31, 2006 2:57 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios do not send e.mails > > I had installed the version 2.4 by binary way and we had using NagiosQL to > configure. > > The servers had been monitored ok > > In all time that nagios was installed here none of the serves had not been > down any moment > > On the first server down one, the nagios process did not send any e.mail > using the pre-configured scritp host-notify-by-email. > > Whe I had tried runnig the script using user nagios the message was sent > with no problem. > > This is what is showed in nagio.log > > [1154056710] HOST ALERT: marcos;DOWN;SOFT;1;CRITICAL - Plugin timed out > after 10 seconds > > [1154056720] HOST ALERT: marcos;DOWN;SOFT;2;CRITICAL - Plugin timed out > after 10 seconds > > [1154056730] HOST ALERT: marcos;DOWN;SOFT;3;CRITICAL - Plugin timed out > after 10 seconds > > [1154056740] HOST ALERT: marcos;DOWN;SOFT;4;CRITICAL - Plugin timed out > after 10 seconds > > [1154056750] HOST ALERT: marcos;DOWN;HARD;5;CRITICAL - Plugin timed out > after 10 seconds > > This is our configuration files > > ================================================================ > > define host { > > host_name marcos > > alias Workstation Marcos > > address 10.10.21.18 > > parents Debian > > check_command check-host-alive > > max_check_attempts 5 > > check_interval 10 > > active_checks_enabled 1 > > passive_checks_enabled 1 > > check_period 24x7 > > obsess_over_host 1 > > check_freshness 1 > > freshness_threshold 360 > > event_handler_enabled 0 > > flap_detection_enabled 0 > > process_perf_data 1 > > retain_status_information 1 > > retain_nonstatus_information 1 > > contact_groups admins > > notification_interval 5 > > notification_period 24x7 > > notification_options d,u > > notifications_enabled 1 > > stalking_options d,u > > register 1 > > } > > ================================================================ > > define command { > > command_name host-notify-by-email > > command_line /usr/bin/printf \\"%b\\" \\"***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n\\" | /usr/bin/mail -s \\"Host $HOSTSTATE$ alert for > $HOSTNAME$!\\" $CONTACTEMAIL$ > > } > > ================================================================ > > define contactgroup { > > contactgroup_name admins > > alias Nagios Administrators > > members redes > > } > > ================================================================ > > define contact { > > contact_name redes > > alias Grupo Redes > > host_notification_period 24x7 > > service_notification_period 24x7 > > host_notification_options d,u,r > > service_notification_options w,u,c,r > > host_notification_commands host-notify-by-email > > service_notification_commands notify-by-email > > email marcos.marinho at dominio.com.br > > } > > ================================================================ > > Any hints > > Thank you before hands << File: ATT350909.txt >> << File: ATT350911.txt >> > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Felipe L. Tocchetto http://felipe.tocchetto.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at ayksolutions.com Tue Aug 1 18:36:47 2006 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Tue, 1 Aug 2006 18:36:47 +0200 (CEST) Subject: getting some flyby errors In-Reply-To: <20060801151900.532C138029@chuys.eng.intrinsity.com> References: <20060801151900.532C138029@chuys.eng.intrinsity.com> Message-ID: <20060801163647.F2FB74F4045@desire.netways.de> That certainly makes sense. Thanks for the input everyone, but I believe I have resolved my problem. What I did was change check_ping to check_icmp, then setup the correct permissions (chmod 4711 and chown root.nagios on check_icmp), then changed the checkcommands.cfg, hosts.cfg and services.cfg files to reflect this. All of them are now showing up. Now I just need to see if the notificatio ns work with them. Thanks once again for everyone's help. ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=20678 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmblue at gmail.com Tue Aug 1 19:33:32 2006 From: tmblue at gmail.com (Tory M Blue) Date: Tue, 1 Aug 2006 10:33:32 -0700 Subject: Mutliple users cannot see their assigned hosts/services (contacts) Message-ID: <8a547c840608011033n6a7c0d9cpbbbf685832837ccd@mail.gmail.com> Okay I've gone thru the list and I have no clue why things are not working so I'm breaking down and pinging the collective. I can access using user/pass and view any and all services, do whatever I want with the user that is configured in the various authorized_for_* in the cgi.cfg So I obviously or believe that: a) if I'm being prompted for a pass/user that I have Apache auth working fine b) that if I log in with the associated user in the authorized_for lines and can do everything I have a user/pass that CGI is accepting Sooooo When I create a secondary and tirturary user and those user names match the contact group of various hosts why do I get the error: "It appears as though you do not have permission to view information for any of the hosts you requested..." Soo that you don't have to ask me questions regarding my configs.. Here is what I think to be pertinant: Apache: Alias /nagios "/usr/share/nagios/html" Options Indexes FollowSymLinks ExecCGI AllowOverride AuthConfig Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user Options ExecCGI AllowOverride AuthConfig Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user cgi.cfg "Only configured for my admin as the other users should automagically be given visability into their hosts/services" * authorized_for_all_services=admops authorized_for_all_hosts=admops * contactgroups: define contactgroup{ contactgroup_name qa alias QA Admins members nagios-admins,qa-admins } define contactgroup{ contactgroup_name dev alias Dev Admins members nagios-admins,dev-admins } hosts_*.cfg define host{ use generic-host host_name qa760 alias qa760 address xx.xx.xxx.xx check_command check-host-alive contact_groups admins, qa } htpasswd-users: admops:SECURED qa:SECURED dev:SECURED I'm not sure what I'm missing, any pointers would be great. Thanks Tory -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Tue Aug 1 19:38:56 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 1 Aug 2006 19:38:56 +0200 Subject: Mutliple users cannot see their assigned hosts/services (contacts) In-Reply-To: <8a547c840608011033n6a7c0d9cpbbbf685832837ccd@mail.gmail.com> References: <8a547c840608011033n6a7c0d9cpbbbf685832837ccd@mail.gmail.com> Message-ID: <200608011938.56354.pitchfork@ederdrom.de> Am Dienstag, 1. August 2006 19:33 schrieb Tory M Blue: > Okay I've gone thru the list and I have no clue why things are not working > so I'm breaking down and pinging the collective. > > I can access using user/pass and view any and all services, do whatever I > want with the user that is configured in the various > > authorized_for_* in the cgi.cfg > > So I obviously or believe that: > a) if I'm being prompted for a pass/user that I have Apache auth working > fine > b) that if I log in with the associated user in the authorized_for lines > and can do everything I have a user/pass that CGI is accepting > > Sooooo > > When I create a secondary and tirturary user and those user names match the > contact group of various hosts why do I get the error: > "It appears as though you do not have permission to view information for > any of the hosts you requested..." > > Soo that you don't have to ask me questions regarding my configs.. > > Here is what I think to be pertinant: > > Apache: > Alias /nagios "/usr/share/nagios/html" > > > Options Indexes FollowSymLinks ExecCGI > AllowOverride AuthConfig > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /etc/nagios/htpasswd.users > Require valid-user > > > > Options ExecCGI > AllowOverride AuthConfig > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /etc/nagios/htpasswd.users > Require valid-user > > > cgi.cfg "Only configured for my admin as the other users should > automagically be given visability into their hosts/services" > > * > authorized_for_all_services=admops > authorized_for_all_hosts=admops > * > contactgroups: > > define contactgroup{ > contactgroup_name qa > alias QA Admins > members nagios-admins,qa-admins > } > > define contactgroup{ > contactgroup_name dev > alias Dev Admins > members nagios-admins,dev-admins > } > > hosts_*.cfg > > define host{ > use generic-host > host_name qa760 > alias qa760 > address xx.xx.xxx.xx > check_command check-host-alive > contact_groups admins, qa > } > > htpasswd-users: > > admops:SECURED > qa:SECURED > dev:SECURED The HTTP Username is the contact Name. Not the contact_group Name J?rg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Tue Aug 1 19:39:07 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Tue, 1 Aug 2006 12:39:07 -0500 Subject: Warning threshold must be float or float triplet! Message-ID: I added my localhost as a host and defined it in services and hostgroups. added services: current load, current users, root partition, and total process. Anyway nagios tells me the host is down and returns the message in this subject line. Any ideas? -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmblue at gmail.com Tue Aug 1 19:45:35 2006 From: tmblue at gmail.com (Tory M Blue) Date: Tue, 1 Aug 2006 10:45:35 -0700 Subject: Mutliple users cannot see their assigned hosts/services (contacts) In-Reply-To: <200608011938.56354.pitchfork@ederdrom.de> References: <8a547c840608011033n6a7c0d9cpbbbf685832837ccd@mail.gmail.com> <200608011938.56354.pitchfork@ederdrom.de> Message-ID: <8a547c840608011045p33103650j7dae48c88d29718f@mail.gmail.com> Your amazing!!,.. I wonder where I got contact_groups from!! Thanks for the easy answer, I'm cruisen again! Tory On 8/1/06, Joerg Linge wrote: > > Am Dienstag, 1. August 2006 19:33 schrieb Tory M Blue: > > Okay I've gone thru the list and I have no clue why things are not > working > > so I'm breaking down and pinging the collective. > > > > I can access using user/pass and view any and all services, do whatever > I > > want with the user that is configured in the various > > > > authorized_for_* in the cgi.cfg > > > > So I obviously or believe that: > > a) if I'm being prompted for a pass/user that I have Apache auth working > > fine > > b) that if I log in with the associated user in the authorized_for lines > > and can do everything I have a user/pass that CGI is accepting > > > > Sooooo > > > > When I create a secondary and tirturary user and those user names match > the > > contact group of various hosts why do I get the error: > > "It appears as though you do not have permission to view information for > > any of the hosts you requested..." > > > > Soo that you don't have to ask me questions regarding my configs.. > > > > Here is what I think to be pertinant: > > > > Apache: > > Alias /nagios "/usr/share/nagios/html" > > > > > > Options Indexes FollowSymLinks ExecCGI > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > AuthName "Nagios Access" > > AuthType Basic > > AuthUserFile /etc/nagios/htpasswd.users > > Require valid-user > > > > > > > > Options ExecCGI > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > AuthName "Nagios Access" > > AuthType Basic > > AuthUserFile /etc/nagios/htpasswd.users > > Require valid-user > > > > > > cgi.cfg "Only configured for my admin as the other users should > > automagically be given visability into their hosts/services" > > > > * > > authorized_for_all_services=admops > > authorized_for_all_hosts=admops > > * > > contactgroups: > > > > define contactgroup{ > > contactgroup_name qa > > alias QA Admins > > members nagios-admins,qa-admins > > } > > > > define contactgroup{ > > contactgroup_name dev > > alias Dev Admins > > members nagios-admins,dev-admins > > } > > > > hosts_*.cfg > > > > define host{ > > use generic-host > > host_name qa760 > > alias qa760 > > address xx.xx.xxx.xx > > check_command check-host-alive > > contact_groups admins, qa > > } > > > > htpasswd-users: > > > > admops:SECURED > > qa:SECURED > > dev:SECURED > > The HTTP Username is the contact Name. Not the contact_group Name > > J?rg > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigo.maceno at gmail.com Tue Aug 1 19:54:05 2006 From: rodrigo.maceno at gmail.com (Rodrigo Maceno) Date: Tue, 1 Aug 2006 14:54:05 -0300 Subject: Return code of 127 is out of bounds - plugin may be missing Message-ID: <27acffb00608011054m5b69d72p7986084314edaed8@mail.gmail.com> Hello, I have a machine where I installed the nagios, the plugins and the nrpe with tar.gz archives. It runs good. But I installed the nagios, nagios plugins and the nrpe in another machine with rpm packages. When I try to monitor this machine with the first, I receive the follow message: Return code of 127 is out of bounds - plugin may be missing. I checked the path to the plugins into resource.cfg and it is correct. What do I must to do??? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Tue Aug 1 20:04:31 2006 From: Josh.Yost at epsiia.com (Josh Yost) Date: Tue, 01 Aug 2006 13:04:31 -0500 Subject: Return code of 127 is out of bounds - plugin may be missing In-Reply-To: <27acffb00608011054m5b69d72p7986084314edaed8@mail.gmail.com> References: <27acffb00608011054m5b69d72p7986084314edaed8@mail.gmail.com> Message-ID: <44CF97AF.6010504@epsiia.com> what are the permissions on the plugin? does Nagios have rights to execute it? I see that error when I forget to chown nagios:nagios, so it can actually run the plugin. - Josh Rodrigo Maceno wrote: > Hello, I have a machine where I installed the nagios, the plugins and the > nrpe with tar.gz archives. It runs good. But I installed the nagios, nagios > plugins and the nrpe in another machine with rpm packages. When I try to > monitor this machine with the first, I receive the follow message: Return > code of 127 is out of bounds - plugin may be missing. > I checked the path to the plugins into resource.cfg and it is correct. > What do I must to do??? > > Thanks. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From derek.olsen at qsent.com Tue Aug 1 20:28:36 2006 From: derek.olsen at qsent.com (Derek Olsen) Date: Tue, 01 Aug 2006 11:28:36 -0700 Subject: ordering service checks Message-ID: <44CF9D54.1060705@qsent.com> Hello. I'm hoping to get some input in the best nagios way to solve this particular situation. So I have an application to monitor that requires multiple steps to determine the overall health of the application. So here is a simple example that demonstrates my situation. 1. Email is sent to an address associated with an in house reporting application. 2. During the 5 - 30 minutes following the first step (as long as the first step succeeded ok) another service checsk a specific URL for a resulting pdf file. If the pdf file is available then the overall service is ok and the monitor repeats itself. It's important that step #1 doesnt run again until after step 2 completes OK. So some of the approaches I have started to mentally walk through are listed here. I'm fairly new to nagios and have used basic dependency checking before but have never tried to tackle a problem like this so I'm hoping someone will suggest some high level options for me to consider. Approach #1. Have a cron job kick off a shell script which permforms the above steps and iterates through step #2 using timers/sleep and then submits passive results to nagios. Approach #2. I've not worked through all the details of this approach but I imagine I would be able to setup service #1 to have a very high normal_check_interval (say 60) and then use a dependency so #2 wont execute unless service #1 is ok. But even if I have the dependency for #2 on #1 being ok what if #1 didnt run for some reason but is still listed as OK from the previous run then #2 would execute and start looking for a file that would never show up. Anyhoo any tips/pointers on other/better approaches I might consider would be super groovy. THanks. Deet. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Aug 1 20:30:24 2006 From: marc at ena.com (Marc Powell) Date: Tue, 1 Aug 2006 13:30:24 -0500 Subject: Warning threshold must be float or float triplet! Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Justin Craig > Sent: Tuesday, August 01, 2006 12:39 PM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Warning threshold must be float or float triplet! > > I added my localhost as a host and defined it in services and hostgroups. > added services: current load, current users, root partition, and total > process. Anyway nagios tells me the host is down and returns the message > in this subject line. Any ideas? Magic 8-ball says you have a configuration error. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Aug 1 20:30:56 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 1 Aug 2006 20:30:56 +0200 (CEST) Subject: Warning threshold must be float or float triplet! In-Reply-To: References: Message-ID: On Tue, 1 Aug 2006, Justin Craig wrote: > I added my localhost as a host and defined it in services and hostgroups. > added services: current load, current users, root partition, and total > process. Anyway nagios tells me the host is down and returns the message in > this subject line. Any ideas? Just what did you add exactly? It would be nice to see the relevant config sections. The error seems to indicate you have an issue with your load service. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Tue Aug 1 20:33:52 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 1 Aug 2006 20:33:52 +0200 Subject: ordering service checks In-Reply-To: <44CF9D54.1060705@qsent.com> References: <44CF9D54.1060705@qsent.com> Message-ID: <200608012033.52969.pitchfork@ederdrom.de> Am Dienstag, 1. August 2006 20:28 schrieb Derek Olsen: > Hello. > I'm hoping to get some input in the best nagios way to solve this > particular situation. > > So I have an application to monitor that requires multiple steps to > determine the overall health of the application. So here is a simple > example that demonstrates my situation. > > 1. Email is sent to an address associated with an in house > reporting application. > 2. During the 5 - 30 minutes following the first step (as long as > the first step succeeded ok) > another service checsk a specific URL for a resulting pdf > file. If the pdf file is available then the overall service is ok and > the monitor repeats itself. It's important that step #1 doesnt run > again until after step 2 completes OK. > snipp..... Hi Derek i think this is a job for an external cronjob. Write your checks and submit the result per external command. J?rg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Aug 1 20:35:01 2006 From: marc at ena.com (Marc Powell) Date: Tue, 1 Aug 2006 13:35:01 -0500 Subject: Return code of 127 is out of bounds - plugin may bemissing Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rodrigo Maceno > Sent: Tuesday, August 01, 2006 12:54 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Return code of 127 is out of bounds - plugin may > bemissing > > Hello, I have a machine where I installed the nagios, the plugins and the > nrpe with tar.gz archives. It runs good. But I installed the nagios, > nagios plugins and the nrpe in another machine with rpm packages. When I > try to monitor this machine with the first, I receive the follow message: > Return code of 127 is out of bounds - plugin may be missing. > I checked the path to the plugins into resource.cfg and it is correct. > What do I must to do??? The plugin you are attempting to execute is not in the location you've told nagios it is. Are you defining resource.cfg as a resource_file in nagios.cfg and nagios can read that file. Specific configuration examples would be really helpful. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Tue Aug 1 20:39:58 2006 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Tue, 1 Aug 2006 14:39:58 -0400 Subject: Return code of 127 is out of bounds - plugin may bemissing In-Reply-To: <27acffb00608011054m5b69d72p7986084314edaed8@mail.gmail.com> References: <27acffb00608011054m5b69d72p7986084314edaed8@mail.gmail.com> Message-ID: In my case I found this happened once because we used a certain Linux shared library that was in my path when I executed the plugin by hand, but when Nagios (which ran with a much more limited environment) tried to run the plugin, it failed as it could not find that shared library. The solution for us was to add the directory path to that shared library in an LD_LIBRARY_PATH definition in Nagios' startup script. Mark ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Rodrigo Maceno Sent: Tuesday, August 01, 2006 1:54 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Return code of 127 is out of bounds - plugin may bemissing Hello, I have a machine where I installed the nagios, the plugins and the nrpe with tar.gz archives. It runs good. But I installed the nagios, nagios plugins and the nrpe in another machine with rpm packages. When I try to monitor this machine with the first, I receive the follow message: Return code of 127 is out of bounds - plugin may be missing. I checked the path to the plugins into resource.cfg and it is correct. What do I must to do??? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Tue Aug 1 21:21:49 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Tue, 01 Aug 2006 16:21:49 -0300 Subject: Externals Commands In-Reply-To: <44CF538D.7040200@googlemail.com> References: <5F54491268C784439D51B163322EE58C2F7B6B@gorilla.hq.altien.com> <44CF538D.7040200@googlemail.com> Message-ID: <1154460110.20878.3.camel@localhost> On Tue, 2006-08-01 at 14:13 +0100, Hari Sekhon wrote: > > are external commands generally broken or is there something missing > in the docs/our configs/our brains? With my install just following the docs was all I needed to get everything up and running. What OS are your running? Anything strange at apache errorlog? HTH, AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Tue Aug 1 21:41:15 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Tue, 1 Aug 2006 14:41:15 -0500 Subject: Warning threshold must be float or float triplet! In-Reply-To: References: Message-ID: In services: define service{ use generic-service ; Name of service template to us host_name nagonet service_description Root Partition is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups nagiosadmin notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_local_disk!20%!10%!/ } # Define a service to check the number of currently logged in # users on the local machine. Warning if > 20 users, critical # if > 50 users. define service{ use generic-service ; Name of service template to use host_name nagonet service_description Current Users is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups nagiosadmin notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_local_users!20!50 } # Define a service to check the number of currently running procs # on the local machine. Warning if > 250 processes, critical if # > 400 users. define service{ use generic-service ; Name of service template to use host_name nagonet service_description Total Processes is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups nagiosadmin notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_local_procs!250!400 # Define a service to check the load on the local machine. define service{ use generic-service ; Name of service template to use host_name nagonet service_description Current Load is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups nagiosadmin notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_local_load!5.0,4.0,3.0!10.0, 6.0,4.0 } On 8/1/06, Hugo van der Kooij wrote: > > On Tue, 1 Aug 2006, Justin Craig wrote: > > > I added my localhost as a host and defined it in services and > hostgroups. > > added services: current load, current users, root partition, and total > > process. Anyway nagios tells me the host is down and returns the > message in > > this subject line. Any ideas? > > Just what did you add exactly? It would be nice to see the relevant > config sections. The error seems to indicate you have an issue with your > load service. > > Hugo. > > -- > I hate duplicates. Just reply to the relevant mailinglist. > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > Don't meddle in the affairs of magicians, > for they are subtle and quick to anger. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Aug 1 21:48:49 2006 From: marc at ena.com (Marc Powell) Date: Tue, 1 Aug 2006 14:48:49 -0500 Subject: Warning threshold must be float or float triplet! Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Justin Craig > Sent: Tuesday, August 01, 2006 2:41 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Warning threshold must be float or float > triplet! [chop] > define service{ > use generic-service ; Name of > service template to use host_name nagonet > service_description Current Load > is_volatile 0 > check_period 24x7 > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > contact_groups nagiosadmin > notification_options w,u,c,r > notification_interval 960 > notification_period 24x7 > check_command > check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 > } This will work presuming your check_local_load command{} uses the $ARG1$ and $ARG2$ macros appropriately -- $ ./check_load -w 5.0,4.0,3.0 -c 10.0,6.0,4.0 OK - load average: 2.90, 2.29, 2.76|load1=2.900;5.000;10.000;0; load5=2.290;4.000;6.000;0; load15=2.760;3.000;4.000;0; Your command{} command_line should look something like -- command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ Does it? -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcos.marinho at rac.com.br Wed Aug 2 01:46:23 2006 From: marcos.marinho at rac.com.br (Marcos Marinho) Date: Tue, 1 Aug 2006 20:46:23 -0300 Subject: RES: RES: Nagios do not send e.mails In-Reply-To: <4f70c5c80608010933m777b997bnc61487020eb83138@mail.gmail.com> References: <4f70c5c80608010933m777b997bnc61487020eb83138@mail.gmail.com> Message-ID: Marcos Marinho Analista de Redes Rede Anhanguera de Comunica??o (19) 3772-8084 -----Mensagem original----- De: tocchetto at gmail.com [mailto:tocchetto at gmail.com]Em nome de Felipe Tocchetto Enviada em: ter?a-feira, 1 de agosto de 2006 13:33 Para: marcos.marinho at rac.com.br Cc: Nagios-UsersInt Assunto: Re: [Nagios-users] RES: Nagios do not send e.mails What is the OS that Nagios is installed? 2006/7/31, Marcos Marinho : > > > > Yes, Mike , > > In the nagios.cfg there is a line config like this : > enable_notifications=1 > > Is this right ? > > Thanks for your cooperation > > > [Marcos Marinho] -----Mensagem original----- > De: Mike Koponick [mailto:mkoponick at redhawk.info] > Enviada em: segunda-feira, 31 de julho de 2006 18:58 > Para: marcos.marinho at rac.com.br; > nagios-users at lists.sourceforge.net > Assunto: RE: [Nagios-users] Nagios do not send e.mails > > > > Are notifications turned on in the nagios.cfg file? > > Mike > > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On > Behalf Of Marcos Marinho > Sent: Monday, July 31, 2006 2:57 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios do not send e.mails > > I had installed the version 2.4 by binary way and we had using NagiosQL to > configure. > > The servers had been monitored ok > > In all time that nagios was installed here none of the serves had not been > down any moment > > On the first server down one, the nagios process did not send any e.mail > using the pre-configured scritp host-notify-by-email. > > Whe I had tried runnig the script using user nagios the message was sent > with no problem. > > This is what is showed in nagio.log > > [1154056710] HOST ALERT: marcos;DOWN;SOFT;1;CRITICAL - Plugin timed out > after 10 seconds > > [1154056720] HOST ALERT: marcos;DOWN;SOFT;2;CRITICAL - Plugin timed out > after 10 seconds > > [1154056730] HOST ALERT: marcos;DOWN;SOFT;3;CRITICAL - Plugin timed out > after 10 seconds > > [1154056740] HOST ALERT: marcos;DOWN;SOFT;4;CRITICAL - Plugin timed out > after 10 seconds > > [1154056750] HOST ALERT: marcos;DOWN;HARD;5;CRITICAL - Plugin timed out > after 10 seconds > > This is our configuration files > > ================================================================ > > define host { > > host_name marcos > > alias Workstation Marcos > > address 10.10.21.18 > > parents Debian > > check_command check-host-alive > > max_check_attempts 5 > > check_interval 10 > > active_checks_enabled 1 > > passive_checks_enabled 1 > > check_period 24x7 > > obsess_over_host 1 > > check_freshness 1 > > freshness_threshold 360 > > event_handler_enabled 0 > > flap_detection_enabled 0 > > process_perf_data 1 > > retain_status_information 1 > > retain_nonstatus_information 1 > > contact_groups admins > > notification_interval 5 > > notification_period 24x7 > > notification_options d,u > > notifications_enabled 1 > > stalking_options d,u > > register 1 > > } > > ================================================================ > > define command { > > command_name host-notify-by-email > > command_line /usr/bin/printf \\"%b\\" \\"***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n\\" | /usr/bin/mail -s \\"Host $HOSTSTATE$ alert for > $HOSTNAME$!\\" $CONTACTEMAIL$ > > } > > ================================================================ > > define contactgroup { > > contactgroup_name admins > > alias Nagios Administrators > > members redes > > } > > ================================================================ > > define contact { > > contact_name redes > > alias Grupo Redes > > host_notification_period 24x7 > > service_notification_period 24x7 > > host_notification_options d,u,r > > service_notification_options w,u,c,r > > host_notification_commands host-notify-by-email > > service_notification_commands notify-by-email > > email marcos.marinho at dominio.com.br > > } > > ================================================================ > > Any hints > > Thank you before hands << File: ATT350909.txt >> << File: ATT350911.txt >> > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Felipe L. Tocchetto http://felipe.tocchetto.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arief_clan at yahoo.com Wed Aug 2 03:06:41 2006 From: arief_clan at yahoo.com (Arief Iqbal) Date: Tue, 1 Aug 2006 18:06:41 -0700 (PDT) Subject: Please Help!! error on verify main config file Message-ID: <20060802010641.27256.qmail@web56013.mail.re3.yahoo.com> can somebody tell me why this is happen when i verifying the main configuration file with command: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg the error is like this: Nagios 2.5 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 07-13-2006 License: GPL Reading configuration data... Error: Command 'check_local_disk' has already been defined Error: Could not register command (config file '/usr/local/nagios/etc/minimal.cfg', starting on line 92) ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. please help me, thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdaily at apparatus.net Wed Aug 2 03:13:25 2006 From: jdaily at apparatus.net (John R. Daily) Date: Tue, 1 Aug 2006 21:13:25 -0400 Subject: Please Help!! error on verify main config file In-Reply-To: <20060802010641.27256.qmail@web56013.mail.re3.yahoo.com> References: <20060802010641.27256.qmail@web56013.mail.re3.yahoo.com> Message-ID: <09FF3F8E-F37F-4585-9AD7-511C28C2F1A2@apparatus.net> There is a command named 'check_local_disk' that has been defined twice: once in minimal.config (at line 92?), the other is somewhere else in the files specified in nagios.cfg. Nagios doesn't know which one you prefer, so it won't accept the current configuration. -John On Aug 1, 2006, at 9:06 PM, Arief Iqbal wrote: > can somebody tell me why this is happen when i verifying the main > configuration file with command: /usr/local/nagios/bin/nagios -v / > usr/local/nagios/etc/nagios.cfg > > the error is like this: > > Nagios 2.5 > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > Last Modified: 07-13-2006 > License: GPL > > Reading configuration data... > > Error: Command 'check_local_disk' has already been defined > Error: Could not register command (config file '/usr/local/nagios/ > etc/minimal.cfg', starting on line 92) > > ***> One or more problems was encountered while processing the > config files... > > Check your configuration file(s) to ensure that they contain > valid > directives and data defintions. If you are upgrading from a > previous > version of Nagios, you should be aware that some variables/ > definitions > may have been removed or modified in this version. Make sure > to read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > > please help me, thanks > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys -- and earn > cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV________________________________ > _______________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at ayksolutions.com Wed Aug 2 03:16:30 2006 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Wed, 2 Aug 2006 03:16:30 +0200 (CEST) Subject: Please Help!! error on verify main config file In-Reply-To: <20060802010641.27256.qmail@web56013.mail.re3.yahoo.com> References: <20060802010641.27256.qmail@web56013.mail.re3.yahoo.com> Message-ID: <20060802011630.C4B4B4F4045@desire.netways.de> As John said, you have two definitions. Just rename minimal.cfg to minimal.cfg-old and simply copy/paste commands from it to your checkcommands.cfg file. ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=20711 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lambert at lambertfam.org Wed Aug 2 09:25:16 2006 From: lambert at lambertfam.org (Scott Lambert) Date: Wed, 2 Aug 2006 02:25:16 -0500 Subject: Warning threshold must be float or float triplet! In-Reply-To: References: Message-ID: <20060802072516.GB9108@sysmon.tcworks.net> > define service{ > use generic-service ; Name of > service template to use host_name nagonet > service_description Current Load > is_volatile 0 > check_period 24x7 > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > contact_groups nagiosadmin > notification_options w,u,c,r > notification_interval 960 > notification_period 24x7 > check_command check_local_load!5.0,4.0,3.0!10.0, > 6.0,4.0 Is the wordwrap on the check_command line the fault of your e-mail client or is it a problem with the actual config file? -- Scott Lambert KC5MLE Unix SysAdmin lambert at lambertfam.org ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From warpspasm at hotmail.com Wed Aug 2 09:58:22 2006 From: warpspasm at hotmail.com (Jan van der Merwe) Date: Wed, 02 Aug 2006 07:58:22 +0000 Subject: NRPE check_disk giving incorrect info! Message-ID: Hi Guys, I'm using NRPE on a Fedora Core 2 box. I'm using the following line in /etc/nrpe.cfg to check the disk: command[check_disk4]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hdd1 Here is what df -k gives me that disk: /dev/hdd1 241263968 136218652 105045316 57% /mnt/storage/ftp-storage But the Nagios Webpage gives me a crazy answer!!! Status Information: DISK OK - free space: /mnt/storage/ftp-storage -4126222888188510208 MB (20952869% inode=99%) Performance Data: /mnt/storage/ftp-storage=-865395347MB;-452984852;-452984842;98;-452984832 I have many other drives on the same machine and they all work fine! So, I can't understand what is the specific problem with this one. Any ideas would be appreciated. Thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Wed Aug 2 10:04:46 2006 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 2 Aug 2006 09:04:46 +0100 Subject: NRPE check_disk giving incorrect info! In-Reply-To: References: Message-ID: <14ED20C0-87E5-4002-80DA-ACACD2FEE029@altinity.com> Jan, Can you try the snapshot at http://nagiosplug.sf.net/snapshot. There have been fixes to check_disk so it should be the same output as df. Ton On 2 Aug 2006, at 08:58, Jan van der Merwe wrote: > Hi Guys, > > I'm using NRPE on a Fedora Core 2 box. > > I'm using the following line in /etc/nrpe.cfg to check the disk: > > command[check_disk4]=/usr/local/nagios/libexec/check_disk -w 20 -c > 10 -p > /dev/hdd1 > > Here is what df -k gives me that disk: > > /dev/hdd1 241263968 136218652 105045316 57% > /mnt/storage/ftp-storage > > But the Nagios Webpage gives me a crazy answer!!! > > Status Information: DISK OK - free space: /mnt/storage/ftp-storage > -4126222888188510208 MB (20952869% inode=99%) > Performance Data: > /mnt/storage/ftp- > storage=-865395347MB;-452984852;-452984842;98;-452984832 > > I have many other drives on the same machine and they all work > fine! So, I > can't understand what is the specific problem with this one. > > Any ideas would be appreciated. > > Thanks > > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys -- and earn > cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > This message has been scanned for viruses by MailController - > www.MailController.altohiway.com http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arief_clan at yahoo.com Wed Aug 2 11:05:50 2006 From: arief_clan at yahoo.com (Arief Iqbal) Date: Wed, 2 Aug 2006 02:05:50 -0700 (PDT) Subject: Please Help!! another error on starting nagios Message-ID: <20060802090550.28425.qmail@web56015.mail.re3.yahoo.com> my problem when verify is clear, now the problem is there are several warning when i try to starting nagios, and it won't stop, the warning is: Nagios 2.5 starting... (PID=29468) sh: /usr/local/nagios//libexec/check_load: No such file or directory Warning: Return code of 127 for check of service 'Current Load' on host 'localhost.localdomain'was out of bounds. Make sure the plugin you're trying to run actually exists. sh: /usr/local/nagios//libexec/check_ping: No such file or directory Warning: Attempting to execute the command "/usr/local/nagios//libexec/check_ping -H 192.168.87.100 -w 3000.0,80% -c 5000.0,100% -p 1" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... Can somebody tell me why??? if you don't mind, you can give me the detail, 'cause i'm really newbie for using nagios thanks a lot --------------------------------- Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Aug 2 11:11:36 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 2 Aug 2006 05:11:36 -0400 Subject: Please Help!! another error on starting nagios In-Reply-To: <20060802090550.28425.qmail@web56015.mail.re3.yahoo.com> References: <20060802090550.28425.qmail@web56015.mail.re3.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Arief Iqbal > Sent: Wednesday, August 02, 2006 2:06 AM > To: nagios milis > Subject: [Nagios-users] Please Help!! another error on starting nagios > > my problem when verify is clear, now the problem is there are > several warning when i try to starting nagios, and it won't > stop, the warning is: > > Nagios 2.5 starting... (PID=29468) > sh: /usr/local/nagios//libexec/check_load: No such file or directory > Warning: Return code of 127 for check of service 'Current > Load' on host 'localhost.localdomain'was out of bounds. Make > sure the plugin you're trying to run actually exists. > sh: /usr/local/nagios//libexec/check_ping: No such file or directory > Warning: Attempting to execute the command > "/usr/local/nagios//libexec/check_ping -H 192.168.87.100 -w > 3000.0,80% -c 5000.0,100% -p 1" resulted in a return code of > 127. Make sure the script or binary you are trying to > execute actually exists... > > Can somebody tell me why??? if you don't mind, you can give > me the detail, 'cause i'm really newbie for using nagios Do those files exist? Did you install the plugins? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon at w3.org Wed Aug 2 15:00:33 2006 From: simon at w3.org (Simon J. Hernandez) Date: Wed, 2 Aug 2006 09:00:33 -0400 (EDT) Subject: Please Help!! another error on starting nagios In-Reply-To: References: Message-ID: On Wed, 2 Aug 2006, Morris, Patrick wrote: >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >> Of Arief Iqbal >> Sent: Wednesday, August 02, 2006 2:06 AM >> To: nagios milis >> Subject: [Nagios-users] Please Help!! another error on starting nagios >> >> my problem when verify is clear, now the problem is there are >> several warning when i try to starting nagios, and it won't >> stop, the warning is: >> >> Nagios 2.5 starting... (PID=29468) >> sh: /usr/local/nagios//libexec/check_load: No such file or directory ... >> sh: /usr/local/nagios//libexec/check_ping: No such file or directory >> Warning: Attempting to execute the command >> "/usr/local/nagios//libexec/check_ping -H 192.168.87.100 -w >> 3000.0,80% -c 5000.0,100% -p 1" resulted in a return code of >> 127. Make sure the script or binary you are trying to >> execute actually exists... >> >> Can somebody tell me why??? if you don't mind, you can give >> me the detail, 'cause i'm really newbie for using nagios > > Do those files exist? > > Did you install the plugins? Is there a good reasaon to have the "//" before libexec? I haven't been through this is a while, but normally "//" will keep an executable from executing. I am naturally wondering how those got in the command in the first place, but if you can execute the command without the aditional "/" you may be able to fix this easily, editing the appropriate .cfg file. Just my USD $0.02. Simon -- Simon J. Hernandez | http://people.w3.org/simon/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Wed Aug 2 15:37:50 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Wed, 2 Aug 2006 08:37:50 -0500 Subject: Warning threshold must be float or float triplet! In-Reply-To: References: Message-ID: In my checkcommands.cfg for this host in question, I have: # 'check_local_disk' command definition define command{ command_name check_local_disk command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ } # 'check_local_load' command definition define command{ command_name check_local_load command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ } # 'check_local_procs' command definition define command{ command_name check_local_procs command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ } # 'check_local_users' command definition define command{ command_name check_local_users command_line $USER1$/check_users -w $ARG1$ -c $ARG2$ } On 8/1/06, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Justin Craig > > Sent: Tuesday, August 01, 2006 2:41 PM > > To: Nagios Users Mailinglist > > Subject: Re: [Nagios-users] Warning threshold must be float or float > > triplet! > > [chop] > > > define service{ > > use generic-service ; Name > of > > service template to use host_name nagonet > > service_description Current Load > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 4 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups nagiosadmin > > notification_options w,u,c,r > > notification_interval 960 > > notification_period 24x7 > > check_command > > check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 > > } > > This will work presuming your check_local_load command{} uses the $ARG1$ > and $ARG2$ macros appropriately -- > > $ ./check_load -w 5.0,4.0,3.0 -c 10.0,6.0,4.0 > OK - load average: 2.90, 2.29, 2.76|load1=2.900;5.000;10.000;0; > load5=2.290;4.000;6.000;0; load15=2.760;3.000;4.000;0; > > Your command{} command_line should look something like -- > > command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ > > Does it? > > -- > Marc > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Wed Aug 2 15:38:45 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Wed, 2 Aug 2006 08:38:45 -0500 Subject: Warning threshold must be float or float triplet! In-Reply-To: <20060802072516.GB9108@sysmon.tcworks.net> References: <20060802072516.GB9108@sysmon.tcworks.net> Message-ID: Scott, yeah it's an email word wrap issue. On 8/2/06, Scott Lambert wrote: > > > define service{ > > use generic-service ; Name of > > service template to use host_name nagonet > > service_description Current Load > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 4 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups nagiosadmin > > notification_options w,u,c,r > > notification_interval 960 > > notification_period 24x7 > > check_command check_local_load!5.0,4.0,3.0!10.0 > , > > 6.0,4.0 > > Is the wordwrap on the check_command line the fault of your e-mail > client or is it a problem with the actual config file? > > -- > Scott Lambert KC5MLE Unix > SysAdmin > lambert at lambertfam.org > > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigo.maceno at gmail.com Wed Aug 2 15:45:58 2006 From: rodrigo.maceno at gmail.com (Rodrigo Maceno) Date: Wed, 2 Aug 2006 10:45:58 -0300 Subject: NRPE: Command 'check_ping' not defined Message-ID: <27acffb00608020645w455808ddkd0a80283c7e23f22@mail.gmail.com> Hello, I have a problem when I try to make a check_ping with NRPE... It shows the follow message: NRPE: Command 'check_ping' not defined Anyone could help me?? I don't known what to do (more.. hehe)... Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ajay.MV at UCB-Group.com Wed Aug 2 15:55:15 2006 From: Ajay.MV at UCB-Group.com (M V Ajay (vMoksha)) Date: Wed, 2 Aug 2006 15:55:15 +0200 Subject: NSCA --daemon problem: too many child process Message-ID: Dear All: I have a Nagios distributed setup (Central: Solaris 9, sparc , 1 GB RAM, Nagios 2.4, nsca 2.6/Distributed: Solaris 10, sparc , 1 GB RAM, Nagios 2.4, nsca 2.6) monitoring more than 600 servers and 2000+ services. I am running nsca in daemon mode and have noticed that it spawned child processes around 2800+ and my system swap usage was full. None of the service checks was happening there on. I could see lot of WARNING messages in nagios.log like, [1154408570] Warning: The results of service 'disk_d' on host 'server001' are stale by 21 seconds (threshold=862 seconds). I'm forcing an immediate check of the service. Also I could see lot of messages in /var/adm/messages like this, Aug 2 00:28:02 nagiosserver genunix: [ID 470503 kern.warning] WARNING: Sorry, no swap space to grow stack for pid 13531 (sshd) I had to login thorugh system console and kill nsca and restart for rectifying this problem. Any idea what would have caused this problem? Thanks and Regards, Ajay --------------------------------------------------------- Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is confidential or otherwise protected from disclosure, except for the purpose for which they are intended. Dissemination, distribution, or reproduction by anyone other than the intended recipients is prohibited and may be illegal. If you are not an intended recipient, please immediately inform the sender and return the electronic mail and its attachments and destroy any copies which may be in your possession. UCB screens electronic mails for viruses but does not warrant that this electronic mail is free of any viruses. UCB accepts no liability for any damage caused by any virus transmitted by this electronic mail. --------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon at w3.org Wed Aug 2 16:41:48 2006 From: simon at w3.org (Simon J. Hernandez) Date: Wed, 2 Aug 2006 10:41:48 -0400 (EDT) Subject: Please Help!! another error on starting nagios In-Reply-To: References: Message-ID: Hi Folks. I thought I had selected "Reply to all", but it seems my post did not include Arief in the To:. Sorry if you are reading this twice. On Wed, 2 Aug 2006, Simon J. Hernandez wrote: > On Wed, 2 Aug 2006, Morris, Patrick wrote: > >>> -----Original Message----- >>> From: nagios-users-bounces at lists.sourceforge.net >>> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >>> Of Arief Iqbal >>> Sent: Wednesday, August 02, 2006 2:06 AM >>> To: nagios milis >>> Subject: [Nagios-users] Please Help!! another error on starting nagios >>> >>> my problem when verify is clear, now the problem is there are >>> several warning when i try to starting nagios, and it won't >>> stop, the warning is: >>> >>> Nagios 2.5 starting... (PID=29468) >>> sh: /usr/local/nagios//libexec/check_load: No such file or directory > > ... > >>> sh: /usr/local/nagios//libexec/check_ping: No such file or directory >>> Warning: Attempting to execute the command >>> "/usr/local/nagios//libexec/check_ping -H 192.168.87.100 -w >>> 3000.0,80% -c 5000.0,100% -p 1" resulted in a return code of >>> 127. Make sure the script or binary you are trying to >>> execute actually exists... >>> >>> Can somebody tell me why??? if you don't mind, you can give >>> me the detail, 'cause i'm really newbie for using nagios >> >> Do those files exist? >> >> Did you install the plugins? > > > Is there a good reasaon to have the "//" before libexec? > > I haven't been through this is a while, but normally "//" will keep an > executable from executing. > > I am naturally wondering how those got in the command in the first place, > but if you can execute the command without the aditional "/" you may be > able to fix this easily, editing the appropriate .cfg file. > > Just my USD $0.02. Simon -- Simon J. Hernandez | http://people.w3.org/simon/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon.johnston at gmail.com Wed Aug 2 16:43:36 2006 From: jon.johnston at gmail.com (jon.johnston) Date: Wed, 02 Aug 2006 09:43:36 -0500 Subject: Nagios Light? Message-ID: <44D0BA18.8080001@gmail.com> After trying to work with Nagios for a while, I've determined that it's not the best fit for most of the environments I work with. Looks like great stuff, but takes too long to setup, configure, and get running in network environments where I would leave it with administrators will little to no linux knowledge. Is there something linux-based that would be comparable to "nagios light"? Thanks for any input. Jon Johnston Creative Business Solutions IBM, Microsoft, Novell/Suse and Sophos Consulting 952-544-1108 http://www.cbsol.com Blog:http://bingo.cbsol.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Wed Aug 2 17:24:51 2006 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 2 Aug 2006 11:24:51 -0400 Subject: Windows plugin to check process page faults? In-Reply-To: References: Message-ID: You can also use NC_Net to access this performance counters. Or you can retrieve the value through WMI using NC_NEt Current version on sourceforge: http://sourceforge.net/projects/nc-net TOny On 7/28/06, Phil Costelloe wrote: > > Frost, Mark {PBG} wrote: > > We have a need on a Windows 2003 box to check the number of page > > faults a particular process has incurred. I'm not really aware of > > how I could do this. > > > > We are running Nagios 2.4 and use the standard plugins with check_nrpe > > 0.8 to monitor CPU, memory and disk space. > > > > Does anyone know if there's some way to get a plugin to report a > > process' page faults? > > You can access any of the Windows performance counters using nsclient > (and presumably nsclient++). > > The particular counter in this case, given a process called foobar, > would be \\Process(foobar)\\Page Faults/Sec and the check command and > service entries would be something like: > > define command { > command_name check_nt_pagefaults > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v > COUNTER -l "\\Process($ARG5$)\\Page Faults/Sec","Page faults per second > are %.2f %%" -w $ARG2$ -c $ARG3$ -s $ARG4$ > } > > define service { > use generic-service > host_name windows_host > service_description Page Faults > contact_groups amber-admins > check_command check_nt_pagefaults!1248!3!5!password!foobar > etc etc > } > > Untested but should just about work. > > Phil > > -------------------------------------------------------- > > Phil Costelloe > Technical Consultant > > > philc at foundation-it.com > http://www.foundation-it.com > Foundation IT > Foundation Court > Old Street > Oare > Hermitage Berkshire RG18 9SE > Switch: +44 (0) 1635 203700 > Helpdesk: +44 (0) 800 0121099 > DDI: +44 (0) 1635 203719 > Fax: +44 (0) 8700 543537 > Mobile: +44 (0) 7884 236299 > > > > -------------------------------------------------------- > This message contains confidential information and is intended only for > nagios-users at lists.sourceforge.net. If you are not > nagios-users at lists.sourceforge.net you should not disseminate, distribute > or copy this e-mail. Please notify Foundation IT immediately by e-mail if > you have received this e-mail by mistake and delete this e-mail from your > system. E-mail transmission cannot be guaranteed to be secure or error-free > as information could be intercepted, corrupted, lost, destroyed, arrive late > or incomplete, or contain viruses. Foundation IT therefore does not accept > liability for any errors or omissions in the contents of this message, which > arise as a result of e-mail transmission. If verification is required please > request a hard-copy version. > -------------------------------------------------------- > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Aug 2 17:34:40 2006 From: marc at ena.com (Marc Powell) Date: Wed, 2 Aug 2006 10:34:40 -0500 Subject: Warning threshold must be float or float triplet! Message-ID: > -----Original Message----- > From: Justin Craig [mailto:jrcraig.email at gmail.com] > Sent: Wednesday, August 02, 2006 8:38 AM > To: Marc Powell > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Warning threshold must be float or float > triplet! > > In my checkcommands.cfg for this host in question, I have: > > # 'check_local_load' command definition > define command{ > command_name check_local_load > command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ > } > Yes, that looks good. I'd -- - verify that nagios was reloaded after creating this command definition - verify that there aren't multiple nagios daemons running (stop; kill; start) - verify that nagios is executing the command I think is. Modify command_line to be the following then check the contents of /tmp/nagios -- command_line /bin/echo "$USER1$/check_load -w $ARG1$ -c $ARG2$" >> /tmp/nagios -- Marc > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios- > users- > > bounces at lists.sourceforge.net] On Behalf Of Justin Craig > > Sent: Tuesday, August 01, 2006 2:41 PM [chop] > > check_command > > check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 > > } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Wed Aug 2 17:53:48 2006 From: srunschke at abit.de (srunschke at abit.de) Date: Wed, 2 Aug 2006 17:53:48 +0200 Subject: Antwort: Re: Recovery not getting sent during downtime? In-Reply-To: References: Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 31.07.2006 19:42:08: > Pardon me. But what is the problem? You have a problem. It triggers an > alert. You act and 'fix' it by scheduling downtime. Then you bring the > system alive within the allocated maintenance window. I'm sorry, but I got a hard time to pardon such rude answers. > It seems there is little point in sending a status change if you declare a > maintenance window. Then it is obviously a planned action and there is no > need to send out any alert. There's a big point in sending RECOVERY even in scheduled downtimes. I already mentioned it, but I don't mind explaining it again to you. If a service failed before a downtime, it needs to send out recovery notifications even when in downtime. Take my example: service goes critical, every admin gets notified, host goes into downtime, host reboots, service goes ok after reboot, no notifications get sent because the host is still in downtime. Every admin that is currently offsite can't know about the reboot (cause it happened in downtime and noone noticed despite the one who rebooted) and will never get notified about the recovery. That poses a big problem for bigger companies who have numerous admins getting notifications from nagios. If such a case occurs I usually get a call from my CTO why problem XY wasn't fixed yet and I have to tell him: I fixed it with a reboot, but nagios didn't send out the recovery because of the downtime. It wastes time and ressources. Time and ressources mean money. Wasted money is bad. sincerely Sascha -- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From meo at intrinsity.com Wed Aug 2 17:58:57 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Wed, 2 Aug 2006 10:58:57 -0500 (CDT) Subject: Antwort: Re: Recovery not getting sent during In-Reply-To: References: Message-ID: <20060802155857.D813E38029@chuys.eng.intrinsity.com> srunschke at abit.de said... |Every admin that is currently offsite can't know about the reboot |(cause it happened in downtime and noone noticed despite the one who |rebooted) and will never get notified about the recovery. That poses a |big problem for bigger companies who have numerous admins getting |notifications from nagios. If such a case occurs I usually get a call from |my CTO why problem XY wasn't fixed yet and I have to tell him: |I fixed it with a reboot, but nagios didn't send out the recovery because |of the downtime. | |It wastes time and ressources. |Time and ressources mean money. |Wasted money is bad. Depending on the company and CTO, it's also bad at review time. ``Doesn't keep management aware of crit sits.'' ``Can't properly configure monitoring tools.'' Etc. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Wed Aug 2 18:00:15 2006 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 2 Aug 2006 08:00:15 -0800 Subject: Please Help!! another error on starting nagios In-Reply-To: References: Message-ID: I have noticed that double slash in a number of places throughout the nagios config files. In my experience, it has never caused any issues, either with the functioning of nagios, or with other things such as when I accidentally type it on the command line when trying to enter a command path. /bin//echo "test" works just as well as /bin/ echo "test" ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service 5245 Airport Industrial Rd Fairbanks, AK 99709 ----------------------------------------------- On Aug 2, 2006, at 5:00 AM, Simon J. Hernandez wrote: > On Wed, 2 Aug 2006, Morris, Patrick wrote: > >>> -----Original Message----- >>> From: nagios-users-bounces at lists.sourceforge.net >>> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >>> Of Arief Iqbal >>> Sent: Wednesday, August 02, 2006 2:06 AM >>> To: nagios milis >>> Subject: [Nagios-users] Please Help!! another error on starting >>> nagios >>> >>> my problem when verify is clear, now the problem is there are >>> several warning when i try to starting nagios, and it won't >>> stop, the warning is: >>> >>> Nagios 2.5 starting... (PID=29468) >>> sh: /usr/local/nagios//libexec/check_load: No such file or directory > > ... > >>> sh: /usr/local/nagios//libexec/check_ping: No such file or directory >>> Warning: Attempting to execute the command >>> "/usr/local/nagios//libexec/check_ping -H 192.168.87.100 -w >>> 3000.0,80% -c 5000.0,100% -p 1" resulted in a return code of >>> 127. Make sure the script or binary you are trying to >>> execute actually exists... >>> >>> Can somebody tell me why??? if you don't mind, you can give >>> me the detail, 'cause i'm really newbie for using nagios >> >> Do those files exist? >> >> Did you install the plugins? > > > Is there a good reasaon to have the "//" before libexec? > > I haven't been through this is a while, but normally "//" will keep an > executable from executing. > > I am naturally wondering how those got in the command in the first > place, > but if you can execute the command without the aditional "/" you > may be > able to fix this easily, editing the appropriate .cfg file. > > Just my USD $0.02. > > > Simon > > -- > Simon J. Hernandez | http://people.w3.org/simon/ > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys -- and earn > cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Aug 2 18:04:06 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 2 Aug 2006 12:04:06 -0400 Subject: Antwort: Re: Recovery not getting sent duringdowntime? In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of srunschke at abit.de > Sent: Wednesday, August 02, 2006 8:54 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Antwort: Re: Recovery not getting > sent duringdowntime? > > There's a big point in sending RECOVERY even in scheduled downtimes. > I already mentioned it, but I don't mind explaining it again to you. > If a service failed before a downtime, it needs to send out > recovery notifications even when in downtime. Take my > example: service goes critical, every admin gets notified, > host goes into downtime, host reboots, service goes ok after > reboot, no notifications get sent because the host is still > in downtime. The problem is that it sounds like you're using scheduled downtimes incorrectly. It's not meant to be used for *un*scheduled downtimes; thus the name. It's meant to supress alerts from a machine during the specified window, and that's exactly what it's doing in your case. I can tell you that I'd really annoyed if it didn't work as advertised, and *did* send alerts in the middle of the night when I was working on a box and someone else was carrying the pager (well, I might not be the guy to get annoyed, but I'd hear about it in the morning). It sounds like you should probably be acknowledging critical services, rather than marking them as being in scheduled downtime when they're not. That way the alerts stop until the service comes back up, and you'll be notified when it changes state. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Wed Aug 2 18:03:18 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Wed, 2 Aug 2006 12:03:18 -0400 Subject: How to monitor transient services? Message-ID: You, sir, are a genius!! Thank you! -----Original Message----- From: Steven Lynch [mailto:steven.lynch at network-box.com.au] Sent: August 1, 2006 9:39 AM To: Janet Post Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] How to monitor transient services? On 27/07/2006, at 12:11 AM, Janet Post wrote: > Hello, > > We are monitoring several different types of very fluid services and I > am having a design problem -- how do I set these up neatly in nagios. > > The first of these checks is a script that runs agains a reporting > database. This script runs every five minutes to make sure that > all of > the reports ran, or are running correctly. There are, at the moment, > around 50 reports, but the number and frequency of the reports changes > on a nearly daily basis. Granted, some reports are fairly stable: the > one that tells our VP's how much money we made last night is one that > rarely changes. But there are a number of one-off reports that are > created and deleted on an almost daily basis. I do NOT want to > maintain > a check in nagios for each and every report -- that's an > administrative > nightmare. I want to just run this script that checks them all at the > same time - no fuss no muss. BUT! And here is the problem: How do I > return the results to nagios? It is conceivable that more than one > report will fail at a time, and I will want notifications sent for all > failures. I don't mind clumping them into one email -- but can NRPE > handle more than one line of return values? > > The script in question is run remotely from my main nagios server. I > can invoke it either using nrpe, or via cron -- whichever way I see > fit. > > Any ideas on how I can solve this dilemma? How can I return multiple > errors for a single check? (I have an oracle tablespace check that > suffers the same problem -- too many transient tablespaces to be > monitored and I don't want to have a check for each TS because they > are > too temporary.) Hi Janet, It is true that only one line is supported. However, since the output is going to be rendered by a browser you can embed HTML in that one line. So, for example, you can put a
 at the start and use 
to begin each new line. I have used this technique quite successfully. The only small drawback is, if you are sending out page messages you will need a small intermediate script to strip out the HTML again before sending the text to the paging process. Cheers Steven -- Steven Lynch [Chief Technical Officer] mailto: steven.lynch at network-box.com.au Network Box Australia Pty Ltd Phone: +61-3-88410000 Suite 9 / 1020 Doncaster Road, Fax: +61-3-88410088 Doncaster East, Vic, Australia, 3109 Web: www.network-box.com.au ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Aug 2 18:13:26 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 02 Aug 2006 17:13:26 +0100 Subject: Nagios Light? In-Reply-To: <44D0BA18.8080001@gmail.com> References: <44D0BA18.8080001@gmail.com> Message-ID: <44D0CF26.5090202@googlemail.com> jon.johnston wrote: > After trying to work with Nagios for a while, I've determined that it's > not the best fit for most of the environments I work with. Looks like > great stuff, but takes too long to setup, configure, and get running in > network environments where I would leave it with administrators will > little to no linux knowledge. > > Is there something linux-based that would be comparable to "nagios > light"? Thanks for any input. > > > Jon Johnston > Creative Business Solutions > IBM, Microsoft, Novell/Suse and Sophos Consulting > 952-544-1108 > http://www.cbsol.com > Blog:http://bingo.cbsol.com > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > you're probably looking for a graphical monkey point-n-click program which will be commercial. I don't think there is such a thing as a light version of Nagios. It's not that heavy as it is. I would google commercial products if I was you.... -h ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Wed Aug 2 18:25:12 2006 From: srunschke at abit.de (srunschke at abit.de) Date: Wed, 2 Aug 2006 18:25:12 +0200 Subject: Antwort: Re: Antwort: Re: Recovery not getting sent duringdowntime? In-Reply-To: References: Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 02.08.2006 18:04:06: > The problem is that it sounds like you're using scheduled downtimes > incorrectly. It's not meant to be used for *un*scheduled downtimes; thus > the name. It's meant to supress alerts from a machine during the > specified window, and that's exactly what it's doing in your case. It is a scheduled downtime. I put the host into downtime, because I was planning to reboot it. I do not want notifications to be sent out for the reboot of course, so I am forced to set a downtime. > I can tell you that I'd really annoyed if it didn't work as advertised, > and *did* send alerts in the middle of the night when I was working on a > box and someone else was carrying the pager (well, I might not be the > guy to get annoyed, but I'd hear about it in the morning). I'm not talking about sending alerts. I'm talking about sending recoveries for alerts that happened _before_ the downtime, not for suppressed alerts _during_ the downtime. For those a recovery should never be send of course - as no alert has been sent. > It sounds like you should probably be acknowledging critical services, > rather than marking them as being in scheduled downtime when they're > not. That way the alerts stop until the service comes back up, and > you'll be notified when it changes state. If I acknowledge the problem, everyone get's a notification too. Where's the benefit? And acknowledging the problem doesn't make any difference. Service goes critical SMS gets dispatched Problem gets acknowledged SMS gets dispatched Host gets scheduled for downtime Reboot Host/Service OK Still no notification for the rest of the admins that the service is fixed. For them it looks like it's acknowledged and I'm working on it - but no sign ever that I fixed it. Problem persists and still no progress for me as the outcome stays the same: Noone gets notified that the problem was fixed and people will call if I am still working to fix the problem. I still say: for every WARNING/CRITICAL/UNKNOWN that has be sent there must follow a RECOVERY in case the Service/Host recovers. That's expected behaviour and everything else is rather diffuse behaviour in my opinion. (unless I explicitly suppress all notifications for the service/host in question - but downtime shouldn't work this way) regards Sascha -- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rns3 at psu.edu Wed Aug 2 18:36:18 2006 From: rns3 at psu.edu (Robert Snyder) Date: Wed, 2 Aug 2006 12:36:18 -0400 Subject: Antwort: Re: Antwort: Re: Recovery not getting sent duringdowntime? In-Reply-To: References: Message-ID: <20060802163618.22029@studentservices.outreach.psu.edu> Hi, I think you might want to rethink your process so that it matches the paradigm of the tool you are using. It already can do what you want if you just work with the way it was designed, rather than forcing a process that breaks the paradigm. On Wed, Aug 2, 2006, srunschke at abit.de wrote: >Service goes critical This is not a scheduled event. It is unscheduled. >SMS gets dispatched All the admins are made aware of the problem including CTO >Problem gets acknowledged >SMS gets dispatched Other admins know it is being handled as does the CTO Host DOES NOT get scheduled for downtime Since the unscheduled event has already been acknowledged and everyone who might want to jump in to help already knows it is being handled, there is no need to schedule a downtime for an unscheduled event. Just acknowledge it. >Reboot >Host/Service OK Recovery Note goes out to everyone, including CTO. Problem Solved. Everyone knows what is happening. Your performance evaluation gets a boost for being the one to solve the problem. Just a thought. ____________________________________________ Robert Snyder Outreach Technology Services The Pennsylvania State University 151A Outreach Building University Park PA 16802 Phone: 814-865-0912 Fax: 814-865-4406 E-mail: rsnyder at psu.edu ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Aug 2 18:42:56 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 2 Aug 2006 12:42:56 -0400 Subject: Antwort: Re: Antwort: Re: Recovery not gettingsent duringdowntime? In-Reply-To: References: Message-ID: Responses inline. > > The problem is that it sounds like you're using scheduled downtimes > > incorrectly. It's not meant to be used for *un*scheduled downtimes; > > thus the name. It's meant to supress alerts from a machine > during the > > specified window, and that's exactly what it's doing in your case. > > It is a scheduled downtime. I put the host into downtime, > because I was planning to reboot it. I do not want > notifications to be sent out for the reboot of course, so I > am forced to set a downtime. Or you could temporarily disable notifications for the host during the reboot. The Nagios docs are pretty clear that "[w]hen a host a service is in a period of scheduled downtime, notifications for that host or service will be suppressed." It's working as designed. I think we also have different definitions of "scheduled." That's not a word I would use to describe rebooting a box to bring a failed service back up. > > I can tell you that I'd really annoyed if it didn't work as > > advertised, and *did* send alerts in the middle of the night when I > > was working on a box and someone else was carrying the > pager (well, I > > might not be the guy to get annoyed, but I'd hear about it > in the morning). > > I'm not talking about sending alerts. I'm talking about > sending recoveries for alerts that happened _before_ the > downtime, not for suppressed alerts _during_ the downtime. > For those a recovery should never be send of course - as no > alert has been sent. But you are talking about sending alerts. Recovery alerts are still alerts, and alerts are suppressed during scheduled downtimes. > > It sounds like you should probably be acknowledging > critical services, > > rather than marking them as being in scheduled downtime > when they're > > not. That way the alerts stop until the service comes back up, and > > you'll be notified when it changes state. > > If I acknowledge the problem, everyone get's a notification too. > Where's the benefit? If you don't want everyone to know you're acknowledging the problem (why you wouldn't, I'm not sure), you can uncheck the "Send Notification" box and everything stays nice and quiet. > And acknowledging the problem doesn't make any difference. > > Service goes critical > SMS gets dispatched > Problem gets acknowledged > SMS gets dispatched > Host gets scheduled for downtime > Reboot > Host/Service OK > > Still no notification for the rest of the admins that the > service is fixed. For them it looks like it's acknowledged > and I'm working on it - but no sign ever that I fixed it. That's not how it works. If a service alerts that it's gone down, it will also alert when it comes back up -- unless you mark it for scheduled downtime, or otherwise disable notifications, in which case alerts will be supressed. > I still say: for every WARNING/CRITICAL/UNKNOWN that has be > sent there must follow a RECOVERY in case the Service/Host > recovers. That's expected behaviour and everything else is > rather diffuse behaviour in my opinion. That's how it works when you don't turn notifications off, which is what you're doing. > (unless I explicitly suppress all notifications for the > service/host in question - but downtime shouldn't work this way) But it does. You're expecting it to do something other than what it's designed for, and to behave in a way other than how it's documented. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Wed Aug 2 18:46:16 2006 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 2 Aug 2006 11:46:16 -0500 (CDT) Subject: Nagios Light? In-Reply-To: <44D0BA18.8080001@gmail.com> References: <44D0BA18.8080001@gmail.com> Message-ID: On Wed, 2 Aug 2006, jon.johnston wrote: > After trying to work with Nagios for a while, I've determined that it's > not the best fit for most of the environments I work with. Looks like > great stuff, but takes too long to setup, configure, and get running in > network environments where I would leave it with administrators will > little to no linux knowledge. > > Is there something linux-based that would be comparable to "nagios > light"? Thanks for any input. I agree that Nagios takes some time to setup in comlex environments. In fact, one could argue your Nagios implementation is never really "done," rather it changes as you change your network and your monitoring infrastructure. Still, Nagios is clearly the best tool for the job from where I'm standing. To get to "Nagios Light," you need two things, 1, get a list of hosts to monitor, 2, map that host list to a service list. Once you have 1 and 2, you write some code to generate your nagios config. If you're smart, you package that up and deploy it with your systems. If you're even smarter, you consolidate those up into a nagios hierarchy and you have a picture of your whole network. Hope that helps a bit. Contact me off list for more detatils. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Wed Aug 2 19:09:43 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Wed, 2 Aug 2006 12:09:43 -0500 Subject: Warning threshold must be float or float triplet! In-Reply-To: References: Message-ID: okay i modified checkcommands.cfg to reflect what you noted here. I also did a ps axu | grep nagios and AGAIN there are multiple instances running. here is the output: nagios 6155 0.0 0.0 1700 536 ? S 11:57 0:00 /bin/ping -n -U -w 10 -c 5 204.64.105.21 nagios 6157 0.0 0.2 23900 1464 ? S 11:57 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 6158 0.5 0.1 5612 1036 ? S 11:57 0:00 /usr/local/nagios/libexec/check_ping -H 192.168.146.5 -w 100.0,20% -c 500.0,60% -p 5 nagios 6160 0.0 0.0 1700 540 ? S 11:57 0:00 /bin/ping -n -U -w 10 -c 5 192.168.170.5 nagios 6161 0.0 0.2 23900 1464 ? S 11:57 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 6162 0.5 0.1 5612 1036 ? S 11:57 0:00 /usr/local/nagios/libexec/check_ping -H 204.64.191.5 -w 100.0,20% -c 500.0,60% -p 5 nagios 6163 0.0 0.0 1700 536 ? S 11:57 0:00 /bin/ping -n -U -w 10 -c 5 192.168.146.5 nagios 6164 0.0 0.0 1700 544 ? S 11:57 0:00 /bin/ping -n -U -w 10 -c 5 204.64.191.5 root 6166 0.0 0.1 3720 676 pts/2 R+ 11:57 0:00 grep nagios nagios 6155 0.0 0.0 1700 536 ? S 11:57 0:00 /bin/ping -n -U -w 10 -c 5 204.64.105.21 nagios 6157 0.0 0.2 23900 1464 ? S 11:57 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 6158 0.5 0.1 5612 1036 ? S 11:57 0:00 /usr/local/nagios/libexec/check_ping -H 192.168.146.5 -w 100.0,20% -c 500.0,60% -p 5 nagios 6160 0.0 0.0 1700 540 ? S 11:57 0:00 /bin/ping -n -U -w 10 -c 5 192.168.170.5 nagios 6161 0.0 0.2 23900 1464 ? S 11:57 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 6162 0.5 0.1 5612 1036 ? S 11:57 0:00 /usr/local/nagios/libexec/check_ping -H 204.64.191.5 -w 100.0,20% -c 500.0,60% -p 5 nagios 6163 0.0 0.0 1700 536 ? S 11:57 0:00 /bin/ping -n -U -w 10 -c 5 192.168.146.5 nagios 6164 0.0 0.0 1700 544 ? S 11:57 0:00 /bin/ping -n -U -w 10 -c 5 204.64.191.5 root 6166 0.0 0.1 3720 676 pts/2 R+ 11:57 0:00 grep nagios When stopping Nagios, I typically issue a /etc/rc.d/init.d stop and then verify there are none running. I also use Kill -HUP since I normally start nagios as a daemon with the -d. Is this the correct process? Further, what is best practices after adding a host to refresh Nagio to pick up that host without reflecting undetermined availability for the rest of the hosts or causing any problems? On 8/2/06, Marc Powell wrote: > > > > > -----Original Message----- > > From: Justin Craig [mailto: jrcraig.email at gmail.com] > > Sent: Wednesday, August 02, 2006 8:38 AM > > To: Marc Powell > > Cc: Nagios Users Mailinglist > > Subject: Re: [Nagios-users] Warning threshold must be float or float > > triplet! > > > > In my checkcommands.cfg for this host in question, I have: > > > > > > # 'check_local_load' command definition > > define command{ > > command_name check_local_load > > command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ > > } > > > > Yes, that looks good. I'd -- > - verify that nagios was reloaded after creating this command > definition > - verify that there aren't multiple nagios daemons running > (stop; kill; start) > - verify that nagios is executing the command I think is. Modify > command_line to be the following then check the contents of /tmp/nagios > -- > command_line /bin/echo "$USER1$/check_load -w $ARG1$ -c > $ARG2$" >> /tmp/nagios > > -- > Marc > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios- > > users- > > > bounces at lists.sourceforge.net] On Behalf Of Justin Craig > > > Sent: Tuesday, August 01, 2006 2:41 PM > > [chop] > > > > check_command > > > check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 > > > } > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigo.maceno at gmail.com Wed Aug 2 19:19:09 2006 From: rodrigo.maceno at gmail.com (Rodrigo Maceno) Date: Wed, 2 Aug 2006 14:19:09 -0300 Subject: Problems with check_ping / NRPE Message-ID: <27acffb00608021019p7d7af9e4s61fa7ea4ec4bb226@mail.gmail.com> Hello, I am having the follow problem with the check_ping running over nrpe: check_ping: %s: Warning threshold must be integer or percentage! Anyone have any idea of what is happening? :/ Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Wed Aug 2 19:53:06 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 2 Aug 2006 13:53:06 -0400 Subject: Nagios Light? In-Reply-To: <44D0BA18.8080001@gmail.com> References: <44D0BA18.8080001@gmail.com> Message-ID: <302ce8b50608021053g5118ea40k573d7941c2328cd3@mail.gmail.com> On 8/2/06, jon.johnston wrote: > After trying to work with Nagios for a while, I've determined that it's > not the best fit for most of the environments I work with. Looks like > great stuff, but takes too long to setup, configure, and get running in > network environments where I would leave it with administrators will > little to no linux knowledge. > > Is there something linux-based that would be comparable to "nagios > light"? Thanks for any input. While not nagios-lite and requiring some nagios know-how to set up, oreon is pretty good for a free/gpl product. It leaves users with a reasonably easy point and click interface to use, and is pretty straightforward. No linux knowledge required (unless something goes horribly wrong). -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Aug 2 20:01:16 2006 From: marc at ena.com (Marc Powell) Date: Wed, 2 Aug 2006 13:01:16 -0500 Subject: Warning threshold must be float or float triplet! Message-ID: These could be normal. Nagios will spawn a child process to manage each check. What you're interested in is if there are multiple nagios process with a parent PID of 1. ps -ef usually shows child/parent PIDS. If you stop nagios and see none remaining then you don't have multiple daemons running. As far as reloading config, a HUP to the parent process or calling '/etc/init.d/nagios reload' is sufficient. -- Marc > -----Original Message----- > From: Justin Craig [mailto:jrcraig.email at gmail.com] > Sent: Wednesday, August 02, 2006 12:10 PM > To: Marc Powell > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Warning threshold must be float or float > triplet! > > okay i modified checkcommands.cfg to reflect what you noted here. I also > did a ps axu | grep nagios and AGAIN there are multiple instances > running. here is the output: > > > nagios 6155 0.0 0.0 1700 536 ? S 11:57 0:00 /bin/ping - > n -U -w 10 -c 5 204.64.105.21 > nagios 6157 0.0 0.2 23900 1464 ? S 11:57 0:00 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 6158 0.5 0.1 5612 1036 ? S 11:57 0:00 > /usr/local/nagios/libexec/check_ping -H 192.168.146.5 -w 100.0,20% -c > 500.0,60% -p 5 > nagios 6160 0.0 0.0 1700 540 ? S 11:57 0:00 /bin/ping - > n -U -w 10 -c 5 192.168.170.5 > nagios 6161 0.0 0.2 23900 1464 ? S 11:57 0:00 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 6162 0.5 0.1 5612 1036 ? S 11:57 0:00 > /usr/local/nagios/libexec/check_ping -H 204.64.191.5 -w 100.0,20% -c > 500.0,60% -p 5 > nagios 6163 0.0 0.0 1700 536 ? S 11:57 0:00 /bin/ping - > n -U -w 10 -c 5 192.168.146.5 > nagios 6164 0.0 0.0 1700 544 ? S 11:57 0:00 /bin/ping - > n -U -w 10 -c 5 204.64.191.5 > root 6166 0.0 0.1 3720 676 pts/2 R+ 11:57 0:00 grep nagios > nagios 6155 0.0 0.0 1700 536 ? S 11:57 0:00 /bin/ping - > n -U -w 10 -c 5 204.64.105.21 > nagios 6157 0.0 0.2 23900 1464 ? S 11:57 0:00 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 6158 0.5 0.1 5612 1036 ? S 11:57 0:00 > /usr/local/nagios/libexec/check_ping -H 192.168.146.5 -w 100.0,20% -c > 500.0,60% -p 5 > nagios 6160 0.0 0.0 1700 540 ? S 11:57 0:00 /bin/ping - > n -U -w 10 -c 5 192.168.170.5 > nagios 6161 0.0 0.2 23900 1464 ? S 11:57 0:00 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 6162 0.5 0.1 5612 1036 ? S 11:57 0:00 > /usr/local/nagios/libexec/check_ping -H 204.64.191.5 -w 100.0,20% -c > 500.0,60% -p 5 > nagios 6163 0.0 0.0 1700 536 ? S 11:57 0:00 /bin/ping - > n -U -w 10 -c 5 192.168.146.5 > nagios 6164 0.0 0.0 1700 544 ? S 11:57 0:00 /bin/ping - > n -U -w 10 -c 5 204.64.191.5 > root 6166 0.0 0.1 3720 676 pts/2 R+ 11:57 0:00 grep nagios > > When stopping Nagios, I typically issue a /etc/rc.d/init.d stop and then > verify there are none running. I also use Kill -HUP since I normally > start nagios as a daemon with the -d. Is this the correct process? > Further, what is best practices after adding a host to refresh Nagio to > pick up that host without reflecting undetermined availability for the > rest of the hosts or causing any problems? > > On 8/2/06, Marc Powell wrote: > > > > > -----Original Message----- > > From: Justin Craig [mailto: jrcraig.email at gmail.com > ] > > Sent: Wednesday, August 02, 2006 8:38 AM > > To: Marc Powell > > Cc: Nagios Users Mailinglist > > Subject: Re: [Nagios-users] Warning threshold must be float or > float > > triplet! > > > > In my checkcommands.cfg for this host in question, I have: > > > > > > # 'check_local_load' command definition > > define command{ > > command_name check_local_load > > command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ > > } > > > > Yes, that looks good. I'd -- > - verify that nagios was reloaded after creating this command > definition > - verify that there aren't multiple nagios daemons running > (stop; kill; start) > - verify that nagios is executing the command I think is. > Modify > command_line to be the following then check the contents of > /tmp/nagios > -- > command_line /bin/echo "$USER1$/check_load -w $ARG1$ > -c > $ARG2$" >> /tmp/nagios > > -- > Marc > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios- > > users- > > > bounces at lists.sourceforge.net > ] On Behalf Of Justin Craig > > > Sent: Tuesday, August 01, 2006 2:41 PM > > [chop] > > > > check_command > > > check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 > > > } > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Aug 2 20:04:01 2006 From: marc at ena.com (Marc Powell) Date: Wed, 2 Aug 2006 13:04:01 -0500 Subject: Problems with check_ping / NRPE Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rodrigo Maceno > Sent: Wednesday, August 02, 2006 12:19 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems with check_ping / NRPE > > Hello, > I am having the follow problem with the check_ping running over nrpe: > check_ping: %s: Warning threshold must be integer or percentage! > Anyone have any idea of what is happening? :/ Magic 8 ball says you have a configuration error. Your warning threshold (-w) is not an integer or percentage. Post specific configuration information for the check (service, command, and NRPE command definition on remote end) for a specific answer. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gvembu at totallynetworked.com Wed Aug 2 20:47:53 2006 From: gvembu at totallynetworked.com (Ganesh Vembu) Date: Wed, 2 Aug 2006 11:47:53 -0700 Subject: Nagios wont start up Message-ID: <00CDD3DF3F3D574C8793AD9E8B529F2928F100@server.BrightScience.local> Hello A new user for nagios I cant get nagios to start when i say service nagios start it says Starting netwrok monitor: nagios su:warning :cannot change directory to /home/nagios :no such file or directory where exactly is this folder in so i can change It i went Into the /etc/rc.d/init.d/nagios and looked into that nagios file, but could not find it i trIed ./nagios start from the /etc/rc.d/init.d but still no use help??? ganesh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcos.marinho at rac.com.br Wed Aug 2 20:41:32 2006 From: marcos.marinho at rac.com.br (Marcos Marinho) Date: Wed, 2 Aug 2006 15:41:32 -0300 Subject: RES: RES: Nagios do not send e.mails In-Reply-To: <4f70c5c80608010933m777b997bnc61487020eb83138@mail.gmail.com> References: <4f70c5c80608010933m777b997bnc61487020eb83138@mail.gmail.com> Message-ID: Sorry for this delay guys. I am using Debian 3.1 Thanks for any hint. Marcos Marinho Analista de Redes Rede Anhanguera de Comunica??o (19) 3772-8084 -----Mensagem original----- De: tocchetto at gmail.com [mailto:tocchetto at gmail.com]Em nome de Felipe Tocchetto Enviada em: ter?a-feira, 1 de agosto de 2006 13:33 Para: marcos.marinho at rac.com.br Cc: Nagios-UsersInt Assunto: Re: [Nagios-users] RES: Nagios do not send e.mails What is the OS that Nagios is installed? 2006/7/31, Marcos Marinho : > > > > Yes, Mike , > > In the nagios.cfg there is a line config like this : > enable_notifications=1 > > Is this right ? > > Thanks for your cooperation > > > [Marcos Marinho] -----Mensagem original----- > De: Mike Koponick [mailto:mkoponick at redhawk.info] > Enviada em: segunda-feira, 31 de julho de 2006 18:58 > Para: marcos.marinho at rac.com.br; > nagios-users at lists.sourceforge.net > Assunto: RE: [Nagios-users] Nagios do not send e.mails > > > > Are notifications turned on in the nagios.cfg file? > > Mike > > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On > Behalf Of Marcos Marinho > Sent: Monday, July 31, 2006 2:57 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios do not send e.mails > > I had installed the version 2.4 by binary way and we had using NagiosQL to > configure. > > The servers had been monitored ok > > In all time that nagios was installed here none of the serves had not been > down any moment > > On the first server down one, the nagios process did not send any e.mail > using the pre-configured scritp host-notify-by-email. > > Whe I had tried runnig the script using user nagios the message was sent > with no problem. > > This is what is showed in nagio.log > > [1154056710] HOST ALERT: marcos;DOWN;SOFT;1;CRITICAL - Plugin timed out > after 10 seconds > > [1154056720] HOST ALERT: marcos;DOWN;SOFT;2;CRITICAL - Plugin timed out > after 10 seconds > > [1154056730] HOST ALERT: marcos;DOWN;SOFT;3;CRITICAL - Plugin timed out > after 10 seconds > > [1154056740] HOST ALERT: marcos;DOWN;SOFT;4;CRITICAL - Plugin timed out > after 10 seconds > > [1154056750] HOST ALERT: marcos;DOWN;HARD;5;CRITICAL - Plugin timed out > after 10 seconds > > This is our configuration files > > ================================================================ > > define host { > > host_name marcos > > alias Workstation Marcos > > address 10.10.21.18 > > parents Debian > > check_command check-host-alive > > max_check_attempts 5 > > check_interval 10 > > active_checks_enabled 1 > > passive_checks_enabled 1 > > check_period 24x7 > > obsess_over_host 1 > > check_freshness 1 > > freshness_threshold 360 > > event_handler_enabled 0 > > flap_detection_enabled 0 > > process_perf_data 1 > > retain_status_information 1 > > retain_nonstatus_information 1 > > contact_groups admins > > notification_interval 5 > > notification_period 24x7 > > notification_options d,u > > notifications_enabled 1 > > stalking_options d,u > > register 1 > > } > > ================================================================ > > define command { > > command_name host-notify-by-email > > command_line /usr/bin/printf \\"%b\\" \\"***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n\\" | /usr/bin/mail -s \\"Host $HOSTSTATE$ alert for > $HOSTNAME$!\\" $CONTACTEMAIL$ > > } > > ================================================================ > > define contactgroup { > > contactgroup_name admins > > alias Nagios Administrators > > members redes > > } > > ================================================================ > > define contact { > > contact_name redes > > alias Grupo Redes > > host_notification_period 24x7 > > service_notification_period 24x7 > > host_notification_options d,u,r > > service_notification_options w,u,c,r > > host_notification_commands host-notify-by-email > > service_notification_commands notify-by-email > > email marcos.marinho at dominio.com.br > > } > > ================================================================ > > Any hints > > Thank you before hands << File: ATT350909.txt >> << File: ATT350911.txt >> > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Felipe L. Tocchetto http://felipe.tocchetto.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gvembu at totallynetworked.com Wed Aug 2 20:59:46 2006 From: gvembu at totallynetworked.com (Ganesh Vembu) Date: Wed, 2 Aug 2006 11:59:46 -0700 Subject: Nagios log Message-ID: <00CDD3DF3F3D574C8793AD9E8B529F2928F102@server.BrightScience.local> Here is my log file with respect to my last post that nagios wont start [1154544633] Nagios 2.5 starting... (PID=21907) [1154544633] LOG VERSION: 2.0 [1154544633] Finished daemonizing... (New PID=21908) [1154544633] Error: Could not create external command file '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (2) -> No such file or directory. If this file already exists and you are sure that another copy of Nagios is not running, you should delete this file. [1154544633] Bailing out due to errors encountered while trying to initialize the external command file... (PID=21908) thanks ganesh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Aug 2 21:02:51 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 2 Aug 2006 12:02:51 -0700 Subject: Nagios wont start up In-Reply-To: <00CDD3DF3F3D574C8793AD9E8B529F2928F100@server.BrightScience.local> References: <00CDD3DF3F3D574C8793AD9E8B529F2928F100@server.BrightScience.local> Message-ID: <20060802190251.GI15727@hermes.americas.hpqcorp.net> On Wed, 02 Aug 2006, Ganesh Vembu wrote: > Hello > A new user for nagios > I cant get nagios to start > when i say > service nagios start > it says > > Starting netwrok monitor: nagios > su:warning :cannot change directory to /home/nagios :no such file or directory > > where exactly is this folder in so i can change It > i went Into the /etc/rc.d/init.d/nagios and looked into that nagios file, but could not find it > > i trIed ./nagios start from the /etc/rc.d/init.d > but still no use > help??? > ganesh If the directory existed, it would be... well, /home/nagios. Sounds like you have a Nagios user created with a nonexistant home directory. This would be broken at the system level, not in your Nagios configuration. Normally, though, this wouldn't be fatal. Check you Nagios logs to see why it won't start. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Aug 2 21:04:41 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 2 Aug 2006 12:04:41 -0700 Subject: Nagios log In-Reply-To: <00CDD3DF3F3D574C8793AD9E8B529F2928F102@server.BrightScience.local> References: <00CDD3DF3F3D574C8793AD9E8B529F2928F102@server.BrightScience.local> Message-ID: <20060802190441.GJ15727@hermes.americas.hpqcorp.net> On Wed, 02 Aug 2006, Ganesh Vembu wrote: > Here is my log file with respect to my last post that nagios wont start > > [1154544633] Nagios 2.5 starting... (PID=21907) > [1154544633] LOG VERSION: 2.0 > [1154544633] Finished daemonizing... (New PID=21908) > [1154544633] Error: Could not create external command file '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (2) -> No such file or directory. If this file already exists and you are sure that another copy of Nagios is not running, you should delete this file. > [1154544633] Bailing out due to errors encountered while trying to initialize the external command file... (PID=21908) The error message is realtively clear, as far as error messages go. It is trying to write to /usr/local/nagios/var/rw/nagios.cmd but that directory doesn't exist. Either you need to create it (and make sure it's writeable by the Nagios user), or you need to fix your configuration to write to the correct place. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Wed Aug 2 21:08:54 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 02 Aug 2006 16:08:54 -0300 Subject: Nagios log In-Reply-To: <00CDD3DF3F3D574C8793AD9E8B529F2928F102@server.BrightScience.local> References: <00CDD3DF3F3D574C8793AD9E8B529F2928F102@server.BrightScience.local> Message-ID: <1154545735.30345.4.camel@localhost> On Wed, 2006-08-02 at 11:59 -0700, Ganesh Vembu wrote: > Here is my log file with respect to my last post that nagios wont > start > > [1154544633] Nagios 2.5 starting... (PID=21907) > [1154544633] LOG VERSION: 2.0 > [1154544633] Finished daemonizing... (New PID=21908) > [1154544633] Error: Could not create external command file > '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (2) -> No such > file or directory. If this file already exists and you are sure that > another copy of Nagios is not running, you should delete this file. > [1154544633] Bailing out due to errors encountered while trying to > initialize the external command file... (PID=21908) > Seems like your configuration is expecting to exist the /usr/local/nagios/var/rw directory. Have you ran `make install-commandmode` ?? Have you read any documentation? HTH AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gvembu at totallynetworked.com Wed Aug 2 21:38:14 2006 From: gvembu at totallynetworked.com (Ganesh Vembu) Date: Wed, 2 Aug 2006 12:38:14 -0700 Subject: Have the rw directory Message-ID: <00CDD3DF3F3D574C8793AD9E8B529F2928F104@server.BrightScience.local> hello all thank you for the super fast reply yes i ran the make install-commandmode i have the rw directory and the .cmd file under there now i have the log saying [1154546913] Nagios 2.5 starting... (PID=22549) [1154546913] LOG VERSION: 2.0 [1154546913] Lockfile '/usr/local/nagios/var/nagios.lock' is held by PID 22291. Bailing out... [1154546923] SERVICE ALERT: localhost;Total Processes;UNKNOWN;SOFT;3;check_procs: Unknown argument - (null) and still its trying to reach the /home/nagios what do i have to configure to get away from that thanks ganesh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Wed Aug 2 21:47:57 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 02 Aug 2006 16:47:57 -0300 Subject: Have the rw directory In-Reply-To: <00CDD3DF3F3D574C8793AD9E8B529F2928F104@server.BrightScience.local> References: <00CDD3DF3F3D574C8793AD9E8B529F2928F104@server.BrightScience.local> Message-ID: <1154548077.30345.11.camel@localhost> On Wed, 2006-08-02 at 12:38 -0700, Ganesh Vembu wrote: > > and still its trying to reach the /home/nagios what do i have to > configure to get away from that mkdir /home/nagios chown nagios:nagios !$ as root HTH AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Wed Aug 2 22:35:49 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Wed, 2 Aug 2006 15:35:49 -0500 Subject: Warning threshold must be float or float triplet! In-Reply-To: References: Message-ID: I sent the reload command and basically nagios is now telling me 30 hosts are down and that number is increasing? This is a problem. why does this happen? And back to my original issue, nagios itself is still showing down. I modified the command as you suggested, how do I verify that? This is all good stuff as once I catch the learning curve here and get these things ironed out, it'll be nice. On 8/2/06, Marc Powell wrote: > > These could be normal. Nagios will spawn a child process to manage each > check. What you're interested in is if there are multiple nagios process > with a parent PID of 1. ps -ef usually shows child/parent PIDS. If you > stop nagios and see none remaining then you don't have multiple daemons > running. > > As far as reloading config, a HUP to the parent process or calling > '/etc/init.d/nagios reload' is sufficient. > > -- > Marc > > > -----Original Message----- > > From: Justin Craig [mailto:jrcraig.email at gmail.com] > > Sent: Wednesday, August 02, 2006 12:10 PM > > To: Marc Powell > > Cc: Nagios Users Mailinglist > > Subject: Re: [Nagios-users] Warning threshold must be float or float > > triplet! > > > > okay i modified checkcommands.cfg to reflect what you noted here. I > also > > did a ps axu | grep nagios and AGAIN there are multiple instances > > running. here is the output: > > > > > > nagios 6155 0.0 0.0 1700 536 ? S 11:57 0:00 > /bin/ping - > > n -U -w 10 -c 5 204.64.105.21 > > nagios 6157 0.0 0.2 23900 1464 ? S 11:57 0:00 > > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > nagios 6158 0.5 0.1 5612 1036 ? S 11:57 0:00 > > /usr/local/nagios/libexec/check_ping -H 192.168.146.5 -w 100.0,20% -c > > 500.0,60% -p 5 > > nagios 6160 0.0 0.0 1700 540 ? S 11:57 0:00 > /bin/ping - > > n -U -w 10 -c 5 192.168.170.5 > > nagios 6161 0.0 0.2 23900 1464 ? S 11:57 0:00 > > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > nagios 6162 0.5 0.1 5612 1036 ? S 11:57 0:00 > > /usr/local/nagios/libexec/check_ping -H 204.64.191.5 -w 100.0,20% -c > > 500.0,60% -p 5 > > nagios 6163 0.0 0.0 1700 536 ? S 11:57 0:00 > /bin/ping - > > n -U -w 10 -c 5 192.168.146.5 > > nagios 6164 0.0 0.0 1700 544 ? S 11:57 0:00 > /bin/ping - > > n -U -w 10 -c 5 204.64.191.5 > > root 6166 0.0 0.1 3720 676 pts/2 R+ 11:57 0:00 grep > nagios > > nagios 6155 0.0 0.0 1700 536 ? S 11:57 0:00 > /bin/ping - > > n -U -w 10 -c 5 204.64.105.21 > > nagios 6157 0.0 0.2 23900 1464 ? S 11:57 0:00 > > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > nagios 6158 0.5 0.1 5612 1036 ? S 11:57 0:00 > > /usr/local/nagios/libexec/check_ping -H 192.168.146.5 -w 100.0,20% -c > > 500.0,60% -p 5 > > nagios 6160 0.0 0.0 1700 540 ? S 11:57 0:00 > /bin/ping - > > n -U -w 10 -c 5 192.168.170.5 > > nagios 6161 0.0 0.2 23900 1464 ? S 11:57 0:00 > > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > nagios 6162 0.5 0.1 5612 1036 ? S 11:57 0:00 > > /usr/local/nagios/libexec/check_ping -H 204.64.191.5 -w 100.0,20% -c > > 500.0,60% -p 5 > > nagios 6163 0.0 0.0 1700 536 ? S 11:57 0:00 > /bin/ping - > > n -U -w 10 -c 5 192.168.146.5 > > nagios 6164 0.0 0.0 1700 544 ? S 11:57 0:00 > /bin/ping - > > n -U -w 10 -c 5 204.64.191.5 > > root 6166 0.0 0.1 3720 676 pts/2 R+ 11:57 0:00 grep > nagios > > > > When stopping Nagios, I typically issue a /etc/rc.d/init.d stop and > then > > verify there are none running. I also use Kill -HUP since I normally > > start nagios as a daemon with the -d. Is this the correct process? > > Further, what is best practices after adding a host to refresh Nagio > to > > pick up that host without reflecting undetermined availability for the > > rest of the hosts or causing any problems? > > > > On 8/2/06, Marc Powell wrote: > > > > > > > > > -----Original Message----- > > > From: Justin Craig [mailto: jrcraig.email at gmail.com > > ] > > > Sent: Wednesday, August 02, 2006 8:38 AM > > > To: Marc Powell > > > Cc: Nagios Users Mailinglist > > > Subject: Re: [Nagios-users] Warning threshold must be float or > > float > > > triplet! > > > > > > In my checkcommands.cfg for this host in question, I have: > > > > > > > > > > # 'check_local_load' command definition > > > define command{ > > > command_name check_local_load > > > command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ > > > } > > > > > > > Yes, that looks good. I'd -- > > - verify that nagios was reloaded after creating this > command > > definition > > - verify that there aren't multiple nagios daemons > running > > (stop; kill; start) > > - verify that nagios is executing the command I think is. > > Modify > > command_line to be the following then check the contents of > > /tmp/nagios > > -- > > command_line /bin/echo "$USER1$/check_load -w > $ARG1$ > > -c > > $ARG2$" >> /tmp/nagios > > > > -- > > Marc > > > > > > -----Original Message----- > > > > From: nagios-users-bounces at lists.sourceforge.net > > > > [mailto:nagios- > > > users- > > > > bounces at lists.sourceforge.net > > ] On Behalf Of Justin Craig > > > > Sent: Tuesday, August 01, 2006 2:41 PM > > > > [chop] > > > > > > check_command > > > > check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 > > > > } > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Aug 2 22:41:53 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 2 Aug 2006 13:41:53 -0700 Subject: Have the rw directory In-Reply-To: <00CDD3DF3F3D574C8793AD9E8B529F2928F104@server.BrightScience.local> References: <00CDD3DF3F3D574C8793AD9E8B529F2928F104@server.BrightScience.local> Message-ID: <20060802204153.GN15727@hermes.americas.hpqcorp.net> On Wed, 02 Aug 2006, Ganesh Vembu wrote: > [1154546923] SERVICE ALERT: localhost;Total Processes;UNKNOWN;SOFT;3;check_procs: Unknown argument - (null) > > and still its trying to reach the /home/nagios > what do i have to configure to get away from that I'd highly recommend you read: a) The response I sent earlier telling you what the problem is with the Nagios user's home directory, and b) The Nagios documentation on how to configure check commands and service definitions -- one of the two (or both) for that command is incorrect. Since you haven't provided either the check command or the service definition, what exactly *is* wrong is anybody's guess. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Aug 3 00:02:05 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 3 Aug 2006 00:02:05 +0200 (CEST) Subject: Antwort: Re: Recovery not getting sent during downtime? In-Reply-To: References: Message-ID: On Wed, 2 Aug 2006 srunschke at abit.de wrote: > Every admin that is currently offsite can't know about the reboot > (cause it happened in downtime and noone noticed despite the one who > rebooted) and will never get notified about the recovery. That poses a > big problem for bigger companies who have numerous admins getting > notifications from nagios. If such a case occurs I usually get a call from > my CTO why problem XY wasn't fixed yet and I have to tell him: > I fixed it with a reboot, but nagios didn't send out the recovery because > of the downtime. Pardon me. But if a reboot is required to fix things on a regular basis you got bigger problems that need to be solved. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Thu Aug 3 01:07:33 2006 From: srunschke at abit.de (srunschke at abit.de) Date: Thu, 3 Aug 2006 01:07:33 +0200 Subject: Antwort: Recovery not getting sent duringdowntime? In-Reply-To: <20060802163618.22029@studentservices.outreach.psu.edu> References: <20060802163618.22029@studentservices.outreach.psu.edu> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 02.08.2006 18:36:18: > I think you might want to rethink your process so that it matches the > paradigm of the tool you are using. It already can do what you want if > you just work with the way it was designed, rather than forcing a > process that breaks the paradigm. I think you might want to re-read my mail, it seems you did not fully understand what I meant ;) > >Service goes critical > This is not a scheduled event. It is unscheduled. I never said anything else. I never said I scheduled a downtime for the SERVICE. I said I scheduled a downtime for the HOST, because I was forced to reboot the HOST to fix the SERVICE problem. I didn't have the possibility of acknowledging the service, fix it and be happy. Sometimes certain services of some retarded OS tend to kastrate themselves and only a reboot can fix it. If I do not schedule a HOST downtime, then SMSs get dispatched for the HOST being down and going up and then for the service recovering. Not exactly the behaviour I'd like to see. > Since the unscheduled event has already been acknowledged and everyone > who might want to jump in to help already knows it is being handled, > there is no need to schedule a downtime for an unscheduled event. Just > acknowledge it. > > >Reboot > >Host/Service OK > Recovery Note goes out to everyone, including CTO. Problem Solved. > Everyone knows what is happening. Your performance evaluation gets a > boost for being the one to solve the problem. Uhm and what about the 2 SMS going out to everyone stating the host going down and up again? That is neither expected (by the rest of the admins for example), nor wanted behaviour. I DO know what the documentation says regarding scheduled downtimes. I DO know it says it suppresses all alerts. Yet I still say it should not suppress recoveries for critical/warning/ unknown which happened before a schedule downtime. Somewhere else in the documentation (or was it by Ethan somewhere else?) it states that for every alert sent, there will be a recovery if it goes OK again. And alas, Ethan seems to agree with me, so I can't be that wrong, eh? regards Sascha -- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Thu Aug 3 01:21:45 2006 From: srunschke at abit.de (srunschke at abit.de) Date: Thu, 3 Aug 2006 01:21:45 +0200 Subject: Antwort: Recovery not gettingsent duringdowntime? In-Reply-To: References: Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 02.08.2006 18:42:56: > Or you could temporarily disable notifications for the host during the > reboot. The Nagios docs are pretty clear that "[w]hen a host a service > is in a period of scheduled downtime, notifications for that host or > service will be suppressed." It's working as designed. It's working exactly as phrased in this part of the documentation. But we're not the church and the documentation ain't the bible, therefor it can be faulty ;) All I'm saying is the fact, that the documented and shown behaviour does not make all that much sense if viewed from certain points. > I think we also have different definitions of "scheduled." That's not a > word I would use to describe rebooting a box to bring a failed service > back up. Well yes, that might be. But if I understand you correct, then your definition of "scheduled" means that it has to be planned long before for a certain timeperiod. That's not what it's meant for. There's a reason why you cannot enter fixed downtimes for certain periods as in "scheduling them ahead". You can only "schedule" downtimes instantly with a click, they're meant to be used like that - they don't leave you any other choice. I do not really see a difference between rebooting a machine because a bios update or because some service hangs. It's reboot and I planned it all by myself with my free will. Therefor I will schedule a downtime, as I know: it will go down when I press that reboot button. That's a scheduled downtime for me. > But you are talking about sending alerts. Recovery alerts are still > alerts, and alerts are suppressed during scheduled downtimes. Well, that's playing with words. Of course I'm talking about critical/warning/unknown/down when talking about alerts. I thought that was rather clear from my wording. Alerts are critical, warning, unknown, down. Recoveries are recoveries. Alerts and recoveries together are notifications. But recoveries are not alerts in my understanding. > > (unless I explicitly suppress all notifications for the > > service/host in question - but downtime shouldn't work this way) > > But it does. You're expecting it to do something other than what it's > designed for, and to behave in a way other than how it's documented. Well, that's the question. Was it designed that way? I don't think so. Is it documented and implemented that way? Yes it is. Though the latter is true, that doesn't mean I cannot vouch for taking my point as it is a much better approach to the problem. The notifaction system must be made aware of why a certain notification get's send and decide whether it has to send it or not. Scheduled downtime should not blindly block everything. If it would, then where's the difference between scheduling downtime and just disabling notifications for a host or service? regards Sascha PS: Why hasn't HP released a new centrino driver for their notebooks yet? We are in dire need for an update because of the newly discovered security hole ;) -- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amen at oreilly.com Thu Aug 3 01:36:22 2006 From: amen at oreilly.com (Bob Amen) Date: Wed, 02 Aug 2006 16:36:22 -0700 Subject: Nagios Light? In-Reply-To: <44D0BA18.8080001@gmail.com> References: <44D0BA18.8080001@gmail.com> Message-ID: <44D136F6.4000501@oreilly.com> jon.johnston wrote: > After trying to work with Nagios for a while, I've determined that it's > not the best fit for most of the environments I work with. Looks like > great stuff, but takes too long to setup, configure, and get running in > network environments where I would leave it with administrators will > little to no linux knowledge. > > Is there something linux-based that would be comparable to "nagios > light"? Thanks for any input. You might try Hyperic HQ. It's recently been released as an Open Source product. It's got the point and click interface that you might be looking for. I tried it and didn't like it. I find nagios to be much better, easier to maintain and set up but you might find HQ to be more suited for your environments. http://www.hyperic.com/ Cheers, Bob -- Bob Amen O'Reilly Media, Inc. http://www.ora.com/ http://www.oreilly.com/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 3 03:17:54 2006 From: marc at ena.com (Marc Powell) Date: Wed, 2 Aug 2006 20:17:54 -0500 Subject: Warning threshold must be float or float triplet! {Disarmed} {Fraud?} Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Justin Craig > Sent: Wednesday, August 02, 2006 3:36 PM > To: Marc Powell > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Warning threshold must be float or float > triplet! {Disarmed} {Fraud?} > > I sent the reload command and basically nagios is now telling me 30 hosts > are down and that number is increasing? This is a problem. why does this What does the status information for the down hosts/services say. That'll be a primary indicator of why it's happening. I can't begin to guess. > happen? And back to my original issue, nagios itself is still showing > down. I modified the command as you suggested, how do I verify that? Look at the contents of /tmp/nagios. It should contain the command line that nagios would have executed for the check_local_load service. Can you successfully run that from the command line as the nagios user? -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Thu Aug 3 03:29:33 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Wed, 2 Aug 2006 20:29:33 -0500 Subject: Nagios Light? In-Reply-To: <302ce8b50608021053g5118ea40k573d7941c2328cd3@mail.gmail.com> References: <44D0BA18.8080001@gmail.com> <302ce8b50608021053g5118ea40k573d7941c2328cd3@mail.gmail.com> Message-ID: I'm a VoIP engineer, don't know a lick of linux and was still able to install fedora core 3 and compile nagios. It's worth diving into..... On 8/2/06, Jim Perrin wrote: > > On 8/2/06, jon.johnston wrote: > > After trying to work with Nagios for a while, I've determined that it's > > not the best fit for most of the environments I work with. Looks like > > great stuff, but takes too long to setup, configure, and get running in > > network environments where I would leave it with administrators will > > little to no linux knowledge. > > > > Is there something linux-based that would be comparable to "nagios > > light"? Thanks for any input. > > While not nagios-lite and requiring some nagios know-how to set up, > oreon is pretty good for a free/gpl product. It leaves users with a > reasonably easy point and click interface to use, and is pretty > straightforward. No linux knowledge required (unless something goes > horribly wrong). > > > -- > During times of universal deceit, telling the truth becomes a > revolutionary act. > George Orwell > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris.paul at sentinare.com Thu Aug 3 04:02:58 2006 From: chris.paul at sentinare.com (Chris Paul) Date: Wed, 02 Aug 2006 19:02:58 -0700 Subject: disabled ping and check_smtp: nagios won't not ping Message-ID: <44D15952.60901@sentinare.com> Hello, Nagios Users, I need to check_smtp without a PING check, but I can't get nagios to do this. One of my customers insists on turning off ICMP, which I actually have no problem with, except this one. Here's the operative definitions I'm attempting: # 'relay1' host definition define host{ use generic-host host_group mail-servers alias mail-servers check_command check_tcp!25 contact_groups admins max_check_attempts 10 notification_interval 30 notification_period 24x7 notification_options d,u,r } # 'mail servers' host group definition define hostgroup{ hostgroup_name mail-servers alias mail-servers members relay1 } # mail-servers define service{ use generic-service hostgroup_name mail-servers service_description SMTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups admins notification_interval 30 notification_period 24x7 notification_options w,c,r check_command check_mailserver } # 'check_mailserver' command definition define command{ command_name check_mailserver command_line $USER1$/check_smtp -t 45 -p 25 -C "MAIL FROM: test at sentinare.com" -R "250" -C "RCPT TO: chris.paul at sentinare.com" -R "250" -H $HOSTADDRESS$ } CP -- Chris Paul Sentinare Messaging Solutions 106 Maywood Drive, Boulder Creek, CA 95006 web: http://www.sentinare.com phone: +1 (877) 727-9786 -------------- next part -------------- A non-text attachment was scrubbed... Name: chris.paul.vcf Type: text/x-vcard Size: 237 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscribe at aehome.net Thu Aug 3 04:07:43 2006 From: subscribe at aehome.net (subscribe) Date: Wed, 2 Aug 2006 21:07:43 -0500 Subject: Nagios Light? In-Reply-To: <44D0BA18.8080001@gmail.com> References: <44D0BA18.8080001@gmail.com> Message-ID: <021e01c6b6a1$ad3a3220$0208090a@a1> Don't give up. It is actually very easy to get running on a red hat or fedora based system (prefers centos here). It took me forever to get it running the first time because I kept missing stuff in the manual. If you follow the directions it can be up and running in about 10 minutes. You might also look into groundwork open source. It is already packaged and has its own config tools. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of jon.johnston Sent: Wednesday, August 02, 2006 09:44 To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Light? After trying to work with Nagios for a while, I've determined that it's not the best fit for most of the environments I work with. Looks like great stuff, but takes too long to setup, configure, and get running in network environments where I would leave it with administrators will little to no linux knowledge. Is there something linux-based that would be comparable to "nagios light"? Thanks for any input. Jon Johnston Creative Business Solutions IBM, Microsoft, Novell/Suse and Sophos Consulting 952-544-1108 http://www.cbsol.com Blog:http://bingo.cbsol.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Aug 3 04:25:19 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 2 Aug 2006 22:25:19 -0400 Subject: disabled ping and check_smtp: nagios won't not ping In-Reply-To: <44D15952.60901@sentinare.com> References: <44D15952.60901@sentinare.com> Message-ID: > Hello, Nagios Users, > > I need to check_smtp without a PING check, but I can't get > nagios to do this. One of my customers insists on turning off > ICMP, which I actually have no problem with, except this one. > > Here's the operative definitions I'm attempting: > > # 'relay1' host definition > define host{ > use generic-host > host_group mail-servers > alias mail-servers > check_command check_tcp!25 > contact_groups admins > max_check_attempts 10 > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } > > # 'mail servers' host group definition > define hostgroup{ > hostgroup_name mail-servers > alias mail-servers > members relay1 > } > > > # mail-servers > define service{ > use generic-service > hostgroup_name mail-servers > service_description SMTP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups admins > notification_interval 30 > notification_period 24x7 > notification_options w,c,r > check_command check_mailserver > } > > # 'check_mailserver' command definition > define command{ > command_name check_mailserver > command_line $USER1$/check_smtp -t 45 -p 25 -C "MAIL FROM: > test at sentinare.com" -R "250" -C "RCPT TO: > chris.paul at sentinare.com" -R "250" -H $HOSTADDRESS$ } ...and the problem you're having? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris.paul at sentinare.com Thu Aug 3 04:29:59 2006 From: chris.paul at sentinare.com (Chris Paul) Date: Wed, 02 Aug 2006 19:29:59 -0700 Subject: disabled ping and check_smtp: nagios won't not ping In-Reply-To: References: Message-ID: <44D15FA7.9000404@sentinare.com> Morris, Patrick wrote: >> Hello, Nagios Users, >> >> I need to check_smtp without a PING check, but I can't get >> nagios to do this. One of my customers insists on turning off >> ICMP, which I actually have no problem with, except this one. >> >> Here's the operative definitions I'm attempting: >> >> # 'relay1' host definition >> define host{ >> use generic-host >> host_group mail-servers >> alias mail-servers >> check_command check_tcp!25 >> contact_groups admins >> max_check_attempts 10 >> notification_interval 30 >> notification_period 24x7 >> notification_options d,u,r >> } >> >> # 'mail servers' host group definition >> define hostgroup{ >> hostgroup_name mail-servers >> alias mail-servers >> members relay1 >> } >> >> >> # mail-servers >> define service{ >> use generic-service >> hostgroup_name mail-servers >> service_description SMTP >> is_volatile 0 >> check_period 24x7 >> max_check_attempts 3 >> normal_check_interval 3 >> retry_check_interval 1 >> contact_groups admins >> notification_interval 30 >> notification_period 24x7 >> notification_options w,c,r >> check_command check_mailserver >> } >> >> # 'check_mailserver' command definition >> define command{ >> command_name check_mailserver >> command_line $USER1$/check_smtp -t 45 -p 25 -C "MAIL FROM: >> test at sentinare.com" -R "250" -C "RCPT TO: >> chris.paul at sentinare.com" -R "250" -H $HOSTADDRESS$ } >> > > ...and the problem you're having? > Oh well I need to check_smtp without pinging but it still does ping, even with a check_command of something other than check_ping. I still get notified due to the Service PING check: CRITICAL - Plugin timed out after 10 seconds. CP -- Chris Paul Sentinare Messaging Solutions 106 Maywood Drive, Boulder Creek, CA 95006 web: http://www.sentinare.com phone: +1 (877) 727-9786 -------------- next part -------------- A non-text attachment was scrubbed... Name: chris.paul.vcf Type: text/x-vcard Size: 237 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Aug 3 04:40:56 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 2 Aug 2006 22:40:56 -0400 Subject: disabled ping and check_smtp: nagios won't not ping In-Reply-To: <44D15FA7.9000404@sentinare.com> References: <44D15FA7.9000404@sentinare.com> Message-ID: > -----Original Message----- > From: Chris Paul [mailto:chris.paul at sentinare.com] > Sent: Wednesday, August 02, 2006 7:30 PM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] disabled ping and check_smtp: > nagios won't not ping > > Morris, Patrick wrote: > >> Hello, Nagios Users, > >> > >> I need to check_smtp without a PING check, but I can't get > nagios to > >> do this. One of my customers insists on turning off ICMP, which I > >> actually have no problem with, except this one. > > > > ...and the problem you're having? > > > > Oh well I need to check_smtp without pinging but it still does ping, > even with a check_command of something other than check_ping. I still > get notified due to the Service PING check: CRITICAL - Plugin > timed out > after 10 seconds. Then you have a ping check defined somewhere, or you need to reload/restart Nagios. If restarting Nagios doesn't solve it (stop it first, and make sure it's really stopped by checking a process list before restarting), then examine your configs more closely to see what has a ping check attached to it. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon at w3.org Thu Aug 3 04:50:47 2006 From: simon at w3.org (Simon J. Hernandez) Date: Wed, 2 Aug 2006 22:50:47 -0400 (EDT) Subject: Please Help!! another error on starting nagios In-Reply-To: References: Message-ID: Hello Israel. On Wed, 2 Aug 2006, Israel Brewster wrote: > I have noticed that double slash in a number of places throughout the nagios > config files. In my experience, it has never caused any issues, either with > the functioning of nagios, or with other things such as when I accidentally > type it on the command line when trying to enter a command path. /bin//echo > "test" works just as well as /bin/echo "test" > > On Aug 2, 2006, at 5:00 AM, Simon J. Hernandez wrote: > >> On Wed, 2 Aug 2006, Morris, Patrick wrote: >> >>>> -----Original Message----- >>>> From: nagios-users-bounces at lists.sourceforge.net >>>> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >>>> Of Arief Iqbal >>>> Sent: Wednesday, August 02, 2006 2:06 AM >>>> To: nagios milis >>>> Subject: [Nagios-users] Please Help!! another error on starting nagios >>>> >>>> my problem when verify is clear, now the problem is there are >>>> several warning when i try to starting nagios, and it won't >>>> stop, the warning is: >>>> >>>> Nagios 2.5 starting... (PID=29468) >>>> sh: /usr/local/nagios//libexec/check_load: No such file or directory >> >> ... >> >>>> sh: /usr/local/nagios//libexec/check_ping: No such file or directory >>>> Warning: Attempting to execute the command >>>> "/usr/local/nagios//libexec/check_ping -H 192.168.87.100 -w >>>> 3000.0,80% -c 5000.0,100% -p 1" resulted in a return code of >>>> 127. Make sure the script or binary you are trying to >>>> execute actually exists... >>>> >>>> Can somebody tell me why??? if you don't mind, you can give >>>> me the detail, 'cause i'm really newbie for using nagios ... >> Is there a good reasaon to have the "//" before libexec? >> >> I haven't been through this is a while, but normally "//" will keep an >> executable from executing. >> >> I am naturally wondering how those got in the command in the first place, >> but if you can execute the command without the aditional "/" you may be >> able to fix this easily, editing the appropriate .cfg file. >> >> Just my USD $0.02. Seems my value assessment was just about right. I guess you have a solidus[1] case against me. Simon 1. http://en.wikipedia.org/wiki/Slash_%28punctuation%29#Programming -- Simon J. Hernandez | http://people.w3.org/simon/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris.paul at sentinare.com Thu Aug 3 05:36:31 2006 From: chris.paul at sentinare.com (Chris Paul) Date: Wed, 2 Aug 2006 20:36:31 -0700 Subject: disabled ping and check_smtp: nagios won't not ping In-Reply-To: References: <44D15FA7.9000404@sentinare.com> Message-ID: <20060802203631.25a33b84.chris.paul@sentinare.com> On Wed, 2 Aug 2006 22:40:56 -0400 "Morris, Patrick" wrote: > Then you have a ping check defined somewhere, or you need to > reload/restart Nagios. > > If restarting Nagios doesn't solve it (stop it first, and make sure it's > really stopped by checking a process list before restarting), then > examine your configs more closely to see what has a ping check attached > to it. That FreeBSD /usr/local/etc/rc.d/nagios restart makes sure it shuts down, but I did a "stop" and "ps" to make sure it was stopped and then a "start" just to make sure. >From the logs, what I see is this: [1154570103] SERVICE ALERT: relay1;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds This service is NOT configured to have a ping check, and this is the problem. I did see some post somewhere else where someone had the same problem, but I can't find that now. I think this may be a bug in Nagios. CP -- Chris Paul Sentinare Messaging Solutions 106 Maywood Drive, Boulder Creek, CA 95006 web: http://www.sentinare.com phone: +1 (877) 727-9786 The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. Sentinare Messaging Solutions, Inc. is a California Corporation. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Aug 3 05:41:09 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 2 Aug 2006 23:41:09 -0400 Subject: disabled ping and check_smtp: nagios won't not ping In-Reply-To: <20060802203631.25a33b84.chris.paul@sentinare.com> References: <20060802203631.25a33b84.chris.paul@sentinare.com> Message-ID: > On Wed, 2 Aug 2006 22:40:56 -0400 > "Morris, Patrick" wrote: > > > Then you have a ping check defined somewhere, or you need to > > reload/restart Nagios. > > > > If restarting Nagios doesn't solve it (stop it first, and make sure > > it's really stopped by checking a process list before restarting), > > then examine your configs more closely to see what has a ping check > > attached to it. > > That FreeBSD /usr/local/etc/rc.d/nagios restart makes sure it > shuts down, but I did a "stop" and "ps" to make sure it was > stopped and then a "start" just to make sure. > > From the logs, what I see is this: > > [1154570103] SERVICE ALERT: > relay1;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after > 10 seconds > > This service is NOT configured to have a ping check, and this > is the problem. > > I did see some post somewhere else where someone had the same > problem, but I can't find that now. I think this may be a bug > in Nagios. It's most definitely not a Nagios bug - Nagios will never just make up services that aren't defined in your configs. It can't. Would it be possible to show any parts of your config with the word "PING" in them? I guarantee you one of them is either directly or indirectly assigned to your relay1 host. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arief_clan at yahoo.com Thu Aug 3 05:44:52 2006 From: arief_clan at yahoo.com (Arief Iqbal) Date: Wed, 2 Aug 2006 20:44:52 -0700 (PDT) Subject: where can i found process-host-perfdata-file? Message-ID: <20060803034452.7084.qmail@web56006.mail.re3.yahoo.com> when i starting nagios, there's a warning: Nagios 2.5 starting... (PID=14518) Warning: Host performance file processing command 'process-host-perfdata-file' was not found - host performance data file will not be processed! Warning: Service performance file processing command 'process-service-perfdata-file' was not found - service performance data file will not be processed! any solution?? thank you --------------------------------- Do you Yahoo!? Next-gen email? Have it all with the all-new Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Aug 3 05:46:32 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 2 Aug 2006 23:46:32 -0400 Subject: where can i found process-host-perfdata-file? In-Reply-To: <20060803034452.7084.qmail@web56006.mail.re3.yahoo.com> References: <20060803034452.7084.qmail@web56006.mail.re3.yahoo.com> Message-ID: > when i starting nagios, there's a warning: > > Nagios 2.5 starting... (PID=14518) > Warning: Host performance file processing command > 'process-host-perfdata-file' was not found - host performance > data file will not be processed! > Warning: Service performance file processing command > 'process-service-perfdata-file' was not found - service > performance data file will not be processed! > > any solution?? Define the command, or turn off service and host performance data processing in your Nagios config. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris.paul at sentinare.com Thu Aug 3 05:55:23 2006 From: chris.paul at sentinare.com (Chris Paul) Date: Wed, 2 Aug 2006 20:55:23 -0700 Subject: disabled ping and check_smtp: nagios won't not ping In-Reply-To: References: <20060802203631.25a33b84.chris.paul@sentinare.com> Message-ID: <20060802205523.5c48c576.chris.paul@sentinare.com> On Wed, 2 Aug 2006 23:41:09 -0400 "Morris, Patrick" wrote: > > On Wed, 2 Aug 2006 22:40:56 -0400 > > "Morris, Patrick" wrote: > > > > > Then you have a ping check defined somewhere, or you need to > > > reload/restart Nagios. > > > > > > If restarting Nagios doesn't solve it (stop it first, and make sure > > > it's really stopped by checking a process list before restarting), > > > then examine your configs more closely to see what has a ping check > > > attached to it. > > > > That FreeBSD /usr/local/etc/rc.d/nagios restart makes sure it > > shuts down, but I did a "stop" and "ps" to make sure it was > > stopped and then a "start" just to make sure. > > > > From the logs, what I see is this: > > > > [1154570103] SERVICE ALERT: > > relay1;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after > > 10 seconds > > > > This service is NOT configured to have a ping check, and this > > is the problem. > > > > I did see some post somewhere else where someone had the same > > problem, but I can't find that now. I think this may be a bug > > in Nagios. > > It's most definitely not a Nagios bug - Nagios will never just make up > services that aren't defined in your configs. It can't. > > Would it be possible to show any parts of your config with the word > "PING" in them? I guarantee you one of them is either directly or > indirectly assigned to your relay1 host. You are right and apologies to all Nagios developers! Actually to protect customers' privacy, I have to obfuscate what I sent before (changing relay.customer.com to "relay" in my excerpts I sent) and I can't send each part that shows ping, but your clue helped me find the section that is causing my problem: # all hosts ping define service{ use generic-service ; Name of service template to use host_name * service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups admins notification_interval 30 notification_period 24x7 notification_options w,u,c,r check_command check_ping!150.0,20%!500.0,60% } Many thanks! CP -- Chris Paul Sentinare Messaging Solutions 106 Maywood Drive, Boulder Creek, CA 95006 web: http://www.sentinare.com phone: +1 (877) 727-9786 The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. Sentinare Messaging Solutions, Inc. is a California Corporation. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Aug 3 07:57:08 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 3 Aug 2006 07:57:08 +0200 (CEST) Subject: Antwort: Recovery not getting sent duringdowntime? In-Reply-To: References: Message-ID: On Thu, 3 Aug 2006 srunschke at abit.de wrote: > nagios-users-bounces at lists.sourceforge.net schrieb am 02.08.2006 18:36:18: > > > I think you might want to rethink your process so that it matches the > > paradigm of the tool you are using. It already can do what you want if > > you just work with the way it was designed, rather than forcing a > > process that breaks the paradigm. > > I think you might want to re-read my mail, it seems you did > not fully understand what I meant ;) The same issue might be the case the other way around. .... > > >Reboot > > >Host/Service OK > > Recovery Note goes out to everyone, including CTO. Problem Solved. > > Everyone knows what is happening. Your performance evaluation gets a > > boost for being the one to solve the problem. > > Uhm and what about the 2 SMS going out to everyone stating the > host going down and up again? That is neither expected (by the rest > of the admins for example), nor wanted behaviour. That are two completely different things. You propably did not expect the service to go down either. But it did. So how is that different in someone taking a full server down to 'fix' a service? The 'damage' of that action is propably larger then the single service. So shouldn't the rest know you took such draconic actions to fix a service? Even if happened to be the only option. > I DO know what the documentation says regarding scheduled downtimes. > I DO know it says it suppresses all alerts. > Yet I still say it should not suppress recoveries for critical/warning/ > unknown which happened before a schedule downtime. Somewhere else in the > documentation (or was it by Ethan somewhere else?) it states that for > every alert sent, there will be a recovery if it goes OK again. Pardon me for noting this sounds a lot like guessing. But feel free to show a reference. And if you find conflicting statements then you know both of them can not be true at the same time. I think you found out which one of the two is true and which one is not. In the end. You got the sources. If this bothers you so much you are free to use them and rewrite certain aspects the way you think it needs to be. If this is such a business critical tool then I am sure someone is willing to pay for someone to rewrite this to suit your needs. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Aug 3 08:04:47 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 3 Aug 2006 08:04:47 +0200 (CEST) Subject: where can i found process-host-perfdata-file? In-Reply-To: <20060803034452.7084.qmail@web56006.mail.re3.yahoo.com> References: <20060803034452.7084.qmail@web56006.mail.re3.yahoo.com> Message-ID: On Wed, 2 Aug 2006, Arief Iqbal wrote: > when i starting nagios, there's a warning: > > Nagios 2.5 starting... (PID=14518) > Warning: Host performance file processing command 'process-host-perfdata-file' was not found - host performance data file will not be processed! > Warning: Service performance file processing command 'process-service-perfdata-file' was not found - service performance data file will not be processed! These are WARNINGS and not ERRORS. What is it that is not working as planned? And remomber. Untill you tell us anything we know nothing about your setup or config or network. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From r.raggi at libero.it Thu Aug 3 08:48:29 2006 From: r.raggi at libero.it (r.raggi at libero.it) Date: Thu, 3 Aug 2006 08:48:29 +0200 Subject: ePN - Strange Problem Message-ID: HI All I wrote the SNMP plugin in Perl Script and I tested the script from command line and 'mini_epn' with success. When I use the script into NAGIOS Enviroment the script don't function and return the follow error: **ePN /usr/lib/nagios/plugins/check_prova.pl: "Argument "" isn't numeric in division (/) at (eval 6) line 156,". In line 156 there is the easy division operation. Can you help Me? My system is Fedora Core 4 Nagios 2.5 Thank you Riccardo RAGGI IT Consultant ___________________________________________________________________ Mutui a tassi scontati da 30 banche. Richiedi online e risparmia. Servizio gratuito. http://click.libero.it/mutuionline ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Thu Aug 3 12:59:34 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Thu, 3 Aug 2006 11:59:34 +0100 Subject: ePN - Strange Problem In-Reply-To: References: Message-ID: Looks like a problem with your perl script runing under the embedded Perl interpreter. Perhaps one side of the division is a variable which is empty. Internet r.raggi at libero.it@lists.sourceforge.net - 03/08/2006 07:48 Sent by: nagios-users-bounces at lists.sourceforge.net To: nagios-users cc: Subject: [Nagios-users] ePN - Strange Problem HI All I wrote the SNMP plugin in Perl Script and I tested the script from command line and 'mini_epn' with success. When I use the script into NAGIOS Enviroment the script don't function and return the follow error: **ePN /usr/lib/nagios/plugins/check_prova.pl: "Argument "" isn't numeric in division (/) at (eval 6) line 156,". In line 156 there is the easy division operation. Can you help Me? My system is Fedora Core 4 Nagios 2.5 Thank you Riccardo RAGGI IT Consultant ___________________________________________________________________ Mutui a tassi scontati da 30 banche. Richiedi online e risparmia. Servizio gratuito. http://click.libero.it/mutuionline ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Thu Aug 3 13:14:22 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 3 Aug 2006 13:14:22 +0200 Subject: ePN - Strange Problem In-Reply-To: References: Message-ID: <200608031314.22537.pitchfork@ederdrom.de> Am Donnerstag, 3. August 2006 08:48 schrieb r.raggi at libero.it: > HI All > > I wrote the SNMP plugin in Perl Script and I tested the script from command line and 'mini_epn' with success. > When I use the script into NAGIOS Enviroment the script don't function and return the follow error: > > **ePN /usr/lib/nagios/plugins/check_prova.pl: "Argument "" isn't numeric in division (/) at (eval 6) line 156,". Please have a look on /contrib There is a mini_epn Debugger. Just compile mini_epn by calling "make" in the contrib Directory. J?rg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigo.maceno at gmail.com Thu Aug 3 15:36:36 2006 From: rodrigo.maceno at gmail.com (Rodrigo Maceno) Date: Thu, 3 Aug 2006 10:36:36 -0300 Subject: Problems with check_ping Message-ID: <27acffb00608030636n35911ccyc08d5984be884c6b@mail.gmail.com> Hello, Can anyone help me about this?? check_ping: Invalid hostname/address - $ I am running the check_ping over NRPE... Anyone have any idea about it?? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Thu Aug 3 15:57:13 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Thu, 3 Aug 2006 08:57:13 -0500 Subject: Warning threshold must be float or float triplet! {Disarmed} {Fraud?} In-Reply-To: References: Message-ID: sorry, where is my /tmp/nagios directory. I do a find / -name */tmp/nagios* I don't see anything. On 8/2/06, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Justin Craig > > Sent: Wednesday, August 02, 2006 3:36 PM > > To: Marc Powell > > Cc: Nagios Users Mailinglist > > Subject: Re: [Nagios-users] Warning threshold must be float or float > > triplet! {Disarmed} {Fraud?} > > > > I sent the reload command and basically nagios is now telling me 30 > hosts > > are down and that number is increasing? This is a problem. why does > this > > What does the status information for the down hosts/services say. > That'll be a primary indicator of why it's happening. I can't begin to > guess. > > > happen? And back to my original issue, nagios itself is still showing > > down. I modified the command as you suggested, how do I verify that? > > Look at the contents of /tmp/nagios. It should contain the command line > that nagios would have executed for the check_local_load service. Can > you successfully run that from the command line as the nagios user? > > -- > Marc > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 3 16:54:39 2006 From: marc at ena.com (Marc Powell) Date: Thu, 3 Aug 2006 09:54:39 -0500 Subject: Warning threshold must be float or float triplet! {Disarmed} {Fraud?} Message-ID: 'nagios' is a file in '/tmp'. It's contents are modified every time check_local_load is executed if you've followed my directions. cd /tmp cat nagios -- Marc > -----Original Message----- > From: Justin Craig [mailto:jrcraig.email at gmail.com] > Sent: Thursday, August 03, 2006 8:57 AM > To: Marc Powell > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Warning threshold must be float or float > triplet! {Disarmed} {Fraud?} > > sorry, where is my /tmp/nagios directory. I do a find / -name > */tmp/nagios* I don't see anything. > > > On 8/2/06, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net users-bounces at lists.sourceforge.net> [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Justin Craig > > Sent: Wednesday, August 02, 2006 3:36 PM > > To: Marc Powell > > Cc: Nagios Users Mailinglist > > Subject: Re: [Nagios-users] Warning threshold must be float or > float > > triplet! {Disarmed} {Fraud?} > > > > I sent the reload command and basically nagios is now telling me > 30 > hosts > > are down and that number is increasing? This is a problem. why > does > this > > What does the status information for the down hosts/services say. > That'll be a primary indicator of why it's happening. I can't begin > to > guess. > > > happen? And back to my original issue, nagios itself is still > showing > > down. I modified the command as you suggested, how do I verify > that? > > Look at the contents of /tmp/nagios. It should contain the command > line > that nagios would have executed for the check_local_load service. > Can > you successfully run that from the command line as the nagios user? > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 3 16:56:17 2006 From: marc at ena.com (Marc Powell) Date: Thu, 3 Aug 2006 09:56:17 -0500 Subject: Problems with check_ping Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rodrigo Maceno > Sent: Thursday, August 03, 2006 8:37 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems with check_ping > > Hello, > Can anyone help me about this?? > > > check_ping: Invalid hostname/address - $ > > > I am running the check_ping over NRPE... Anyone have any idea about it?? Magic 8 ball says you have a configuration problem. Verify that you're using the correct $macros$ and that they're spelled correctly. Post specific configuration information for specific answers. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From meo at intrinsity.com Thu Aug 3 17:29:05 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Thu, 3 Aug 2006 10:29:05 -0500 (CDT) Subject: Warning threshold must be float or float In-Reply-To: References: Message-ID: <20060803152905.D1A0738029@chuys.eng.intrinsity.com> Justin, |sorry, where is my /tmp/nagios directory. I do a find / -name */tmp/nagios* |I don't see anything. All pertinent path names should be specified in your nagios.cfg file. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 3 19:39:13 2006 From: marc at ena.com (Marc Powell) Date: Thu, 3 Aug 2006 12:39:13 -0500 Subject: Warning threshold must be float or float Message-ID: > -----Original Message----- > From: Miles O'Neal [mailto:meo at intrinsity.com] > Sent: Thursday, August 03, 2006 10:29 AM > To: Justin Craig > Cc: Marc Powell; Nagios Users Mailinglist > Subject: Re: [Nagios-users] Warning threshold must be float or float > > Justin, > > |sorry, where is my /tmp/nagios directory. I do a find / -name > */tmp/nagios* > |I don't see anything. > > All pertinent path names should be specified > in your nagios.cfg file. Please try to follow the conversation before replying. This response is confusing and irrelevant to his question. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 3 20:27:23 2006 From: marc at ena.com (Marc Powell) Date: Thu, 3 Aug 2006 13:27:23 -0500 Subject: Problems with check_ping Message-ID: Please always respond on list so that others may benefit from your experience. Most likely /bin/ping isn't executable by your nagios user. Can you ping something as nagios? Why that's the case depends on your OS. Most likely problem is that /bin/ping isn't suid root. Permissions should look similar to -- -rwsr-xr-x 1 root root 27860 Sep 29 2005 /bin/ping If not, try 'chmod u+s /bin/ping' then try to ping again. If you have SELinux enabled, that may be preventing the execution of ping by nagios. Check /var/log/messages for errors/warnings and or run audit2allow to check for matches and possible resolutions (audit2allow -l -i /var/log/messages). -- Marc > -----Original Message----- > From: Rodrigo Maceno [mailto:rodrigo.maceno at gmail.com] > Sent: Thursday, August 03, 2006 11:44 AM > To: Marc Powell > Subject: Re: [Nagios-users] Problems with check_ping > > Hello Marc, > I'm already solved this problem, but now I have the follow problem: > /bin/ping -n -U -w 10 -c 5 10.2.20.59 > Did you know to say me what is happening?? > > Thanks... > > > > > 2006/8/3, Marc Powell < marc at ena.com >: > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net users-bounces at lists.sourceforge.net> [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Rodrigo Maceno > > Sent: Thursday, August 03, 2006 8:37 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Problems with check_ping > > > > Hello, > > Can anyone help me about this?? > > > > > > check_ping: Invalid hostname/address - $ > > > > > > I am running the check_ping over NRPE... Anyone have any idea > about > it?? > > Magic 8 ball says you have a configuration problem. > > Verify that you're using the correct $macros$ and that they're > spelled > correctly. > > Post specific configuration information for specific answers. > > -- > Marc > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Thu Aug 3 21:01:28 2006 From: jperrin at gmail.com (Jim Perrin) Date: Thu, 3 Aug 2006 15:01:28 -0400 Subject: nagios and snmptraps Message-ID: <302ce8b50608031201q51307d30h4e63c974ae381f8b@mail.gmail.com> For those who are interested -> http://www.samag.com/documents/s=9559/sam0503g/ It seems to be a decent article. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Fri Aug 4 00:15:59 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Thu, 3 Aug 2006 15:15:59 -0700 Subject: NDO Services Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD44401A3@raptor.redhawk.info> Hello, I'm looking at implementing syslog via Nagios in a distributed environment. I want to report historical information for network devices that output syslog information. Of course, I will be parsing out syslog information so I don't have a flood of traffic. I see how I can get the data to the Nagios central server, by using something like sec.pl, which will use the Nagios services, but when it goes to the NDO MySQL database, I think the ndo_servicestatus table gets updated, rather than appended to. Is there another way to send this type of data, and still keep a historical data via Nagios/NDO? I suppose I could use the ndo_logentries table, although it is very large. Thanks in advance, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Aug 4 00:54:13 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 3 Aug 2006 15:54:13 -0700 Subject: NDO Services In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD44401A3@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD44401A3@raptor.redhawk.info> Message-ID: <20060803225413.GB15727@hermes.americas.hpqcorp.net> On Thu, 03 Aug 2006, Mike Koponick wrote: > Hello, > > I'm looking at implementing syslog via Nagios in a distributed > environment. I want to report historical information for network devices > that output syslog information. Of course, I will be parsing out syslog > information so I don't have a flood of traffic. I see how I can get the > data to the Nagios central server, by using something like sec.pl, which > will use the Nagios services, but when it goes to the NDO MySQL > database, I think the ndo_servicestatus table gets updated, rather than > appended to. > > Is there another way to send this type of data, and still keep a > historical data via Nagios/NDO? I suppose I could use the ndo_logentries > table, although it is very large. It sounds to me (and I could be wrong here) like you're trying to get Nagios to do something it's really not designed, or even fit, to do. Nagios is definitely *not* a syslog server. It's really good at notifying based on triggers in a log, but to actually *be* the log server? I have to wonder why you'd even try to do that when there are real logservers out there that support storing logs in databases (syslog-ng scomes to mind). You could then use sec to send status information to Nagios, and let it do what it's good at (tracking and notifying based on service states, and it would automatically save the Critical/Warning/Recovery states you sent it via NDO if you have it set up). You'd also have a real syslog server with a database back end, doing what it's good at. Trying to hijack nagios databases so you can force them to hold data they're not meant to hold just seems like a disaster in the making. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Fri Aug 4 01:29:41 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Thu, 3 Aug 2006 16:29:41 -0700 Subject: NDO Services In-Reply-To: <20060803225413.GB15727@hermes.americas.hpqcorp.net> References: <20060803225413.GB15727@hermes.americas.hpqcorp.net> Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD44401A5@raptor.redhawk.info> Patrick, Sorry, it's been a long week. No hijacking here. Using SEC is already on my list, I suppose since Nagios would have a service configured to report (notification/status, etc) my question is regarding the data that will be sent to the NDO database. Once the database is populated, reporting historical records becomes an issue. My *REAL* question is which table would be best suited for reporting? It appears to me that using the ndo_servicestatus table gets updated, rather than appended, which makes sense. I suppose using the ndo_logentries table would work best. Maybe it's time for a beer.. maybe two. Mike -----Original Message----- From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: Thursday, August 03, 2006 3:54 PM To: Mike Koponick Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NDO Services On Thu, 03 Aug 2006, Mike Koponick wrote: > Hello, > > I'm looking at implementing syslog via Nagios in a distributed > environment. I want to report historical information for network devices > that output syslog information. Of course, I will be parsing out syslog > information so I don't have a flood of traffic. I see how I can get the > data to the Nagios central server, by using something like sec.pl, which > will use the Nagios services, but when it goes to the NDO MySQL > database, I think the ndo_servicestatus table gets updated, rather than > appended to. > > Is there another way to send this type of data, and still keep a > historical data via Nagios/NDO? I suppose I could use the ndo_logentries > table, although it is very large. It sounds to me (and I could be wrong here) like you're trying to get Nagios to do something it's really not designed, or even fit, to do. Nagios is definitely *not* a syslog server. It's really good at notifying based on triggers in a log, but to actually *be* the log server? I have to wonder why you'd even try to do that when there are real logservers out there that support storing logs in databases (syslog-ng scomes to mind). You could then use sec to send status information to Nagios, and let it do what it's good at (tracking and notifying based on service states, and it would automatically save the Critical/Warning/Recovery states you sent it via NDO if you have it set up). You'd also have a real syslog server with a database back end, doing what it's good at. Trying to hijack nagios databases so you can force them to hold data they're not meant to hold just seems like a disaster in the making. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanleyhopcroft at gmail.com Fri Aug 4 03:35:05 2006 From: stanleyhopcroft at gmail.com (Stanley Hopcroft) Date: Fri, 4 Aug 2006 11:35:05 +1000 Subject: Potential bug with Nag 2.5 scheduled downtime. In-Reply-To: References: Message-ID: Dear Folks, I am writing to note a potential bug in Nagios 2.5 (RHEL 3, built from a SPEC hacked from Dag Wieers). The bug is that downtime persists after the web interface shows it should have expired. For example here is what the extended information panel says about the host NBASW201 [sh1517 at acisf011 switches]$ lynx -nolist -dump -auth=foo:bar 'http://localhost/nagios/cgi-bin/extinfo.cgi?type=1&host=NBASW201' ... Host NBASW201 Member of Bar-switches a.b.c.d Host State Information Host Status: UP Status Information: PING OK - Packet loss = 0%, RTA = 3.68 ms Performance Data: Current Attempt: 0/10 State Type: HARD Last Check Type: ACTIVE Last Check Time: 03-08-2006 21:28:15 Status Data Age: 0d 13h 40m 1s Next Scheduled Active Check: N/A Latency: 0.000 seconds Check Duration: 0.013 seconds Last State Change: 03-08-2006 21:28:15 Current State Duration: 0d 13h 40m 1s Last Host Notification: N/A Current Notification Number: 0 Is This Host Flapping? N/A Percent State Change: N/A In Scheduled Downtime? YES Last Update: 04-08-2006 11:08:10 Active Checks: ENABLED Passive Checks: ENABLED Obsessing: ENABLED Notifications: ENABLED Event Handler: ENABLED Flap Detection: ENABLED But here is what the downtime.dat file reports (and for another host that was also subject to scheduled downtime and remains in it). hostdowntime { host_name=NBASW201 downtime_id=2 entry_time=1154600113 start_time=1154600014 end_time=1154610000 triggered_by=1 fixed=0 duration=10800 author=Peter Zafiris comment=Building Switch Move } hostdowntime { host_name=NBASW202 downtime_id=3 entry_time=1154600113 start_time=1154600014 end_time=1154610000 triggered_by=1 fixed=0 duration=10800 author=Peter Zafiris comment=Building Switch Move } The times are [root at acisf011 nagios]# perl -ne 'next unless /(\w+_time)=(\d+)/; print $1, "\t", localtime($2) . "\n"' downtime.dat entry_time Thu Aug 3 20:15:13 2006 start_time Thu Aug 3 20:13:34 2006 end_time Thu Aug 3 23:00:00 2006 entry_time Thu Aug 3 20:15:13 2006 start_time Thu Aug 3 20:13:34 2006 end_time Thu Aug 3 23:00:00 2006 entry_time Thu Aug 3 20:15:13 2006 start_time Thu Aug 3 20:13:34 2006 end_time Thu Aug 3 23:00:00 2006 entry_time Thu Aug 3 20:15:13 2006 start_time Thu Aug 3 20:13:34 2006 end_time Thu Aug 3 23:00:00 2006 entry_time Thu Aug 3 20:15:13 2006 start_time Thu Aug 3 20:13:34 2006 end_time Thu Aug 3 23:00:00 2006 [root at acisf011 nagios]# [root at acisf011 nagios]# date Fri Aug 4 11:05:04 EST 2006 [root at acisf011 nagios]# So all the end_times should have expired but the web interface in all the status screens is still reporting the hosts in scheduled downtime Yours sincerely, ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanleyhopcroft at gmail.com Fri Aug 4 04:12:09 2006 From: stanleyhopcroft at gmail.com (Stanley Hopcroft) Date: Fri, 4 Aug 2006 12:12:09 +1000 Subject: Good SEC rules for Cisco devices (to submit passive service check results). Message-ID: Dear Folks Could anyone point me at a list or archive of SEC (Simple Event Correlator rules) for Cisco devices (partic switches and routers. Not interested in IDS, PIX etc) ? There are situations that one would like to monitor that depend on sequences of events. It is not easy to see how a one-shot service check could react to the state of the event sometime before the current check. SEC on the other hand lets one react to events that consist of for example two log messages that occur within 5 minutes of each other. SEC allows very flexible responses once an event is recognised. It is easy for SEC to submit a passive service check result for example. To give a flavour of the power of this approach, Here are some syslog-ng messages showing an OSPF neighbour failure 156018 brurt200 syslog-notice 2006-08-02 02:16:45 134780: %OSPF-5-ADJCHG: Process 1, Nbr 10.255.255.23 on Tunnel0 from LOADING to FU LL, Loading Done 156017 mtart200 syslog-notice 2006-08-02 02:16:43 234: Aug 1 16:16:42: %OSPF-5-ADJCHG: Process 1, Nbr 10.255.255.23 on Tunnel0 from LOADING to FULL, Loading Done 155796 mtart200 syslog-notice 2006-08-02 01:40:49 231: Aug 1 15:40:49: %OSPF-5-ADJCHG: Process 1, Nbr 10.255.255.23 on Tunnel0 from FULL to DOWN, Neighbor Down: Dead timer expired 155795 brurt200 syslog-notice 2006-08-02 01:40:49 134777: %OSPF-5-ADJCHG: Process 1, Nbr 10.255.255.23 on Tunnel0 from FULL to DOWN, Neighbor Down: Dead timer expired It is quite clear that when in this case, both neighbours fail (the second pair) that the end node 10.255.255.23 is really kaput. Thank you, Yours sincerely. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arief_clan at yahoo.com Fri Aug 4 10:24:19 2006 From: arief_clan at yahoo.com (Arief Iqbal) Date: Fri, 4 Aug 2006 01:24:19 -0700 (PDT) Subject: Problem with define host Message-ID: <20060804082419.44610.qmail@web56015.mail.re3.yahoo.com> Hi, when verify nagios main configuration file, there's an error occur: Checking services... Error: Service check command '/usr/local/nagios/libexec/check_ping -H 192.168.87.100 -w 100.0,90% -c 200.0,60%' specified in service 'HTTP' for host 'test' notdefined anywhere! Checked 5 services. Checking hosts... Error: Contact group 'admins' specified in host 'test' is not defined anywhere! Checked 1 hosts. any advice will be very helpful for me :) thanks --------------------------------- Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Aug 4 12:37:22 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 04 Aug 2006 11:37:22 +0100 Subject: Externals Commands In-Reply-To: References: Message-ID: <44D32362.7040709@googlemail.com> Deborah Martin wrote: > look at your /usr/local/nagios/sbin directory and check a) file > permissions are correct and also whether your .htaccess authrization > file is present. > This error is generally caused by not correctly using .htaccess and > also not configuring apache properly - check your httpd.conf is > correctly configured > > > -----Original Message----- > *From:* Hari Sekhon [mailto:hpsekhon at googlemail.com] > *Sent:* 01 August 2006 14:14 > *To:* Martin J. Green > *Cc:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Externals Commands > > Martin J. Green wrote: >> >> I can't get external commands to work either (appears it can't >> write to the file for some reason), but its so low on my list of >> priorities I haven't gotten to it yet. >> >> ------------------------------------------------------------------------ >> >> *From:* nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] *On Behalf Of >> *Hari Sekhon >> *Sent:* 01 August 2006 13:48 >> *To:* nagios-users at lists.sourceforge.net >> *Subject:* [Nagios-users] Externals Commands >> >> I am having real difficulty getting external commands to work and >> don't full understand what's going wrong, despite having RTFMing >> several times. >> >> As an example, I log in to the web interface as nagiosadmin via >> basic apache auth successfully as usual. I go to "comments" in >> the left hand pane and enter one for a host but when I click >> submit, I get the error: >> >> "Sorry, but you are not authorized to commit the specified command. >> >> Read the section of the documentation that deals with >> authentication and authorization in the CGIs for more information. >> >> Return from whence you came" >> >> As far as I can tell, I have all the perms set right according to >> the docs: >> >> cgi.cfg >> >> use_authentication=1 >> authorized_for_system_information=nagiosadmin >> authorized_for_configuration_information=nagiosadmin >> authorized_for_system_commands=nagiosadmin >> authorized_for_all_services=nagiosadmin >> authorized_for_all_hosts=nagiosadmin >> authorized_for_all_service_commands=nagiosadmin >> authorized_for_all_host_commands=nagiosadmin >> >> nagios.cfg >> >> command_file=/var/nagios/rw/nagios.cmd >> check_external_commands=1 >> # NOTE: Setting this value to -1 causes Nagios to check the external >> # command file as often as possible. >> command_check_interval=-1 >> >> ll /var/nagios/ | grep rw/ >> drwxrws--- 2 nagios apache 4096 Aug 1 13:28 rw/ >> >> ll /var/nagios/rw/nagios.cmd >> prw-rw---- 1 nagios apache 0 Aug 1 13:28 /var/nagios/rw/nagios.cmd| >> >> The apache process is run by the apache user, a member of the >> apache group, so has full perms to the directory and the pipe >> file nagios.cmd. Nagios is run by nagios who is also a member of >> the apache group. >> >> This all looks as it should be according to the docs as far as I >> can see. >> >> What am I missing? >> >> >> Hari >> > > I think quite a lot of people have trouble with this but a lot > give up or are satisfied that the main bit is working and don't > bother with this... > > does anybody have this working and if so could you post your > configs so I can see anything you have different to me? > > are external commands generally broken or is there something > missing in the docs/our configs/our brains? > > I'm using Version 1.4.1 > > Hari > > ************************************************************************ > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. Any unauthorised distribution or copying is strictly > prohibited. Whilst Kognitio Limited takes steps to prevent the > transmission of viruses via e-mail, we can not guarantee that any > email or attachment is free from computer viruses and you are strongly > advised to undertake your own anti-virus precautions. Kognitio grants > no warranties regarding performance, use or quality of any e-mail or > attachment and undertakes no liability for loss or damage, howsoever > caused. > *********************************************************************** my .....nagios/sbin perms are 775 across the board and there is the same .htaccess file in there as in ...nagios/share according to the docs that should be enough to work. also, if I couldn't use the sbin then all the other stuff also wouldn't work because it all relies on the cgis to show status etc... -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Aug 4 12:38:55 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 04 Aug 2006 11:38:55 +0100 Subject: Externals Commands In-Reply-To: References: Message-ID: <44D323BF.70600@googlemail.com> Deborah Martin wrote: > can you forward the contents of the .htaccess file that resides in the > cgi-bin directory ? and a listing of the rest of the directory > including the permissions > > -----Original Message----- > *From:* Justin Craig [mailto:jrcraig.email at gmail.com] > *Sent:* 01 August 2006 14:46 > *To:* Deborah Martin > *Cc:* Hari Sekhon; Martin J. Green; nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Externals Commands > > i'm logged in as nagiosadmin and i have that username in all my > cgi's. I have the sameissue, can't schedule downtime or issue > external commands with the same error. I'm running nagios 2.4 > > > On 8/1/06, *Deborah Martin* > wrote: > > look at your /usr/local/nagios/sbin directory and check a) > file permissions are correct and also whether your .htaccess > authrization file is present. > This error is generally caused by not correctly using > .htaccess and also not configuring apache properly - check > your httpd.conf is correctly configured > > > -----Original Message----- > *From:* Hari Sekhon [mailto: hpsekhon at googlemail.com > ] > *Sent:* 01 August 2006 14:14 > *To:* Martin J. Green > *Cc:* nagios-users at lists.sourceforge.net > > *Subject:* Re: [Nagios-users] Externals Commands > > Martin J. Green wrote: >> >> I can't get external commands to work either (appears it >> can't write to the file for some reason), but its so low >> on my list of priorities I haven't gotten to it yet. >> >> ------------------------------------------------------------------------ >> >> *From:* nagios-users-bounces at lists.sourceforge.net >> [ >> mailto:nagios-users-bounces at lists.sourceforge.net] *On >> Behalf Of *Hari Sekhon >> *Sent:* 01 August 2006 13:48 >> *To:* nagios-users at lists.sourceforge.net >> >> *Subject: *[Nagios-users] Externals Commands >> >> I am having real difficulty getting external commands to >> work and don't full understand what's going wrong, >> despite having RTFMing several times. >> >> As an example, I log in to the web interface as >> nagiosadmin via basic apache auth successfully as usual. >> I go to "comments" in the left hand pane and enter one >> for a host but when I click submit, I get the error: >> >> "Sorry, but you are not authorized to commit the >> specified command. >> >> Read the section of the documentation that deals with >> authentication and authorization in the CGIs for more >> information. >> >> Return from whence you came" >> >> As far as I can tell, I have all the perms set right >> according to the docs: >> >> cgi.cfg >> >> use_authentication=1 >> authorized_for_system_information=nagiosadmin >> authorized_for_configuration_information=nagiosadmin >> authorized_for_system_commands=nagiosadmin >> authorized_for_all_services=nagiosadmin >> authorized_for_all_hosts=nagiosadmin >> authorized_for_all_service_commands=nagiosadmin >> authorized_for_all_host_commands=nagiosadmin >> >> nagios.cfg >> >> command_file=/var/nagios/rw/nagios.cmd >> check_external_commands=1 >> # NOTE: Setting this value to -1 causes Nagios to check >> the external >> # command file as often as possible. >> command_check_interval=-1 >> >> ll /var/nagios/ | grep rw/ >> drwxrws--- 2 nagios apache 4096 Aug 1 13:28 rw/ >> >> ll /var/nagios/rw/nagios.cmd >> prw-rw---- 1 nagios apache 0 Aug 1 13:28 >> /var/nagios/rw/nagios.cmd| >> >> The apache process is run by the apache user, a member of >> the apache group, so has full perms to the directory and >> the pipe file nagios.cmd. Nagios is run by nagios who is >> also a member of the apache group. >> >> This all looks as it should be according to the docs as >> far as I can see. >> >> What am I missing? >> >> >> Hari >> > > I think quite a lot of people have trouble with this but a > lot give up or are satisfied that the main bit is working > and don't bother with this... > > does anybody have this working and if so could you post > your configs so I can see anything you have different to me? > > are external commands generally broken or is there > something missing in the docs/our configs/our brains? > > I'm using Version 1.4.1 > > Hari > > ************************************************************************ > This email and any files transmitted with it are confidential > and intended solely for the use of the individual or entity to > whom they are addressed. Any unauthorised distribution or > copying is strictly prohibited. Whilst Kognitio Limited takes > steps to prevent the transmission of viruses via e-mail, we > can not guarantee that any email or attachment is free from > computer viruses and you are strongly advised to undertake > your own anti-virus precautions. Kognitio grants no warranties > regarding performance, use or quality of any e-mail or > attachment and undertakes no liability for loss or damage, > howsoever caused. > *********************************************************************** > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance > to share your > opinions on IT & business topics through brief surveys -- and > earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > -- > - Justin > forgot to show my .htaccess which is: AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users AuthGroupFile /etc/nagios/htpasswd.group require group nagios and the perms for the dir are: ll /usr/nagios/sbin/ total 2128 -rwxrwxr-x 1 nagios nagios 151388 Jul 3 09:12 avail.cgi* -rwxrwxr-x 1 nagios nagios 153044 Jul 3 09:12 cmd.cgi* -rwxrwxr-x 1 nagios nagios 119228 Jul 3 09:12 config.cgi* -rwxr-xr-x 1 nagios nagios 11100 Jul 3 09:12 daemonchk.cgi* -rwxrwxr-x 1 nagios nagios 165584 Jul 3 09:12 extinfo.cgi* -rwxrwxr-x 1 nagios nagios 130364 Jul 3 09:12 histogram.cgi* -rwxrwxr-x 1 nagios nagios 112216 Jul 3 09:12 history.cgi* -rwxrwxr-x 1 nagios nagios 107960 Jul 3 09:12 notifications.cgi* -rwxrwxr-x 1 nagios nagios 106232 Jul 3 09:12 outages.cgi* -rwxrwxr-x 1 nagios nagios 108344 Jul 3 09:12 showlog.cgi* -rwxrwxr-x 1 nagios nagios 153780 Jul 3 09:12 status.cgi* -rwxrwxr-x 1 nagios nagios 134584 Jul 3 09:12 statusmap.cgi* -rwxrwxr-x 1 nagios nagios 122044 Jul 3 09:12 statuswml.cgi* -rwxrwxr-x 1 nagios nagios 115800 Jul 3 09:12 statuswrl.cgi* -rwxrwxr-x 1 nagios nagios 126140 Jul 3 09:12 summary.cgi* -rwxrwxr-x 1 nagios nagios 130964 Jul 3 09:12 tac.cgi* -rwxr-xr-x 1 nagios nagios 1480 Jul 3 09:12 traceroute.cgi* -rwxrwxr-x 1 nagios nagios 132764 Jul 3 09:12 trends.cgi* -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Aug 4 12:48:15 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 04 Aug 2006 11:48:15 +0100 Subject: Externals Commands In-Reply-To: <1154460110.20878.3.camel@localhost> References: <5F54491268C784439D51B163322EE58C2F7B6B@gorilla.hq.altien.com> <44CF538D.7040200@googlemail.com> <1154460110.20878.3.camel@localhost> Message-ID: <44D325EF.7070605@googlemail.com> Marcel Mitsuto Fucatu Sugano wrote: > On Tue, 2006-08-01 at 14:13 +0100, Hari Sekhon wrote: > >> are external commands generally broken or is there something missing >> in the docs/our configs/our brains? >> > > With my install just following the docs was all I needed to get > everything up and running. > > What OS are your running? Anything strange at apache errorlog? > > HTH, > > > AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. > > NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. > > I'm tailing the apache logs as I am trying to add a host comment and getting the rejected, all that is in the logs is: 192.168.1.5 - nagiosadmin [04/Aug/2006:11:47:48 +0100] "GET /nagios/cgi-bin/cmd.cgi?cmd_typ=1 HTTP/1.1" 200 3011 192.168.1.5 - nagiosadmin [04/Aug/2006:11:47:48 +0100] "GET /nagios/stylesheets/cmd.css HTTP/1.1" 304 - 192.168.1.5 - nagiosadmin [04/Aug/2006:11:47:59 +0100] "POST /nagios/cgi-bin/cmd.cgi HTTP/1.1" 200 1250 I am tailing both the access and error logs and this is all I get! Not very helpful in telling me how or where or if even permission was denied by apache auth... It doesn't see to be the apache auth that is failing... -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Fri Aug 4 14:36:03 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Fri, 4 Aug 2006 07:36:03 -0500 Subject: Warning threshold must be float or float triplet! {Disarmed} {Fraud?} In-Reply-To: References: Message-ID: contents of /tmp/nagios /usr/local/nagios/libexec/check_load -w 5.0,4.0,3.0 -c 10.0,6.0,4.0 /usr/local/nagios/libexec/check_load -w -c /usr/local/nagios/libexec/check_load -w 5.0,4.0,3.0 -c 10.0,6.0,4.0 /usr/local/nagios/libexec/check_load -w -c /usr/local/nagios/libexec/check_load -w 5.0,4.0,3.0 -c 10.0,6.0,4.0 /usr/local/nagios/libexec/check_load -w -c /usr/local/nagios/libexec/check_load -w 5.0,4.0,3.0 -c 10.0,6.0,4.0 /usr/local/nagios/libexec/check_load -w -c So whatever you had me do, made the host down go away for the nagios host. When I sent the reload command however, all hosts start showing down. I have to stop nagios and kill the daemon running, the start it again before it will recognize the host services again. This causes major problems as it doesn't reflect current uptime in reports. Any ideas here? Another issue that could play into this, I still can't schedule downtime b/c I can't isue external commands. Someone mentioned htaccess files, but I have my httpd.conf file with the same contents. On 8/3/06, Marc Powell wrote: > > 'nagios' is a file in '/tmp'. It's contents are modified every time > check_local_load is executed if you've followed my directions. > > cd /tmp > cat nagios > > -- > Marc > > > -----Original Message----- > > From: Justin Craig [mailto:jrcraig.email at gmail.com] > > Sent: Thursday, August 03, 2006 8:57 AM > > To: Marc Powell > > Cc: Nagios Users Mailinglist > > Subject: Re: [Nagios-users] Warning threshold must be float or float > > triplet! {Disarmed} {Fraud?} > > > > sorry, where is my /tmp/nagios directory. I do a find / -name > > */tmp/nagios* I don't see anything. > > > > > > On 8/2/06, Marc Powell wrote: > > > > > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net > > users-bounces at lists.sourceforge.net> [mailto:nagios-users- > > > bounces at lists.sourceforge.net] On Behalf Of Justin Craig > > > Sent: Wednesday, August 02, 2006 3:36 PM > > > To: Marc Powell > > > Cc: Nagios Users Mailinglist > > > Subject: Re: [Nagios-users] Warning threshold must be float or > > float > > > triplet! {Disarmed} {Fraud?} > > > > > > I sent the reload command and basically nagios is now telling > me > > 30 > > hosts > > > are down and that number is increasing? This is a problem. > why > > does > > this > > > > What does the status information for the down hosts/services > say. > > That'll be a primary indicator of why it's happening. I can't > begin > > to > > guess. > > > > > happen? And back to my original issue, nagios itself is still > > showing > > > down. I modified the command as you suggested, how do I > verify > > that? > > > > Look at the contents of /tmp/nagios. It should contain the > command > > line > > that nagios would have executed for the check_local_load > service. > > Can > > you successfully run that from the command line as the nagios > user? > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Aug 4 15:23:07 2006 From: marc at ena.com (Marc Powell) Date: Fri, 4 Aug 2006 08:23:07 -0500 Subject: Problem with define host Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Arief Iqbal > Sent: Friday, August 04, 2006 3:24 AM > To: nagios milis > Subject: [Nagios-users] Problem with define host > > Hi, > > when verify nagios main configuration file, there's an error occur: > > Checking services... > Error: Service check command '/usr/local/nagios/libexec/check_ping -H > 192.168.87.100 -w 100.0,90% -c 200.0,60%' specified in service 'HTTP' for > host 'test' notdefined anywhere! > Checked 5 services. > Checking hosts... > Error: Contact group 'admins' specified in host 'test' is not defined > anywhere! > Checked 1 hosts. > > any advice will be very helpful for me :) Without seeing specific configuration sections, it would appear that you've specified a check_command in your HTTP service{} definition for host 'test' to be '/usr/local/nagios/libexec/check_ping -H 192.168.87.100 -w 100.0,90% -c 200.0,60%". That is no longer supported syntax. The check_command should be the short name of a command{} definition that uses that plugin command line as it's command_line. See the documentation at http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service and http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#command as well as the sample configuration files included with the distribution. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nazark at auska.com Fri Aug 4 15:24:05 2006 From: nazark at auska.com (Nazar Kulynych) Date: Fri, 04 Aug 2006 09:24:05 -0400 Subject: Separate config files Message-ID: <44D34A75.7070605@auska.com> Is it possible to separate hostgroups into different files. For example, I would like to have production hosts in one config file and development hosts in another. if so how, Thanks! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Aug 4 15:27:22 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 04 Aug 2006 14:27:22 +0100 Subject: Separate config files In-Reply-To: <44D34A75.7070605@auska.com> References: <44D34A75.7070605@auska.com> Message-ID: <44D34B3A.4040208@googlemail.com> Nazar Kulynych wrote: > Is it possible to separate hostgroups into different files. > For example, I would like to have production hosts in one config file > and development hosts in another. > > if so how, > > Thanks! > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > yes, just source the extra files in your nagios.cfg like so cfg_file=/path/to/some.cfg -h ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Aug 4 15:27:42 2006 From: marc at ena.com (Marc Powell) Date: Fri, 4 Aug 2006 08:27:42 -0500 Subject: Separate config files Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nazar Kulynych > Sent: Friday, August 04, 2006 8:24 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Separate config files > > Is it possible to separate hostgroups into different files. > For example, I would like to have production hosts in one config file > and development hosts in another. Yes, certainly. Create a new file, move your desired hostgroup definitions to it, include it as a cfg_file in nagios.cfg and restart nagios. --- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Fri Aug 4 16:40:47 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Fri, 4 Aug 2006 07:40:47 -0700 Subject: Separate config files In-Reply-To: References: Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD44401A7@raptor.redhawk.info> I have used the cfg_dir. My Nagios config looks like: cfg_dir=/usr/local/nagios/etc/hostgroups In the directory, I have multiple hostgroup files. Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Friday, August 04, 2006 6:28 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Separate config files > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nazar Kulynych > Sent: Friday, August 04, 2006 8:24 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Separate config files > > Is it possible to separate hostgroups into different files. > For example, I would like to have production hosts in one config file > and development hosts in another. Yes, certainly. Create a new file, move your desired hostgroup definitions to it, include it as a cfg_file in nagios.cfg and restart nagios. --- Marc ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Aug 4 16:48:22 2006 From: marc at ena.com (Marc Powell) Date: Fri, 4 Aug 2006 09:48:22 -0500 Subject: Warning threshold must be float or float triplet! Message-ID: > -----Original Message----- > From: Justin Craig [mailto:jrcraig.email at gmail.com] > Sent: Friday, August 04, 2006 7:36 AM > To: Marc Powell > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Warning threshold must be float or float > triplet! > > contents of /tmp/nagios > > /usr/local/nagios/libexec/check_load -w 5.0,4.0,3.0 -c 10.0,6.0,4.0 > /usr/local/nagios/libexec/check_load -w -c > /usr/local/nagios/libexec/check_load -w 5.0,4.0,3.0 -c 10.0,6.0,4.0 > /usr/local/nagios/libexec/check_load -w -c > /usr/local/nagios/libexec/check_load -w 5.0,4.0,3.0 -c 10.0,6.0,4.0 > /usr/local/nagios/libexec/check_load -w -c > /usr/local/nagios/libexec/check_load -w 5.0,4.0,3.0 -c 10.0,6.0,4.0 > /usr/local/nagios/libexec/check_load -w -c > > > So whatever you had me do, made the host down go away for the nagios host. Well, because nagios isn't really running the check_load command. The file above contains the command line(s) that nagios would have run for check_local_load. As you can see, every other time it runs it the arguments are missing. I can only think of two reasons why this would be. 1) You have two similar, but not identical service definitions for that host that both use the check_local_load command. One is defined properly, one is not. Search your configs for references to check_local_load. Remove or correct the duplicate. 2) You have multiple nagios daemons running, one with check_local_load properly defined, one without. Stop nagios, use ps to verify that all are dead, kill any that might remain and restart nagios. Once you find the cause you'll need to remove 'echo " ... ">>/tmp/nagios' stuff I had you add to the check_local_load command definition so that nagios will actually run the command again. > > When I sent the reload command however, all hosts start showing down. I > have to stop nagios and kill the daemon running, the start it again before > it will recognize the host services again. This causes major problems as > it doesn't reflect current uptime in reports. Any ideas here? No, but I don't have enough information. Why are they showing down (i.e. what's the Status Information)? An example host/service/command definition would probably be helpful. > Another issue that could play into this, I still can't schedule downtime > b/c I can't isue external commands. Someone mentioned htaccess files, but > I have my httpd.conf file with the same contents. Did you create your .htaccess/.htpasswd files? Review the documentation at http://nagios.sourceforge.net/docs/2_0/cgiauth.html and http://nagios.sourceforge.net/docs/2_0/installweb.html. Make sure you've followed all the steps. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at trelvik.net Fri Aug 4 23:05:37 2006 From: tom at trelvik.net (Tom Trelvik) Date: Fri, 4 Aug 2006 17:05:37 -0400 Subject: NRPE no output returned from plugin Message-ID: <82a5ca600608041405x52851105kc0657f10931c89f7@mail.gmail.com> So I'm having a bit of trouble setting up NRPE for the first time. I'm fairly certain things are working as intended on the remote host because from the Nagios system I can do this: $ /usr/lib/nagios/plugins/check_nrpe -H my.host.name -c check_disk_root DISK OK - free space: / 14843 MB (50%);| But when Nagios attempts to check this, it reports "(No output returned from plugin)". In my services.cfg file, I'm trying to use this service (copied from other working services that only specify the "use", "host_name", "service_description" and "check_command" lines): define service{ use generic-service host_name my.host.name service_description / Free Space max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_command check_nrpe!check_disk_root } Nagios is running on an updated debian box with everything installed via apt, but the remote system is running Red Hat Enterprise Linux 3, and had NRPE and its dependencies installed via rpm. Any suggestions for how I should go about troubleshooting something like this? I'd really appreciate any pointers that come to mind! Thanks! Tom ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri Aug 4 23:07:18 2006 From: jhmartin at toger.us (Jason Martin) Date: Fri, 4 Aug 2006 14:07:18 -0700 Subject: NRPE no output returned from plugin In-Reply-To: <82a5ca600608041405x52851105kc0657f10931c89f7@mail.gmail.com> References: <82a5ca600608041405x52851105kc0657f10931c89f7@mail.gmail.com> Message-ID: <20060804210718.GD31323@mal.toger.us> On Fri, Aug 04, 2006 at 05:05:37PM -0400, Tom Trelvik wrote: > So I'm having a bit of trouble setting up NRPE for the first time. > I'm fairly certain things are working as intended on the remote host > because from the Nagios system I can do this: > > $ /usr/lib/nagios/plugins/check_nrpe -H my.host.name -c check_disk_root > DISK OK - free space: / 14843 MB (50%);| > > But when Nagios attempts to check this, it reports "(No output > returned from plugin)". > > In my services.cfg file, I'm trying to use this service (copied from > other working services that only specify the "use", "host_name", > "service_description" and "check_command" lines): What is the definition of check_nrpe? -Jason Martin -- People say I'm apathetic, but I don't care. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Aug 4 23:10:07 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 4 Aug 2006 14:10:07 -0700 Subject: NRPE no output returned from plugin In-Reply-To: <82a5ca600608041405x52851105kc0657f10931c89f7@mail.gmail.com> References: <82a5ca600608041405x52851105kc0657f10931c89f7@mail.gmail.com> Message-ID: <20060804211007.GA10109@hermes.americas.hpqcorp.net> On Fri, 04 Aug 2006, Tom Trelvik wrote: > So I'm having a bit of trouble setting up NRPE for the first time. > I'm fairly certain things are working as intended on the remote host > because from the Nagios system I can do this: > > $ /usr/lib/nagios/plugins/check_nrpe -H my.host.name -c check_disk_root > DISK OK - free space: / 14843 MB (50%);| > > But when Nagios attempts to check this, it reports "(No output > returned from plugin)". > > In my services.cfg file, I'm trying to use this service (copied from > other working services that only specify the "use", "host_name", > "service_description" and "check_command" lines): > > define service{ > use generic-service > host_name my.host.name > service_description / Free Space > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > check_command check_nrpe!check_disk_root > } What does your check_nrpe command look like? Is it doing exactly the same thing as the command you typed on the command line? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdaily at apparatus.net Fri Aug 4 23:13:27 2006 From: jdaily at apparatus.net (John R. Daily) Date: Fri, 4 Aug 2006 17:13:27 -0400 Subject: NRPE no output returned from plugin In-Reply-To: <82a5ca600608041405x52851105kc0657f10931c89f7@mail.gmail.com> References: <82a5ca600608041405x52851105kc0657f10931c89f7@mail.gmail.com> Message-ID: I love NRPE because, unlike the Nagios daemon, it provides robust debugging output. Turn on debugging in your nrpe.cfg and set up syslog to dump it somewhere. (I refer *.debug to /var/log/debug.log.) Of course, you may not be talking to NRPE at all, in which case the above won't do much other than limit the scope of your enquiry. Make sure that both sides agree on whether you're using encryption or not. -John On Aug 4, 2006, at 5:05 PM, Tom Trelvik wrote: > So I'm having a bit of trouble setting up NRPE for the first time. > I'm fairly certain things are working as intended on the remote host > because from the Nagios system I can do this: > > $ /usr/lib/nagios/plugins/check_nrpe -H my.host.name -c > check_disk_root > DISK OK - free space: / 14843 MB (50%);| > > But when Nagios attempts to check this, it reports "(No output > returned from plugin)". > > In my services.cfg file, I'm trying to use this service (copied from > other working services that only specify the "use", "host_name", > "service_description" and "check_command" lines): > > define service{ > use generic-service > host_name my.host.name > service_description / Free Space > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > check_command check_nrpe!check_disk_root > } > > Nagios is running on an updated debian box with everything installed > via apt, but the remote system is running Red Hat Enterprise Linux 3, > and had NRPE and its dependencies installed via rpm. > > Any suggestions for how I should go about troubleshooting something > like this? > > I'd really appreciate any pointers that come to mind! Thanks! > > Tom > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys -- and earn > cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.mckee at gmail.com Sat Aug 5 04:26:42 2006 From: brian.mckee at gmail.com (Brian McKee) Date: Fri, 4 Aug 2006 22:26:42 -0400 Subject: Down does not change to unreachable? Message-ID: <200608042226.47588.brian.mckee@gmail.com> Hi All I sent a variation on this note a couple of weeks back that no-one commented on at the time. I have confirmed the behaviour again this week so I thought I'd reword my comments and put it out again. If a host goes down, *then* it's parent goes down, shouldn't the host's status change to unreachable? That isn't happening for me. I'm still getting host down messages from the original host. If the parent goes down first it acts as I expect, and I only receive notices about the parent. If my expectations are wrong, are there any work arounds? If my expectations are right, is this a known bug? or fixed in 2.5? Comments appreciated, Brian -- If your Internet access seems sluggish, just blame slow readers at the National Security Agency - Robert X Cringley -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtownrobbrown at gmail.com Sun Aug 6 02:29:29 2006 From: dtownrobbrown at gmail.com (Rob Brown) Date: Sat, 5 Aug 2006 17:29:29 -0700 Subject: checking if notifications are disabled Message-ID: Does anyone have a simple way to check whether or not notifications are disabled? Preferrably from the command line. Occasionaly I or one of my colleages will disable notifications during an outage or something and forget to turn them back on. I want to write a check that sends an alert if notifications are disabled for more than say, an hour. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Sun Aug 6 02:45:27 2006 From: jhmartin at toger.us (Jason Martin) Date: Sat, 5 Aug 2006 17:45:27 -0700 Subject: checking if notifications are disabled In-Reply-To: References: Message-ID: <20060806004527.GI31323@mal.toger.us> On Sat, Aug 05, 2006 at 05:29:29PM -0700, Rob Brown wrote: > Does anyone have a simple way to check whether or not notifications are > disabled? Preferrably from the command line. You should be able to parse the status file for that data. -Jason Martin -- .ASM programmers drive stick shifts. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sun Aug 6 04:46:44 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 5 Aug 2006 22:46:44 -0400 Subject: checking if notifications are disabled In-Reply-To: References: Message-ID: > Does anyone have a simple way to check whether or not > notifications are disabled? Preferrably from the command line. > Occasionaly I or one of my colleages will disable > notifications during an outage or something and forget to > turn them back on. > I want to write a check that sends an alert if notifications > are disabled for more than say, an hour. Globally, or on a per-service basis? Globally's a piece of cake, even if you don't want to dig through the status files. Use the check_http plugin and look for "Notifications Enabled" or "Notifications Disabled" (the alt text of the enabled/disabled image) in the output of tac.cgi. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gardealuis at gmail.com Sun Aug 6 17:47:32 2006 From: gardealuis at gmail.com (Luis Gardea) Date: Sun, 6 Aug 2006 09:47:32 -0600 Subject: update nagios to 2.5 version Message-ID: <44f056cc0608060847m652c70c3o7b0d1fc308c867a6@mail.gmail.com> Hi I've running nagios 2.0b but I want update to 2.5 How to it? Exit documentation about it? I don't lost my information becuase I had run nagios one year ago SO fedora C3 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sun Aug 6 17:56:21 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sun, 6 Aug 2006 11:56:21 -0400 Subject: update nagios to 2.5 version In-Reply-To: <44f056cc0608060847m652c70c3o7b0d1fc308c867a6@mail.gmail.com> References: <44f056cc0608060847m652c70c3o7b0d1fc308c867a6@mail.gmail.com> Message-ID: > I've running nagios 2.0b but I want update to 2.5 > How to it? Exit documentation about it? > I don't lost my information becuase I had run nagios one year ago > SO fedora C3 You haven't said anything about how your existing installation was done, so it's difficult to say the best way to update it. On my Red Hat systems, I built a new RPM from my old spec file, installed it, and restarted Nagios. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Aug 6 23:28:32 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 6 Aug 2006 23:28:32 +0200 (CEST) Subject: update nagios to 2.5 version In-Reply-To: <44f056cc0608060847m652c70c3o7b0d1fc308c867a6@mail.gmail.com> References: <44f056cc0608060847m652c70c3o7b0d1fc308c867a6@mail.gmail.com> Message-ID: On Sun, 6 Aug 2006, Luis Gardea wrote: > I've running nagios 2.0b but I want update to 2.5 > > How to it? Exit documentation about it? > > I don't lost my information becuase I had run nagios one year ago > > SO fedora C3 And just how did you install the first time? Backup you config directory and log/state files and play it again Sam. But the backup is just to be extremely and overly cautious. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sebastian.krueger at integrationworks.co.nz Sun Aug 6 23:54:50 2006 From: sebastian.krueger at integrationworks.co.nz (sebastian krueger) Date: Mon, 7 Aug 2006 09:54:50 +1200 Subject: Problem with define host In-Reply-To: <20060804082419.44610.qmail@web56015.mail.re3.yahoo.com> References: <20060804082419.44610.qmail@web56015.mail.re3.yahoo.com> Message-ID: <005501c6b9a2$f21b8c50$690a11ac@FRANKFURT> Looks like you specified a contact group that doesn't exist in your "test" host. Create one a contact group and your problem will likely go away. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contactgroup Sebastian. _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Arief Iqbal Sent: Friday, August 04, 2006 8:24 PM To: nagios milis Subject: [Nagios-users] Problem with define host Hi, when verify nagios main configuration file, there's an error occur: Checking services... Error: Service check command '/usr/local/nagios/libexec/check_ping -H 192.168.87.100 -w 100.0,90% -c 200.0,60%' specified in service 'HTTP' for host 'test' notdefined anywhere! Checked 5 services. Checking hosts... Error: Contact group 'admins' specified in host 'test' is not defined anywhere! Checked 1 hosts. any advice will be very helpful for me :) thanks _____ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sebastian.krueger at integrationworks.co.nz Sun Aug 6 23:55:16 2006 From: sebastian.krueger at integrationworks.co.nz (sebastian krueger) Date: Mon, 7 Aug 2006 09:55:16 +1200 Subject: Separate config files In-Reply-To: <44D34A75.7070605@auska.com> References: <44D34A75.7070605@auska.com> Message-ID: <005a01c6b9a3$01b78510$690a11ac@FRANKFURT> Sure, you can have separate config file. You can specify as many config files as you want in your nagios.cfg. cfg_file=/some/file Alternatively you can specify directories in which all your *.cfg files will be loaded. cfg_dir=/usr/local/nagios/etc/server Sebastian. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Nazar Kulynych Sent: Saturday, August 05, 2006 1:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Separate config files Is it possible to separate hostgroups into different files. For example, I would like to have production hosts in one config file and development hosts in another. if so how, Thanks! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sebastian.krueger at integrationworks.co.nz Sun Aug 6 23:57:07 2006 From: sebastian.krueger at integrationworks.co.nz (sebastian krueger) Date: Mon, 7 Aug 2006 09:57:07 +1200 Subject: NRPE no output returned from plugin In-Reply-To: <82a5ca600608041405x52851105kc0657f10931c89f7@mail.gmail.com> References: <82a5ca600608041405x52851105kc0657f10931c89f7@mail.gmail.com> Message-ID: <005b01c6b9a3$43e7cb70$690a11ac@FRANKFURT> You could try these two tips from the faq to see if your configs have errors: http://www.nagios.org/faqs/viewfaq.php?faq_id=162 http://www.nagios.org/faqs/viewfaq.php?faq_id=40&expand=false&showdesc=false Sebastian. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Tom Trelvik Sent: Saturday, August 05, 2006 9:06 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE no output returned from plugin So I'm having a bit of trouble setting up NRPE for the first time. I'm fairly certain things are working as intended on the remote host because from the Nagios system I can do this: $ /usr/lib/nagios/plugins/check_nrpe -H my.host.name -c check_disk_root DISK OK - free space: / 14843 MB (50%);| But when Nagios attempts to check this, it reports "(No output returned from plugin)". In my services.cfg file, I'm trying to use this service (copied from other working services that only specify the "use", "host_name", "service_description" and "check_command" lines): define service{ use generic-service host_name my.host.name service_description / Free Space max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_command check_nrpe!check_disk_root } Nagios is running on an updated debian box with everything installed via apt, but the remote system is running Red Hat Enterprise Linux 3, and had NRPE and its dependencies installed via rpm. Any suggestions for how I should go about troubleshooting something like this? I'd really appreciate any pointers that come to mind! Thanks! Tom ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sebastian.krueger at integrationworks.co.nz Mon Aug 7 00:01:31 2006 From: sebastian.krueger at integrationworks.co.nz (sebastian krueger) Date: Mon, 7 Aug 2006 10:01:31 +1200 Subject: checking if notifications are disabled In-Reply-To: References: Message-ID: <005c01c6b9a3$e3a09e80$690a11ac@FRANKFURT> I am not aware of any such plugin, but it would be easy enough to write a plugin that does that yourself in perl. You could parse the http://hostname/nagios/cgi-bin/config.cgi?type=hosts and http://hostname/nagios/cgi-bin/config.cgi?type=services and make sure that plugins are enabled. Of course it would be tricky with the one hour time difference, not that I think of it. Maybe you could use escalations somehow? Not sure about that though. Alternatively you might want to choose the "Re-schedule the next check of this host" Host Command instead of disabling all notifications permanently. There are surely other ways too, but that's what I can think of off the top of my head. Good luck, Sebastian. _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Rob Brown Sent: Sunday, August 06, 2006 12:29 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] checking if notifications are disabled Does anyone have a simple way to check whether or not notifications are disabled? Preferrably from the command line. Occasionaly I or one of my colleages will disable notifications during an outage or something and forget to turn them back on. I want to write a check that sends an alert if notifications are disabled for more than say, an hour. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arief_clan at yahoo.com Mon Aug 7 10:19:18 2006 From: arief_clan at yahoo.com (Arief Iqbal) Date: Mon, 7 Aug 2006 01:19:18 -0700 (PDT) Subject: How to Display Status Map??? Message-ID: <20060807081918.33649.qmail@web56003.mail.re3.yahoo.com> Hi, Can somebody tell me how to display CGI (status, status map, etc) in my nagios web interface? I've set all of things in cgi.cfg but there's no display appear at all in my nagios web interface. Hope u can help me to solve my problem. thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mramos at co.sapo.pt Mon Aug 7 12:51:56 2006 From: mramos at co.sapo.pt (Marco Ramos) Date: Mon, 07 Aug 2006 11:51:56 +0100 Subject: How to Display Status Map??? In-Reply-To: <20060807081918.33649.qmail@web56003.mail.re3.yahoo.com> References: <20060807081918.33649.qmail@web56003.mail.re3.yahoo.com> Message-ID: <1154947916.4387.17.camel@dhcppc1> Hi, On Mon, 2006-08-07 at 01:19 -0700, Arief Iqbal wrote: > Hi, > > Can somebody tell me how to display CGI (status, status map, etc) in > my nagios web interface? I've set all of things in cgi.cfg but there's > no display appear at all in my nagios web interface. Hope u can help > me to solve my problem. try to do a ldd to your statusmap.cgi. I'm guessing that you haven't installed libgd, libpng or libjpg. HTH, Marco Ramos > thanks > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jorg.Schulz at systeam.se Mon Aug 7 13:07:32 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Mon, 7 Aug 2006 13:07:32 +0200 Subject: Strange behavior after update nagios2.3 -> Nagios 2.5 - Notification Message-ID: Hi Nagios : 2.5 Linux OS: CRUX 2.2 Plugins: 1.4.2 After update of Nagios from 2.3 to 2.5 i got a strange behavior in the Host Notification. When i get the mail it looks like ""*****""Nagios""MESSAGE""*****nnNotification""Type:""PROBLEMnHost:""TERMINAL-LINJE05nState:""DOWNnAddress:""XXX.XXX.XXX.XXXnInfo:""CRITICAL""-""Plugin""timed""out""after""10""secondsnnDate/Time:""Mon""Aug""7""10:58:22""CEST""2006n"" In the subject i just have "Host Hm.,maybe a syntax error ......in my misccommands ??? Thanks for help /jorg Mvh J?rg Schulz Senior Konsult Linux/Unix/Novell/Windows/Networking SYSteam Kalmar AB Str?mgatan 15 Box 99 S-391 21 Kalmar Direkt 0480-456638 Mobil 0708-157806 E-Post jorg.schulz at systeam.se http:// www.systeam.se -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gardealuis at gmail.com Mon Aug 7 16:52:15 2006 From: gardealuis at gmail.com (Luis Gardea) Date: Mon, 7 Aug 2006 08:52:15 -0600 Subject: update nagios to 2.5 version In-Reply-To: References: <44f056cc0608060847m652c70c3o7b0d1fc308c867a6@mail.gmail.com> Message-ID: <44f056cc0608070752u54ba0dd5ifbd01504c9fa9412@mail.gmail.com> Hello I followed the steps of the guide Version 2.0 Documentation tar xzf nagios-version.tar.gz mkdir /usr/local/nagios chown nagios.nagios /usr/local/nagios . . . . thanks for advice On 8/6/06, Hugo van der Kooij wrote: > On Sun, 6 Aug 2006, Luis Gardea wrote: > > > I've running nagios 2.0b but I want update to 2.5 > > > > How to it? Exit documentation about it? > > > > I don't lost my information becuase I had run nagios one year ago > > > > SO fedora C3 > > And just how did you install the first time? > > Backup you config directory and log/state files and play it again Sam. But > the backup is just to be extremely and overly cautious. > > Hugo. > > -- > I hate duplicates. Just reply to the relevant mailinglist. > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > Don't meddle in the affairs of magicians, > for they are subtle and quick to anger. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Aug 7 17:17:43 2006 From: marc at ena.com (Marc Powell) Date: Mon, 7 Aug 2006 10:17:43 -0500 Subject: update nagios to 2.5 version Message-ID: Untar the new sources. Cd {new source dir}; ./configure (using the same options as before); make all; /etc/init.d/nagios stop; make install; /etc/init.d/nagios start -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Luis Gardea > Sent: Monday, August 07, 2006 9:52 AM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] update nagios to 2.5 version > > Hello > > I followed the steps of the guide Version 2.0 Documentation > > tar xzf nagios-version.tar.gz > mkdir /usr/local/nagios > chown nagios.nagios /usr/local/nagios > . > . > . > . > > thanks for advice > > > On 8/6/06, Hugo van der Kooij wrote: > > On Sun, 6 Aug 2006, Luis Gardea wrote: > > > > > I've running nagios 2.0b but I want update to 2.5 > > > > > > How to it? Exit documentation about it? > > > > > > I don't lost my information becuase I had run nagios one year ago > > > > > > SO fedora C3 > > > > And just how did you install the first time? > > > > Backup you config directory and log/state files and play it again Sam. > But > > the backup is just to be extremely and overly cautious. > > > > Hugo. > > > > -- > > I hate duplicates. Just reply to the relevant mailinglist. > > hvdkooij at vanderkooij.org > http://hvdkooij.xs4all.nl/ > > Don't meddle in the affairs of magicians, > > for they are subtle and quick to anger. > > > > ------------------------------------------------------------------------ > - > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys -- and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------ - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gardealuis at gmail.com Mon Aug 7 17:36:50 2006 From: gardealuis at gmail.com (Luis Gardea) Date: Mon, 7 Aug 2006 09:36:50 -0600 Subject: check oracle Message-ID: <44f056cc0608070836s68e8b29dqf8937dba54234bac@mail.gmail.com> Hello what do I have install in my nagios server and oracle server to check oracle? I need some client in nagios server to do that? I have use the check_oracle but don't start. [root at netids libexec]# ./check_oracle -tns 148.210.20.33 Cannot determine ORACLE_HOME for sid 148.210.20.33 nagios server FC3 nagios 2.0b nagios-plugins-1.4-2.1 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Mon Aug 7 17:56:03 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 07 Aug 2006 16:56:03 +0100 Subject: check oracle In-Reply-To: <44f056cc0608070836s68e8b29dqf8937dba54234bac@mail.gmail.com> References: <44f056cc0608070836s68e8b29dqf8937dba54234bac@mail.gmail.com> Message-ID: <44D76293.7040409@googlemail.com> Luis Gardea wrote: > Hello > > what do I have install in my nagios server and oracle server to check oracle? > > I need some client in nagios server to do that? > > I have use the check_oracle but don't start. > > [root at netids libexec]# ./check_oracle -tns 148.210.20.33 > Cannot determine ORACLE_HOME for sid 148.210.20.33 > > > nagios server > FC3 > nagios 2.0b > nagios-plugins-1.4-2.1 > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > try check_oracle --login sidname you may need $ORACLE_HOME set for this. also you need sqlplus installed and working first. -h ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gardealuis at gmail.com Mon Aug 7 18:20:39 2006 From: gardealuis at gmail.com (Luis Gardea) Date: Mon, 7 Aug 2006 10:20:39 -0600 Subject: Nagios redundancy Message-ID: <44f056cc0608070920y37719585peeb818c2e03e8c39@mail.gmail.com> Hello How Can I have redundancy in my nagios server? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Mon Aug 7 18:37:15 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Mon, 07 Aug 2006 13:37:15 -0300 Subject: Nagios redundancy In-Reply-To: <44f056cc0608070920y37719585peeb818c2e03e8c39@mail.gmail.com> References: <44f056cc0608070920y37719585peeb818c2e03e8c39@mail.gmail.com> Message-ID: <1154968636.10991.19.camel@localhost> On Mon, 2006-08-07 at 10:20 -0600, Luis Gardea wrote: > How Can I have redundancy in my nagios server? http://nagios.sourceforge.net/docs/2_0/redundancy.html This is the documentation. Read is what you should. And knowing about eventhandlers, or drdb, or anything that keeps status of the 'in production' nagios server updated. HTH, AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcos.marinho at rac.com.br Mon Aug 7 20:10:18 2006 From: marcos.marinho at rac.com.br (Marcos Marinho) Date: Mon, 7 Aug 2006 15:10:18 -0300 Subject: RES: Nagios redundancy In-Reply-To: <1154968636.10991.19.camel@localhost> References: <1154968636.10991.19.camel@localhost> Message-ID: Hello to all I am trying to better configure the status map Any tool to do that ? I am looking for in nagios exchage and had seen no one until that moment. Regards Marcos Marinho Network Support ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Mon Aug 7 20:18:18 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 07 Aug 2006 19:18:18 +0100 Subject: check oracle In-Reply-To: <44f056cc0608071110r1422b9dcp875e3e04442f0132@mail.gmail.com> References: <44f056cc0608070836s68e8b29dqf8937dba54234bac@mail.gmail.com> <44D76293.7040409@googlemail.com> <44f056cc0608070912u110a03bem4cc409b7998a1437@mail.gmail.com> <44D767BE.3070907@googlemail.com> <44f056cc0608071110r1422b9dcp875e3e04442f0132@mail.gmail.com> Message-ID: <44D783EA.1030700@googlemail.com> Luis Gardea wrote: > hi > > in the nagios server I should install only the sqlplus or oracle > complete. > > I just download instantclient-sqlplus-linux32-10.1.0.5-20060511 but i > have doubt about ORACLE_HOME > > On 8/7/06, Hari Sekhon wrote: >> Luis Gardea wrote: >> > I'm sorry because I'm new in it >> > >> > Where is $ORACLE_HOME in nagios server or oracle server? and how do >> > I set it? >> > >> > the sqlplus should is install in the oracle server or nagios server >> > >> > thaks >> > >> > On 8/7/06, Hari Sekhon wrote: >> >> Luis Gardea wrote: >> >> > Hello >> >> > >> >> > what do I have install in my nagios server and oracle server to >> >> check oracle? >> >> > >> >> > I need some client in nagios server to do that? >> >> > >> >> > I have use the check_oracle but don't start. >> >> > >> >> > [root at netids libexec]# ./check_oracle -tns 148.210.20.33 >> >> > Cannot determine ORACLE_HOME for sid 148.210.20.33 >> >> > >> >> > >> >> > nagios server >> >> > FC3 >> >> > nagios 2.0b >> >> > nagios-plugins-1.4-2.1 >> >> > >> >> > >> >> >> ------------------------------------------------------------------------- >> >> >> >> >> > Using Tomcat but need to do more? Need to support web services, >> >> security? >> >> > Get stuff done quickly with pre-integrated technology to make your >> >> job easier >> >> > Download IBM WebSphere Application Server v.1.0.1 based on Apache >> >> Geronimo >> >> > >> >> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> >> > _______________________________________________ >> >> > Nagios-users mailing list >> >> > Nagios-users at lists.sourceforge.net >> >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> > ::: Please include Nagios version, plugin version (-v) and OS when >> >> reporting any issue. >> >> > ::: Messages without supporting info will risk being sent to >> /dev/null >> >> > >> >> > >> >> try >> >> >> >> check_oracle --login sidname >> >> >> >> you may need $ORACLE_HOME set for this. also you need sqlplus >> installed >> >> and working first. >> >> >> >> -h >> >> >> >> >> > >> install sqlplus on the nagios machine and make sure that the >> $ORACLE_HOME environment variable for the operating system is set to the >> base directory location of the sqlplus installation on the nagios >> machine as well. >> >> For the environment variable it depends on what distro you have, since I >> see you have Fedora, you can do this in the .bashrc of the user running >> the nagios check or /etc/bashrc or /etc/bash/bashrc for all users. I set >> it in the check_oracle script to make sure it works properly since my >> experience with it was less than 100%. If you're not proficient in Linux >> and bash scripting then I don't recommend that (the command though is >> "export ORACLE_HOME=/path/to/sqlplusinstallion/dir") >> >> -h >> >> >> > just the client, not a full oracle server. look to linux info about environment variables if you don't understand the export line I showed you last time. But if you don't know the basics of linux then nagios might be a little difficult for you... and there is only so much help I can give on this, I have to do my job as well.... -h ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Aug 7 20:35:47 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 7 Aug 2006 20:35:47 +0200 (CEST) Subject: NEVER reply if you want to start a new thread! (Was: Nagios redundancy) In-Reply-To: References: Message-ID: On Mon, 7 Aug 2006, Marcos Marinho wrote: > I am trying to better configure the status map > Any tool to do that ? > > I am looking for in nagios exchage and had seen no one until that moment. What does this has to with redundancy? NEVER reply to a message to start a new thread. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcos.marinho at rac.com.br Mon Aug 7 20:43:45 2006 From: marcos.marinho at rac.com.br (Marcos Marinho) Date: Mon, 7 Aug 2006 15:43:45 -0300 Subject: Sorry about that - my fault In-Reply-To: References: Message-ID: Sorry Hugo, My fault again my apologies Regards Marcos Marinho Support Analyst ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcos.marinho at rac.com.br Mon Aug 7 20:44:38 2006 From: marcos.marinho at rac.com.br (Marcos Marinho) Date: Mon, 7 Aug 2006 15:44:38 -0300 Subject: Tool to configure Status map Message-ID: Hello to all I am trying to better configure the status map Any tool to do that ? I am looking for in nagios exchage and had seen no one until that moment. Regards Marcos Marinho Network Support -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1620 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Paul_Lembo at vrtx.com Mon Aug 7 21:07:25 2006 From: Paul_Lembo at vrtx.com (Paul_Lembo at vrtx.com) Date: Mon, 7 Aug 2006 15:07:25 -0400 Subject: Paul Lembo is out of the U.S. office. Message-ID: I will be out of the office starting 08/07/2006 and will not return until 08/21/2006. I will respond to your message when I return. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeff.Loyet at interchangetech.com Mon Aug 7 21:26:37 2006 From: Jeff.Loyet at interchangetech.com (Jeff Loyet) Date: Mon, 7 Aug 2006 14:26:37 -0500 Subject: NRPE Compiling problem Message-ID: Hey everyone, I posted this to the Nagios-Plugins-Help list last week, but didn't get any response. I'm hoping this list will be able to help me out. This is a new installation of Nagios running on SLES 9.0. Nagios is installed and working fine. SSL is installed. When I run the ./configure script on NRPE 2.5.2 everything appears to work. When I compile with "make all", here's the output I receive: cd ./src/; make ; cd .. make[1]: Entering directory `/root/nagios/nrpe-2.5.2/src' gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/ssl/lib -lssl -lcrypto -lnsl /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x247): In function `dlfcn_bind_func': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x293): In function `dlfcn_bind_func': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x323): In function `dlfcn_bind_var': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x391): In function `dlfcn_bind_var': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x3eb): In function `dlfcn_unload': : undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x485): In function `dlfcn_load': : undefined reference to `dlopen' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x4e5): In function `dlfcn_load': : undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x50e): In function `dlfcn_load': : undefined reference to `dlerror' collect2: ld returned 1 exit status make[1]: *** [nrpe] Error 1 make[1]: Leaving directory `/root/nagios/nrpe-2.5.2/src' *** Compile finished *** If the NRPE daemon and client compiled without any errors, you can continue with installation. The NRPE daemon and client binaries are located in the src/ subdirectory. ** If this is your monitoring host ** - Copy the check_nrpe client to the directory that contains your Nagios plugins. - Create a command definition in your Nagios config file for the NRPE client. See the README file for more info on doing this. ** If this host will be running the NRPE daemon ** - Copy the nrpe daemon to /usr/sbin, /usr/local/nagios or wherever you feel it fits best. - Copy the sample nrpe.cfg config file to /etc, /usr/local/nagios or wherever you feel it fits best. - Modify the /etc/services file and configure NRPE to run under inetd, xinetd, or as a standalone daemon. See the README file for more info on doing this. If anyone can point me in the right direction on this, I would be GREATLY appreciative! Thanks in advance. Jeff Jeffrey P. Loyet Systems Engineer Interchange Technologies, Inc. 8130 Brentwood Industrial Drive St. Louis, MO 63144 Office: (314) 647-5440 Fax: (314) 647-8233 Mobile: (314) 640-6404 jeff.loyet at interchangetech.com http://www.interchangetech.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From HARKISOONSW at gru.com Mon Aug 7 21:58:41 2006 From: HARKISOONSW at gru.com (Harkisoon, Sharan W.) Date: Mon, 7 Aug 2006 15:58:41 -0400 Subject: Acknowledge variable Message-ID: <94FE9AAAB50C92448DCF1A4B99816F664AAA92@GRUCLXCHGPR01.gruadmin.gru.com> I am in the process of migrating from Nagios 1.2 to 2.4. We use the acknowledgement feature quite extensively and use it to track the acknowledgement comment left in the comment field in our ticket system. My problem is, in 2.4 the '$OUTPUT$' variable no longer returns the user comment, but instead returns the state of the service/host in the acknowledgement email. Is there another variable for the comment, or an easy way to extract this information without modifying the source? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Aug 7 22:05:52 2006 From: marc at ena.com (Marc Powell) Date: Mon, 7 Aug 2006 15:05:52 -0500 Subject: Acknowledge variable Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Harkisoon, Sharan W. > Sent: Monday, August 07, 2006 2:59 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Acknowledge variable > > I am in the process of migrating from Nagios 1.2 to 2.4. We use the > acknowledgement feature quite extensively and use it to track the > acknowledgement comment left in the comment field in our ticket system. > My problem is, in 2.4 the '$OUTPUT$' variable no longer returns the user > comment, but instead returns the state of the service/host in the > acknowledgement email. > > Is there another variable for the comment, or an easy way to extract this > information without modifying the source? Yes, there are two, one for host ack comments and one for service ack comments -- http://nagios.sourceforge.net/docs/2_0/macros.html -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From HARKISOONSW at gru.com Mon Aug 7 22:22:22 2006 From: HARKISOONSW at gru.com (Harkisoon, Sharan W.) Date: Mon, 7 Aug 2006 16:22:22 -0400 Subject: Acknowledge variable Message-ID: <94FE9AAAB50C92448DCF1A4B99816F664AAA93@GRUCLXCHGPR01.gruadmin.gru.com> Thank you! That's exactly what I was looking for. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Monday, August 07, 2006 4:06 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Acknowledge variable > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Harkisoon, Sharan W. > Sent: Monday, August 07, 2006 2:59 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Acknowledge variable > > I am in the process of migrating from Nagios 1.2 to 2.4. We use the > acknowledgement feature quite extensively and use it to track the > acknowledgement comment left in the comment field in our ticket system. > My problem is, in 2.4 the '$OUTPUT$' variable no longer returns the user > comment, but instead returns the state of the service/host in the > acknowledgement email. > > Is there another variable for the comment, or an easy way to extract this > information without modifying the source? Yes, there are two, one for host ack comments and one for service ack comments -- http://nagios.sourceforge.net/docs/2_0/macros.html -- Marc ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Mon Aug 7 22:33:45 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Mon, 7 Aug 2006 16:33:45 -0400 Subject: CHECK_DHCP Error Message-ID: <0CA4ED2DD473424883BF20CCD45C18A3F88FBC@mtlexchange.Duocom.local> Hello, I am having an issue where I have added the check_dhcp but I get the following error on the web page of the service Return code of 126 is out of bounds - plugin may be missing I have tested the check_dhcp from the command line and I do get a response form the server. I am running Fedora 3, nagios2.4. The command line in the command file is as follows define command{ command_name check_dhcp command_line $USERS1$/check_dhcp -H $HOSTADDRESS$ } Any ideas? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdaily at apparatus.net Mon Aug 7 22:32:55 2006 From: jdaily at apparatus.net (John R. Daily) Date: Mon, 7 Aug 2006 16:32:55 -0400 Subject: CHECK_DHCP Error In-Reply-To: <0CA4ED2DD473424883BF20CCD45C18A3F88FBC@mtlexchange.Duocom.local> References: <0CA4ED2DD473424883BF20CCD45C18A3F88FBC@mtlexchange.Duocom.local> Message-ID: I suspect you want $USER1$, not $USERS1$. That error code often (usually? always?) means that there's a problem with the path to the plugin. -John On Aug 7, 2006, at 4:33 PM, Antonio Pereira wrote: > Hello, > > > > I am having an issue where I have added the check_dhcp but I get > the following error on the web page of the service > > > > Return code of 126 is out of bounds - plugin may be missing > > > > I have tested the check_dhcp from the command line and I do get a > response form the server. I am running Fedora 3, nagios2.4. > > > > The command line in the command file is as follows > > > > define command{ > > command_name check_dhcp > > command_line $USERS1$/check_dhcp ?H > $HOSTADDRESS$ > > } > > > > Any ideas? > > > > Thanks > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642______________________________ > _________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Tue Aug 8 00:19:37 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 8 Aug 2006 10:19:37 +1200 Subject: Nagios redundancy In-Reply-To: <44f056cc0608070920y37719585peeb818c2e03e8c39@mail.gmail.com> References: <44f056cc0608070920y37719585peeb818c2e03e8c39@mail.gmail.com> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A20C5A61@UXCHANGE3.UoA.auckland.ac.nz> > How Can I have redundancy in my nagios server? We do it by having two servers, twin-tailed onto an external mirrored SCSI disk pack, and then using Linux-HA to do failover between them with a floating virtual IP and so on. Works very well although both servers need to be in the same physical location. They also both have a local unpublished secondary DNS server so that it minimises the load on the central DNS and also protects against DNS failure. Steve ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Tue Aug 8 01:05:53 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Mon, 7 Aug 2006 16:05:53 -0700 Subject: Nagios redundancy In-Reply-To: <12A6FDDD13C460408A6E47E5DB1235A20C5A61@UXCHANGE3.UoA.auckland.ac.nz> References: <12A6FDDD13C460408A6E47E5DB1235A20C5A61@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD44401BF@raptor.redhawk.info> I suppose you could do the same with two servers in two different locations, if you were using a SAN with iSCSI. Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Steve Shipway Sent: Monday, August 07, 2006 3:20 PM To: Luis Gardea Cc: nagios Subject: Re: [Nagios-users] Nagios redundancy > How Can I have redundancy in my nagios server? We do it by having two servers, twin-tailed onto an external mirrored SCSI disk pack, and then using Linux-HA to do failover between them with a floating virtual IP and so on. Works very well although both servers need to be in the same physical location. They also both have a local unpublished secondary DNS server so that it minimises the load on the central DNS and also protects against DNS failure. Steve ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanleyhopcroft at gmail.com Tue Aug 8 03:58:59 2006 From: stanleyhopcroft at gmail.com (Stanley Hopcroft) Date: Tue, 8 Aug 2006 11:58:59 +1000 Subject: OT Having your routing protocol monitor reachability of routers (OSPF, EIGRP, BGP etc). Message-ID: Dear Folks, Routing protocols like OSPF maintain neigbour relationships with other routers in the area by exchanging periodic hello messages. This can be used as a means of very quickly detecting router reachabily failures because the hello messages typically occur several times a minute and a failure is detected in less than a minute. OSPF routers report a neighbour failure with messages like 155795 bar syslog-notice 2006-08-02 01:40:49 134777: %OSPF-5-ADJCHG: Process 1, Nbr baz on Tunnel0 from FULL to DOW N, Neighbor Down: Dead timer expired 155796 foo syslog-notice 2006-08-02 01:40:49 231: Aug 1 15:40:49: %OSPF-5-ADJCHG: Process 1, Nbr baz on Tunnel0 fro m FULL to DOWN, Neighbor Down: Dead timer expired In this case, there is an OSPF broadcast network with DRs bar and foo. The Neighbour baz is reported as having failed to respond to poll (after 10 failures to respond ie 40 seconds). The DRs both report the failure within 30 seconds of each other. The way to to detect such failures in real time is with an event correlation tool like SEC. A very good introduction to the challenges of event correlation and how to deal with them using SEC is John Rouillards paper at http://www.cs.umb.edu/~rouilj/sec/sec_paper.pdf In this case the challenges include 1 detecting the pair of messages within a time interval of each other 2 allowing a delay interval for the neighbour to recover before notifying 3 notifying on recovery. SEC allows a rich set of actions to be performed when it detects an event. These include running programs such as a mail client or ssh to submit a passive service check result. Yours sincerely. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue Aug 8 10:02:06 2006 From: m.borsani at it.net (Marco Borsani) Date: Tue, 8 Aug 2006 10:02:06 +0200 Subject: check+http on asp.net site Message-ID: <008601c6bac0$f14388e0$0900d40a@intranet.it.net> Hi all ! Have you ever checked an asp.net site with check_http 1.24.2.4 ? I receive following error message: HTTP WARNING: HTTP/1.1 404 Object Not Found If I perform a check_tcp on 80 port I will receive an OK . Any idea? Thanks Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy?s new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arief_clan at yahoo.com Tue Aug 8 11:06:36 2006 From: arief_clan at yahoo.com (Arief Iqbal) Date: Tue, 8 Aug 2006 02:06:36 -0700 (PDT) Subject: [NEED HELP] statusmap.cgi Message-ID: <20060808090636.35079.qmail@web56005.mail.re3.yahoo.com> when enter statusmap in nagios web interface, there's a message: Not Found The requested URL /nagios/cgiurl/statusmap.cgi was not found on this server. --------------------------------- Apache/2.0.52 (Fedora) Server at localhost.localdomain Port 80 can somebody tell me why? and how to solve this problem? thank you --------------------------------- Groups are talking. We´re listening. Check out the handy changes to Yahoo! Groups. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fbusse at gmx.de Tue Aug 8 13:32:11 2006 From: fbusse at gmx.de (Fridtjof Busse) Date: Tue, 8 Aug 2006 13:32:11 +0200 Subject: Multiple hostnames in host_name Message-ID: <20060808133211.a72d8a32.fbusse@gmx.de> Hi Is there any way to define the hosts for "host_name" in the service-definition as a list? I want to be able to add a hostname to a list (e.g. a macro in resource.cfg) and every service-definition automagically (after a reload) gets the new hostname, without me having to add it to tons of definitions. Any way to do that? -- Fridtjof Busse ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Tue Aug 8 14:00:49 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 8 Aug 2006 14:00:49 +0200 Subject: [NEED HELP] statusmap.cgi In-Reply-To: <20060808090636.35079.qmail@web56005.mail.re3.yahoo.com> References: <20060808090636.35079.qmail@web56005.mail.re3.yahoo.com> Message-ID: <200608081400.49708.pitchfork@ederdrom.de> Am Dienstag, 8. August 2006 11:06 schrieb Arief Iqbal: > when enter statusmap in nagios web interface, there's a message: > > Not Found The requested URL /nagios/cgiurl/statusmap.cgi was not found on this server. http://www.nagios.org/faqs/viewfaq.php?faq_id=55 J?rg ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Tue Aug 8 14:11:40 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Tue, 8 Aug 2006 22:11:40 +1000 Subject: have written a check_sendmail in Solaris plugin Message-ID: <610cb7a00608080511h5627680dpa1bdb06f829230e7@mail.gmail.com> Hi All, I've just written a check_sendmail plugin shell script for Solaris; I'm wondering if anyone has any thoughts for improving it (be as pedantic as you like), problems with it, etc. Alternatively, if anyone wants to use it themselves. To use the plugin via nrpe ** you must give the nagios user on the remote host ** you must give the nagios user sudo access to run this script as root without password Kind Regards, Alex #!/bin/ksh # check_sendmail # author: alex harvey # email: alexh19740110 at gmail.com die=false OS=`uname -r` # first check status according to SMF if we're in Solaris 10 if [ "$OS" == "5.10" ]; then svcs -l sendmail >|/tmp/check_sendmail.tmp.1 2>&1 smf_enabled=`cat /tmp/check_sendmail.tmp.1 | awk '{if ($1 == "enabled") print $2}'` smf_state=`cat /tmp/check_sendmail.tmp.1 | awk '{if ($1 == "state") print $2}'` if [ "$smf_enabled" == "false" ]; then echo WARNING [ Disabled by SMF ] exit 1 fi # $smf_enabled must be "true" if [ "$smf_state" != "online" ]; then echo WARNING [ SMF reports state $smf_state ] exit 1 fi # $smf_enabled must be "true" and $smf_state must be "online" sendmail_pid_file=/var/run/sendmail.pid client_pid_file=/var/spool/clientmqueue/sm-client.pid if [ ! -e $sendmail_pid_file ]; then messpart1="and $sendmail_pid_file " die=true fi if [ ! -e $client_pid_file ]; then messpart1="$messpart1 and $client_pid_file" die=true fi messpart1=`echo $messpart1 | sed -e 's/^and //'` mess1="$messpart1 not found!" [ $die == "true" ] && echo CRITICAL [ $mess1 ] && exit 2 fi # now check that both processes are running sendmail_pid=`cat /var/run/sendmail.pid | head -1` sendmail_cmd=`cat /var/run/sendmail.pid | tail -1` client_pid=`cat /var/spool/clientmqueue/sm-client.pid | head -1` client_cmd=`cat /var/spool/clientmqueue/sm-client.pid | tail -1` ps -ef | egrep "${sendmail_pid}.*${sendmail_cmd}" >/dev/null 2>&1 RC1=$? ps -ef | egrep "${client_pid}.*${client_cmd}" >/dev/null 2>&1 RC2=$? if [ $RC1 -ne 0 ]; then messpart2="and daemon " die=true fi if [ $RC2 -ne 0 ]; then messpart2="$messpart2 and client" die=true fi messpart2=`echo $messpart2 | sed -e 's/^and //'` mess2="sendmail $messpart2 is not running!" [ $die == "true" ] && echo CRITICAL [ $mess2 ] && exit 2 # otherwise exit OK echo OK && exit 0 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.gregor at chronix.org Tue Aug 8 14:21:33 2006 From: jan.gregor at chronix.org (jan gregor) Date: Tue, 8 Aug 2006 14:21:33 +0200 Subject: extinfo Message-ID: <20060808122133.GB19397@ninki.quadia.sk> Hello all, I am trying to link external graphs and contact informations from nagios web interface. Currently I'm linking contacts through extended service informations, but i need to add graphs. Problem is that when I define another extended information for single service I get errors: Error: Could not add duplicate serviceextinfo entry for service 'test2' on host 'test'. Error: Could not allocate memory for serviceextinfo list to add extended info for service 'test2' on host 'test'. Any ideas how to solve this? I do not insist on extinfo, but it was easiest way of creating this kind of link (+ custom icons per extinfo). Many thanks for any ideas. Best regards, Jan Gregor ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Tue Aug 8 14:33:20 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 08 Aug 2006 13:33:20 +0100 Subject: Multiple hostnames in host_name In-Reply-To: <20060808133211.a72d8a32.fbusse@gmx.de> References: <20060808133211.a72d8a32.fbusse@gmx.de> Message-ID: <44D88490.4000208@googlemail.com> Fridtjof Busse wrote: > Hi > Is there any way to define the hosts for "host_name" in the > service-definition as a list? > I want to be able to add a hostname to a list (e.g. a macro in > resource.cfg) and every service-definition automagically (after a > reload) gets the new hostname, without me having to add it to tons of > definitions. > Any way to do that? > > yes, the service definitions can definitely take a list like host_name host1,host2,host3... Not sure about the macros, check the docs that come with nagios since they do mention quite a bit about this. It is likely you can define your own $MACROS$ as you want and have all the services update just be restarting the daemon. -h ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdaily at apparatus.net Tue Aug 8 14:39:47 2006 From: jdaily at apparatus.net (John Daily) Date: Tue, 8 Aug 2006 08:39:47 -0400 Subject: Multiple hostnames in host_name References: <20060808133211.a72d8a32.fbusse@gmx.de> <44D88490.4000208@googlemail.com> Message-ID: There's another, arguably better way to do it under Nagios 2.x. Use hostgroups. Specify the service as applying to all hosts in a hostgroup, then add each new host to the appropriate group(s). -John -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net on behalf of Hari Sekhon Sent: Tue 8/8/2006 8:33 AM To: Fridtjof Busse Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Multiple hostnames in host_name Fridtjof Busse wrote: > Hi > Is there any way to define the hosts for "host_name" in the > service-definition as a list? > I want to be able to add a hostname to a list (e.g. a macro in > resource.cfg) and every service-definition automagically (after a > reload) gets the new hostname, without me having to add it to tons of > definitions. > Any way to do that? > > yes, the service definitions can definitely take a list like host_name host1,host2,host3... Not sure about the macros, check the docs that come with nagios since they do mention quite a bit about this. It is likely you can define your own $MACROS$ as you want and have all the services update just be restarting the daemon. -h ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mika.Borner at clariden.com Tue Aug 8 14:45:34 2006 From: Mika.Borner at clariden.com (Mika Borner) Date: Tue, 08 Aug 2006 14:45:34 +0200 Subject: have written a check_sendmail in Solaris plugin In-Reply-To: <610cb7a00608080511h5627680dpa1bdb06f829230e7@mail.gmail.com> References: <610cb7a00608080511h5627680dpa1bdb06f829230e7@mail.gmail.com> Message-ID: <44D8A38E0200001A00006325@zh02.cbintra.net> Hi The "correct" way to check the SMF Repository for the state of sendmail (or any other service) is: svcprop -c svc:/network/smtp:sendmail/:properties/restarter/state Regards Mika >>> "Alexander Harvey" 08/08/06 2:11 pm >>> Hi All, I've just written a check_sendmail plugin shell script for Solaris; I'm wondering if anyone has any thoughts for improving it (be as pedantic as you like), problems with it, etc. Alternatively, if anyone wants to use it themselves. To use the plugin via nrpe ** you must give the nagios user on the remote host ** you must give the nagios user sudo access to run this script as root without password Kind Regards, Alex #!/bin/ksh # check_sendmail # author: alex harvey # email: alexh19740110 at gmail.com die=false OS=`uname -r` # first check status according to SMF if we're in Solaris 10 if [ "$OS" == "5.10" ]; then svcs -l sendmail >|/tmp/check_sendmail.tmp.1 2>&1 smf_enabled=`cat /tmp/check_sendmail.tmp.1 | awk '{if ($1 == "enabled") print $2}'` smf_state=`cat /tmp/check_sendmail.tmp.1 | awk '{if ($1 == "state") print $2}'` if [ "$smf_enabled" == "false" ]; then echo WARNING [ Disabled by SMF ] exit 1 fi # $smf_enabled must be "true" if [ "$smf_state" != "online" ]; then echo WARNING [ SMF reports state $smf_state ] exit 1 fi # $smf_enabled must be "true" and $smf_state must be "online" sendmail_pid_file=/var/run/sendmail.pid client_pid_file=/var/spool/clientmqueue/sm-client.pid if [ ! -e $sendmail_pid_file ]; then messpart1="and $sendmail_pid_file " die=true fi if [ ! -e $client_pid_file ]; then messpart1="$messpart1 and $client_pid_file" die=true fi messpart1=`echo $messpart1 | sed -e 's/^and //'` mess1="$messpart1 not found!" [ $die == "true" ] && echo CRITICAL [ $mess1 ] && exit 2 fi # now check that both processes are running sendmail_pid=`cat /var/run/sendmail.pid | head -1` sendmail_cmd=`cat /var/run/sendmail.pid | tail -1` client_pid=`cat /var/spool/clientmqueue/sm-client.pid | head -1` client_cmd=`cat /var/spool/clientmqueue/sm-client.pid | tail -1` ps -ef | egrep "${sendmail_pid}.*${sendmail_cmd}" >/dev/null 2>&1 RC1=$? ps -ef | egrep "${client_pid}.*${client_cmd}" >/dev/null 2>&1 RC2=$? if [ $RC1 -ne 0 ]; then messpart2="and daemon " die=true fi if [ $RC2 -ne 0 ]; then messpart2="$messpart2 and client" die=true fi messpart2=`echo $messpart2 | sed -e 's/^and //'` mess2="sendmail $messpart2 is not running!" [ $die == "true" ] && echo CRITICAL [ $mess2 ] && exit 2 # otherwise exit OK echo OK && exit 0 ------------------------------------------------------------------------- This message is intended for the addressee only and may contain confidential or privileged information. If you are not the intended receiver, any disclosure, copying to any person or any action taken or omitted to be taken in reliance on this e-mail, is prohibited and may be un- lawful. You must therefore delete this e-mail. Internet communications may not be secure or error-free and may contain viruses. They may be subject to possible data corruption, accidental or on purpose. This e-mail is not and should not be construed as an offer or the solicitation of an offer to purchase or subscribe or sell or redeem any investments. ------------------------------------------------------------------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shlomo at dubrowin.org Tue Aug 8 14:51:20 2006 From: shlomo at dubrowin.org (Shlomo Dubrowin) Date: Tue, 8 Aug 2006 15:51:20 +0300 Subject: Multiple hostnames in host_name In-Reply-To: References: <20060808133211.a72d8a32.fbusse@gmx.de> <44D88490.4000208@googlemail.com> Message-ID: This works in Nagios 1.x too. Shlomo On 8/8/06, John Daily wrote: > > > > There's another, arguably better way to do it under Nagios 2.x. > > Use hostgroups. Specify the service as applying to all hosts in a > hostgroup, then add each new host to the appropriate group(s). > > -John > > > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net on behalf > of Hari Sekhon > Sent: Tue 8/8/2006 8:33 AM > To: Fridtjof Busse > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Multiple hostnames in host_name > > Fridtjof Busse wrote: > > Hi > > Is there any way to define the hosts for "host_name" in the > > service-definition as a list? > > I want to be able to add a hostname to a list (e.g. a macro in > > resource.cfg) and every service-definition automagically (after a > > reload) gets the new hostname, without me having to add it to tons of > > definitions. > > Any way to do that? > > > > > yes, the service definitions can definitely take a list like > > host_name host1,host2,host3... > > Not sure about the macros, check the docs that come with nagios since > they do mention quite a bit about this. It is likely you can define your > own $MACROS$ as you want and have all the services update just be > restarting the daemon. > > -h > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- ----------------------------------------------------------------------- ,-~~-.___. ._. / | ' \ | |"""""""""| Shlomo Dubrowin ( ) 0 | | | (Sheldon) \_/-, ,----' | | | ==== !_!--v---v--" / \-'~; |""""""""| shlomo at dubrowin.org / __/~| ._-""|| | http://www.dubrowin.org =( _____|_|____||________| ----------------------------------------------------------------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Tue Aug 8 15:09:40 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 08 Aug 2006 14:09:40 +0100 Subject: Multiple hostnames in host_name In-Reply-To: <20060808143522.d9fd6ac9.fbusse@gmx.de> References: <20060808133211.a72d8a32.fbusse@gmx.de> <44D88490.4000208@googlemail.com> <20060808143522.d9fd6ac9.fbusse@gmx.de> Message-ID: <44D88D14.5070102@googlemail.com> Fridtjof Busse wrote: > * Hari Sekhon : > >> yes, the service definitions can definitely take a list like >> >> host_name host1,host2,host3... >> > > That's what I'm currently doing. > > >> Not sure about the macros, check the docs that come with nagios since >> they do mention quite a bit about this. It is likely you can define >> your own $MACROS$ as you want and have all the services update just >> be restarting the daemon. >> > > Well, stuff like $USER2$ does not work for me and the docs don't > mention such a setup (or I didn't find it yet). > > did you put the $USERn$ definition in a resource file and source it via nagios.cfg as follows: resource_file=/path/to/usermacros.cfg ? Apparently you are allowed 32 of these. If you can use hostgroup names instead of host names in services definition then this will be better in one way, although it will show up in your Status Overview and Status Summary pages which might mess them up a bit if you want concise overviews like public webservers, internal servers, servers at remote office etc.... -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martin.Pelikan at t-systems.com Tue Aug 8 15:08:47 2006 From: Martin.Pelikan at t-systems.com (Martin.Pelikan at t-systems.com) Date: Tue, 8 Aug 2006 15:08:47 +0200 Subject: Nagios plugins-1.4.3 on AIX 5.1 - ERROR: "Undefined symbol: .floo rf" Message-ID: <597675AC6FAFDB49B0D04ECC4DE33FF164685D@g8sjs.ditscom.dsh.de> Hi all, I want to run the nagios plugins-1.4.3 on a AIX 5.1.0.0 machine; Compiling the plugins on AIX 5.1, I get at compiling "check_swap" the ERROR: "Undefined symbol: .floorf" Here is my output: ./configure ... Lots of output ... --with-ping6-command: --with-ping-command: /etc/ping -n -c %d %s --with-lwres: no --with-ipv6: yes --with-mysql: no --with-openssl: yes --with-gnutls: no --enable-emulate-getaddrinfo: no --with-perl: /usr/bin/perl --with-cgiurl: /nagios/cgi-bin --with-nagios-user: nagios --with-nagios-group: nagios --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin Make ... Lots of output ... if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/local/include -I/usr/local/include -Wall -g -O2 -MT check_swap.o -MD -MP -MF ".deps/check_swap.Tpo" -c -o check_swap.o check_swap.c; then mv -f ".deps/check_swap.Tpo" ".deps/check_swap.Po"; else rm -f ".deps/check_swap.Tpo"; exit 1; fi check_swap.c: In function `main': check_swap.c:55: warning: unused variable `tmp_mb' check_swap.c: In function `process_arguments': check_swap.c:396: warning: implicit declaration of function `floorf' /bin/sh ../libtool --mode=link --tag=CC gcc -Wall -g -O2 -L. -R/usr/local/lib -o check_swap check_swap.o -lm utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a popen.o -lintl -lssl -lcrypto gcc -Wall -g -O2 -o check_swap check_swap.o utils.o popen.o -L/tmp/nagios-plugins-1.4.3/plugins -lm ../lib/libnagiosplug.a ../lib/libcoreutils.a -L/opt/freeware/lib -lintl -liconv -lssl -lcrypto -Wl,-blibpath:/opt/freeware/lib:/usr/local/lib:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/../../..:/usr/lib:/lib ld: 0711-317 ERROR: Undefined symbol: .floorf ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. Any Ideas? Thanks for help!!! Regards, Martin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fbusse at gmx.de Tue Aug 8 15:15:57 2006 From: fbusse at gmx.de (Fridtjof Busse) Date: Tue, 8 Aug 2006 15:15:57 +0200 Subject: Multiple hostnames in host_name In-Reply-To: <44D88D14.5070102@googlemail.com> References: <20060808133211.a72d8a32.fbusse@gmx.de> <44D88490.4000208@googlemail.com> <20060808143522.d9fd6ac9.fbusse@gmx.de> <44D88D14.5070102@googlemail.com> Message-ID: <20060808151557.5802208d.fbusse@gmx.de> * Hari Sekhon : > > Well, stuff like $USER2$ does not work for me and the docs don't > > mention such a setup (or I didn't find it yet). > > > > > did you put the $USERn$ definition in a resource file and source it > via nagios.cfg as follows: > > resource_file=/path/to/usermacros.cfg Yes and I get: Error: Could not find any host matching '$USER2$' $USER1$ (path to my plugin-dir) works fine, but the service-definition doesn't seem to handle $USER?$. But I'll look into the hostgroup-option that John suggested. -- Fridtjof Busse ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fbusse at gmx.de Tue Aug 8 15:16:44 2006 From: fbusse at gmx.de (Fridtjof Busse) Date: Tue, 8 Aug 2006 15:16:44 +0200 Subject: Multiple hostnames in host_name In-Reply-To: References: <20060808133211.a72d8a32.fbusse@gmx.de> <44D88490.4000208@googlemail.com> Message-ID: <20060808151644.8cd986b0.fbusse@gmx.de> * "John Daily" : > There's another, arguably better way to do it under Nagios 2.x. > > Use hostgroups. Specify the service as applying to all hosts in a > hostgroup, then add each new host to the appropriate group(s). Thanks for the hint, I'll look into it. Although I'd prefer something that uses the $USER?$ macro. -- Fridtjof Busse ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbrooks at cuberoute.com Tue Aug 8 15:42:53 2006 From: jbrooks at cuberoute.com (Joel Brooks) Date: Tue, 8 Aug 2006 15:42:53 +0200 (CEST) Subject: truncated output? Message-ID: <20060808134253.A07CA4F4045@desire.netways.de> Hi list i have a disk check using nsclient++ on a windows server. the nagios server is RHLinux. When the disk check finds a problem, it notifies me via email, but the output is truncated. here is a sample of what the output *should* look like: -- WARNING: C:\: Total: 137G - Used: 128G (93%) - Free: 9.05G (7%) < warning|'C:\'=7%;7;5; -- here's what i actually get: -- Result: WARNING: C: -- here is the notify-by-email template that i use: -- define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "\nDate/Time: $LONGDATETIME$ \nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nService: $SERVICEDESC$\nStat e: $SERVICESTATE$\nResult: $SERVICEOUTPUT$" |/bin/mail -s "** $NOTIFICATI ONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } -- so i believe that this is the $SERVICEOUTPUT$ variable that is somehow being truncated. here's the check command definition on the nagios server: -- define service{ use generic-service host_name * service_description Check System Services is_volatile 0 contact_groups production-support notification_options w,c,u,r check_command check_nrpe!check_system_services servicegroups system } -- and here's the nsclient++ definition for the check on the remote Windows system: -- check_drive=inject CheckDriveSize MinWarnFree=7% MinCritFree=5% CheckAll=long FilterType=FIXED -- can anyone see how/why this wouldn't work as expected? something to do with the '<' or '|' in the service output? any suggestions on how to make it work? thanks! J - Joel Brooks (joel.brooks) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gardealuis at gmail.com Tue Aug 8 17:11:50 2006 From: gardealuis at gmail.com (Luis Gardea) Date: Tue, 8 Aug 2006 09:11:50 -0600 Subject: check_vpn Message-ID: <44f056cc0608080811q692688cbgda9b67a767d774a3@mail.gmail.com> hello I want check a vpn server with nagios. however I have a problem when I put it [root at netids libexec]# ./check_openvpn.php -H=vpnserver.uacj.mx -p=53 PHP Fatal error: Call to undefined function: stream_socket_client() in /usr/local/nagios/libexec/check_openvpn.php on line 343 Content-type: text/html X-Powered-By: PHP/4.3.11 I don't know wich port put -p, --port=INTEGER TCP port of management interface (no default, required) SO FC3 nagios 2.0b plugins 1.4.2.1 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gardealuis at gmail.com Tue Aug 8 17:24:52 2006 From: gardealuis at gmail.com (Luis Gardea) Date: Tue, 8 Aug 2006 09:24:52 -0600 Subject: check_ldap Message-ID: <44f056cc0608080824x21a94c00xf2c47d68a9685a10@mail.gmail.com> Hello what do I have install in my nagios server and active directory over windows 2003 to check ldap? I need some client in nagios server to do that? I have use the check_ldap but don't start. I got the next error [root at netids libexec]# ./check_ldap -H adsbk-server.mydomain.com -b dc=wolf, dc=com -D cn=nagioste,dc=wolf,dc=com -P tenagios Could not bind to the ldap-server FC3 nagios 2.0b nagios-plugins-1.4-2.1 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Aug 8 17:44:13 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 8 Aug 2006 11:44:13 -0400 Subject: check_vpn In-Reply-To: <44f056cc0608080811q692688cbgda9b67a767d774a3@mail.gmail.com> References: <44f056cc0608080811q692688cbgda9b67a767d774a3@mail.gmail.com> Message-ID: > I want check a vpn server with nagios. however I have a > problem when I put it > > [root at netids libexec]# ./check_openvpn.php > -H=vpnserver.uacj.mx -p=53 PHP Fatal error: Call to > undefined function: stream_socket_client() in > /usr/local/nagios/libexec/check_openvpn.php on line 343 > Content-type: text/html > X-Powered-By: PHP/4.3.11 > > I don't know wich port put > > -p, --port=INTEGER > TCP port of management interface (no default, required) Google is your friend. That function is only available in PHP5: http://in2.php.net/stream_socket_client ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Aug 8 17:47:03 2006 From: marc at ena.com (Marc Powell) Date: Tue, 8 Aug 2006 10:47:03 -0500 Subject: Multiple hostnames in host_name Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Fridtjof Busse > Sent: Tuesday, August 08, 2006 8:16 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Multiple hostnames in host_name > > * Hari Sekhon : > > > Well, stuff like $USER2$ does not work for me and the docs don't > > > mention such a setup (or I didn't find it yet). > > > > > > > > did you put the $USERn$ definition in a resource file and source it > > via nagios.cfg as follows: > > > > resource_file=/path/to/usermacros.cfg > > Yes and I get: > Error: Could not find any host matching '$USER2$' > > $USER1$ (path to my plugin-dir) works fine, but the service-definition > doesn't seem to handle $USER?$. No, all $MACROS$ are only valid in command{} definitions. You can't use them in service{} definitions. http://nagios.sourceforge.net/docs/2_0/macros.html -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From weaselkeeper at gmail.com Tue Aug 8 20:34:19 2006 From: weaselkeeper at gmail.com (Jim Richardson) Date: Tue, 8 Aug 2006 11:34:19 -0700 Subject: Multiple hostnames in host_name In-Reply-To: References: <20060808133211.a72d8a32.fbusse@gmx.de> <44D88490.4000208@googlemail.com> Message-ID: <7f17308a0608081134i4b2cb35dp2a3f178f0e8e801d@mail.gmail.com> On 8/8/06, Shlomo Dubrowin wrote: > > This works in Nagios 1.x too. > > Shlomo > > On 8/8/06, John Daily wrote: > > > > > > > > There's another, arguably better way to do it under Nagios 2.x. > > > > Use hostgroups. Specify the service as applying to all hosts in a > > hostgroup, then add each new host to the appropriate group(s). > > > > -John > > > > > > > > On that note, is there a way in a service definition to specify a hostgroup, excluding some specific members of that host group? something like define service { hostgroup_name foo!bar .... } The above doesn't work for me, but something like that ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From weaselkeeper at gmail.com Tue Aug 8 20:36:31 2006 From: weaselkeeper at gmail.com (Jim Richardson) Date: Tue, 8 Aug 2006 11:36:31 -0700 Subject: check_ldap In-Reply-To: <44f056cc0608080824x21a94c00xf2c47d68a9685a10@mail.gmail.com> References: <44f056cc0608080824x21a94c00xf2c47d68a9685a10@mail.gmail.com> Message-ID: <7f17308a0608081136x55769d8ewf45d05634f3e0cf8@mail.gmail.com> On 8/8/06, Luis Gardea wrote: > > Hello > > what do I have install in my nagios server and active directory over > windows 2003 to check ldap? > > I need some client in nagios server to do that? > > I have use the check_ldap but don't start. I got the next error > > [root at netids libexec]# ./check_ldap -H adsbk-server.mydomain.com -b > dc=wolf, dc=com -D cn=nagioste,dc=wolf,dc=com -P tenagios > Could not bind to the ldap-server do an ldd on the check_ldap plugin, and see if you are missing libraries, you'll need the libldap at least I think. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Aug 8 20:40:18 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 8 Aug 2006 11:40:18 -0700 Subject: Multiple hostnames in host_name In-Reply-To: <7f17308a0608081134i4b2cb35dp2a3f178f0e8e801d@mail.gmail.com> References: <20060808133211.a72d8a32.fbusse@gmx.de> <44D88490.4000208@googlemail.com> <7f17308a0608081134i4b2cb35dp2a3f178f0e8e801d@mail.gmail.com> Message-ID: <20060808184018.GF30863@hermes.americas.hpqcorp.net> On Tue, 08 Aug 2006, Jim Richardson wrote: > On that note, is there a way in a service definition to specify a > hostgroup, excluding some specific members of that host group? something > like > > define service { > hostgroup_name foo!bar > .... > } See use_regexp_matching in the docs. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Aug 8 21:03:35 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 8 Aug 2006 21:03:35 +0200 (CEST) Subject: check+http on asp.net site In-Reply-To: <008601c6bac0$f14388e0$0900d40a@intranet.it.net> References: <008601c6bac0$f14388e0$0900d40a@intranet.it.net> Message-ID: On Tue, 8 Aug 2006, Marco Borsani wrote: > Have you ever checked an asp.net site with check_http 1.24.2.4 ? > > I receive following error message: > HTTP WARNING: HTTP/1.1 404 Object Not Found > > If I perform a check_tcp on 80 port I will receive an OK . I do not think it is asp.net specific. It is site/server specific and my bet is that you need to define the host to use in your request. Just try it with a telnet to website port 80 and type: GET / HTTP/1.0 Then try again with the hostname you have to use in the URL for this site: GET / HTTP/1.0 Host: yourhost.domain Make sure to send the CR/LF string where I said and replace yourhost.domain with the proper hostname. Please consult your HTTP RFC for more elaborate details. check_tcp does just that. Do the 3 way handshake to see it is a valid TCP port and leave. Protocol knowledge is your friend here. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Aug 8 21:09:27 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 8 Aug 2006 21:09:27 +0200 (CEST) Subject: have written a check_sendmail in Solaris plugin In-Reply-To: <610cb7a00608080511h5627680dpa1bdb06f829230e7@mail.gmail.com> References: <610cb7a00608080511h5627680dpa1bdb06f829230e7@mail.gmail.com> Message-ID: On Tue, 8 Aug 2006, Alexander Harvey wrote: > I've just written a check_sendmail plugin shell script for Solaris; I'm > wondering if anyone has any thoughts for improving it (be as pedantic as you > like), problems with it, etc. Alternatively, if anyone wants to use it > themselves. > > To use the plugin via nrpe > > ** you must give the nagios user on the remote host > ** you must give the nagios user sudo access to run this script as root > without password .... Other requirements: - Must run on Solaris And other remarks: - Will only check if sendmail package is installed I would call it check_sendmail_installed_solaris so it is more specific to what it can and can not check. My first assumption was a SMTP check to verify you have a sendmail server and perhaps check additional SMTP features. It is a local test and not a remote test. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmblue at gmail.com Tue Aug 8 23:44:51 2006 From: tmblue at gmail.com (Tory M Blue) Date: Tue, 8 Aug 2006 14:44:51 -0700 Subject: Authentication again. login via web all commands work, go direct to cmd.cgi and no access Message-ID: <8a547c840608081444t227ea89bg2fb39263bb74b814@mail.gmail.com> I could of sworn I had this working but for some reason it's not working today. Scenario: login is qa, pass, web paints and I see only the qa systems (perfect), I can click on services, I can disable notifcations etc.etc.etc. So authentication and authorization appears to be working. Nothing special in my cgi.cfg file, qa is only setup in contacts and thus can see these hosts/services by default. Now, I have modified the outgoing alert to include a url to go to : http://host/nagios/cgi-bin/cmd.cgi?cmd_typ=34&host=qav01&service=Check_Disk This allows the groups to acknowledge their own alerts when they are messing around with their servers (QA/Dev etc) Now the above url comes up fine ( I login and authemticate as qa), but now I receive this error Sorry, but you are not authorized to commit the specified command. Read the section of the documentation that deals with authentication and authorization in the CGIs for more information. Ummm okay, when I login and do this command from the gui, no issues but when I issue the cmd.cgi command and authenticate directly i'm for some reason not authorized, doesn't seem right. Ideas? Thanks Tory -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmblue at gmail.com Tue Aug 8 23:47:34 2006 From: tmblue at gmail.com (Tory M Blue) Date: Tue, 8 Aug 2006 14:47:34 -0700 Subject: Authentication again. login via web all commands work, go direct to cmd.cgi and no access In-Reply-To: <8a547c840608081444t227ea89bg2fb39263bb74b814@mail.gmail.com> References: <8a547c840608081444t227ea89bg2fb39263bb74b814@mail.gmail.com> Message-ID: <8a547c840608081447k70f00408k4381d80211c2b726@mail.gmail.com> Top posting.. Nevermind, can't believe I didn't catch it. The url does not match a correct host, if I change the host=FQDN this command works fine, so I must be doing something tweaking with aliases etc. Thanks and by apology for reaching out, before seeing this Tory On 8/8/06, Tory M Blue wrote: > > I could of sworn I had this working but for some reason it's not working > today. > > Scenario: > > login is qa, pass, web paints and I see only the qa systems (perfect), I > can click on services, I can disable notifcations etc.etc.etc. So > authentication and authorization appears to be working. > > Nothing special in my cgi.cfg file, qa is only setup in contacts and thus > can see these hosts/services by default. > > Now, I have modified the outgoing alert to include a url to go to : > > > http://host/nagios/cgi-bin/cmd.cgi?cmd_typ=34&host=qav01&service=Check_Disk > > This allows the groups to acknowledge their own alerts when they are > messing around with their servers (QA/Dev etc) > > Now the above url comes up fine ( I login and authemticate as qa), but now > I receive this error > > Sorry, but you are not authorized to commit the specified command. > Read the section of the documentation that deals with authentication and > authorization in the CGIs for more information. > > Ummm okay, when I login and do this command from the gui, no issues but > when I issue the cmd.cgi command and authenticate directly i'm for some > reason not authorized, doesn't seem right. > > Ideas? > Thanks > Tory > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arief_clan at yahoo.com Wed Aug 9 06:20:19 2006 From: arief_clan at yahoo.com (Arief Iqbal) Date: Tue, 8 Aug 2006 21:20:19 -0700 (PDT) Subject: Nagios for Server or Client? Message-ID: <20060809042019.533.qmail@web56003.mail.re3.yahoo.com> Hi, Can nagios run under client computer ? or it must be run on server computer ? cause right now i install nagios on my computer, and my computer is client not a server, and it doesn't work. I want install nagios because i want monitor another client computer. --------------------------------- Do you Yahoo!? Next-gen email? Have it all with the all-new Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at GMxTechnologies.com Wed Aug 9 07:02:07 2006 From: nagios at GMxTechnologies.com (Samuel P Howard) Date: Tue, 08 Aug 2006 23:02:07 -0600 Subject: No e-mail notifications with new 2.5 install on Debian Etch In-Reply-To: References: Message-ID: <44D96C4F.4090000@gmxtechnologies.com> Hi. I noticed a recent thread by Marcos Marinho having what sounds like a similar problem, but no solution yet ... I have just built from source and installed Nagios 2.5 on a Debian Etch (testing) server, and when I cause a fault, the nagios.log shows it triggers the notification-by-email, but yet the /var/log/mail.info does not show postfix firing up to send the mail out. I did notice that the command setup in minimal.cfg (what I am playing with now, the other command files are disabled) did not put in a mail client, as I did not have one installed. I installed mutt, and added it to the command line after the | and before the -s, and also redirected the output of the command to a text file and (spacing aside), it looked OK. I'm not sure if the spacing should have been compressed or not, so that is a good question. Running the command manually as root or as nagios, I do get an e-mail (as long as I manually replace the $CONTACTEMAIL$ to a real email address ... obviously, none of the other variables get expanded, but the mail does flow. Is there some way to turn on additional debugging to see if the nagios daemon is failing on the command somewhere??? Notificiations are enabled, etc, etc. I have some experience with Nagios as far back as the NetSaint days, but haven't been able to play with it for a few years, and now have the opportunity again. It looks like it's progressed nicely! Now, if I could get my may email notifications going, I could dig back in and try to figure out the best way to build configuration files and all of that good stuff! Thanks! Sam ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Aug 9 07:08:04 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 9 Aug 2006 07:08:04 +0200 (CEST) Subject: Nagios for Server or Client? In-Reply-To: <20060809042019.533.qmail@web56003.mail.re3.yahoo.com> References: <20060809042019.533.qmail@web56003.mail.re3.yahoo.com> Message-ID: On Tue, 8 Aug 2006, Arief Iqbal wrote: > Can nagios run under client computer ? or it must be run on server computer ? cause right now i install nagios on my computer, and my computer is client not a server, and it doesn't work. I want install nagios because i want monitor another client computer. And how do you define 'client computer' or 'server computer'? What errors? WHat did you try? What were you expecting? ...... We do not know your network nor your computers nor anything else unless you tell us about it. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From VINAY_SHARMA at advanex.co.jp Wed Aug 9 07:09:37 2006 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Wed, 9 Aug 2006 14:09:37 +0900 Subject: Nagios for Server or Client? Message-ID: you can install nagios on any computer running on unix based os with sendmail and other services is working.but it need mid level hardware or you can install on high performance server too. nagios is a monitoring server.so you have to decide where you want to install. and you can monitor many client with one nagios server.you have to install nagios plugin on server and then have to configure your host and services. you have to read documents carefully. Thanks & regards ************************************** Vinay Sharma I I S Advanex Inc (www.advanex.co.jp) Fon : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp Arief Iqbal ??: nagios milis ???: cc: nagios-users-bounces at lists.sour ??: [Nagios-users] Nagios for Server or Client? ceforge.net 2006/08/09 13:20 Hi, Can nagios run under client computer ? or it must be run on server computer ? cause right now i install nagios on my computer, and my computer is client not a server, and it doesn't work. I want install nagios because i want monitor another client computer. Do you Yahoo!? Next-gen email? Have it all with the all-new Yahoo! Mail Beta. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arief_clan at yahoo.com Wed Aug 9 08:39:33 2006 From: arief_clan at yahoo.com (Arief Iqbal) Date: Tue, 8 Aug 2006 23:39:33 -0700 (PDT) Subject: Nagios for Server or Client? In-Reply-To: References: Message-ID: <20060809063933.36655.qmail@web56011.mail.re3.yahoo.com> ok, here is the problem, i've succesfully install nagios and nagios web interface in my pc, the problem is, when i try to open statusmap there's an error: Not Found The requested URL /nagios/cgiurl/statusmap.cgi was not found on this server. --------------------------------- Apache/1.3.36 Server at localhost.localdomain Port 80 i've install all libraries like libgd, libpng, libpng-devel, etc, and i've configure cgi.cfg & httpd.conf, but the statusmap still doesn't appear in my nagios web interface. Is this because my computer running as a client not a server?? or maybe i've wrong configure the cgi.cfg or httpd.conf?? Hugo van der Kooij wrote: On Tue, 8 Aug 2006, Arief Iqbal wrote: > Can nagios run under client computer ? or it must be run on server computer ? cause right now i install nagios on my computer, and my computer is client not a server, and it doesn't work. I want install nagios because i want monitor another client computer. And how do you define 'client computer' or 'server computer'? What errors? WHat did you try? What were you expecting? ...... We do not know your network nor your computers nor anything else unless you tell us about it. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gavin.cato at corp.nexon.com.au Wed Aug 9 08:47:26 2006 From: gavin.cato at corp.nexon.com.au (Gavin Cato) Date: Wed, 9 Aug 2006 16:47:26 +1000 Subject: controlling notifications a bit better Message-ID: Hi, I want certain hosts/services to only send an email alert if the host/service is down for 10 minutes. I've tried playing with max_check_attempts and the other obvious parameters but I still get email alerts after only 1-2mins. Can anyone please show me a sample config snippet or how they do it? Cheers Gav -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Aug 9 09:46:20 2006 From: m.borsani at it.net (Marco Borsani) Date: Wed, 9 Aug 2006 09:46:20 +0200 Subject: R: check+http on asp.net site In-Reply-To: References: Message-ID: <005301c6bb87$e7c16c70$0900d40a@intranet.it.net> Well Here it is the answers: ================================================ Telnet 80 ...... GET / HTTP/1.0 HTTP/1.1 404 Object Not Found Server: Microsoft-IIS/5.0 Date: Wed, 09 Aug 2006 07:39:56 GMT Content-Type: text/html Content-Length: 111 Site Not Found No web site is configured at this address.Connection closed by foreign host. ================================================ Telnet 80 ...... GET / HTTP/1.0 Host: HTTP/1.1 302 Found Server: Microsoft-IIS/5.0 Date: Wed, 09 Aug 2006 07:42:33 GMT X-Powered-By: ASP.NET X-AspNet-Version: 1.1.4322 Location: http:///DesktopDefault.aspx Set-Cookie: ASP.NET_SessionId=24d3ktjs24micn45v04rxj45; path=/ Cache-Control: private Content-Type: text/html; charset=utf-8 Content-Length: 155 Object moved

Object moved to here.

Connection closed by foreign host. =================================================== When I perform check_http I but url /DesktopDefault.aspx , but I still did not receive the OK answer; always "HTTP WARNING: HTTP/1.1 404 Object Not Found" Any idea? Regards Marco -}-----Messaggio originale----- -}Da: nagios-users-bounces at lists.sourceforge.net -}[mailto:nagios-users-bounces at lists.sourceforge.net] Per conto -}di Hugo van der Kooij -}Inviato: marted? 8 agosto 2006 21.04 -}A: Nagios Users Mailinglist -}Oggetto: Re: [Nagios-users] check+http on asp.net site -} -}On Tue, 8 Aug 2006, Marco Borsani wrote: -} -}> Have you ever checked an asp.net site with check_http 1.24.2.4 ? -}> -}> I receive following error message: -}> HTTP WARNING: HTTP/1.1 404 Object Not Found -}> -}> If I perform a check_tcp on 80 port I will receive an OK . -} -}I do not think it is asp.net specific. It is site/server -}specific and my bet is that you need to define the host to -}use in your request. -} -}Just try it with a telnet to website port 80 and type: -} -}GET / HTTP/1.0 -} -} -}Then try again with the hostname you have to use in the URL -}for this site: -} -}GET / HTTP/1.0 -}Host: yourhost.domain -} -} -}Make sure to send the CR/LF string where I said and -}replace yourhost.domain with the proper hostname. -} -}Please consult your HTTP RFC for more elaborate details. -} -}check_tcp does just that. Do the 3 way handshake to see it is -}a valid TCP port and leave. -} -}Protocol knowledge is your friend here. -} -}Hugo. -} -}-- -} I hate duplicates. Just reply to the relevant mailinglist. -} hvdkooij at vanderkooij.org -}http://hvdkooij.xs4all.nl/ -} Don't meddle in the affairs of magicians, -} for they are subtle and quick to anger. -} -}-------------------------------------------------------------- -}----------- -}Using Tomcat but need to do more? Need to support web -}services, security? -}Get stuff done quickly with pre-integrated technology to make -}your job easier Download IBM WebSphere Application Server -}v.1.0.1 based on Apache Geronimo -}http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& -}dat=121642 -}_______________________________________________ -}Nagios-users mailing list -}Nagios-users at lists.sourceforge.net -}https://lists.sourceforge.net/lists/listinfo/nagios-users -}::: Please include Nagios version, plugin version (-v) and OS -}when reporting any issue. -}::: Messages without supporting info will risk being sent to /dev/null -} ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg.cope at e-dba.net Wed Aug 9 09:54:32 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Wed, 09 Aug 2006 08:54:32 +0100 Subject: R: check+http on asp.net site In-Reply-To: <005301c6bb87$e7c16c70$0900d40a@intranet.it.net> References: <005301c6bb87$e7c16c70$0900d40a@intranet.it.net> Message-ID: <1155110072.2981.10.camel@dl.e-dba.net> Nothing wrong with the web server. It is either not configured properly, or you are asking for the wrong url. Do you know what Virtual Hosts are configured? If you try telneting and doing an HTTP/1.1 request. Greg On Wed, 2006-08-09 at 09:46 +0200, Marco Borsani wrote: > Well > > Here it is the answers: > ================================================ > Telnet 80 > ...... > GET / HTTP/1.0 > > HTTP/1.1 404 Object Not Found > Server: Microsoft-IIS/5.0 > Date: Wed, 09 Aug 2006 07:39:56 GMT > Content-Type: text/html > Content-Length: 111 > > Site Not Found > No web site is configured at this address.Connection > closed by foreign host. > ================================================ > Telnet 80 > ...... > GET / HTTP/1.0 > Host: > > HTTP/1.1 302 Found > Server: Microsoft-IIS/5.0 > Date: Wed, 09 Aug 2006 07:42:33 GMT > X-Powered-By: ASP.NET > X-AspNet-Version: 1.1.4322 > Location: http:///DesktopDefault.aspx > Set-Cookie: ASP.NET_SessionId=24d3ktjs24micn45v04rxj45; path=/ > Cache-Control: private > Content-Type: text/html; charset=utf-8 > Content-Length: 155 > > Object moved >

Object moved to here.

> > Connection closed by foreign host. > =================================================== > > When I perform check_http I but url /DesktopDefault.aspx , but I still did > not receive the OK answer; always "HTTP WARNING: HTTP/1.1 404 Object Not > Found" > > Any idea? > Regards > > Marco > > -}-----Messaggio originale----- > -}Da: nagios-users-bounces at lists.sourceforge.net > -}[mailto:nagios-users-bounces at lists.sourceforge.net] Per conto > -}di Hugo van der Kooij > -}Inviato: marted? 8 agosto 2006 21.04 > -}A: Nagios Users Mailinglist > -}Oggetto: Re: [Nagios-users] check+http on asp.net site > -} > -}On Tue, 8 Aug 2006, Marco Borsani wrote: > -} > -}> Have you ever checked an asp.net site with check_http 1.24.2.4 ? > -}> > -}> I receive following error message: > -}> HTTP WARNING: HTTP/1.1 404 Object Not Found > -}> > -}> If I perform a check_tcp on 80 port I will receive an OK . > -} > -}I do not think it is asp.net specific. It is site/server > -}specific and my bet is that you need to define the host to > -}use in your request. > -} > -}Just try it with a telnet to website port 80 and type: > -} > -}GET / HTTP/1.0 > -} > -} > -}Then try again with the hostname you have to use in the URL > -}for this site: > -} > -}GET / HTTP/1.0 > -}Host: yourhost.domain > -} > -} > -}Make sure to send the CR/LF string where I said and > -}replace yourhost.domain with the proper hostname. > -} > -}Please consult your HTTP RFC for more elaborate details. > -} > -}check_tcp does just that. Do the 3 way handshake to see it is > -}a valid TCP port and leave. > -} > -}Protocol knowledge is your friend here. > -} > -}Hugo. > -} > -}-- > -} I hate duplicates. Just reply to the relevant mailinglist. > -} hvdkooij at vanderkooij.org > -}http://hvdkooij.xs4all.nl/ > -} Don't meddle in the affairs of magicians, > -} for they are subtle and quick to anger. > -} > -}-------------------------------------------------------------- > -}----------- > -}Using Tomcat but need to do more? Need to support web > -}services, security? > -}Get stuff done quickly with pre-integrated technology to make > -}your job easier Download IBM WebSphere Application Server > -}v.1.0.1 based on Apache Geronimo > -}http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > -}dat=121642 > -}_______________________________________________ > -}Nagios-users mailing list > -}Nagios-users at lists.sourceforge.net > -}https://lists.sourceforge.net/lists/listinfo/nagios-users > -}::: Please include Nagios version, plugin version (-v) and OS > -}when reporting any issue. > -}::: Messages without supporting info will risk being sent to /dev/null > -} > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Greg Cope Systems Administrator e-DBA Ltd. 37 Ship Street, Brighton, E.S. BN1 1AB Office Phone: 0870 366 7800 Direct Phone: 0870 366 9900, ext 306 greg.cope at e-dba.com www.e-dba.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Aug 9 10:23:32 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 09 Aug 2006 09:23:32 +0100 Subject: how to display statusmap? In-Reply-To: <20060809014420.37950.qmail@web56002.mail.re3.yahoo.com> References: <20060809014420.37950.qmail@web56002.mail.re3.yahoo.com> Message-ID: <44D99B84.2070207@googlemail.com> Arief Iqbal wrote: > hi, > > I really need your help. I've already intalled lipng, libgd, etc in my > system, and i have reconfigure it, but the statusmap still does not > appear in my nagios web interface, there's a message: > > > Not Found > > The requested URL /nagios/cgiurl/statusmap.cgi was not found on this > server. > ------------------------------------------------------------------------ > Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 > > > where can i found this /nagios/cgiurl/statusmap.cgi??? can you help me > to solve this problem?? I use fedora core 3 > > thank you > > ------------------------------------------------------------------------ > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > You should address all emails to nagios-users at lists.sourceforge.net so that all people can read them and help you. Personally I think you're using an awful distro to start with, but that aside, you need to make sure you have configured apache correctly. You need to look here and follow it's instructions. http://nagios.sourceforge.net/docs/2_0/installweb.html It looks like the web server isn't finding the cgi, so you need to read the sections on cgis in the Docs and also make sure that the web url and filesystem paths are mapped correctly. -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arief_clan at yahoo.com Wed Aug 9 10:26:33 2006 From: arief_clan at yahoo.com (Arief Iqbal) Date: Wed, 9 Aug 2006 01:26:33 -0700 (PDT) Subject: How to configure CGI in web interface? Message-ID: <20060809082633.86047.qmail@web56007.mail.re3.yahoo.com> How can i make my web server to found status.cgi, statusmap.cgi, config.cgi, etc in my server? --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs.Try it free. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at Kognitio.com Wed Aug 9 10:27:54 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Wed, 9 Aug 2006 09:27:54 +0100 Subject: how to display statusmap? Message-ID: usually statusmap.cgi is found in /usr/local/nagios/sbin which is aliased to cgi-bin within apache. It could be that you need gd-devel as well as gd installed when compiling the cgi's as i had this problem when upgrading to nagios 2.5 Do you get the same problem when trying to view trends ? If you built from source, try looking in the source directory/cgi to see if you have the statusmap.c and .cgi - if not check you have gd-devel installed. If you built from RPMS then try finding out if the right RPMS were installed. hth, -----Original Message----- From: Hari Sekhon [mailto:hpsekhon at googlemail.com] Sent: 09 August 2006 09:24 To: Arief Iqbal Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] how to display statusmap? Arief Iqbal wrote: hi, I really need your help. I've already intalled lipng, libgd, etc in my system, and i have reconfigure it, but the statusmap still does not appear in my nagios web interface, there's a message: Not Found The requested URL /nagios/cgiurl/statusmap.cgi was not found on this server. _____ Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 where can i found this /nagios/cgiurl/statusmap.cgi??? can you help me to solve this problem?? I use fedora core 3 thank you _____ Yahoo! Music Unlimited - Access over 1 million songs. Try it free. You should address all emails to nagios-users at lists.sourceforge.net so that all people can read them and help you. Personally I think you're using an awful distro to start with, but that aside, you need to make sure you have configured apache correctly. You need to look here and follow it's instructions. http://nagios.sourceforge.net/docs/2_0/installweb.html It looks like the web server isn't finding the cgi, so you need to read the sections on cgis in the Docs and also make sure that the web url and filesystem paths are mapped correctly. -h ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Wed Aug 9 10:38:30 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Wed, 9 Aug 2006 09:38:30 +0100 Subject: How to configure CGI in web interface? In-Reply-To: <20060809082633.86047.qmail@web56007.mail.re3.yahoo.com> References: <20060809082633.86047.qmail@web56007.mail.re3.yahoo.com> Message-ID: You have posted about this 3 times now, all under different subjects This is a webserver problem, and you clearly haven't done anything to try and diagnose your own problem. 1. Look in your webserver logs, specifically error_log, there are errors there 2. Read your webserver config file, see where it thinks the URL /nagios/cgi-bin is going to, you have probably messed up the Alias or ScriptAlias directives 3. Own the problem, it's your system and you are the person who needs to fix it. Now, after steps 1, 2, and 3 if you need specific help on some configuration or have specific questions, then feel free to ask. (Even though this is not a Webserver help forum) Please take this information as a general guide for posting to any free support forum. Cheers Internet arief_clan at yahoo.com@lists.sourceforge.net - 09/08/2006 09:26 Sent by: nagios-users-bounces at lists.sourceforge.net To: nagios-users cc: Subject: [Nagios-users] How to configure CGI in web interface? How can i make my web server to found status.cgi, statusmap.cgi, config.cgi, etc in my server? Yahoo! Music Unlimited - Access over 1 million songs. Try it free. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Aug 9 10:45:39 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 09 Aug 2006 09:45:39 +0100 Subject: Externals Commands In-Reply-To: References: Message-ID: <44D9A0B3.4070208@googlemail.com> Deborah Martin wrote: > no idea! i use .htaccess and it works for me! my httpd.conf has the > following which is what i extracted from the docs! > > ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > > > AllowOverride AuthConfig > order allow,deny > allow from all > Options ExecCGI > > > > Alias /nagios /usr/local/nagios/share > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > > AllowOverride AuthConfig > order allow,deny > allow from all > > > Maybe there is something else that is fundamentally wrong! > > > -----Original Message----- > *From:* Justin Craig [mailto:jrcraig.email at gmail.com] > *Sent:* 01 August 2006 16:22 > *To:* Deborah Martin > *Cc:* Martin J. Green; Hari Sekhon; nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Externals Commands > > okay so here is my output: > > in my httpd.conf file I have: > > ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" > > Options ExecCGI > AllowOverride AuthConfig > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > > Alias /nagios "/usr/local/nagios/share" > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > # > > Where is my problem for not being able to execute external > commands or schedule downtime for a host? > > On 8/1/06, *Deborah Martin* < Deborah.Martin at kognitio.com > > wrote: > > actually you can use .htaccess or the httpd.conf file it > doesn't matter. If you put in the httpd.conf you have to > restart apache - not always convenient to > do that. But using .htaccess means you don't have to do that > and can simply add this file into the locations required with > immediate effect. > > Also, htpasswd(2) does as you say come with apache but it has > been known to be included with Nagios! > > > -----Original Message----- > *From:* Martin J. Green [mailto:mgreen at altien.com > ] > *Sent:* 01 August 2006 15:36 > *To:* Deborah Martin; Justin Craig > *Cc:* Hari Sekhon; nagios-users at lists.sourceforge.net > > *Subject:* RE: [Nagios-users] Externals Commands > > The .htaccess is only required if you don't have root access > to the server & thus can't add it to the main httpd.conf. If > you have root access, its almost always better to add it > there. In that case you would have no .htaccess file, it would > all be in the server config. > > > > M > > > > ------------------------------------------------------------------------ > > *From:* Deborah Martin [mailto:Deborah.Martin at kognitio.com > ] > *Sent:* 01 August 2006 15:32 > *To:* 'Justin Craig' > *Cc:* Hari Sekhon; Martin J. Green; > nagios-users at lists.sourceforge.net > > *Subject:* RE: [Nagios-users] Externals Commands > > > > ok - somewhere in the nagios docs are the details with regard > to setting up .htaccess but > > > > I think there is a utility in the nagios install directory > under bin called htpasswd or htpasswd2 and you run this util > to generate a htpasswd.users file where > > all the users that have web interface access are stored > including nagiosadmin. I store mine in the etc install directory. > > > > Then in my .htaccess file i have the following > > > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > require valid-user > > > > This file resides in the sbin directory (which is also > cgi-bin). Note though - change the AuthUserFile path to > wherever you are storing the htpasswd.users file. > > > > When i was getting the 'return from whence you came error', > this was exactly my problem - i hadn't set up authorisation > correctly and the above was how i fixed it. > > > > hope this helps. > > -----Original Message----- > *From:* Justin Craig [mailto:jrcraig.email at gmail.com > ] > *Sent:* 01 August 2006 15:07 > *To:* Deborah Martin > > > *Cc:* Hari Sekhon; Martin J. Green; > nagios-users at lists.sourceforge.net > > *Subject:* Re: [Nagios-users] Externals Commands > > so obviously I RTFM or I wouldn't have got this far. One part > that I did have questions of was the .htaccess creation, as > the documentation I read only provided information for > setting up users via htpasswd -c and changing your > authorization functionality in the CGI's to 1. > > > > So I did a find / -name *.htaccess* and that file doesn't > exist. Sounds like I need one? > > > > Sorry, there isn't anything in my /var/www/cgi-bin directory > > > > Is there something missed here? > > > > On 8/1/06, *Deborah Martin* < Deborah.Martin at kognitio.com > > wrote: > > can you forward the contents of the .htaccess file that > resides in the cgi-bin directory ? and a listing of the rest > of the directory including the permissions > > -----Original Message----- > *From:* Justin Craig [mailto: jrcraig.email at gmail.com > ] > *Sent:* 01 August 2006 14:46 > *To:* Deborah Martin > *Cc:* Hari Sekhon; Martin J. Green; > nagios-users at lists.sourceforge.net > > *Subject:* Re: [Nagios-users] Externals Commands > > i'm logged in as nagiosadmin and i have that username in all > my cgi's. I have the sameissue, can't schedule downtime or > issue external commands with the same error. I'm running > nagios 2.4 > > > > On 8/1/06, *Deborah Martin* < Deborah.Martin at kognitio.com > > wrote: > > look at your /usr/local/nagios/sbin directory and check a) > file permissions are correct and also whether your .htaccess > authrization file is present. > > This error is generally caused by not correctly using > .htaccess and also not configuring apache properly - check > your httpd.conf is correctly configured > > > > -----Original Message----- > *From:* Hari Sekhon [mailto: hpsekhon at googlemail.com > ] > *Sent:* 01 August 2006 14:14 > *To:* Martin J. Green > *Cc:* nagios-users at lists.sourceforge.net > > *Subject:* Re: [Nagios-users] Externals Commands > > Martin J. Green wrote: > > I can't get external commands to work either (appears it > can't write to the file for some reason), but its so low > on my list of priorities I haven't gotten to it yet. > > ------------------------------------------------------------------------ > > *From:* nagios-users-bounces at lists.sourceforge.net > [ > mailto:nagios-users-bounces at lists.sourceforge.net] *On > Behalf Of *Hari Sekhon > *Sent:* 01 August 2006 13:48 > *To:* nagios-users at lists.sourceforge.net > > *Subject: *[Nagios-users] Externals Commands > > I am having real difficulty getting external commands to > work and don't full understand what's going wrong, despite > having RTFMing several times. > > As an example, I log in to the web interface as > nagiosadmin via basic apache auth successfully as usual. I > go to "comments" in the left hand pane and enter one for a > host but when I click submit, I get the error: > > "Sorry, but you are not authorized to commit the specified > command. > > Read the section of the documentation that deals with > authentication and authorization in the CGIs for more > information. > > Return from whence you came" > > As far as I can tell, I have all the perms set right > according to the docs: > > cgi.cfg > > use_authentication=1 > authorized_for_system_information=nagiosadmin > authorized_for_configuration_information=nagiosadmin > authorized_for_system_commands=nagiosadmin > authorized_for_all_services=nagiosadmin > authorized_for_all_hosts=nagiosadmin > authorized_for_all_service_commands=nagiosadmin > authorized_for_all_host_commands=nagiosadmin > > nagios.cfg > > command_file=/var/nagios/rw/nagios.cmd > check_external_commands=1 > # NOTE: Setting this value to -1 causes Nagios to check > the external > # command file as often as possible. > command_check_interval=-1 > > ll /var/nagios/ | grep rw/ > drwxrws--- 2 nagios apache 4096 Aug 1 13:28 rw/ > > ll /var/nagios/rw/nagios.cmd > prw-rw---- 1 nagios apache 0 Aug 1 13:28 > /var/nagios/rw/nagios.cmd| > > The apache process is run by the apache user, a member of > the apache group, so has full perms to the directory and > the pipe file nagios.cmd. Nagios is run by nagios who is > also a member of the apache group. > > This all looks as it should be according to the docs as > far as I can see. > > What am I missing? > > > Hari > > > I think quite a lot of people have trouble with this but a > lot give up or are satisfied that the main bit is working > and don't bother with this... > > does anybody have this working and if so could you post > your configs so I can see anything you have different to me? > > are external commands generally broken or is there > something missing in the docs/our configs/our brains? > > I'm using Version 1.4.1 > > Hari > > ************************************************************************ > This email and any files transmitted with it are confidential > and intended solely for the use of the individual or entity to > whom they are addressed. Any unauthorised distribution or > copying is strictly prohibited. Whilst Kognitio Limited takes > steps to prevent the transmission of viruses via e-mail, we > can not guarantee that any email or attachment is free from > computer viruses and you are strongly advised to undertake > your own anti-virus precautions. Kognitio grants no warranties > regarding performance, use or quality of any e-mail or > attachment and undertakes no liability for loss or damage, > howsoever caused. > *********************************************************************** > > > > ------------------------------------------------------------------------- > > > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance > to share your > opinions on IT & business topics through brief surveys -- and > earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > -- > - Justin > > > > > -- > - Justin > > > > > -- > - Justin > I'm still scratching my head on this, I can go to the scheduling queue and disable checks, the command is processed and applied successfully. However I still cannot enter a host/service comment or schedule downtime without getting the not authorized, return from whence you came message... I am logged in as nagiosadmin, here is my .htacccess file which is in both my nagios/share and nagios/sbin directories: AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users AuthGroupFile /etc/nagios/htpasswd.group require group nagios /etc/htaccess.users: nagiosadmin: sOmeHaSh1234... /etc/htaccess.group nagios: nagiosadmin I have repeatedly gone over the docs so this should work, I'm at a complete loss by this point. -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Aug 9 10:53:02 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 09 Aug 2006 09:53:02 +0100 Subject: Externals Commands In-Reply-To: <44D9A0B3.4070208@googlemail.com> References: <44D9A0B3.4070208@googlemail.com> Message-ID: <44D9A26E.6000708@googlemail.com> Hari Sekhon wrote: > Deborah Martin wrote: >> no idea! i use .htaccess and it works for me! my httpd.conf has the >> following which is what i extracted from the docs! >> >> ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin >> >> AllowOverride AuthConfig >> Options ExecCGI >> Order allow,deny >> Allow from all >> >> >> >> AllowOverride AuthConfig >> order allow,deny >> allow from all >> Options ExecCGI >> >> >> >> Alias /nagios /usr/local/nagios/share >> >> Options None >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> >> >> >> AllowOverride AuthConfig >> order allow,deny >> allow from all >> >> >> Maybe there is something else that is fundamentally wrong! >> >> >> -----Original Message----- >> *From:* Justin Craig [mailto:jrcraig.email at gmail.com] >> *Sent:* 01 August 2006 16:22 >> *To:* Deborah Martin >> *Cc:* Martin J. Green; Hari Sekhon; nagios-users at lists.sourceforge.net >> *Subject:* Re: [Nagios-users] Externals Commands >> >> okay so here is my output: >> >> in my httpd.conf file I have: >> >> ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" >> >> Options ExecCGI >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> AuthName "Nagios Access" >> AuthType Basic >> AuthUserFile /usr/local/nagios/etc/htpasswd.users >> Require valid-user >> >> >> Alias /nagios "/usr/local/nagios/share" >> >> Options None >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> AuthName "Nagios Access" >> AuthType Basic >> AuthUserFile /usr/local/nagios/etc/htpasswd.users >> Require valid-user >> >> # >> >> Where is my problem for not being able to execute external >> commands or schedule downtime for a host? >> >> On 8/1/06, *Deborah Martin* < Deborah.Martin at kognitio.com >> > wrote: >> >> actually you can use .htaccess or the httpd.conf file it >> doesn't matter. If you put in the httpd.conf you have to >> restart apache - not always convenient to >> do that. But using .htaccess means you don't have to do that >> and can simply add this file into the locations required with >> immediate effect. >> >> Also, htpasswd(2) does as you say come with apache but it has >> been known to be included with Nagios! >> >> >> -----Original Message----- >> *From:* Martin J. Green [mailto:mgreen at altien.com >> ] >> *Sent:* 01 August 2006 15:36 >> *To:* Deborah Martin; Justin Craig >> *Cc:* Hari Sekhon; nagios-users at lists.sourceforge.net >> >> *Subject:* RE: [Nagios-users] Externals Commands >> >> The .htaccess is only required if you don't have root access >> to the server & thus can't add it to the main httpd.conf. If >> you have root access, its almost always better to add it >> there. In that case you would have no .htaccess file, it >> would all be in the server config. >> >> >> >> M >> >> >> >> ------------------------------------------------------------------------ >> >> *From:* Deborah Martin [mailto:Deborah.Martin at kognitio.com >> ] >> *Sent:* 01 August 2006 15:32 >> *To:* 'Justin Craig' >> *Cc:* Hari Sekhon; Martin J. Green; >> nagios-users at lists.sourceforge.net >> >> *Subject:* RE: [Nagios-users] Externals Commands >> >> >> >> ok - somewhere in the nagios docs are the details with regard >> to setting up .htaccess but >> >> >> >> I think there is a utility in the nagios install directory >> under bin called htpasswd or htpasswd2 and you run this util >> to generate a htpasswd.users file where >> >> all the users that have web interface access are stored >> including nagiosadmin. I store mine in the etc install >> directory. >> >> >> >> Then in my .htaccess file i have the following >> >> >> >> AuthName "Nagios Access" >> AuthType Basic >> AuthUserFile /usr/local/nagios/etc/htpasswd.users >> require valid-user >> >> >> >> This file resides in the sbin directory (which is also >> cgi-bin). Note though - change the AuthUserFile path to >> wherever you are storing the htpasswd.users file. >> >> >> >> When i was getting the 'return from whence you came error', >> this was exactly my problem - i hadn't set up authorisation >> correctly and the above was how i fixed it. >> >> >> >> hope this helps. >> >> -----Original Message----- >> *From:* Justin Craig [mailto:jrcraig.email at gmail.com >> ] >> *Sent:* 01 August 2006 15:07 >> *To:* Deborah Martin >> >> >> *Cc:* Hari Sekhon; Martin J. Green; >> nagios-users at lists.sourceforge.net >> >> *Subject:* Re: [Nagios-users] Externals Commands >> >> so obviously I RTFM or I wouldn't have got this far. One >> part that I did have questions of was the .htaccess creation, >> as the documentation I read only provided information for >> setting up users via htpasswd -c and changing your >> authorization functionality in the CGI's to 1. >> >> >> >> So I did a find / -name *.htaccess* and that file doesn't >> exist. Sounds like I need one? >> >> >> >> Sorry, there isn't anything in my /var/www/cgi-bin directory >> >> >> >> Is there something missed here? >> >> >> >> On 8/1/06, *Deborah Martin* < Deborah.Martin at kognitio.com >> > wrote: >> >> can you forward the contents of the .htaccess file that >> resides in the cgi-bin directory ? and a listing of the rest >> of the directory including the permissions >> >> -----Original Message----- >> *From:* Justin Craig [mailto: jrcraig.email at gmail.com >> ] >> *Sent:* 01 August 2006 14:46 >> *To:* Deborah Martin >> *Cc:* Hari Sekhon; Martin J. Green; >> nagios-users at lists.sourceforge.net >> >> *Subject:* Re: [Nagios-users] Externals Commands >> >> i'm logged in as nagiosadmin and i have that username in all >> my cgi's. I have the sameissue, can't schedule downtime or >> issue external commands with the same error. I'm running >> nagios 2.4 >> >> >> >> On 8/1/06, *Deborah Martin* < Deborah.Martin at kognitio.com >> > wrote: >> >> look at your /usr/local/nagios/sbin directory and check a) >> file permissions are correct and also whether your .htaccess >> authrization file is present. >> >> This error is generally caused by not correctly using >> .htaccess and also not configuring apache properly - check >> your httpd.conf is correctly configured >> >> >> >> -----Original Message----- >> *From:* Hari Sekhon [mailto: hpsekhon at googlemail.com >> ] >> *Sent:* 01 August 2006 14:14 >> *To:* Martin J. Green >> *Cc:* nagios-users at lists.sourceforge.net >> >> *Subject:* Re: [Nagios-users] Externals Commands >> >> Martin J. Green wrote: >> >> I can't get external commands to work either (appears it >> can't write to the file for some reason), but its so low >> on my list of priorities I haven't gotten to it yet. >> >> ------------------------------------------------------------------------ >> >> *From:* nagios-users-bounces at lists.sourceforge.net >> [ >> mailto:nagios-users-bounces at lists.sourceforge.net] *On >> Behalf Of *Hari Sekhon >> *Sent:* 01 August 2006 13:48 >> *To:* nagios-users at lists.sourceforge.net >> >> *Subject: *[Nagios-users] Externals Commands >> >> I am having real difficulty getting external commands to >> work and don't full understand what's going wrong, >> despite having RTFMing several times. >> >> As an example, I log in to the web interface as >> nagiosadmin via basic apache auth successfully as usual. >> I go to "comments" in the left hand pane and enter one >> for a host but when I click submit, I get the error: >> >> "Sorry, but you are not authorized to commit the >> specified command. >> >> Read the section of the documentation that deals with >> authentication and authorization in the CGIs for more >> information. >> >> Return from whence you came" >> >> As far as I can tell, I have all the perms set right >> according to the docs: >> >> cgi.cfg >> >> use_authentication=1 >> authorized_for_system_information=nagiosadmin >> authorized_for_configuration_information=nagiosadmin >> authorized_for_system_commands=nagiosadmin >> authorized_for_all_services=nagiosadmin >> authorized_for_all_hosts=nagiosadmin >> authorized_for_all_service_commands=nagiosadmin >> authorized_for_all_host_commands=nagiosadmin >> >> nagios.cfg >> >> command_file=/var/nagios/rw/nagios.cmd >> check_external_commands=1 >> # NOTE: Setting this value to -1 causes Nagios to check >> the external >> # command file as often as possible. >> command_check_interval=-1 >> >> ll /var/nagios/ | grep rw/ >> drwxrws--- 2 nagios apache 4096 Aug 1 13:28 rw/ >> >> ll /var/nagios/rw/nagios.cmd >> prw-rw---- 1 nagios apache 0 Aug 1 13:28 >> /var/nagios/rw/nagios.cmd| >> >> The apache process is run by the apache user, a member of >> the apache group, so has full perms to the directory and >> the pipe file nagios.cmd. Nagios is run by nagios who is >> also a member of the apache group. >> >> This all looks as it should be according to the docs as >> far as I can see. >> >> What am I missing? >> >> >> Hari >> >> >> I think quite a lot of people have trouble with this but >> a lot give up or are satisfied that the main bit is >> working and don't bother with this... >> >> does anybody have this working and if so could you post >> your configs so I can see anything you have different to me? >> >> are external commands generally broken or is there >> something missing in the docs/our configs/our brains? >> >> I'm using Version 1.4.1 >> >> Hari >> >> ************************************************************************ >> This email and any files transmitted with it are confidential >> and intended solely for the use of the individual or entity >> to whom they are addressed. Any unauthorised distribution or >> copying is strictly prohibited. Whilst Kognitio Limited takes >> steps to prevent the transmission of viruses via e-mail, we >> can not guarantee that any email or attachment is free from >> computer viruses and you are strongly advised to undertake >> your own anti-virus precautions. Kognitio grants no >> warranties regarding performance, use or quality of any >> e-mail or attachment and undertakes no liability for loss or >> damage, howsoever caused. >> *********************************************************************** >> >> >> >> ------------------------------------------------------------------------- >> >> >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the >> chance to share your >> opinions on IT & business topics through brief surveys -- and >> earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: Please include Nagios version, plugin version (-v) and OS >> when reporting any issue. >> ::: Messages without supporting info will risk being sent to >> /dev/null >> >> >> >> >> -- >> - Justin >> >> >> >> >> -- >> - Justin >> >> >> >> >> -- >> - Justin >> > > I'm still scratching my head on this, I can go to the scheduling queue > and disable checks, the command is processed and applied successfully. > However I still cannot enter a host/service comment or schedule > downtime without getting the not authorized, return from whence you > came message... > > I am logged in as nagiosadmin, here is my .htacccess file which is in > both my nagios/share and nagios/sbin directories: > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /etc/nagios/htpasswd.users > AuthGroupFile /etc/nagios/htpasswd.group > require group nagios > > > /etc/htaccess.users: > > nagiosadmin: sOmeHaSh1234... > > > /etc/htaccess.group > > nagios: nagiosadmin > > > > I have repeatedly gone over the docs so this should work, I'm at a > complete loss by this point. > > > -h > something else that might be of use is the nagios section of my apache configuration: ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from 192.168.1.0/24 Alias /nagios /usr/nagios/share/ AllowOverride AuthConfig Order allow,deny Allow from 192.168.1.0/24 (My Nagios installation is at /usr/nagios) HTH -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From LMAIGNAN at fininfo.fr Wed Aug 9 11:40:38 2006 From: LMAIGNAN at fininfo.fr (MAIGNAN Luc) Date: Wed, 9 Aug 2006 11:40:38 +0200 Subject: NagiosGrapher In-Reply-To: References: Message-ID: <6CF6C2B015865B44B7752C9420D0D716035DCBAD@exc2003.int.fininfo.grp> Hello, I've successfully installed NagiosGrapher. I saw in log that it works, but I don't know how to display graphs. Any help would be appreciated BR ********************************************************************* Ce message et toutes les pi?ces jointes (ci-apr?s le "message") sont ?tablis ? l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le d?truire et d'en avertir imm?diatement l'exp?diteur. Toute utilisation de ce message non conforme ? sa destination, modification, diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse.FININFO (et ses filiales) d?cline(nt) toute responsabilit? au titre de ce message, dans l'hypoth?se ou il aurait ?t? modifi?, alt?r?, falsifi? ou encore ?dit? ou diffus? sans autorisation. ----------------------------------------------------- This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. Neither FININFO (nor any of its subsidiaries or affiliates) shall be liable for the message if modified, altered, falsified, edited or diffused without authorization. ********************************************************************** ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Aug 9 15:11:14 2006 From: marc at ena.com (Marc Powell) Date: Wed, 9 Aug 2006 08:11:14 -0500 Subject: Nagios for Server or Client? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Arief Iqbal > Sent: Wednesday, August 09, 2006 1:40 AM > To: nagios milis > Subject: Re: [Nagios-users] Nagios for Server or Client? > > > ok, here is the problem, i've succesfully install nagios and nagios web > interface in my pc, the problem is, when i try to open statusmap there's > an error: > > > > Not Found > > The requested URL /nagios/cgiurl/statusmap.cgi was not found on this > server. > ________________________________ > > Apache/1.3.36 Server at localhost.localdomain Port 80 > > i've install all libraries like libgd, libpng, libpng-devel, etc, and i've > configure cgi.cfg & httpd.conf, but the statusmap still doesn't appear in > my nagios web interface. Is this because my computer running as a client > not a server?? or maybe i've wrong configure the cgi.cfg or httpd.conf?? Search the FAQ for statusmap. There are several entries I believe. It seems configure was not able to determine the location of the required -devel libraries. You can see which ones by reading the ./configure output. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Aug 9 15:13:44 2006 From: marc at ena.com (Marc Powell) Date: Wed, 9 Aug 2006 08:13:44 -0500 Subject: controlling notifications a bit better Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Gavin Cato > Sent: Wednesday, August 09, 2006 1:47 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] controlling notifications a bit better > > Hi, > > > > I want certain hosts/services to only send an email alert if the > host/service is down for 10 minutes. > > > > I've tried playing with max_check_attempts and the other obvious > parameters but I still get email alerts after only 1-2mins. That should do it. Make sure you don't have multiple nagios processes running. Post config sections if you need further help. > Can anyone please show me a sample config snippet or how they do it? ~12 minute delay to notification -- max_check_attempts 4 retry_check_interval 3 -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Aug 9 15:16:14 2006 From: marc at ena.com (Marc Powell) Date: Wed, 9 Aug 2006 08:16:14 -0500 Subject: R: check+http on asp.net site Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Marco Borsani > Sent: Wednesday, August 09, 2006 2:46 AM > To: 'Nagios Users Mailinglist' > Subject: [Nagios-users] R: check+http on asp.net site > > Well > > Here it is the answers: > ================================================ > Telnet 80 > ...... > GET / HTTP/1.0 > > HTTP/1.1 404 Object Not Found > Server: Microsoft-IIS/5.0 > Date: Wed, 09 Aug 2006 07:39:56 GMT > Content-Type: text/html > Content-Length: 111 > > Site Not Found > No web site is configured at this address.Connection > closed by foreign host. > ================================================ > Telnet 80 > ...... > GET / HTTP/1.0 > Host: > > HTTP/1.1 302 Found > Server: Microsoft-IIS/5.0 > Date: Wed, 09 Aug 2006 07:42:33 GMT > X-Powered-By: ASP.NET > X-AspNet-Version: 1.1.4322 > Location: http:///DesktopDefault.aspx > Set-Cookie: ASP.NET_SessionId=24d3ktjs24micn45v04rxj45; path=/ > Cache-Control: private > Content-Type: text/html; charset=utf-8 > Content-Length: 155 > > Object moved >

Object moved to href='http:///DesktopDefault.aspx'>here.

> > Connection closed by foreign host. > =================================================== > > When I perform check_http I but url /DesktopDefault.aspx , but I still did > not receive the OK answer; always "HTTP WARNING: HTTP/1.1 404 Object Not > Found" > > Any idea? Looks like you need to add '-H ' to your check_http command to have it tell the web server which vhost you want to query. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Aug 9 15:35:07 2006 From: m.borsani at it.net (Marco Borsani) Date: Wed, 9 Aug 2006 15:35:07 +0200 Subject: R: check+http on asp.net site Message-ID: <00b701c6bbb8$a1631680$0900d40a@intranet.it.net> No, The problem could be solved putting "-e HTTP" at the end of the check_http command line, but I am afraid to stop ALL other check_http on my nagios server With this command: ./check_http -I -e HTTP I received: HTTP ok: HTTP/1.1 404 Object Not Found - 0.007 second response time |time= 0.007 I still have an "Object Not Found" but the exit status in 0 ( OK ). Marco -}-----Messaggio originale----- -}Da: nagios-users-bounces at lists.sourceforge.net -}[mailto:nagios-users-bounces at lists.sourceforge.net] Per conto -}di Marc Powell -}Inviato: mercoled? 9 agosto 2006 15.16 -}A: Nagios Users Mailinglist -}Oggetto: Re: [Nagios-users] R: check+http on asp.net site -} -}Looks like you need to add '-H ' to your check_http -}command to have it tell the web server which vhost you want to query. -} -}-- -}Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtuecks at neuwied.de Wed Aug 9 14:42:42 2006 From: dtuecks at neuwied.de (Daniel Tuecks) Date: Wed, 9 Aug 2006 14:42:42 +0200 Subject: Antw: Re: Nagios for Server or Client? In-Reply-To: 0DCE5.CNM35094504 References: 0DCE5.CNM35094504 Message-ID: <44D9F462.BD33.00DC.0@neuwied.de> Did you recompile nagios after you installed libgd, etc? Any compiler errors/warnings? Maybe your gd installation isn't found? Check the output of ./configure. You do not need any fancy server hardware to run nagios. You can use virtually any client pc in your network - static ip address would be helpful, though :) Daniel >>> Arief Iqbal schrieb am Mittwoch, 9. August 2006 um 08:39 in Nachricht 0DCE5.CNM35094504: > ok, here is the problem, i've succesfully install nagios and nagios web > interface in my pc, the problem is, when i try to open statusmap there's an > error: > > Not Found The requested URL /nagios/cgiurl/statusmap.cgi was not found on > this server. > > --------------------------------- > Apache/1.3.36 Server at localhost.localdomain Port 80 > i've install all libraries like libgd, libpng, libpng-devel, etc, and i've > configure cgi.cfg & httpd.conf, but the statusmap still doesn't appear in my > nagios web interface. Is this because my computer running as a client not a > server?? or maybe i've wrong configure the cgi.cfg or httpd.conf?? > > Hugo van der Kooij wrote: On Tue, 8 Aug 2006, Arief > Iqbal wrote: > >> Can nagios run under client computer ? or it must be run on server computer > ? cause right now i install nagios on my computer, and my computer is client > not a server, and it doesn't work. I want install nagios because i want > monitor another client computer. > > And how do you define 'client computer' or 'server computer'? > > What errors? WHat did you try? What were you expecting? ...... > > We do not know your network nor your computers nor anything else unless > you tell us about it. > > Hugo. -- --- Stadtverwaltung Neuwied Daniel T?cks - EDV - Tel.: 02631 / 802 410 Fax: 02631 / 802 850 email: dtuecks at neuwied.de ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.belik at centrum.cz Wed Aug 9 15:44:22 2006 From: michael.belik at centrum.cz (Michael Belik) Date: Wed, 9 Aug 2006 15:44:22 +0200 (CEST) Subject: Monitor .NET Aplications Message-ID: <20060809134422.22B504F4045@desire.netways.de> Hi list, do you have anybody skills with monitor .net applications via Nagios? I thinking about snmp. But I don't know if do it. Thanks for tips. Have a nice day - Michael Belik (belik) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Aug 9 16:56:00 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 9 Aug 2006 10:56:00 -0400 Subject: NagiosGrapher In-Reply-To: <6CF6C2B015865B44B7752C9420D0D716035DCBAD@exc2003.int.fininfo.grp> References: <6CF6C2B015865B44B7752C9420D0D716035DCBAD@exc2003.int.fininfo.grp> Message-ID: > I've successfully installed NagiosGrapher. I saw in log that > it works, but I don't know how to display graphs. See the INSTALL file from nagiosgraph for how to use the show.cgi script. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Aug 9 16:57:45 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 9 Aug 2006 10:57:45 -0400 Subject: Monitor .NET Aplications In-Reply-To: <20060809134422.22B504F4045@desire.netways.de> References: <20060809134422.22B504F4045@desire.netways.de> Message-ID: > do you have anybody skills with monitor .net applications via Nagios? > > I thinking about snmp. But I don't know if do it. .Net apps aren't monitored any differently than any other web apps. What do you want to do? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Wed Aug 9 18:09:11 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Wed, 9 Aug 2006 10:09:11 -0600 Subject: controlling notifications a bit better Message-ID: <2D0245E43DEC724F81592D697F05689903AD5C79@SIDHQEXCHMB1.Cabelas.Corp> Normal check interval: 5 min Retry Check interval : 5 min Max check attempts : 2 -or- Normal check interval: 2 min Retry check interval: 1 min Max check attempts: 9 -or- (This is the one I run on some services) Normal check interval: 5 min Retry check interval : 1 min Max check attempts: 6 Something along those lines should do it...Yay for math! ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Gavin Cato Sent: Wednesday, August 09, 2006 12:47 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] controlling notifications a bit better Hi, I want certain hosts/services to only send an email alert if the host/service is down for 10 minutes. I've tried playing with max_check_attempts and the other obvious parameters but I still get email alerts after only 1-2mins. Can anyone please show me a sample config snippet or how they do it? Cheers Gav -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andrew.Laden at tudor.com Wed Aug 9 18:19:07 2006 From: Andrew.Laden at tudor.com (Andrew Laden) Date: Wed, 9 Aug 2006 12:19:07 -0400 Subject: controlling notifications a bit better Message-ID: <496A4C483DD4504C84C0094D9C48CFD30E404BA0@tudor.com> One thing to watch is that HOST alerts will get sent out as soon as the host is detected down. You can play with the retry settings. But you generally need to keep those short, as a host check supercedes all other checks, and nagios will essentially pause until it determines status of the host. You can also play with escalations to delay checks. Have no notifications initially, and then use an escalation to send the alert later. This takes a little work to get right. _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Aaron Segura Sent: Wednesday, August 09, 2006 12:09 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] controlling notifications a bit better Normal check interval: 5 min Retry Check interval : 5 min Max check attempts : 2 -or- Normal check interval: 2 min Retry check interval: 1 min Max check attempts: 9 -or- (This is the one I run on some services) Normal check interval: 5 min Retry check interval : 1 min Max check attempts: 6 Something along those lines should do it...Yay for math! _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Gavin Cato Sent: Wednesday, August 09, 2006 12:47 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] controlling notifications a bit better Hi, I want certain hosts/services to only send an email alert if the host/service is down for 10 minutes. I've tried playing with max_check_attempts and the other obvious parameters but I still get email alerts after only 1-2mins. Can anyone please show me a sample config snippet or how they do it? Cheers Gav -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maemigh at gmail.com Wed Aug 9 18:39:09 2006 From: maemigh at gmail.com (Mike Emigh) Date: Wed, 9 Aug 2006 12:39:09 -0400 Subject: controlling notifications a bit better In-Reply-To: <496A4C483DD4504C84C0094D9C48CFD30E404BA0@tudor.com> References: <496A4C483DD4504C84C0094D9C48CFD30E404BA0@tudor.com> Message-ID: <91eedcbf0608090939h4f79978av8bf97c93d55f5785@mail.gmail.com> On 8/9/06, Andrew Laden wrote: > > One thing to watch is that HOST alerts will get sent out as soon as the > host is detected down. You can play with the retry settings. But you > generally need to keep those short, as a host check supercedes all other > checks, and nagios will essentially pause until it determines status of the > host. > > You can also play with escalations to delay checks. Have no notifications > initially, and then use an escalation to send the alert later. This takes a > little work to get right. > > > ------------------------------ > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Aaron Segura > *Sent:* Wednesday, August 09, 2006 12:09 PM > > *To:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] controlling notifications a bit better > > Normal check interval: 5 min > > Retry Check interval : 5 min > > Max check attempts : 2 > > > > -or- > > > > Normal check interval: 2 min > > Retry check interval: 1 min > > Max check attempts: 9 > > > > -or- > > > > (This is the one I run on some services) > > Normal check interval: 5 min > > Retry check interval : 1 min > > Max check attempts: 6 > > > > > > Something along those lines should do it?Yay for math! > > > ------------------------------ > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Gavin Cato > *Sent:* Wednesday, August 09, 2006 12:47 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] controlling notifications a bit better > > > > Hi, > > > > I want certain hosts/services to only send an email alert if the > host/service is down for 10 minutes. > > > > I've tried playing with max_check_attempts and the other obvious > parameters but I still get email alerts after only 1-2mins. > > > > Can anyone please show me a sample config snippet or how they do it? > > > > Cheers > > > > Gav > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > As Andrew stated above, it is a bad idea to set max attempts to high numbers because the host checks are not run in parallel. Doing so will cause your Nagios to have scheduling problems. Instead let Nagios try to send out the notification immediately and set up a script to intercept and trash this first notification. Then reschedule the next notification for 10 minutes down the road. Here is how: # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line $USER1$/eventhandlers/check_notification $NOTIFICATIONNUMBER$ $NOTIFICATIONTYPE$ '/usr/bin/printf "%b" "$HOSTSTATE$ - $HOSTALIAS$\nDuration: $HOSTDURATION$\nDate: $LONGDATETIME$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$ $NOTIFICATIONNUMBER$" | /usr/bin/mailx -s "$NOTIFICATIONTYPE$:$HOSTALIAS$/$HOSTSTATE$" $CONTACTEMAIL$' } Notice how I added the notification number macro in the above command. Now, create the check_notification script that it calls: #!/bin/sh if [ "$1" = 1 ] ; then if [ "$2" = PROBLEM ] ; then exit 0 fi elif [ "$1" = 2 ] ; then if [ "$2" = RECOVERY ] ; then exit 0 fi fi sh -c "$3" What the above does it basically throws away the first notification (which occurs immediately after a host goes down). The setup might seem a little strange, but this method allows you to keep your notification message options inside the Nagios config file. Now because the first notification is thrown away, we need to have it schedule another notification for 10 minutes later: Do this by adding an event_handler to the host definition: event_handler ignore_first_hostpage Define this eventhandler: define command{ command_name ignore_first_hostpage command_line $USER1$/eventhandlers/host_notification $HOSTSTATE$ $HOSTSTATETYPE$ $HOSTNAME$ } Now create the host_notification script which is called in the above command: #!/bin/sh # This is a sample shell script showing how you can submit the DELAY_HOST_NOTIFICATION command # to Nagios. Adjust variables to fit your environment as necessary. # Only take action on hard host states... case "$2" in HARD) case "$1" in DOWN) # The host has gone down! now=`/usr/bin/perl -e 'printf "%d\n", time;'` newpagetime=`expr $now + 600` commandfile='/opt/FONnagios/var/rw/nagios.cmd' commandline="[$now] DELAY_HOST_NOTIFICATION;$3;$newpagetime" commandline2="[$now] SCHEDULE_HOST_CHECK;$3;$newpagetime" echo $commandline >> $commandfile echo $commandline2 >> $commandfile ;; esac ;; esac exit 0 In the above script, it is important to have the host check scheduled after the delay notification command because the notification will not occur until after the next check fails. If the next check does not fail, and the host recovers, you will receive no notifications. Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From radhiilu at yahoo.com Wed Aug 9 18:44:36 2006 From: radhiilu at yahoo.com (Sekhar) Date: Wed, 9 Aug 2006 09:44:36 -0700 (PDT) Subject: Cisco router interface CRC errors Plugin Message-ID: <20060809164436.17321.qmail@web60719.mail.yahoo.com> Hi Guys, I am looking for Cisco router interface CRC errors Plugin for nagios.any one is aving this please post link here.I want to monitor how many CRC errors we are getting. Thanks for your help --------------------------------- Do you Yahoo!? Next-gen email? Have it all with the all-new Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoprowski at computerns.com Wed Aug 9 19:23:56 2006 From: mkoprowski at computerns.com (Michael Koprowski) Date: Wed, 9 Aug 2006 13:23:56 -0400 Subject: Which sql plugin to use? Message-ID: Hi all, We are evaluating Nagios and one question that came up is what can we monitor and report on for SQL 2000? I have Nagios running and already installed the NRPE_NT plugin on a remote Win2000 server and can collect memory, cpu, file system, etc.. However looking at the various plugins for sql, it seems like I won't be able to monitor and report on SQL 2000 database availability, db and transaction log size, process information etc. I know the net-sql plugin exists but I'm uncertain this will provide the required information as mentioned above. Does anyone have suggestions how to accomplish this with Nagios? Thanks in advance, Mike ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eford at nexusenergy.com Wed Aug 9 19:24:29 2006 From: eford at nexusenergy.com (Edward Ford) Date: Wed, 9 Aug 2006 13:24:29 -0400 Subject: Upgrade nagios Message-ID: <200608091324478.SM02916@ford> How hard is it to upgrade Nagios from version 2.0b3 to 2.5 (or any other version for that matter). I am only using the basic SNMP checks such as check_disk, check_cpu, and ping. That is all I need at the moment. Is the upgrade just execute an RPM and possible restore of config files? Thanks; Eddie -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdaily at apparatus.net Wed Aug 9 19:29:52 2006 From: jdaily at apparatus.net (John R. Daily) Date: Wed, 9 Aug 2006 13:29:52 -0400 Subject: Which sql plugin to use? In-Reply-To: References: Message-ID: <698A5D61-A103-4B03-8934-C35E3449A4C3@apparatus.net> In case you haven't seen this, courtesy of Google: http://www.nagios.org/faqs/viewfaq.php?faq_id=156 -John On Aug 9, 2006, at 1:23 PM, Michael Koprowski wrote: > Hi all, > > We are evaluating Nagios and one question that came up is what can we > monitor and report on for SQL 2000? I have Nagios running and already > installed the NRPE_NT plugin on a remote Win2000 server and can > collect > memory, cpu, file system, etc.. However looking at the various plugins > for sql, it seems like I won't be able to monitor and report on SQL > 2000 > database availability, db and transaction log size, process > information > etc. I know the net-sql plugin exists but I'm uncertain this will > provide the required information as mentioned above. Does anyone have > suggestions how to accomplish this with Nagios? > > Thanks in advance, > Mike > > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gvembu at totallynetworked.com Wed Aug 9 19:49:11 2006 From: gvembu at totallynetworked.com (Ganesh Vembu) Date: Wed, 9 Aug 2006 10:49:11 -0700 Subject: NRPE Message-ID: <00CDD3DF3F3D574C8793AD9E8B529F2928F110@server.BrightScience.local> Hi all I finally got my Nagios running... Then I realized that it was checking stuff for the local machine and not any other machines I specified Ok so NRPE it is does this have to run/install on the machine I want to monitor or just on the nagios server? any insight will be of great help and how exactly does it have to be installed Using fedora core 5 Nagios 2.5 Plugins 1.4.3 thanks all ganesh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Wed Aug 9 19:58:27 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Wed, 9 Aug 2006 19:58:27 +0200 Subject: NRPE In-Reply-To: <00CDD3DF3F3D574C8793AD9E8B529F2928F110@server.BrightScience.local> References: <00CDD3DF3F3D574C8793AD9E8B529F2928F110@server.BrightScience.local> Message-ID: <6B16DB3E-17FA-4EE6-AA1C-72F7DC426146@kilala.nl> On 9 Aug, 2006, at 19:49, Ganesh Vembu wrote: > Hi all > I finally got my Nagios running... > Then I realized that it was checking stuff for the local machine > and not any other machines I specified Haha! Amazing :) You made -exactly- the same mistake I made when I began with Nagios... > Ok so NRPE it is > does this have to run/install on the machine I want to monitor or > just on the nagios server? > any insight will be of great help and how exactly does it have to > be installed I provide some details on the various ways of talking to monitored hosts on my website. Look on http://www.kilala.nl/Sysadmin and search for "Nagios: talking to clients" in the menu bar on the left... Basically, you don't -have- to go with NRPE... there's a few other options as well. If you do decide to go with NRPE though, you're going to have to install the NRPE software on each of your clients. The main Nagios documentation provides details on the installation and configuration of NRPE. Cheers! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Wed Aug 9 19:58:36 2006 From: jhmartin at toger.us (Jason Martin) Date: Wed, 9 Aug 2006 10:58:36 -0700 Subject: NRPE In-Reply-To: <00CDD3DF3F3D574C8793AD9E8B529F2928F110@server.BrightScience.local> References: <00CDD3DF3F3D574C8793AD9E8B529F2928F110@server.BrightScience.local> Message-ID: <20060809175836.GD4802@mal.members.linode.com> On Wed, Aug 09, 2006 at 10:49:11AM -0700, Ganesh Vembu wrote: > Ok so NRPE it is > does this have to run/install on the machine I want to monitor or just on the nagios server? The NRPE daemon must run on the server being monitored, and the check_nrpe plugin must be on the nagios server. -Jason Martin -- The moving cat sheds, and having shed, moves on... This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From weaselkeeper at gmail.com Wed Aug 9 20:01:34 2006 From: weaselkeeper at gmail.com (Jim Richardson) Date: Wed, 9 Aug 2006 11:01:34 -0700 Subject: NRPE In-Reply-To: <00CDD3DF3F3D574C8793AD9E8B529F2928F110@server.BrightScience.local> References: <00CDD3DF3F3D574C8793AD9E8B529F2928F110@server.BrightScience.local> Message-ID: <7f17308a0608091101m35082723xfe5861dfe2449821@mail.gmail.com> On 8/9/06, Ganesh Vembu wrote: > > Hi all > I finally got my Nagios running... > Then I realized that it was checking stuff for the local machine and not > any other machines I specified > Ok so NRPE it is > does this have to run/install on the machine I want to monitor or just on > the nagios server? > any insight will be of great help > and how exactly does it have to be installed > Using > > *fedora core 5* > *Nagios 2.5* > *Plugins 1.4.3 > * > thanks all > ganesh > You need the check_nrpe plugin on the server doing the monitoring, and the nagios plugins you plan on using, on the client being monitored, as well as the nrpe server. Another way (which is what we do) is use check_by_ssh instead of check_nrpe, took a bit more setup, but works better for us at least. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Wed Aug 9 20:12:28 2006 From: knobdy at gmail.com (Brian Loe) Date: Wed, 9 Aug 2006 13:12:28 -0500 Subject: Reporting Message-ID: <3c4611bc0608091112s7bac1dbfn285b6ffe95153edf@mail.gmail.com> Does anyone have a solution for reporting (via printable views - or better, e-mail) in the 2.x version of Nagios. I'm really needing the availability report sent at a specific interval... ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Aug 9 20:58:35 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 9 Aug 2006 20:58:35 +0200 (CEST) Subject: R: check+http on asp.net site In-Reply-To: <005301c6bb87$e7c16c70$0900d40a@intranet.it.net> References: <005301c6bb87$e7c16c70$0900d40a@intranet.it.net> Message-ID: On Wed, 9 Aug 2006, Marco Borsani wrote: > ================================================ > Telnet 80 > ...... > GET / HTTP/1.0 > Host: Ouch. I don not think you refer to this host as http:/// but http:/// in your web browser. That would render the test illegal. But by all means add the proper name (or IP if you so desire) into the parameters for check_http: -H, --hostname=ADDRESS Host name argument for servers using host headers (virtual host) Append a port to include it in the header (eg: example.com:5000) You need to check wether or not hostheaders are required in your webserver setup. My bet is you need to specify them and can 't do without them. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Aug 9 21:03:55 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 9 Aug 2006 21:03:55 +0200 (CEST) Subject: Reporting In-Reply-To: <3c4611bc0608091112s7bac1dbfn285b6ffe95153edf@mail.gmail.com> References: <3c4611bc0608091112s7bac1dbfn285b6ffe95153edf@mail.gmail.com> Message-ID: On Wed, 9 Aug 2006, Brian Loe wrote: > Does anyone have a solution for reporting (via printable views - or > better, e-mail) in the 2.x version of Nagios. I'm really needing the > availability report sent at a specific interval... If you know which URL to request to get the report you want: Simply wget it and write a small script to tuck it in a nice email message. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmblue at gmail.com Wed Aug 9 22:17:15 2006 From: tmblue at gmail.com (Tory M Blue) Date: Wed, 9 Aug 2006 13:17:15 -0700 Subject: Reporting In-Reply-To: References: <3c4611bc0608091112s7bac1dbfn285b6ffe95153edf@mail.gmail.com> Message-ID: <8a547c840608091317l995a43aj3d439c53160164ae@mail.gmail.com> On 8/9/06, Hugo van der Kooij wrote: > > On Wed, 9 Aug 2006, Brian Loe wrote: > > > Does anyone have a solution for reporting (via printable views - or > > better, e-mail) in the 2.x version of Nagios. I'm really needing the > > availability report sent at a specific interval... > > If you know which URL to request to get the report you want: Simply wget > it and write a small script to tuck it in a nice email message. > The url for the avail report is something like this (may help ya). You will have to break up the url to build the correct url for what your trying to do. You may create 3 , daily, weekly and monthly then have a central management page update the report for folks to see. http://host.domain.com/nagios/cgi-bin/avail.cgi?show_log_entries=&hostgroup=Web_Monitoring&timeperiod=thismonth&smon=8&sday=1&syear=2006&shour=0&smin=0&ssec=0&emon=8&eday=9&eyear=2006&ehour=24&emin=0&esec=0&rpttimeperiod=&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringnotrunning=yes&includesoftstates=no&initialassumedhoststate=0&initialassumedservicestate=0&backtrack=4 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Wed Aug 9 22:29:42 2006 From: knobdy at gmail.com (Brian Loe) Date: Wed, 9 Aug 2006 15:29:42 -0500 Subject: Reporting In-Reply-To: <8a547c840608091317l995a43aj3d439c53160164ae@mail.gmail.com> References: <3c4611bc0608091112s7bac1dbfn285b6ffe95153edf@mail.gmail.com> <8a547c840608091317l995a43aj3d439c53160164ae@mail.gmail.com> Message-ID: <3c4611bc0608091329w6098d5b8k224ea1d5519b2229@mail.gmail.com> On 8/9/06, Tory M Blue wrote: > > > On 8/9/06, Hugo van der Kooij wrote: > > > > If you know which URL to request to get the report you want: Simply wget > > it and write a small script to tuck it in a nice email message. > > > > The url for the avail report is something like this (may help ya). You will > have to break up the url to build the correct url for what your trying to > do. How'd you get the URL? I thought that seemed like a simple enough idea but then quickly realized that you just get a button to create the report - once its built the URL doesn't appear in the address bar, presumably because its a temporary page (??). I would definitely like a weekly and monthly report - but I'd also like to pick and choose the options I want as well (presumed state, for instance). ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Aug 9 22:58:53 2006 From: marc at ena.com (Marc Powell) Date: Wed, 9 Aug 2006 15:58:53 -0500 Subject: Reporting Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Brian Loe > Sent: Wednesday, August 09, 2006 3:30 PM > To: Tory M Blue > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Reporting > > On 8/9/06, Tory M Blue wrote: > > > > > > On 8/9/06, Hugo van der Kooij wrote: > > > > > > If you know which URL to request to get the report you want: Simply > wget > > > it and write a small script to tuck it in a nice email message. > > > > > > > The url for the avail report is something like this (may help ya). You > will > > have to break up the url to build the correct url for what your trying > to > > do. > > How'd you get the URL? I thought that seemed like a simple enough idea Run your desired report then right-click in the frame with the report and select 'Properties' or 'This Frame->View Frame Info' depending on your browser. The 'Address' you want will be displayed in the window. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Wed Aug 9 23:16:53 2006 From: knobdy at gmail.com (Brian Loe) Date: Wed, 9 Aug 2006 16:16:53 -0500 Subject: Reporting In-Reply-To: <3c4611bc0608091415n376a285dke189f10f489d9f5d@mail.gmail.com> References: <3c4611bc0608091112s7bac1dbfn285b6ffe95153edf@mail.gmail.com> <8a547c840608091317l995a43aj3d439c53160164ae@mail.gmail.com> <3c4611bc0608091329w6098d5b8k224ea1d5519b2229@mail.gmail.com> <8a547c840608091358p5e2df61ai7363cf329378a1ce@mail.gmail.com> <3c4611bc0608091415n376a285dke189f10f489d9f5d@mail.gmail.com> Message-ID: <3c4611bc0608091416t3d2d216la62f25cf8a9a3f23@mail.gmail.com> On 8/9/06, Tory M Blue wrote: > Go ahead and click open in new window after the first selection and I think > from that point on, it gives you the full url.. Meaning right click the > submit/select button and open it in a new window (should give you the full > url) > > Couldn't do it exactly that way, but in IE I can go to the report page, right click and choose properties - then copy the URL. Anyone want to volunteer to help me create the script? I need to wget the URL with authentication, attach the page to an e-mail, get rid of the page...doesn't sound that difficult but perhaps there's a way better than some silly shell script I'd throw together. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Wed Aug 9 23:49:19 2006 From: knobdy at gmail.com (Brian Loe) Date: Wed, 9 Aug 2006 16:49:19 -0500 Subject: wget attempts Message-ID: <3c4611bc0608091449jae1b591o605958d6f4d85d43@mail.gmail.com> using --save-headers, -p -k and saving it to a file (-O), this is all I've managed to get: HTTP/1.1 200 OK Date: Wed, 09 Aug 2006 21:40:43 GMT Server: Apache/2.0.54 (Linux/SUSE) Cache-Control: no-store Pragma: no-cache Expires: Thu, 01 Jan 1970 00:00:00 GMT Last-Modified: Wed, 09 Aug 2006 21:40:43 GMT Connection: close Content-Type: text/html Nagios Availability
Availability Report
Last Updated: Wed Aug 9 16:40:43 CDT 2006
Nagios® - www.nagios.org
Logged in as cssnetadmin
Display context-sensitive help for this screen

Step 1: Select Report Type

Type:

HTTP/1.1 200 OK Date: Wed, 09 Aug 2006 21:40:43 GMT Server: Apache/2.0.54 (Linux/SUSE) Last-Modified: Fri, 23 Jun 2006 17:48:50 GMT ETag: "4b78b-1a-d85be480" Accept-Ranges: bytes Content-Length: 26 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: text/plain User-agent: * Disallow: / ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 10 00:29:03 2006 From: marc at ena.com (Marc Powell) Date: Wed, 9 Aug 2006 17:29:03 -0500 Subject: wget attempts Message-ID: You'll want to go all the way through the report generation process in your browswer _then_ grab the URL for the page with the actual report. This looks like you're giving wget the URL for the start of the report process. -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Brian Loe > Sent: Wednesday, August 09, 2006 4:49 PM > To: Nagios Users Mailinglist > Subject: [Nagios-users] wget attempts > > using --save-headers, -p -k and saving it to a file (-O), this is all > I've managed to get: > > HTTP/1.1 200 OK > Date: Wed, 09 Aug 2006 21:40:43 GMT > Server: Apache/2.0.54 (Linux/SUSE) > Cache-Control: no-store > Pragma: no-cache > Expires: Thu, 01 Jan 1970 00:00:00 GMT > Last-Modified: Wed, 09 Aug 2006 21:40:43 GMT > Connection: close > Content-Type: text/html > > > > > Nagios Availability > > HREF='http://nagios.mydomain.com/nagios/stylesheets/common.css'> > HREF='http://nagios.mydomain.com/nagios/stylesheets/avail.css'> > > > > > > > > > > >
> > >
>
Availability Report
> Last Updated: Wed Aug 9 16:40:43 CDT 2006
> Nagios® - CLASS='homepageURL'>www.nagios.org
> Logged in as cssnetadmin
>
>
> > > >
> target='cshw' > onClick='javascript:window.open("/nagios/contexthelp/H1.html","cshw","wi dt > h=550,height=600,toolbar=0,location=0,status=0,resizable=1,scrollbars=1" ); > return > true'> border=0 alt='Display context-sensitive help for this screen' > title='Display context-sensitive help for this screen'> >
>
>

Step 1: Select Report > Type

>

>
> > > > >
Type: > >
type='submit' value='Continue to Step 2'>
>
>

> > > > > HTTP/1.1 200 OK > Date: Wed, 09 Aug 2006 21:40:43 GMT > Server: Apache/2.0.54 (Linux/SUSE) > Last-Modified: Fri, 23 Jun 2006 17:48:50 GMT > ETag: "4b78b-1a-d85be480" > Accept-Ranges: bytes > Content-Length: 26 > Keep-Alive: timeout=15, max=100 > Connection: Keep-Alive > Content-Type: text/plain > > User-agent: * > Disallow: / > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lincoln at pacificwesternsystems.com Thu Aug 10 00:31:51 2006 From: lincoln at pacificwesternsystems.com (Lincoln Worsham) Date: Thu, 10 Aug 2006 00:31:51 +0200 (CEST) Subject: dhcp plugin Message-ID: <20060809223151.9511D4F4045@desire.netways.de> Hi list, seems like nothing is going to work today. I can't seem to post to the list through e-mail. oh well on to the stuff: I have sucesufly been able to get nagios (2.5) up and running to monitor our network but i am having some problems with plugins. Target hardware is an xserve running mac os x 10.4.6. I used darwin ports to install nagios according to here I have not been able to get a dhcp plugin to work unfortunately. The dhcp plugin that comes with nagios (check_dhcp) when run (as root) from the command line reports Error: can't get MAC address for this architecture. I did an install form source on a clean machine (with out darwin ports) with the same results. I took a look at the make file to figure out if there was a way of setting the architecture to some kind of bsd style unix but that did not yield any thing useful. So i got on nagios exchange and found a perl version, check_dhcp.pl This one complained that if could not find a module for IO::Interface. Got IO:interface of of cpan, built and installed that, ran again and more errors: Can't load '/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/IO/In terface/Interface.bundle' for module IO::Interface: dlopen(/opt/local/lib /perl5/site_perl/5.8.8/darwin-2level/auto/IO/Interface/Interface.bundle, 1): Symbol not found: _PL_curpad Referenced from: /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/ IO/Interface/Interface.bundle Expected in: dynamic lookup at ./check_dhcp.pl line 30 Compilation failed in require at ./check_dhcp.pl line 30. BEGIN failed--compilation aborted at ./check_dhcp.pl line 30. tried on a fresh system with source only and the same results. I have been able to install other perl modules to get a plugin to work to check our raids. At this point I am some what at a loss. We have 4 different dhcp server and i would like to monitor the as they have failed in the past. They are mac boxes so i could use check_by_ssh and see if the machine *thinks* dhcp is running but that is not as reliable as i would hope for. - Lincoln Worsham (lincoln) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Thu Aug 10 00:46:21 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 09 Aug 2006 19:46:21 -0300 Subject: nagios.cmd write order (cronological?) Message-ID: <1155163581.1856.18.camel@localhost> Hi, Nagios 2.5, SuSE9.3. Syslog-ng 1.6.8. I am configuring some passive checks to be transported by syslog-ng. So i've configured syslog to write directly to nagios.cmd. Everything working fine, but as we are receiving check results from diferent distributed nagios servers, I wonder if whether or not msgs written at nagios.cmd has to be cronological. I mean, if some distributed server lost the synchronization with ntp, and the epoch time of one msg gets written to the nagios pipe with a timestamp lower than the one before that, will Nagios drop the delayed check result? Thanks for any comments on this matter. Marcel AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Aug 10 00:51:18 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 9 Aug 2006 15:51:18 -0700 Subject: Upgrade nagios In-Reply-To: <200608091324478.SM02916@ford> References: <200608091324478.SM02916@ford> Message-ID: <20060809225118.GT30863@hermes.americas.hpqcorp.net> On Wed, 09 Aug 2006, Edward Ford wrote: > How hard is it to upgrade Nagios from version 2.0b3 to 2.5 (or any other > version for that matter). I am only using the basic SNMP checks such as > check_disk, check_cpu, and ping. That is all I need at the moment. Is the > upgrade just execute an RPM and possible restore of config files? None of those checks use SNMP... but that's beside the point. You should be able to just upgrade your RPMs and restart. -- Patrick Morris Snapfish/HP 303 Second Street Suite 500, South Tower San Francisco, CA 94107 (415) 979-3727 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 10 00:50:37 2006 From: marc at ena.com (Marc Powell) Date: Wed, 9 Aug 2006 17:50:37 -0500 Subject: Reporting Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Brian Loe > Sent: Wednesday, August 09, 2006 4:17 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Reporting > > On 8/9/06, Tory M Blue wrote: > > Go ahead and click open in new window after the first selection and I > think > > from that point on, it gives you the full url.. Meaning right click the > > submit/select button and open it in a new window (should give you the > full > > url) > > > > > > Couldn't do it exactly that way, but in IE I can go to the report > page, right click and choose properties - then copy the URL. > > Anyone want to volunteer to help me create the script? I need to wget > the URL with authentication, attach the page to an e-mail, get rid of > the page...doesn't sound that difficult but perhaps there's a way > better than some silly shell script I'd throw together. In it's most simplistic form. Error checking, safety is up to you. I can't think of a more direct way to do it off the top of my head. -- wget --quiet --http-user=USERNAME --http-passwd=PASSWORD -O /PATH/TO/REPORTFILE.html "http://REPORT/URL"; echo "This is an automated message." | mutt -a /PATH/TO/REPORTFILE.html -s "SOME DESCRIPTIVE SUBJECT" email at example.com; /bin/rm /PATH/TO/REPORTFILE.html -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Aug 10 00:52:30 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 9 Aug 2006 15:52:30 -0700 Subject: NRPE In-Reply-To: <00CDD3DF3F3D574C8793AD9E8B529F2928F110@server.BrightScience.local> References: <00CDD3DF3F3D574C8793AD9E8B529F2928F110@server.BrightScience.local> Message-ID: <20060809225230.GU30863@hermes.americas.hpqcorp.net> On Wed, 09 Aug 2006, Ganesh Vembu wrote: > Hi all > I finally got my Nagios running... > Then I realized that it was checking stuff for the local machine and not any other machines I specified > Ok so NRPE it is > does this have to run/install on the machine I want to monitor or just on the nagios server? > any insight will be of great help > and how exactly does it have to be installed > Using > > fedora core 5 > Nagios 2.5 > Plugins 1.4.3 Sounds like you need to read the NRPE docs. Grab the tarfile or install the package (whichever is appropriate for your system) and read 'em. They'll tell you everything you need to know. -- Patrick Morris Snapfish/HP 303 Second Street Suite 500, South Tower San Francisco, CA 94107 (415) 979-3727 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Aug 10 00:56:51 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 9 Aug 2006 15:56:51 -0700 Subject: nagios.cmd write order (cronological?) In-Reply-To: <1155163581.1856.18.camel@localhost> References: <1155163581.1856.18.camel@localhost> Message-ID: <20060809225651.GV30863@hermes.americas.hpqcorp.net> On Wed, 09 Aug 2006, Marcel Mitsuto Fucatu Sugano wrote: > Hi, > > Nagios 2.5, SuSE9.3. > Syslog-ng 1.6.8. > > I am configuring some passive checks to be transported by syslog-ng. > > So i've configured syslog to write directly to nagios.cmd. Everything > working fine, but as we are receiving check results from diferent > distributed nagios servers, I wonder if whether or not msgs written at > nagios.cmd has to be cronological. I mean, if some distributed server > lost the synchronization with ntp, and the epoch time of one msg gets > written to the nagios pipe with a timestamp lower than the one before > that, will Nagios drop the delayed check result? > > Thanks for any comments on this matter. Timestamps are important, but the order isn't. -- Patrick Morris Snapfish/HP 303 Second Street Suite 500, South Tower San Francisco, CA 94107 (415) 979-3727 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian at matissenetworks.com Thu Aug 10 01:20:19 2006 From: christian at matissenetworks.com (Christian Lahti) Date: Wed, 9 Aug 2006 16:20:19 -0700 Subject: PerfParse Message-ID: Hello all: Has anyone been able to get PerfParse and Nagios 2.5 working correctly? I have tried many options but it just does not seem to work. I have tried: 1) having nagios printf to a log file then externally have perfparse-log2mysql process, always complains about a file position marker but the docs do not discuss this 2) have nagios fire perfparse-log2mysql on a per-event basis without the intermediate log file, this seems to work with no error but NO DATA gets stuffed to perfparse database. The perfparse documentation is a bit weak, there is no comprehensive "do this" step by step. There is not even detailed documentation on all the various config file options that I can find. I am running nagios 2.5 on CentOS 4.3. Thanks! /Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gavin.cato at corp.nexon.com.au Thu Aug 10 02:25:38 2006 From: gavin.cato at corp.nexon.com.au (Gavin Cato) Date: Thu, 10 Aug 2006 10:25:38 +1000 Subject: controlling notifications a bit better In-Reply-To: References: Message-ID: Thanks marc, but no go :( Here is my config. If this host is down I get an alert within a min or so of starting nagios. Can you see why in my config? Cheers # 'yum_6683' host definition define host{ use generic-host ; Name of host template to use host_name yum_6683 alias yum_6683 address 192.168.182.1 check_command check-host-alive max_check_attempts 15 contact_groups yumstores notification_interval 1440 notification_period 24x7 notification_options d,u,r } # Service definition define service{ use generic-service ; Name of service template to use host_name yum_6683 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 3 contact_groups yumstores notification_interval 1440 notification_period 24x7 notification_options w,u,c,r check_command check_ping!400.0,20%!800.0,60% } -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Wednesday, August 09, 2006 11:14 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] controlling notifications a bit better > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Gavin Cato > Sent: Wednesday, August 09, 2006 1:47 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] controlling notifications a bit better > > Hi, > > > > I want certain hosts/services to only send an email alert if the > host/service is down for 10 minutes. > > > > I've tried playing with max_check_attempts and the other obvious > parameters but I still get email alerts after only 1-2mins. That should do it. Make sure you don't have multiple nagios processes running. Post config sections if you need further help. > Can anyone please show me a sample config snippet or how they do it? ~12 minute delay to notification -- max_check_attempts 4 retry_check_interval 3 -- Marc ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian at matissenetworks.com Thu Aug 10 02:26:36 2006 From: christian at matissenetworks.com (Christian Lahti) Date: Wed, 9 Aug 2006 17:26:36 -0700 Subject: PerfParse (solved) Message-ID: Ok, an update to this. I am now getting data stuffed to perfparse database, here are the performance data processing commands in misccommands.cfg: that are working: # 'process-service-perfdata' command definition define command { command_name process-service-perfdata command_line /usr/bin/printf "%b" "$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICESTATE$\t$S ERVICEPERFDATA$\n" | /usr/bin/perfparse-log2mysql -c /etc/nagios/perfparse.cfg # 'process-host-perfdata' command definition define command { command_name process-host-perfdata command_line /usr/bin/printf "%b" "$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$HOSTOUTPUT$\t$SERVICESTATE$\t$HOST PERFDATA$\n" | /usr/bin/perfparse-log2mysql -c /etc/nagios/perfparse.cfg Here are the relevant nagios.cfg entries: process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata #all other perfdata entries are commented out, perf data going directly to mysql via above pipe #host_perfdata_file= #service_perfdata_file= #host_perfdata_file_template= #service_perfdata_file_template= #host_perfdata_file_mode= #service_perfdata_file_mode= #host_perfdata_file_processing_interval= #service_perfdata_file_processing_interval= Excellent tool, but the docs are pretty weak, I can send more info if anyone else is having problems. /Chris ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Christian Lahti Sent: Wednesday, August 09, 2006 4:20 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] PerfParse Hello all: Has anyone been able to get PerfParse and Nagios 2.5 working correctly? I have tried many options but it just does not seem to work. I have tried: 1) having nagios printf to a log file then externally have perfparse-log2mysql process, always complains about a file position marker but the docs do not discuss this 2) have nagios fire perfparse-log2mysql on a per-event basis without the intermediate log file, this seems to work with no error but NO DATA gets stuffed to perfparse database. The perfparse documentation is a bit weak, there is no comprehensive "do this" step by step. There is not even detailed documentation on all the various config file options that I can find. I am running nagios 2.5 on CentOS 4.3. Thanks! /Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Aug 10 02:38:34 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 9 Aug 2006 17:38:34 -0700 Subject: controlling notifications a bit better In-Reply-To: References: Message-ID: <20060810003834.GA30863@hermes.americas.hpqcorp.net> Host down notifications will normally go out immediately, and there are several very good reasons for this (most of which were explained in earlier responses). This is not configurable, except for the number of times Nagios will check (in rapid succession, ignoring any inter-chack delay configuration) if a host is up. See earlier responses for workarounds, or you may want to rethink if you want a host check on this address if it's going to go down a lot. On Thu, 10 Aug 2006, Gavin Cato wrote: > Thanks marc, but no go :( > > Here is my config. If this host is down I get an alert within a min or > so of starting nagios. > > Can you see why in my config? Cheers > > # 'yum_6683' host definition > define host{ > use generic-host ; Name of host > template to use > > host_name yum_6683 > alias yum_6683 > address 192.168.182.1 > check_command check-host-alive > max_check_attempts 15 > contact_groups yumstores > notification_interval 1440 > notification_period 24x7 > notification_options d,u,r > } > > # Service definition > define service{ > use generic-service ; Name > of service template to use > > host_name yum_6683 > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 3 > contact_groups yumstores > notification_interval 1440 > notification_period 24x7 > notification_options w,u,c,r > check_command check_ping!400.0,20%!800.0,60% > } > > > > > > > > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc > Powell > Sent: Wednesday, August 09, 2006 11:14 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] controlling notifications a bit better > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Gavin Cato > > Sent: Wednesday, August 09, 2006 1:47 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] controlling notifications a bit better > > > > Hi, > > > > > > > > I want certain hosts/services to only send an email alert if the > > host/service is down for 10 minutes. > > > > > > > > I've tried playing with max_check_attempts and the other obvious > > parameters but I still get email alerts after only 1-2mins. > > That should do it. Make sure you don't have multiple nagios processes > running. Post config sections if you need further help. > > > Can anyone please show me a sample config snippet or how they do it? > > ~12 minute delay to notification -- > max_check_attempts 4 > retry_check_interval 3 > > -- > Marc > > ------------------------------------------------------------------------ > - > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Patrick Morris Snapfish/HP 303 Second Street Suite 500, South Tower San Francisco, CA 94107 (415) 979-3727 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Thu Aug 10 02:44:24 2006 From: knobdy at gmail.com (Brian Loe) Date: Wed, 9 Aug 2006 19:44:24 -0500 Subject: wget attempts In-Reply-To: References: Message-ID: <3c4611bc0608091744k67da80a2q5d6be1aa4cb464d2@mail.gmail.com> On 8/9/06, Marc Powell wrote: > You'll want to go all the way through the report generation process in > your browswer _then_ grab the URL for the page with the actual report. > This looks like you're giving wget the URL for the start of the report > process. > That's possible, but probably because of the way Apache is configured (vhosts and aliases and such)... still working on getting the URL I guess. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arief_clan at yahoo.com Thu Aug 10 05:09:35 2006 From: arief_clan at yahoo.com (Arief Iqbal) Date: Wed, 9 Aug 2006 20:09:35 -0700 (PDT) Subject: how if libgda isn't installed? Message-ID: <20060810030935.47571.qmail@web56008.mail.re3.yahoo.com> port ftp is blocked in my workplace so i can't download libgda & libgda-devel, can i make statusmap appear if i'm not installed libgda & libgda-devel instead i've installed libpng, libjpeg, zlib, libpng-devel, etc? --------------------------------- Stay in the know. Pulse on the new Yahoo.com. Check it out. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Aug 10 05:27:24 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 9 Aug 2006 23:27:24 -0400 Subject: how if libgda isn't installed? In-Reply-To: <20060810030935.47571.qmail@web56008.mail.re3.yahoo.com> References: <20060810030935.47571.qmail@web56008.mail.re3.yahoo.com> Message-ID: > port ftp is blocked in my workplace so i can't download > libgda & libgda-devel, can i make statusmap appear if i'm not > installed libgda & libgda-devel instead i've installed > libpng, libjpeg, zlib, libpng-devel, etc? No. libgd (not libgda) is a requirement for the statusmaps. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arief_clan at yahoo.com Thu Aug 10 06:50:21 2006 From: arief_clan at yahoo.com (Arief Iqbal) Date: Wed, 9 Aug 2006 21:50:21 -0700 (PDT) Subject: PLEASE HELP download this file Message-ID: <20060810045021.60510.qmail@web56012.mail.re3.yahoo.com> I can't access ftp from my office...] Does anybody here would help me to download this file?? ftp://194.199.20.114/linux/PLD/current/dists/ac/ready/i386/libgd-2.0.20-2.i386.rpm ftp://194.199.20.114/linux/PLD/current/dists/ac/ready/i386/libgd-devel-2.0.20-2.i386.rpm and send it to my email, thanks a lot __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------- Get your email and more, right on the new Yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Aug 10 07:19:16 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 10 Aug 2006 01:19:16 -0400 Subject: PLEASE HELP download this file In-Reply-To: <20060810045021.60510.qmail@web56012.mail.re3.yahoo.com> References: <20060810045021.60510.qmail@web56012.mail.re3.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Arief Iqbal > Sent: Wednesday, August 09, 2006 9:50 PM > To: nagios milis > Subject: [Nagios-users] PLEASE HELP download this file > > I can't access ftp from my office...] > Does anybody here would help me to download this file?? > > ftp://194.199.20.114/linux/PLD/current/dists/ac/ready/i386/lib > gd-2.0.20-2.i386.rpm > > ftp://194.199.20.114/linux/PLD/current/dists/ac/ready/i386/lib > gd-devel-2.0.20-2.i386.rpm Then download them over HTTP. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arief_clan at yahoo.com Thu Aug 10 10:04:51 2006 From: arief_clan at yahoo.com (Arief Iqbal) Date: Thu, 10 Aug 2006 01:04:51 -0700 (PDT) Subject: My new ERROR PLEASE HELP Message-ID: <20060810080451.56594.qmail@web56004.mail.re3.yahoo.com> when i try to display statusmap, there's an internal server error, i don't know why, cause i've configure all configuration, this is the error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root at localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. --------------------------------- Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 and this is in the error_log message: [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] (13)Permission denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' failed, referer: http://192.168.87.100/nagios/side.html [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] Premature end of script headers: statusmap.cgi, referer: http://192.168.87.100/nagios/side.html [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] File does not exist:/var/www/html/favicon.ico please help me, thanks --------------------------------- How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtuecks at neuwied.de Thu Aug 10 11:12:32 2006 From: dtuecks at neuwied.de (Daniel Tuecks) Date: Thu, 10 Aug 2006 11:12:32 +0200 Subject: Antw: My new ERROR PLEASE HELP In-Reply-To: 04599.CNM350A5869 References: 04599.CNM350A5869 Message-ID: <44DB14A0.BD33.00DC.0@neuwied.de> Do you have ScriptAlias /nagios/cgiurl/ /usr/local/nagios/sbin/ in your httpd.conf? Daniel >>> Arief Iqbal schrieb am Donnerstag, 10. August 2006 um 10:04 in Nachricht 04599.CNM350A5869: > when i try to display statusmap, there's an internal server error, i don't > know why, cause i've configure all configuration, this is the error: > > Internal Server Error The server encountered an internal error or > misconfiguration and was unable to complete your request. > Please contact the server administrator, root at localhost and inform them > of the time the error occurred, and anything you might have done that may > have caused the error. > More information about this error may be available in the server error > log. > > --------------------------------- > Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 > and this is in the error_log message: > > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] (13)Permission > denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' failed, referer: > http://192.168.87.100/nagios/side.html > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] Premature end of > script headers: statusmap.cgi, referer: > http://192.168.87.100/nagios/side.html > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] File does not > exist:/var/www/html/favicon.ico > > please help me, thanks > > > --------------------------------- > How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates. > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com -- --- Stadtverwaltung Neuwied Daniel T?cks - EDV - Tel.: 02631 / 802 410 Fax: 02631 / 802 850 email: dtuecks at neuwied.de ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arief_clan at yahoo.com Thu Aug 10 11:53:44 2006 From: arief_clan at yahoo.com (Arief Iqbal) Date: Thu, 10 Aug 2006 02:53:44 -0700 (PDT) Subject: Antw: My new ERROR PLEASE HELP In-Reply-To: <44DB14A0.BD33.00DC.0@neuwied.de> References: <44DB14A0.BD33.00DC.0@neuwied.de> Message-ID: <20060810095344.96861.qmail@web56003.mail.re3.yahoo.com> yes i have, when i write ScriptAlias /nagios/cgi-bin /usr/local/nagios, and try to access statusmap then appear: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root at localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. --------------------------------- Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 but if i write ScriptAlias /nagios/cgiurl/ /usr/local/nagios or ScriptAlias /nagios/cgi-bin/ /usr/local/nagios , and try to access statusmap then appear: Not Found The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server. --------------------------------- Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 Daniel Tuecks wrote: Do you have ScriptAlias /nagios/cgiurl/ /usr/local/nagios/sbin/ in your httpd.conf? Daniel >>> Arief Iqbal schrieb am Donnerstag, 10. August 2006 um 10:04 in Nachricht 04599.CNM350A5869: > when i try to display statusmap, there's an internal server error, i don't > know why, cause i've configure all configuration, this is the error: > > Internal Server Error The server encountered an internal error or > misconfiguration and was unable to complete your request. > Please contact the server administrator, root at localhost and inform them > of the time the error occurred, and anything you might have done that may > have caused the error. > More information about this error may be available in the server error > log. > > --------------------------------- > Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 > and this is in the error_log message: > > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] (13)Permission > denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' failed, referer: > http://192.168.87.100/nagios/side.html > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] Premature end of > script headers: statusmap.cgi, referer: > http://192.168.87.100/nagios/side.html > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] File does not > exist:/var/www/html/favicon.ico > > please help me, thanks > > > --------------------------------- > How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates. > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com -- --- Stadtverwaltung Neuwied Daniel T?cks - EDV - Tel.: 02631 / 802 410 Fax: 02631 / 802 850 email: dtuecks at neuwied.de ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta. --------------------------------- Stay in the know. Pulse on the new Yahoo.com. Check it out. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Thu Aug 10 12:12:49 2006 From: tom at ng23.net (Tom Brown) Date: Thu, 10 Aug 2006 11:12:49 +0100 Subject: My new ERROR PLEASE HELP In-Reply-To: <20060810080451.56594.qmail@web56004.mail.re3.yahoo.com> References: <20060810080451.56594.qmail@web56004.mail.re3.yahoo.com> Message-ID: <44DB06A1.2050401@ng23.net> > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] > (13)Permission denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' > failed, referer: http://192.168.87.100/nagios/side.html > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] Premature end > of script headers: statusmap.cgi, referer: > http://192.168.87.100/nagios/side.html > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] File does not > exist:/var/www/html/favicon.ico > > please help me, thanks either the dir is not a cgi dir or the cgi's have the wrong permissions are use using SElinux? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jorg.Schulz at systeam.se Thu Aug 10 13:00:54 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Thu, 10 Aug 2006 13:00:54 +0200 Subject: My new ERROR PLEASE HELP In-Reply-To: <20060810080451.56594.qmail@web56004.mail.re3.yahoo.com> References: <20060810080451.56594.qmail@web56004.mail.re3.yahoo.com> Message-ID: Hi Are you installing Nagios from RPM ??? (13)Permission denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' = Looks permission problem between apache's running user and the owner of the plugins. Check you Permissions Verify your CGI-directory for rights and owner and try this one in you apache config file ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users !! this is what i have , change it for your needs Require valid-user Alias /nagios /usr/local/nagios/share Options None AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user /Joe Mvh J?rg Schulz Senior Konsult Linux/Unix/Novell/Windows/Networking SYSteam Kalmar AB Str?mgatan 15 Box 99 S-391 21 Kalmar Direkt 0480-456638 Mobil 0708-157806 E-Post jorg.schulz at systeam.se http:// www.systeam.se Arief Iqbal Sent by: nagios-users-bounces at lists.sourceforge.net 2006-08-10 11:53 To nagios milis cc Subject Re: [Nagios-users] Antw: My new ERROR PLEASE HELP yes i have, when i write ScriptAlias /nagios/cgi-bin /usr/local/nagios, and try to access statusmap then appear: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root at localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 but if i write ScriptAlias /nagios/cgiurl/ /usr/local/nagios or ScriptAlias /nagios/cgi-bin/ /usr/local/nagios , and try to access statusmap then appear: Not Found The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server. Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 Daniel Tuecks wrote: Do you have ScriptAlias /nagios/cgiurl/ /usr/local/nagios/sbin/ in your httpd.conf? Daniel >>> Arief Iqbal schrieb am Donnerstag, 10. August 2006 um 10:04 in Nachricht 04599.CNM350A5869: > when i try to display statusmap, there's an internal server error, i don't > know why, cause i've configure all configuration, this is the error: > > Internal Server Error The server encountered an internal error or > misconfiguration and was unable to complete your request. > Please contact the server administrator, root at localhost and inform them > of the time the error occurred, and anything you might have done that may > have caused the error. > More information about this error may be available in the server error > log. > > --------------------------------- > Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 > and this is in the error_log message: > > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] (13)Permission > denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' failed, referer: > http://192.168.87.100/nagios/side.html > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] Premature end of > script headers: statusmap.cgi, referer: > http://192.168.87.100/nagios/side.html > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] File does not > exist:/var/www/html/favicon.ico > > please help me, thanks > > > --------------------------------- > How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates. > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com -- --- Stadtverwaltung Neuwied Daniel T?cks - EDV - Tel.: 02631 / 802 410 Fax: 02631 / 802 850 email: dtuecks at neuwied.de ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta. Stay in the know. Pulse on the new Yahoo.com. Check it out. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Mvh J?rg Schulz Senior Konsult Linux/Unix/Novell/Windows/Networking SYSteam Kalmar AB Str?mgatan 15 Box 99 S-391 21 Kalmar Direkt 0480-456638 Mobil 0708-157806 E-Post jorg.schulz at systeam.se http:// www.systeam.se Arief Iqbal Sent by: nagios-users-bounces at lists.sourceforge.net 2006-08-10 10:04 To nagios milis cc Subject [Nagios-users] My new ERROR PLEASE HELP when i try to display statusmap, there's an internal server error, i don't know why, cause i've configure all configuration, this is the error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root at localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 and this is in the error_log message: [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] (13)Permission denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' failed, referer: http://192.168.87.100/nagios/side.html [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] Premature end of script headers: statusmap.cgi, referer: http://192.168.87.100/nagios/side.html [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] File does not exist:/var/www/html/favicon.ico please help me, thanks How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Thu Aug 10 13:17:47 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Thu, 10 Aug 2006 12:17:47 +0100 Subject: Reporting In-Reply-To: <3c4611bc0608091112s7bac1dbfn285b6ffe95153edf@mail.gmail.com> References: <3c4611bc0608091112s7bac1dbfn285b6ffe95153edf@mail.gmail.com> Message-ID: Hi. This is one that I wrote to achieve just this task http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640 It's written in Perl and is pretty easy to read Cheers Internet knobdy at gmail.com@lists.sourceforge.net - 09/08/2006 19:12 Sent by: nagios-users-bounces at lists.sourceforge.net To: nagios-users cc: Subject: [Nagios-users] Reporting Does anyone have a solution for reporting (via printable views - or better, e-mail) in the 2.x version of Nagios. I'm really needing the availability report sent at a specific interval... ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Thu Aug 10 13:22:11 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Thu, 10 Aug 2006 12:22:11 +0100 Subject: wget attempts / Nagios reports In-Reply-To: References: Message-ID: Guys if you want to do some reporting in Nagios, I already wrote a perl script to generate reports http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640 If it doesn't suit your exact purpose, you can modify it a little bit :-) Cheers Internet marc at ena.com@lists.sourceforge.net - 09/08/2006 23:29 Sent by: nagios-users-bounces at lists.sourceforge.net To: nagios-users cc: Subject: Re: [Nagios-users] wget attempts You'll want to go all the way through the report generation process in your browswer _then_ grab the URL for the page with the actual report. This looks like you're giving wget the URL for the start of the report process. -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Brian Loe > Sent: Wednesday, August 09, 2006 4:49 PM > To: Nagios Users Mailinglist > Subject: [Nagios-users] wget attempts > > using --save-headers, -p -k and saving it to a file (-O), this is all > I've managed to get: > > HTTP/1.1 200 OK > Date: Wed, 09 Aug 2006 21:40:43 GMT > Server: Apache/2.0.54 (Linux/SUSE) > Cache-Control: no-store > Pragma: no-cache > Expires: Thu, 01 Jan 1970 00:00:00 GMT > Last-Modified: Wed, 09 Aug 2006 21:40:43 GMT > Connection: close > Content-Type: text/html > > > > > Nagios Availability > > HREF='http://nagios.mydomain.com/nagios/stylesheets/common.css'> > HREF='http://nagios.mydomain.com/nagios/stylesheets/avail.css'> > > > > > > > > > > >
> > >
>
Availability Report
> Last Updated: Wed Aug 9 16:40:43 CDT 2006
> Nagios® - CLASS='homepageURL'>www.nagios.org
> Logged in as cssnetadmin
>
>
> > > >
> target='cshw' > onClick='javascript:window.open("/nagios/contexthelp/H1.html","cshw","wi dt > h=550,height=600,toolbar=0,location=0,status=0,resizable=1,scrollbars=1" ); > return > true'> border=0 alt='Display context-sensitive help for this screen' > title='Display context-sensitive help for this screen'> >
>
>

Step 1: Select Report > Type

>

>
> > > > >
Type: > >
type='submit' value='Continue to Step 2'>
>
>

> > > > > HTTP/1.1 200 OK > Date: Wed, 09 Aug 2006 21:40:43 GMT > Server: Apache/2.0.54 (Linux/SUSE) > Last-Modified: Fri, 23 Jun 2006 17:48:50 GMT > ETag: "4b78b-1a-d85be480" > Accept-Ranges: bytes > Content-Length: 26 > Keep-Alive: timeout=15, max=100 > Connection: Keep-Alive > Content-Type: text/plain > > User-agent: * > Disallow: / > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Aug 10 13:58:22 2006 From: m.borsani at it.net (Marco Borsani) Date: Thu, 10 Aug 2006 13:58:22 +0200 Subject: R: R: check+http on asp.net site In-Reply-To: References: Message-ID: <00cc01c6bc74$4738f0a0$0900d40a@intranet.it.net> I refer to this host as http:// I way to solve (partially) the problem is to add "-e HTTP" at the end of check_http command, but I don't like it very much Marco -}-----Messaggio originale----- -}Da: hvdkooij at vanderkooij.org [mailto:hvdkooij at vanderkooij.org] -}Inviato: mercoled? 9 agosto 2006 20.59 -}A: Marco Borsani -}Cc: 'Nagios Users Mailinglist' -}Oggetto: Re: [Nagios-users] R: check+http on asp.net site -} -}On Wed, 9 Aug 2006, Marco Borsani wrote: -} -}> ================================================ -}> Telnet 80 -}> ...... -}> GET / HTTP/1.0 -}> Host: -} -}Ouch. I don not think you refer to this host as http:/// -}but http:/// in your web browser. That would render -}the test illegal. -} -}But by all means add the proper name (or IP if you so desire) -}into the parameters for check_http: -} -} -H, --hostname=ADDRESS -} Host name argument for servers using host headers (virtual host) -} Append a port to include it in the header (eg: example.com:5000) -} -}You need to check wether or not hostheaders are required in -}your webserver setup. My bet is you need to specify them and -}can 't do without them. -} -}Hugo. -} -}-- -} I hate duplicates. Just reply to the relevant mailinglist. -} hvdkooij at vanderkooij.org -}http://hvdkooij.xs4all.nl/ -} Don't meddle in the affairs of magicians, -} for they are subtle and quick to anger. -} ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Thu Aug 10 14:07:15 2006 From: tom at ng23.net (Tom Brown) Date: Thu, 10 Aug 2006 13:07:15 +0100 Subject: R: R: check+http on asp.net site In-Reply-To: <00cc01c6bc74$4738f0a0$0900d40a@intranet.it.net> References: <00cc01c6bc74$4738f0a0$0900d40a@intranet.it.net> Message-ID: <44DB2173.6080808@ng23.net> > I refer to this host as http:// > > I way to solve (partially) the problem is to add "-e HTTP" at the end of > check_http command, but I don't like it very much are there more than 1 site? If so the IP will ignore the virtual hosts on the box and give the default site ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Aug 10 14:10:06 2006 From: m.borsani at it.net (Marco Borsani) Date: Thu, 10 Aug 2006 14:10:06 +0200 Subject: R: R: R: check+http on asp.net site In-Reply-To: <44DB2173.6080808@ng23.net> References: <44DB2173.6080808@ng23.net> Message-ID: <00d001c6bc75$eb5db3e0$0900d40a@intranet.it.net> Probably , but i am not sure because is an our "customer host". Refering to this host with http:// on my browser I have not any problem -}-----Messaggio originale----- -}Da: Tom Brown [mailto:tom at ng23.net] -}Inviato: gioved? 10 agosto 2006 14.07 -}A: Marco Borsani -}Cc: 'Nagios Users Mailinglist' -}Oggetto: Re: [Nagios-users] R: R: check+http on asp.net site -} -} -}> I refer to this host as http:// -}> -}> I way to solve (partially) the problem is to add "-e HTTP" -}at the end -}> of check_http command, but I don't like it very much -} -}are there more than 1 site? If so the IP will ignore the -}virtual hosts on the box and give the default site -} ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Thu Aug 10 15:24:31 2006 From: knobdy at gmail.com (Brian Loe) Date: Thu, 10 Aug 2006 08:24:31 -0500 Subject: Reporting In-Reply-To: References: <3c4611bc0608091112s7bac1dbfn285b6ffe95153edf@mail.gmail.com> Message-ID: <3c4611bc0608100624s3400b899q2828ef9f3f5942fb@mail.gmail.com> I've downloaded this plugin! Problem is, as I understand it, its not compatible with the newest version of Nagios - correct? I would certainly like to use it though - and if you can provide me with some help that would be "most excellent"! Before I read that somewhere, I had tried to implement it. Clicking on the link I added to the menu I would only get a bar and the following errors in Apache logs for that virtual site: [Thu Aug 10 08:19:48 2006] [error] [client 10.117.2.57] single argument form of new() no longer supported, referer: http://nagios.ecom.argushealth.com/nagios/cgi-bin/report.cgi [Thu Aug 10 08:19:48 2006] [error] [client 10.117.2.57] try Nagios::Config->new( Filename => $file ); at /usr/local/nagios/sbin/report.cgi line 226, referer: http://nagios.ecom.argushealth.com/nagios/cgi-bin/report.cgi On 8/10/06, rob.moss at uk.bnpparibas.com wrote: > Hi. This is one that I wrote to achieve just this task > > http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640 > > It's written in Perl and is pretty easy to read > > Cheers ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Thu Aug 10 15:31:38 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Thu, 10 Aug 2006 14:31:38 +0100 Subject: Reporting In-Reply-To: <3c4611bc0608100624s3400b899q2828ef9f3f5942fb@mail.gmail.com> References: <3c4611bc0608100624s3400b899q2828ef9f3f5942fb@mail.gmail.com> Message-ID: Newest version of nagios, being 2.5 or the unreleased 3.0 version? I'm running 2.4 with all the standard CGI's which is what it was built to work with. It uses the CGI's standard reporting features, and should work as-is unless the CGI's have changed dramatically between Nagios 2.4 and 2.5. If you are using 3.0 then I wish you the best of luck but can't provide any help. This reporter is meant to be run from the command prompt, say from cron, and you need to edit the appropriate configuration variables (as documented in the file). Cheers Internet knobdy at gmail.com - 10/08/2006 14:24 To: Rob MOSS cc: nagios-users Subject: Re: [Nagios-users] Reporting I've downloaded this plugin! Problem is, as I understand it, its not compatible with the newest version of Nagios - correct? I would certainly like to use it though - and if you can provide me with some help that would be "most excellent"! Before I read that somewhere, I had tried to implement it. Clicking on the link I added to the menu I would only get a bar and the following errors in Apache logs for that virtual site: [Thu Aug 10 08:19:48 2006] [error] [client 10.117.2.57] single argument form of new() no longer supported, referer: http://nagios.ecom.argushealth.com/nagios/cgi-bin/report.cgi [Thu Aug 10 08:19:48 2006] [error] [client 10.117.2.57] try Nagios::Config->new( Filename => $file ); at /usr/local/nagios/sbin/report.cgi line 226, referer: http://nagios.ecom.argushealth.com/nagios/cgi-bin/report.cgi On 8/10/06, rob.moss at uk.bnpparibas.com wrote: > Hi. This is one that I wrote to achieve just this task > > http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640 > > It's written in Perl and is pretty easy to read > > Cheers This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Thu Aug 10 15:43:59 2006 From: knobdy at gmail.com (Brian Loe) Date: Thu, 10 Aug 2006 08:43:59 -0500 Subject: Reporting Message-ID: <3c4611bc0608100643q66cab698g29ff9f20fb7ff8fc@mail.gmail.com> 2.4 - but I was confused about which plugin you were referring to... My problem with your plugin is that I just get an empty e-mail, which I'm forwarding here (less my company's warnings of confidentiality and such). On 8/10/06, rob.moss at uk.bnpparibas.com wrote: > Newest version of nagios, being 2.5 or the unreleased 3.0 version? > > I'm running 2.4 with all the standard CGI's which is what it was built to > work with. It uses the CGI's standard reporting features, and should work > as-is unless the CGI's have changed dramatically between Nagios 2.4 and > 2.5. If you are using 3.0 then I wish you the best of luck but can't > provide any help. ---------- Forwarded message ---------- From: nagios at company.com Date: 10 Aug 2006 08:38:40 -0500 Subject: Nagios alerts for month 08/2006 To: knobdy at gmail.com Please read the attatchment: Content-Type: text/plain Content-Transfer-Encoding: 7bit ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Thu Aug 10 15:49:11 2006 From: btmanmeh at verizon.net (Max H.) Date: Thu, 10 Aug 2006 09:49:11 -0400 Subject: Reporting In-Reply-To: <3c4611bc0608100643q66cab698g29ff9f20fb7ff8fc@mail.gmail.com> References: <3c4611bc0608100643q66cab698g29ff9f20fb7ff8fc@mail.gmail.com> Message-ID: <44DB3957.30201@verizon.net> Brian Loe wrote: > 2.4 - but I was confused about which plugin you were referring to... > > My problem with your plugin is that I just get an empty e-mail, which > I'm forwarding here (less my company's warnings of confidentiality and > such). > I'm getting an empty e-mail as well. The first version of the plugin works for me in Nagios 2.4. It dumps the CSS into the e-mail, which you can easily then download the e-mail as a file and view it with your favorite HTML viewer. I'm going through the script now trying to see what's going on, but I'm far from a Perl person. Max ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Thu Aug 10 16:00:44 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Thu, 10 Aug 2006 15:00:44 +0100 Subject: Reporting In-Reply-To: <3c4611bc0608100643q66cab698g29ff9f20fb7ff8fc@mail.gmail.com> References: <3c4611bc0608100643q66cab698g29ff9f20fb7ff8fc@mail.gmail.com> Message-ID: Hmm okay. Looks like a problem with the MIME encoding. What mail reader are you using? If you re-run the perl script with the --debug=2 flags then it may show you what the error is. If there are no errors visible, then your email reader may have a problem with the MIME inline . Try commenting out lines 326, 237 and 238 which are the second part of the MIME attatchment. The lines should look like 326 $smtp->datasend("--boundary\n"); 327 $smtp->datasend("Content-type: text/plain\n"); 328 $smtp->datasend("Please read the attatchment\n"); Make sure you only remove those lines. If that doesn't work, then please mail me (directly) the script output, and attatch the file /tmp/nagios-report-htmlout.html Cheers Rob Moss. Internet knobdy at gmail.com@lists.sourceforge.net - 10/08/2006 14:43 Sent by: nagios-users-bounces at lists.sourceforge.net To: nagios-users cc: Subject: Re: [Nagios-users] Reporting 2.4 - but I was confused about which plugin you were referring to... My problem with your plugin is that I just get an empty e-mail, which I'm forwarding here (less my company's warnings of confidentiality and such). On 8/10/06, rob.moss at uk.bnpparibas.com wrote: > Newest version of nagios, being 2.5 or the unreleased 3.0 version? > > I'm running 2.4 with all the standard CGI's which is what it was built to > work with. It uses the CGI's standard reporting features, and should work > as-is unless the CGI's have changed dramatically between Nagios 2.4 and > 2.5. If you are using 3.0 then I wish you the best of luck but can't > provide any help. ---------- Forwarded message ---------- From: nagios at company.com Date: 10 Aug 2006 08:38:40 -0500 Subject: Nagios alerts for month 08/2006 To: knobdy at gmail.com Please read the attatchment: Content-Type: text/plain Content-Transfer-Encoding: 7bit ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Thu Aug 10 16:10:10 2006 From: btmanmeh at verizon.net (Max H.) Date: Thu, 10 Aug 2006 10:10:10 -0400 Subject: Reporting In-Reply-To: References: Message-ID: <44DB3E42.6030407@verizon.net> rob.moss at uk.bnpparibas.com wrote: > Hmm okay. Looks like a problem with the MIME encoding. What mail reader > are you using? > > If you re-run the perl script with the --debug=2 flags then it may show you > what the error is. > > If there are no errors visible, then your email reader may have a problem > with the MIME inline . > > Try commenting out lines 326, 237 and 238 which are the second part of the > MIME attatchment. The lines should look like > > 326 $smtp->datasend("--boundary\n"); > 327 $smtp->datasend("Content-type: text/plain\n"); > 328 $smtp->datasend("Please read the attatchment\n"); > > Make sure you only remove those lines. > > If that doesn't work, then please mail me (directly) the script output, and > attatch the file /tmp/nagios-report-htmlout.html > Hi Rob, I'm using both Squirrelmail webmail, and Thunderbird 1.5 with the same results. No errors are displaying with debug=2 and the output file completely empty. I know permissions are ok, and the file is actually created, but nothing is inserted into it. Do you still want me to attach the script output directly? Max ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fred at derf.nl Thu Aug 10 16:15:13 2006 From: fred at derf.nl (Friedrich Clausen) Date: Thu, 10 Aug 2006 16:15:13 +0200 Subject: Scalable Configuration Strategies? Message-ID: <44DB3F71.8020601@derf.nl> Hi, My colleague and I are in the process of giving our bloated, all-in-one-file Nagios configuration a re-haul. It was getting unwieldy and error prone searching through the config file to add/modify hosts and services. So I am emailing the list to get opinions and see what other people do in their environments. Initial Idea: ------------- We have a multi-department Nagios server, eg. Network Admins, Windows Admins and Unix Admins all use the same server. Currently every department has their own file, eg. unix-hosts.cfg, network-elements.cfg, etc. containing host definitions, hostgroups, service definitions all in one file. So we have decided to try out the "cfg_dir" statement in nagios.cfg as the basis for our new configuration. Our initial layout could be: /etc/nagios - The main config files eg. nagios.cfg, resource.cfg, contacts.cfg, timeperiods.cfg, template.cfg. These files would only be editable by the system administrator of the Nagios box. /etc/nagios/unix-admin - Within here would be the config files for each department. The directory and the files/dirs therein would be writeable by the "unix-admin" group. We are thinking of organising it like: /etc/nagios/unix-admin/checkcommands.cfg /etc/nagios/unix-admin/contactgroups.cfg /etc/nagios/unix-admin/hostgroups.cfg /etc/nagios/unix-admin/hosts/host1.example.com.cfg /etc/nagios/unix-admin/hosts/host2.example.com.cfg /etc/nagios/unix-admin/hosts/host3.example.com.cfg .... The other departments would have a similar tree structure and permissions allowing them to modify their configurations. Potential Issues: ----------------- The main problem is what to do with common services; do we create (Option 1) a, for example, ssh.cfg that lists all the hosts (or host groups) that use SSH? Or (Option 2) do we add the SSH check into each hosts config file seperately? Option 1 pro - Easy to add new common service. Option 1 cons - Must know in advance which services are common so as to edit the correct file (either hostXX.example.com.cfg or ssh.cfg) config. Will not always be clear. There are always exceptions. Option 2 pro - Simple to configure, consistent. Option 2 cons - Mass adding a service to many hosts will require scripting or much time. I am inclined to go with option 2 for simplicity's sake. Any comments or improvements or just what works for you will be appreciated! Thanks, Fred. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From erobertstad at perimeterusa.com Thu Aug 10 16:59:51 2006 From: erobertstad at perimeterusa.com (Eirik Robertstad) Date: Thu, 10 Aug 2006 10:59:51 -0400 Subject: CSV output out of availibility Reports In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E0223CC9E@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E0223CC9E@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <44DB49E7.2020409@perimeterusa.com> Has anyone been able to get this working? I've tried to patch the 2.2 version and the 2.4 version with no luck: Same error for 2.2 and 2.4 version: Hunk #2 succeeded at 3434 (offset 13 lines). Hunk #4 succeeded at 3873 (offset 13 lines). Hunk #6 succeeded at 3937 (offset 13 lines). Hunk #8 FAILED at 3984. Hunk #9 succeeded at 4475 (offset 15 lines). 1 out of 10 hunks FAILED -- saving rejects to file avail.c.rej I've attached the avail.c.rej file. Regards, Eirik Sand Philipp wrote: > Fyi, > we found the old patch for avail.cgi in nagios 1.2 and modified it, so it can be used with the Nagios-cvs released on Thursday 13.April 2006. > I attached the file and already asked Ethan, if he can apply it the the official avail.c. > > Have fun with it! > Regards, > Philipp > > > >> -----Urspr?ngliche Nachricht----- >> Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >> admin at lists.sourceforge.net] Im Auftrag von Sand Philipp >> Gesendet: Freitag, 7. April 2006 09:20 >> An: nagios-users at lists.sourceforge.net >> Betreff: AW: [Nagios-users] RE: CSV output out of availibility Reports >> >> >>>> Hi there, >>>> >>>> I remember a patch fort he avail.cgi, with which, you could >>>> generate a cs= v output out of each avail.cgi report. I >>>> already did some research in this list and with google, but I >>>> can't fin= d the patch any more. Can anyone please give me a >>>> hint, where I can download this patch? Has anyone tested this >>>> patch with the new version of the avail.cgi in Nag= ios 2.1? >>>> >>> avail.cgi has _always_ done CSV output (as long as you choose >>> all hosts or all services). >>> It's up to you to filter the CSV by any means you care to choose. >>> If you want some help, try >>> - either putting all the CSV records in a DB and use SQL >>> (if you are serious about reporting you prob want to do this). >>> - Nagios::Report >>> (munges and filters the CSV from avail.cgi). >>> >> I was aware, that you can do this csv output when selecting all services >> or all hosts. As wehave about 500 Hosts and 3000 Services, this is no >> option when you want to make a report for the last 90 days. >> As I said, there had been a patch for this, which I already applied to >> my old Nagios Installation, but I didn't save this patch, and don't know >> where I can download it. >> >> >>>> Question for Ethan: why isn't this patch integrated into the >>>> avail.cgi by= default? Is this planned for a future release? >>>> >>> Patches welcome. >>> >> When this patch would have been applied to the avail.cgi, I wouldn't >> have the problem I got now ;) >> >> >>> BTW, there are bugs in avail.cgi relating to scheduled down time >>> that are probably more important than this. >>> >> I know, I already had to fight with this Problem, but I think that this >> bug is fixed in 2.1. >> >> >>>> Thanks in advance! >>>> >>> I probably didn't do your letter justice. It seems on reflection that >>> you meant you want the patch for avail.cgi that generates CSV from >>> a specific availability report eg a new link in the report for >>> a host or service that does CSV. >>> However, I think it has been made pretty clear from the Nag roadmap >>> >> that >> >>> the CGIs have been end of lifed and will be replaced by PHP. I think >>> that >>> is a much better use of scare developer resources than trying >>> to fix difficult and fragile code. >>> >> As I said obove, the patch had already been developed, so you don't need >> to sink hundrets of hours to apply it. I'm totally aware of the Nagios >> Roadmap. But I'm not expecting Nagios 3.0 to be released in the near >> future. >> >> >> >>> As Radia Perlman said about sub-optimal routing, 'people should be >>> grateful >>> that their data is delivered at all'. >>> >> Hmm, would be nice to see, when you tell this to your customers :-) >> >> Philipp >> >> >> >> ************************************************************************** >> ****************************************************** >> sycor plastics - die Branchenloesung fuer die Kunststoffindustrie >> www.sycor-plastics.de >> >> sycor plastics - the solution for the plastic industry >> www.sycor-plastics.com >> >> ************************************************************************** >> ****************************************************** >> >> >> Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche >> Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse >> Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort >> und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine >> Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt >> rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, >> sofern dies nicht ausdruecklich in schriftlicher Form zwischen den >> Parteien vereinbart wurde. >> >> This e-mail is confidential and may contain personal and/or privileged >> information. If you are not the intended recipient please delete this e- >> mail and all attachments immediately and inform us. The company sycor does >> not agree with contracts or contract obligations sent by e-mail, neither >> do we transmit legally binding offers by e-mail, unless this is not >> expressly agreed upon between the parties and documented in written form. >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language >> that extends applications into web and mobile media. Attend the live >> webcast >> and join the prime developer group breaking into this new coding >> territory! >> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > ******************************************************************************************************************************** > sycor plastics - die Branchenloesung fuer die Kunststoffindustrie www.sycor-plastics.de > > sycor plastics - the solution for the plastic industry www.sycor-plastics.com > > ******************************************************************************************************************************** > > > Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdruecklich in schriftlicher Form zwischen den Parteien vereinbart wurde. > > This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. > > > > ******************************************************************************************************************************** > sycor plastics - die Branchenloesung fuer die Kunststoffindustrie www.sycor-plastics.de > > sycor plastics - the solution for the plastic industry www.sycor-plastics.com > > ******************************************************************************************************************************** > > > Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdruecklich in schriftlicher Form zwischen den Parteien vereinbart wurde. > > This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. > > -- The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit: http://www.perimeterusa.com/malicious_code_defense_content.html This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: avail.c.rej URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 10 17:18:20 2006 From: marc at ena.com (Marc Powell) Date: Thu, 10 Aug 2006 10:18:20 -0500 Subject: wget attempts Message-ID: > -----Original Message----- > From: Brian Loe [mailto:knobdy at gmail.com] > Sent: Wednesday, August 09, 2006 7:44 PM > To: Marc Powell > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] wget attempts > > On 8/9/06, Marc Powell wrote: > > You'll want to go all the way through the report generation process in > > your browswer _then_ grab the URL for the page with the actual report. > > This looks like you're giving wget the URL for the start of the report > > process. > > > > That's possible, but probably because of the way Apache is configured > (vhosts and aliases and such)... still working on getting the URL I > guess. Shouldn't make any difference. Your browser still has to request a very specific URL and will display that URL to you if you ask it. I've tested it with I.E. and Firefox and it works as I expected. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Thu Aug 10 17:59:58 2006 From: israel at frontierflying.com (Israel Brewster) Date: Thu, 10 Aug 2006 07:59:58 -0800 Subject: My new ERROR PLEASE HELP In-Reply-To: <20060810080451.56594.qmail@web56004.mail.re3.yahoo.com> References: <20060810080451.56594.qmail@web56004.mail.re3.yahoo.com> Message-ID: <57996616-4499-4B1B-84F1-FC9F5B1F07A2@frontierflying.com> I was getting that error for quite some time, tried everything in the book to fix it, with no luck. In the end it turned out that SELinux was enabled. Disabling it solved the problem. The file I had to edit to turn off SELinux was /etc/selinux/config. My understanding is that it is also possible to leave it on and just add some rules to allow access, but I didn't get into that. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service 5245 Airport Industrial Rd Fairbanks, AK 99709 ----------------------------------------------- On Aug 10, 2006, at 12:04 AM, Arief Iqbal wrote: > when i try to display statusmap, there's an internal server error, > i don't know why, cause i've configure all configuration, this is > the error: > > Internal Server Error > The server encountered an internal error or misconfiguration and > was unable to complete your request. > Please contact the server administrator, root at localhost and inform > them of the time the error occurred, and anything you might have > done that may have caused the error. > More information about this error may be available in the server > error log. > Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 > and this is in the error_log message: > > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] (13) > Permission denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' > failed, referer: http://192.168.87.100/nagios/side.html > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] > Premature end of script headers: statusmap.cgi, referer: http:// > 192.168.87.100/nagios/side.html > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] File > does not exist:/var/www/html/favicon.ico > > please help me, thanks > > How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone > call rates. > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642______________________________ > _________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Thu Aug 10 18:40:40 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Thu, 10 Aug 2006 17:40:40 +0100 Subject: Reporting In-Reply-To: <3c4611bc0608100643q66cab698g29ff9f20fb7ff8fc@mail.gmail.com> References: <3c4611bc0608100643q66cab698g29ff9f20fb7ff8fc@mail.gmail.com> Message-ID: Okay, found the problem. Sorry guys, in my haste to bash out a version without the CSS embedding code, i made a schoolboy error. This has now been fixed. You can fix the error by moving line 91 to line 77 (outside of the if statement) The line is "$mailbody = http_request($reporturl);" which fetches the report. I have uploaded a new verison to the website, version 1.3.1 http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640 Cheers Internet knobdy at gmail.com@lists.sourceforge.net - 10/08/2006 14:43 Sent by: nagios-users-bounces at lists.sourceforge.net To: nagios-users cc: Subject: Re: [Nagios-users] Reporting 2.4 - but I was confused about which plugin you were referring to... My problem with your plugin is that I just get an empty e-mail, which I'm forwarding here (less my company's warnings of confidentiality and such). On 8/10/06, rob.moss at uk.bnpparibas.com wrote: > Newest version of nagios, being 2.5 or the unreleased 3.0 version? > > I'm running 2.4 with all the standard CGI's which is what it was built to > work with. It uses the CGI's standard reporting features, and should work > as-is unless the CGI's have changed dramatically between Nagios 2.4 and > 2.5. If you are using 3.0 then I wish you the best of luck but can't > provide any help. ---------- Forwarded message ---------- From: nagios at company.com Date: 10 Aug 2006 08:38:40 -0500 Subject: Nagios alerts for month 08/2006 To: knobdy at gmail.com Please read the attatchment: Content-Type: text/plain Content-Transfer-Encoding: 7bit ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smiller at co.slo.ca.us Thu Aug 10 18:42:07 2006 From: smiller at co.slo.ca.us (smiller at co.slo.ca.us) Date: Thu, 10 Aug 2006 09:42:07 -0700 Subject: Service definition host_name parameter logic? Message-ID: Hi everyone, I thought I'd drop a line to the list and inquire about if there was any plan to extend the logic in the host_name parameter of a service definition to be able to exclude individual hosts or host groups. I've stumbled across a situation where that would be useful. (e.g. host_name *,not SERVER1, not SERVER2) What I've done in the meantime is just disabled active service checks for that service on that particular host. Thanks =) --- Steve Miller Network Engineer Information Technology Department County of San Luis Obispo 805-781-5097 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Aug 10 18:47:24 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 10 Aug 2006 12:47:24 -0400 Subject: Service definition host_name parameter logic? In-Reply-To: References: Message-ID: > I thought I'd drop a line to the list and inquire about if > there was any plan to extend the logic in the host_name > parameter of a service definition to be able to exclude > individual hosts or host groups. > > I've stumbled across a situation where that would be useful. > (e.g. host_name *,not SERVER1, not SERVER2) > > What I've done in the meantime is just disabled active > service checks for that service on that particular host. You can do this currently if you enable regexp matching in your Nagios config. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Thu Aug 10 19:01:29 2006 From: knobdy at gmail.com (Brian Loe) Date: Thu, 10 Aug 2006 12:01:29 -0500 Subject: Reporting In-Reply-To: References: <3c4611bc0608100643q66cab698g29ff9f20fb7ff8fc@mail.gmail.com> Message-ID: <3c4611bc0608101001i6411e86cq48911b1a50e9a94e@mail.gmail.com> Awesome - thank you! On 8/10/06, rob.moss at uk.bnpparibas.com wrote: > Okay, found the problem. > > Sorry guys, in my haste to bash out a version without the CSS embedding > code, i made a schoolboy error. This has now been fixed. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smiller at co.slo.ca.us Thu Aug 10 19:08:42 2006 From: smiller at co.slo.ca.us (smiller at co.slo.ca.us) Date: Thu, 10 Aug 2006 10:08:42 -0700 Subject: Service definition host_name parameter logic? In-Reply-To: References: Message-ID: Ooo! I didn't know there was regexp support. Thanks =) --- Steve Miller Network Engineer Information Technology Department County of San Luis Obispo 805-781-5097 "Morris, Patrick" 08/10/2006 09:47 AM To , cc Subject RE: [Nagios-users] Service definition host_name parameter logic? > I thought I'd drop a line to the list and inquire about if > there was any plan to extend the logic in the host_name > parameter of a service definition to be able to exclude > individual hosts or host groups. > > I've stumbled across a situation where that would be useful. > (e.g. host_name *,not SERVER1, not SERVER2) > > What I've done in the meantime is just disabled active > service checks for that service on that particular host. You can do this currently if you enable regexp matching in your Nagios config. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Thu Aug 10 20:00:09 2006 From: btmanmeh at verizon.net (Max H.) Date: Thu, 10 Aug 2006 14:00:09 -0400 Subject: Reporting In-Reply-To: References: Message-ID: <44DB7429.7090603@verizon.net> rob.moss at uk.bnpparibas.com wrote: > Okay, found the problem. > > Sorry guys, in my haste to bash out a version without the CSS embedding > code, i made a schoolboy error. This has now been fixed. > > You can fix the error by moving line 91 to line 77 (outside of the if > statement) > The line is "$mailbody = http_request($reporturl);" which fetches the > report. > > I have uploaded a new verison to the website, version 1.3.1 > http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640 That took care of it! Many thanks. :) Max ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smiller at co.slo.ca.us Thu Aug 10 20:14:16 2006 From: smiller at co.slo.ca.us (smiller at co.slo.ca.us) Date: Thu, 10 Aug 2006 11:14:16 -0700 Subject: Service definition host_name parameter logic? In-Reply-To: References: Message-ID: I'm not having much luck with negative lookahead assertions using regexp with my service object definitions... could you provide an example? I am trying something like: host_name ^(?!(HOST1|HOST2)).*$ Thanks =) --- Steve Miller Network Engineer Information Technology Department County of San Luis Obispo 805-781-5097 "Morris, Patrick" 08/10/2006 09:47 AM To , cc Subject RE: [Nagios-users] Service definition host_name parameter logic? > I thought I'd drop a line to the list and inquire about if > there was any plan to extend the logic in the host_name > parameter of a service definition to be able to exclude > individual hosts or host groups. > > I've stumbled across a situation where that would be useful. > (e.g. host_name *,not SERVER1, not SERVER2) > > What I've done in the meantime is just disabled active > service checks for that service on that particular host. You can do this currently if you enable regexp matching in your Nagios config. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmblue at gmail.com Thu Aug 10 20:24:57 2006 From: tmblue at gmail.com (Tory M Blue) Date: Thu, 10 Aug 2006 11:24:57 -0700 Subject: Forced Checks don't happen?> Message-ID: <8a547c840608101124w32e44e71u9184c31c47f2dfcc@mail.gmail.com> Not sure if forced checks get into a whacky stage or what, but I've reloaded and restarted nagios with no luck latest [08-10-2006 11:16:40] SERVICE ALERT: host.domaint;Check_Running_Procs;OK;SOFT;2;Processes ok [08-10-2006 11:06:36] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;snort;Check_Running_Procs;1155233195 So it's been over 10 minutes and I don't see my forced check taking place. I'm testing some service restart commands, and thus go in, stop a service on the test host then force the check, so I can watch what it's doing and verify that nagios restarted the service correctly. But Nagios does not want to perform my check and when I look at scheduling queue it's there with a recent timestamp but it has not checked it. snort Check_Running_Procs08-10-2006 11:21:3608-10-2006 11:26:36ENABLED So what could be happening, I have made no changes and yesterday it allowed 3 good tests before it just stopped appearing to run Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Thu Aug 10 20:55:48 2006 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Thu, 10 Aug 2006 14:55:48 -0400 Subject: Forced Checks don't happen?> In-Reply-To: <8a547c840608101124w32e44e71u9184c31c47f2dfcc@mail.gmail.com> References: <8a547c840608101124w32e44e71u9184c31c47f2dfcc@mail.gmail.com> Message-ID: I have seen this issue as well. The first time I recall seeing it was with 2.4. I believe I've seen it with 2.5, but I can't remember for sure. I can't really reproduce it. I believe I've gotten around it by removing the check, restarting nagios, then adding it again sometime later. But I could be mistaken. Mark ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Tory M Blue Sent: Thursday, August 10, 2006 2:25 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Forced Checks don't happen?> Not sure if forced checks get into a whacky stage or what, but I've reloaded and restarted nagios with no luck latest [08-10-2006 11:16:40] SERVICE ALERT: host.domaint;Check_Running_Procs;OK;SOFT;2;Processes ok [08-10-2006 11:06:36] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;snort;Check_Running_Procs;1155233195 So it's been over 10 minutes and I don't see my forced check taking place. I'm testing some service restart commands, and thus go in, stop a service on the test host then force the check, so I can watch what it's doing and verify that nagios restarted the service correctly. But Nagios does not want to perform my check and when I look at scheduling queue it's there with a recent timestamp but it has not checked it. snort Check_Running_Procs 08-10-2006 11:21:36 08-10-2006 11:26:36 ENABLED So what could be happening, I have made no changes and yesterday it allowed 3 good tests before it just stopped appearing to run Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gvembu at totallynetworked.com Thu Aug 10 21:06:23 2006 From: gvembu at totallynetworked.com (Ganesh Vembu) Date: Thu, 10 Aug 2006 12:06:23 -0700 Subject: NRPE Message-ID: <00CDD3DF3F3D574C8793AD9E8B529F2928F116@server.BrightScience.local> Hello all I am running Nagios2.5 on a fredora core 5 server i am trying to check uptime on a windows xp prof. desktop. i have the NSclient installed on the desktop and i can check the uptime on the desktop using the ./check_nt -H -p 1248 -v UPTIME but configuring my minimal.cfg and my checkcommands.cfg file i get an error the error is as below Checking services... Error: Service check command 'check_nt -H 172.16.1.103 -p 1248 -v' specified in service 'check-nt' for host 'helpdesk' not defined anywhere! Checked 1 services. define host{ use generic-host ; Name of host template to use host_name helpdesk alias helpdesk address 172.16.1.103 check_command check-nt max_check_attempts 10 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } define service{ use generic-service ; Name of service template to use host_name helpdesk service_description check-nt is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_nt -H 172.16.1.103 -p 1248 -v } define command{ command_name check_nt command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v check-nt } any help is appreciated ganesh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoprowski at computerns.com Thu Aug 10 21:23:15 2006 From: mkoprowski at computerns.com (Michael Koprowski) Date: Thu, 10 Aug 2006 15:23:15 -0400 Subject: Which sql plugin to use? Message-ID: Thanks John, I know Google and do make use of it. Before posting I try doing as much research as possible, and use the mailing list as my last option. I found the article you referenced, but thought there might be an updated plugin available to monitor and report on specifics to SQL. -Mike From: John R. Daily Re: Which sql plugin to use? 2006-08-09 10:30 In case you haven't seen this, courtesy of Google: http://www.nagios.org/faqs/viewfaq.php?faq_id=156 -John On Aug 9, 2006, at 1:23 PM, Michael Koprowski wrote: > Hi all, > > We are evaluating Nagios and one question that came up is what can we > monitor and report on for SQL 2000? I have Nagios running and already > installed the NRPE_NT plugin on a remote Win2000 server and can > collect > memory, cpu, file system, etc.. However looking at the various plugins > for sql, it seems like I won't be able to monitor and report on SQL 2000 > database availability, db and transaction log size, process information > etc. I know the net-sql plugin exists but I'm uncertain this will > provide the required information as mentioned above. Does anyone have > suggestions how to accomplish this with Nagios? > > Thanks in advance, > Mike ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmblue at gmail.com Thu Aug 10 21:35:48 2006 From: tmblue at gmail.com (Tory M Blue) Date: Thu, 10 Aug 2006 12:35:48 -0700 Subject: Forced Checks don't happen?> In-Reply-To: References: <8a547c840608101124w32e44e71u9184c31c47f2dfcc@mail.gmail.com> Message-ID: <8a547c840608101235v799f5ebdh2ddc0a83cbb3d9f5@mail.gmail.com> On 8/10/06, Frost, Mark {PBG} wrote: > > I have seen this issue as well. The first time I recall seeing it was > with 2.4. I believe I've seen it with 2.5, but I can't remember for > sure. I can't really reproduce it. I believe I've gotten around it by > removing the check, restarting nagios, then adding it again sometime later. > But I could be mistaken. > > Mark > pepsi.com eh :) Cool beans, in fact I was just notified I won a motorola phone from pepsi , selected the slvr :) Cool stuff. Back to Nagios: Yes I removed the check, reloaded and then added it back and it seemed to clear up, but this probably needs a bit of investigation to see what hangs, what is getting stuck since everything else seem to still work. Thanks for the response Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Thu Aug 10 22:22:30 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Thu, 10 Aug 2006 17:22:30 -0300 Subject: nagios.cmd write order (cronological?) In-Reply-To: <20060809225651.GV30863@hermes.americas.hpqcorp.net> References: <1155163581.1856.18.camel@localhost> <20060809225651.GV30863@hermes.americas.hpqcorp.net> Message-ID: <1155241351.13595.15.camel@localhost> On Wed, 2006-08-09 at 15:56 -0700, Patrick Morris wrote: > On Wed, 09 Aug 2006, Marcel Mitsuto Fucatu Sugano wrote: > > > Hi, > > > > Nagios 2.5, SuSE9.3. > > Syslog-ng 1.6.8. > > > > I am configuring some passive checks to be transported by syslog-ng. > > > > So i've configured syslog to write directly to nagios.cmd. Everything > > working fine, but as we are receiving check results from diferent > > distributed nagios servers, I wonder if whether or not msgs written at > > nagios.cmd has to be cronological. I mean, if some distributed server > > lost the synchronization with ntp, and the epoch time of one msg gets > > written to the nagios pipe with a timestamp lower than the one before > > that, will Nagios drop the delayed check result? > > > > Thanks for any comments on this matter. > > Timestamps are important, but the order isn't. > By observation, it shows that timestamp and arrival (written) order does matter! Does anyone else knows anything about concurrent writes to nagios.cmd? Syslog-ng and nsca are writing to nagios.cmd pipe, but nsca is configured to append mode. TIA, Marcel AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Thu Aug 10 22:24:52 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Thu, 10 Aug 2006 22:24:52 +0200 Subject: NRPE In-Reply-To: <00CDD3DF3F3D574C8793AD9E8B529F2928F116@server.BrightScience.local> References: <00CDD3DF3F3D574C8793AD9E8B529F2928F116@server.BrightScience.local> Message-ID: On 10 Aug, 2006, at 21:06, Ganesh Vembu wrote: > Checking services... > Error: Service check command 'check_nt -H 172.16.1.103 -p 1248 -v' > specified in service 'check-nt' for host 'helpdesk' not defined > anywhere! > Checked 1 services. Ganesh, Please don't take this the wrong way, but considering this e-mail and your last I think that it's time for you to read the Nagios documentation... Front to back. Just so you get a clear picture of how everything works. Because right now it doesn't seem that you do. Cheers and good luck! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Aug 10 22:28:21 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 10 Aug 2006 16:28:21 -0400 Subject: NRPE In-Reply-To: <00CDD3DF3F3D574C8793AD9E8B529F2928F116@server.BrightScience.local> References: <00CDD3DF3F3D574C8793AD9E8B529F2928F116@server.BrightScience.local> Message-ID: > Hello all > I am running Nagios2.5 on a fredora core 5 server i am > trying to check uptime on a windows xp prof. desktop. i have > the NSclient installed on the desktop and i can check the > uptime on the desktop using the ./check_nt -H -p > 1248 -v UPTIME > > but configuring my minimal.cfg and my checkcommands.cfg file > i get an error the error is as below > > Checking services... > Error: Service check command 'check_nt -H 172.16.1.103 -p > 1248 -v' specified in service 'check-nt' for host 'helpdesk' > not defined anywhere! > Checked 1 services. > > > define host{ > use generic-host ; > Name of host template to use > host_name helpdesk > alias helpdesk > address 172.16.1.103 > check_command check-nt > max_check_attempts 10 > check_period 24x7 > notification_interval 120 > notification_period 24x7 > notification_options d,r > contact_groups admins > } > > define service{ > use generic-service > ; Name of service template to use > host_name helpdesk > service_description check-nt > is_volatile 0 > check_period 24x7 > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admins > notification_options w,u,c,r > notification_interval 960 > notification_period 24x7 > check_command check_nt -H > 172.16.1.103 -p 1248 -v > } > > > > define command{ > command_name check_nt > > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ > -v check-nt > } > > any help is appreciated You have two issues. One is that you're defining the service check incorrectly. You probably want to have a chack_command of check_nt!1248, and a command_line of $USER1$/check_nt -H $HOSTADDRESS -p $ARG1$ -v check-nt (I'm guessing -- what you're using now is definitely wrong, though). Your second problem is probably that you're not including the file where you defined that command when you start Nagios. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 10 23:09:31 2006 From: marc at ena.com (Marc Powell) Date: Thu, 10 Aug 2006 16:09:31 -0500 Subject: nagios.cmd write order (cronological?) Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Marcel Mitsuto Fucatu Sugano > Sent: Thursday, August 10, 2006 3:23 PM > To: Patrick Morris > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios.cmd write order (cronological?) > > On Wed, 2006-08-09 at 15:56 -0700, Patrick Morris wrote: > > On Wed, 09 Aug 2006, Marcel Mitsuto Fucatu Sugano wrote: > > > > > Hi, > > > > > > Nagios 2.5, SuSE9.3. > > > Syslog-ng 1.6.8. > > > > > > I am configuring some passive checks to be transported by syslog-ng. > > > > > > So i've configured syslog to write directly to nagios.cmd. Everything > > > working fine, but as we are receiving check results from diferent > > > distributed nagios servers, I wonder if whether or not msgs written at > > > nagios.cmd has to be cronological. I mean, if some distributed server > > > lost the synchronization with ntp, and the epoch time of one msg gets > > > written to the nagios pipe with a timestamp lower than the one before > > > that, will Nagios drop the delayed check result? > > > > > > Thanks for any comments on this matter. > > > > Timestamps are important, but the order isn't. > > > > By observation, it shows that timestamp and arrival (written) order does > matter! Does anyone else knows anything about concurrent writes to Are you sure about that? My reading of commands.c (ver 2.3) is that the timestamp (entry_time) is used for logging/debugging purposes only. This is in line with my past experience. > matter! Does anyone else knows anything about concurrent writes to > nagios.cmd? Syslog-ng and nsca are writing to nagios.cmd pipe, but nsca > is configured to append mode. Not really but... I'm surprised that using append mode for nsca works. That was originally used because the external command file used to be a real file, not a pipe. Since Netsaint 0.0.7 that functionality shouldn't be used for Nagios' external command functions. Could it be that your submissions to nagios.cmd are clobbering each other? Are they all atomic writes under the max pipe size for your OS (~512 bytes)? -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Thu Aug 10 23:37:38 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Thu, 10 Aug 2006 18:37:38 -0300 Subject: nagios.cmd write order (cronological?) In-Reply-To: References: Message-ID: <1155245858.13595.38.camel@localhost> On Thu, 2006-08-10 at 16:09 -0500, Marc Powell wrote: > > > > Nagios 2.5, SuSE9.3. > > > > Syslog-ng 1.6.8. > > > > > > > > I am configuring some passive checks to be transported by > syslog-ng. > > > > > > > > So i've configured syslog to write directly to nagios.cmd. > Everything > > > > working fine, but as we are receiving check results from diferent > > > > distributed nagios servers, I wonder if whether or not msgs > written at > > > > nagios.cmd has to be cronological. I mean, if some distributed > server > > > > lost the synchronization with ntp, and the epoch time of one msg > gets > > > > written to the nagios pipe with a timestamp lower than the one > before > > > > that, will Nagios drop the delayed check result? > > > > > > > > Thanks for any comments on this matter. > > > > > > Timestamps are important, but the order isn't. > > > > > > > By observation, it shows that timestamp and arrival (written) order > does > > matter! Does anyone else knows anything about concurrent writes to > > Are you sure about that? My reading of commands.c (ver 2.3) is that the > timestamp (entry_time) is used for logging/debugging purposes only. This > is in line with my past experience. No, not sure. Haven't read any nagios source code to confirm this. Just watching the second destination configured on syslog-ng and nagios.log entries, i've noticed that some entries never gets to nagios.log. Was just guessing about. And my past experience is just about one year administrating Nagios. > > matter! Does anyone else knows anything about concurrent writes to > > nagios.cmd? Syslog-ng and nsca are writing to nagios.cmd pipe, but > nsca > > is configured to append mode. > > Not really but... I'm surprised that using append mode for nsca works. > That was originally used because the external command file used to be a > real file, not a pipe. Since Netsaint 0.0.7 that functionality shouldn't > be used for Nagios' external command functions. Could it be that your > submissions to nagios.cmd are clobbering each other? Are they all atomic > writes under the max pipe size for your OS (~512 bytes)? Well, here i can confirm! :) When using nsca in "open pipe for writing" mode instead of "open pipe for append" mode, and when starting syslog-ng with the nagios.cmd as a destination, i've ended up with thousands of staled results, because syslog-ng opens (locking) the pipe not allowing nsca to write on it. here is nsca.cfg's snippet: ******************************** # APPEND TO FILE OPTION # This option determines whether or not the nsca daemon will # will open the external command file for writing or appending. # This option should almost *always* be set to 0! # Values: 0 = open file for writing, 1 = open file for appending append_to_file=1 ********************************* and syslog-ng's: ********************************* destination d_nagios { pipe ("/opt/nagios/var/rw/nagios.cmd" template("$MSGONLY\n") template_escape(no)); file ("/tmp/test.log" template("$MSGONLY\n") template_escape(no)); }; ********************************* About writing to nagios pipe, i am not sure if all writes are under the max pipe size, but i am sure they're all atomic, as syslog-ng and nsca is. Here is a example of one of the bigger lines that syslog-ng writes to nagios.cmd: [10/08/2006 18:30:12] PROCESS_SERVICE_CHECK_RESULT;sensei20-b;Server Check;1;Monitores do servidor alarmando warning: disk:disk=86%(/opt) disk:disk=89%(/export) I think it's below the max pipe size for my OS, although i cannot tell for sure even how big the pipe is. TIA. AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Fri Aug 11 00:39:36 2006 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 10 Aug 2006 18:39:36 -0400 Subject: Monitor .NET Aplications In-Reply-To: References: <20060809134422.22B504F4045@desire.netways.de> Message-ID: If you do not mind loading a plugin onto your windows Host, NC_Net (or other plugins like NS_Client++) can be used to monitor the Performance counters that Dot NEt adds to the system. NC_NEt also allows you to querry WMI and run scripts so that may help. NC_NEt is on Sourceforege http://sourceforge.net/projects/nc-net TOny On 8/9/06, Morris, Patrick wrote: > > > do you have anybody skills with monitor .net applications via Nagios? > > > > I thinking about snmp. But I don't know if do it. > > .Net apps aren't monitored any differently than any other web apps. > What do you want to do? > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bakers at web-ster.com Fri Aug 11 01:53:04 2006 From: bakers at web-ster.com (Scott Baker) Date: Thu, 10 Aug 2006 16:53:04 -0700 Subject: Nagios Plugins using Net::SSH::Perl Message-ID: <44DBC6E0.3000903@web-ster.com> I wrote a script that uses Net::SSH::Perl to login to our router and check some stats. When I run it as root the script works perfectly, if I run it as the nagios user it runs fine. When nagios runs it I get an error that /root/.ssh isn't writable which as the nagios user it's not. For some reason running Net::SSH:Perl scripts under the nagios user environment confuses the script into thinking it's running as root. Anyone else have this problem? Is there a known work around? -- Scott Baker - RHCE Canby Telcom System Administrator 503.266.8253 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Aug 11 01:58:40 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 10 Aug 2006 19:58:40 -0400 Subject: Nagios Plugins using Net::SSH::Perl In-Reply-To: <44DBC6E0.3000903@web-ster.com> References: <44DBC6E0.3000903@web-ster.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Scott Baker > Sent: Thursday, August 10, 2006 4:53 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios Plugins using Net::SSH::Perl > > I wrote a script that uses Net::SSH::Perl to login to our > router and check some stats. When I run it as root the script > works perfectly, if I run it as the nagios user it runs fine. > When nagios runs it I get an error that /root/.ssh isn't > writable which as the nagios user it's not. For some reason > running Net::SSH:Perl scripts under the nagios user > environment confuses the script into thinking it's running as root. > > Anyone else have this problem? Is there a known work around? Sounds like the environment is not being set correctly in your script. This is a wild guess, but I wouldn't be surprised if the HOME variable is being carried over from the user who started Nagios (which is most likely root). ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at ayksolutions.com Fri Aug 11 02:29:44 2006 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Fri, 11 Aug 2006 02:29:44 +0200 (CEST) Subject: Scheduling Downtime & more Message-ID: <20060811002944.DA8974F4045@desire.netways.de> Hello, I am having some issues with scheduling downtime via the web interface. I have enabled it in the nagios.cfg file and gave my 'nagios' user all the permissions in the cgi.cfg file, but I still get the following message: Sorry, but you are not authorized to commit the specified command. I am not sure why I am not authorized as I gave myself permissions to do this. Any advice here would be greatly appreciated. Secondly, I would like to substitute the question marks in the Status Map with some images of routers, computers, etc.. to make it more appealing. I checked the docs but could not find anything dealing with this. Could someone please point me in the right direction? Thank you very much, Artyom ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Aug 11 02:58:48 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 10 Aug 2006 20:58:48 -0400 Subject: Scheduling Downtime & more In-Reply-To: <20060811002944.DA8974F4045@desire.netways.de> References: <20060811002944.DA8974F4045@desire.netways.de> Message-ID: > I am having some issues with scheduling downtime via the web > interface. > I have enabled it in the nagios.cfg file and gave my > 'nagios' user all the permissions in the cgi.cfg file, but I > still get the following > message: > > Sorry, but you are not authorized to commit the specified command. Does the web interface show that you are logged in? > Secondly, I would like to substitute the question marks in > the Status Map with some images of routers, computers, etc.. > to make it more appealing. I checked the docs but could not > find anything dealing with this. Could someone please point > me in the right direction? See the hostextinfo and serviceextinfo sections of the docs. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arief_clan at yahoo.com Fri Aug 11 04:02:13 2006 From: arief_clan at yahoo.com (Arief Iqbal) Date: Thu, 10 Aug 2006 19:02:13 -0700 (PDT) Subject: My new ERROR PLEASE HELP In-Reply-To: References: Message-ID: <20060811020213.80528.qmail@web56002.mail.re3.yahoo.com> Nope, i install from tar.gz, i exactly use the same httpd config as you are, but it still doesn't work, is the plugin where problem is? Jorg.Schulz at systeam.se wrote: Hi Are you installing Nagios from RPM ??? (13)Permission denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' = Looks permission problem between apache's running user and the owner of the plugins. Check you Permissions Verify your CGI-directory for rights and owner and try this one in you apache config file ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users !! this is what i have , change it for your needs Require valid-user Alias /nagios /usr/local/nagios/share Options None AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user /Joe Mvh J??rg Schulz Senior Konsult Linux/Unix/Novell/Windows/Networking SYSteam Kalmar AB Str??mgatan 15 Box 99 S-391 21 Kalmar Direkt 0480-456638 Mobil 0708-157806 E-Post jorg.schulz at systeam.se http:// www.systeam.se Arief Iqbal Sent by: nagios-users-bounces at lists.sourceforge.net 2006-08-10 11:53 To nagios milis cc Subject Re: [Nagios-users] Antw: My new ERROR PLEASE HELP yes i have, when i write ScriptAlias /nagios/cgi-bin /usr/local/nagios, and try to access statusmap then appear: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root at localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. --------------------------------- Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 but if i write ScriptAlias /nagios/cgiurl/ /usr/local/nagios or ScriptAlias /nagios/cgi-bin/ /usr/local/nagios , and try to access statusmap then appear: Not Found The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server. --------------------------------- Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 Daniel Tuecks wrote: Do you have ScriptAlias /nagios/cgiurl/ /usr/local/nagios/sbin/ in your httpd.conf? Daniel >>> Arief Iqbal schrieb am Donnerstag, 10. August 2006 um 10:04 in Nachricht 04599.CNM350A5869: > when i try to display statusmap, there's an internal server error, i don't > know why, cause i've configure all configuration, this is the error: > > Internal Server Error The server encountered an internal error or > misconfiguration and was unable to complete your request. > Please contact the server administrator, root at localhost and inform them > of the time the error occurred, and anything you might have done that may > have caused the error. > More information about this error may be available in the server error > log. > > --------------------------------- > Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 > and this is in the error_log message: > > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] (13)Permission > denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' failed, referer: > http://192.168.87.100/nagios/side.html > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] Premature end of > script headers: statusmap.cgi, referer: > http://192.168.87.100/nagios/side.html > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] File does not > exist:/var/www/html/favicon.ico > > please help me, thanks > > > --------------------------------- > How low will we go? Check out Yahoo! Messenger???s low PC-to-Phone call rates. > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com -- --- Stadtverwaltung Neuwied Daniel T??cks - EDV - Tel.: 02631 / 802 410 Fax: 02631 / 802 850 email: dtuecks at neuwied.de ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta. --------------------------------- Stay in the know. Pulse on the new Yahoo.com. Check it out. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Mvh J??rg Schulz Senior Konsult Linux/Unix/Novell/Windows/Networking SYSteam Kalmar AB Str??mgatan 15 Box 99 S-391 21 Kalmar Direkt 0480-456638 Mobil 0708-157806 E-Post jorg.schulz at systeam.se http:// www.systeam.se Arief Iqbal Sent by: nagios-users-bounces at lists.sourceforge.net 2006-08-10 10:04 To nagios milis cc Subject [Nagios-users] My new ERROR PLEASE HELP when i try to display statusmap, there's an internal server error, i don't know why, cause i've configure all configuration, this is the error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root at localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. --------------------------------- Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 and this is in the error_log message: [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] (13)Permission denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' failed, referer: http://192.168.87.100/nagios/side.html [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] Premature end of script headers: statusmap.cgi, referer: http://192.168.87.100/nagios/side.html [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] File does not exist:/var/www/html/favicon.ico please help me, thanks --------------------------------- How low will we go? Check out Yahoo! Messenger???s low PC-to-Phone call rates. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Stay in the know. Pulse on the new Yahoo.com. Check it out. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanleyhopcroft at gmail.com Fri Aug 11 04:21:56 2006 From: stanleyhopcroft at gmail.com (Stanley Hopcroft) Date: Fri, 11 Aug 2006 12:21:56 +1000 Subject: Potential bug in availability report - custom report period includes outages _outside_ the report period. Message-ID: Dear Folks There may be a small bug in the availability report (avail.cgi) distrinuted with Nagios 2.5. Here is an example illustrating the problem. host_down_report is basically a wrapper around avail.cgi perl host_down_report -t '1.8.2006 - 3.8.2006' 24x7 HOST_NAME DOWN UP OUTAGE Armidale_Foo_router_PE_ 02-08-2006 01:47:29 02-08-2006 02:15:59 28m 30s Wyong_Foo_router_PE_int 02-08-2006 01:50:49 02-08-2006 02:15:59 25m 10s MandMandMan 02-08-2006 10:03:47 02-08-2006 10:10:46 6m 59s Wyong_Foo_router_PE_int 07-08-2006 10:14:36 07-08-2006 10:37:46 23m 10s The problem is that the last entry should have been excluded by the custom report period. Here is the query string (set as an environment var) show_log_entries=&host=all&t1=1154354400&t2=1154440800&rpttimeperiod=24x7&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringnotrunning=yes&includesoftstates=no&initialassumedhoststate=3&initialassumedservicestate=6&backtrack=0&csvoutput [sh1517 at acisf011 examples]$ perl -e '@_ = qw(1154354400 1154440800); map { print localtime($_)."\n"} @_ ' Tue Aug 1 00:00:00 2006 Wed Aug 2 00:00:00 2006 Can anyone see what I am doing wrong or is this a bug ? Thank you, Yours sincerely. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at ayksolutions.com Fri Aug 11 04:46:21 2006 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Fri, 11 Aug 2006 04:46:21 +0200 (CEST) Subject: Scheduling Downtime & more In-Reply-To: References: Message-ID: <20060811024621.678CD4F4045@desire.netways.de> Thanks for your reply. I login when prompted for it, but it doesn't say anywhere that user 'nagios' is logged in. I will take a look at those sections. Thank you! ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=21008 > > I am having some issues with scheduling downtime via the web > > interface. > > I have enabled it in the nagios.cfg file and gave my > > 'nagios' user all the permissions in the cgi.cfg file, but I > > still get the following > > message: > > > > Sorry, but you are not authorized to commit the specified command. > > > Does the web interface show that you are logged in? > > > Secondly, I would like to substitute the question marks in > > the Status Map with some images of routers, computers, etc.. > > to make it more appealing. I checked the docs but could not > > find anything dealing with this. Could someone please point > > me in the right direction? > > See the hostextinfo and serviceextinfo sections of the docs. > > ----------------------------------------------------------------------- -- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat =121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jorg.Schulz at systeam.se Fri Aug 11 07:30:49 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Fri, 11 Aug 2006 07:30:49 +0200 Subject: My new ERROR PLEASE HELP In-Reply-To: <20060811020213.80528.qmail@web56002.mail.re3.yahoo.com> References: <20060811020213.80528.qmail@web56002.mail.re3.yahoo.com> Message-ID: Hi No it?s not a plugin problem It?s a permisson problem what is your apache user ?? how did you compile Nagios `?? run ./configure ?prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-grp=nagios --with-perlcache --enable-embedded-perl --with-gd-inc=/usr/local/include --with-gd-lib=/usr/local/lib and then Make all make install make install-base make install-cgis make install-html make install-config make install-init make install-commandmode and then create a htpasswd2 ?c /usr/local/nagios/etc/htpasswd.users nagiosadmin if you run in trouble try with a chmod -R 770 to /usr/local/nagios/sbin did you restart your server / apache ?? hope it helps a little bit more /Jo Mvh J?rg Schulz Senior Konsult Linux/Unix/Novell/Windows/Networking SYSteam Kalmar AB Str?mgatan 15 Box 99 S-391 21 Kalmar Direkt 0480-456638 Mobil 0708-157806 E-Post jorg.schulz at systeam.se http:// www.systeam.se Arief Iqbal Sent by: nagios-users-bounces at lists.sourceforge.net 2006-08-11 04:02 To nagios milis cc Subject Re: [Nagios-users] My new ERROR PLEASE HELP Nope, i install from tar.gz, i exactly use the same httpd config as you are, but it still doesn't work, is the plugin where problem is? Jorg.Schulz at systeam.se wrote: Hi Are you installing Nagios from RPM ??? (13)Permission denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' = Looks permission problem between apache's running user and the owner of the plugins. Check you Permissions Verify your CGI-directory for rights and owner and try this one in you apache config file ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users !! this is what i have , change it for your needs Require valid-user Alias /nagios /usr/local/nagios/share Options None AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user /Joe Mvh J??rg Schulz Senior Konsult Linux/Unix/Novell/Windows/Networking SYSteam Kalmar AB Str??mgatan 15 Box 99 S-391 21 Kalmar Direkt 0480-456638 Mobil 0708-157806 E-Post jorg.schulz at systeam.se http:// www.systeam.se Arief Iqbal Sent by: nagios-users-bounces at lists.sourceforge.net 2006-08-10 11:53 To nagios milis cc Subject Re: [Nagios-users] Antw: My new ERROR PLEASE HELP yes i have, when i write ScriptAlias /nagios/cgi-bin /usr/local/nagios, and try to access statusmap then appear: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root at localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 but if i write ScriptAlias /nagios/cgiurl/ /usr/local/nagios or ScriptAlias /nagios/cgi-bin/ /usr/local/nagios , and try to access statusmap then appear: Not Found The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server. Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 Daniel Tuecks wrote: Do you have ScriptAlias /nagios/cgiurl/ /usr/local/nagios/sbin/ in your httpd.conf? Daniel >>> Arief Iqbal schrieb am Donnerstag, 10. August 2006 um 10:04 in Nachricht 04599.CNM350A5869: > when i try to display statusmap, there's an internal server error, i don't > know why, cause i've configure all configuration, this is the error: > > Internal Server Error The server encountered an internal error or > misconfiguration and was unable to complete your request. > Please contact the server administrator, root at localhost and inform them > of the time the error occurred, and anything you might have done that may > have caused the error. > More information about this error may be available in the server error > log. > > --------------------------------- > Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 > and this is in the error_log message: > > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] (13)Permission > denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' failed, referer: > http://192.168.87.100/nagios/side.html > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] Premature end of > script headers: statusmap.cgi, referer: > http://192.168.87.100/nagios/side.html > [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] File does not > exist:/var/www/html/favicon.ico > > please help me, thanks > > > --------------------------------- > How low will we go? Check out Yahoo! Messenger???s low PC-to-Phone call rates. > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com -- --- Stadtverwaltung Neuwied Daniel T??cks - EDV - Tel.: 02631 / 802 410 Fax: 02631 / 802 850 email: dtuecks at neuwied.de ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta. Stay in the know. Pulse on the new Yahoo.com. Check it out. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Mvh J??rg Schulz Senior Konsult Linux/Unix/Novell/Windows/Networking SYSteam Kalmar AB Str??mgatan 15 Box 99 S-391 21 Kalmar Direkt 0480-456638 Mobil 0708-157806 E-Post jorg.schulz at systeam.se http:// www.systeam.se Arief Iqbal Sent by: nagios-users-bounces at lists.sourceforge.net 2006-08-10 10:04 To nagios milis cc Subject [Nagios-users] My new ERROR PLEASE HELP when i try to display statusmap, there's an internal server error, i don't know why, cause i've configure all configuration, this is the error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root at localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 and this is in the error_log message: [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] (13)Permission denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' failed, referer: http://192.168.87.100/nagios/side.html [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] Premature end of script headers: statusmap.cgi, referer: http://192.168.87.100/nagios/side.html [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] File does not exist:/var/www/html/favicon.ico please help me, thanks How low will we go? Check out Yahoo! Messenger???s low PC-to-Phone call rates. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Stay in the know. Pulse on the new Yahoo.com. Check it out. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Fri Aug 11 11:49:50 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Fri, 11 Aug 2006 10:49:50 +0100 Subject: Scalable Configuration Strategies? In-Reply-To: <44DB3F71.8020601@derf.nl> References: <44DB3F71.8020601@derf.nl> Message-ID: Good question, good thinking. I think you are on the right track with the separate files/directories, however if you have over 1,000 servers i think there may be other overheads involved in parsing 1,000 or more individual files on startup, but that can be checked later. I would go for individual host definitions per host including all of the services that it runs, that way you can easily script something to write out config files per server from a data source such as CSV. For example: host,servce1,service2,serviceN... host1.example.com,ssh,ping,http,https,someservice,someotherservice Which writes out a config like -- start -- define host { use tmpl_host host_name host1.example.com alias Some Server address 1.1.1.1 hostgroups foobar contact_groups admins } define service { use tmpl_check_ssh service_description SSH Checks check_command check_ssh host_name host1.example.com contact_groups admins } .... rest of services ... -- end -- Maybe that would work? I'm looking at a similar solution to monitor 9,000 or so Blade servers.. fun times! Cheers Internet fred at derf.nl@lists.sourceforge.net - 10/08/2006 15:15 Sent by: nagios-users-bounces at lists.sourceforge.net To: nagios-users cc: Subject: [Nagios-users] Scalable Configuration Strategies? Hi, My colleague and I are in the process of giving our bloated, all-in-one-file Nagios configuration a re-haul. It was getting unwieldy and error prone searching through the config file to add/modify hosts and services. So I am emailing the list to get opinions and see what other people do in their environments. Initial Idea: ------------- We have a multi-department Nagios server, eg. Network Admins, Windows Admins and Unix Admins all use the same server. Currently every department has their own file, eg. unix-hosts.cfg, network-elements.cfg, etc. containing host definitions, hostgroups, service definitions all in one file. So we have decided to try out the "cfg_dir" statement in nagios.cfg as the basis for our new configuration. Our initial layout could be: /etc/nagios - The main config files eg. nagios.cfg, resource.cfg, contacts.cfg, timeperiods.cfg, template.cfg. These files would only be editable by the system administrator of the Nagios box. /etc/nagios/unix-admin - Within here would be the config files for each department. The directory and the files/dirs therein would be writeable by the "unix-admin" group. We are thinking of organising it like: /etc/nagios/unix-admin/checkcommands.cfg /etc/nagios/unix-admin/contactgroups.cfg /etc/nagios/unix-admin/hostgroups.cfg /etc/nagios/unix-admin/hosts/host1.example.com.cfg /etc/nagios/unix-admin/hosts/host2.example.com.cfg /etc/nagios/unix-admin/hosts/host3.example.com.cfg ..... The other departments would have a similar tree structure and permissions allowing them to modify their configurations. Potential Issues: ----------------- The main problem is what to do with common services; do we create (Option 1) a, for example, ssh.cfg that lists all the hosts (or host groups) that use SSH? Or (Option 2) do we add the SSH check into each hosts config file seperately? Option 1 pro - Easy to add new common service. Option 1 cons - Must know in advance which services are common so as to edit the correct file (either hostXX.example.com.cfg or ssh.cfg) config. Will not always be clear. There are always exceptions. Option 2 pro - Simple to configure, consistent. Option 2 cons - Mass adding a service to many hosts will require scripting or much time. I am inclined to go with option 2 for simplicity's sake. Any comments or improvements or just what works for you will be appreciated! Thanks, Fred. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at inode.co.nz Fri Aug 11 12:11:19 2006 From: jim at inode.co.nz (Jim Cheetham) Date: Fri, 11 Aug 2006 11:11:19 +0100 Subject: Definition of downtime Message-ID: <20060811101119.GQ26805@cat.ourshack.com> I've just installed Nagios (first time re-using it in a year or so) and a real event occurred; I'm trying to work out the timings. It looks like the availability report calculates "downtime" as the time between the first hard failure and the first success, whereas I'd define it as the time between the first soft failure that resulted in hard failure, and first success ... indeed, as this was a router going down, I'd say that downtime was the time between the first soft failure of the child service, and the first success of the parent host. Is this all explained or discussed somewhere? In more detail; I have an unreliable router in front of a host, and a number of services on the host. A host service check soft failed at time t, and was then rechecked repeatedly until a hard failure was imminent at time t+18. At t+19 the router was checked, and produced a soft failure, and these repeated until t+38, where a hard failure was declared for both; router DOWN and host UNREACHABLE. Eventually a check succeeded at time t+n. The availability report for these machines now shows outage of (t+38 to t+n); but in this case I think it should be (t+1 to t+n); or at least (t+19 to t+n). Can someone help me figure out why Nagios prefers the more conservative definition? Related to this, I'd like to know the times of the last successful tests, but I can't find that for historical events, only for current ones (I'm on Debian, using the nagios-text package, if that helps). Where should I be looking; or should I be using a different backend? -jim ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From warpspasm at hotmail.com Fri Aug 11 12:54:52 2006 From: warpspasm at hotmail.com (Jan van der Merwe) Date: Fri, 11 Aug 2006 10:54:52 +0000 Subject: NRPE check_disk giving incorrect info! In-Reply-To: <14ED20C0-87E5-4002-80DA-ACACD2FEE029@altinity.com> References: <14ED20C0-87E5-4002-80DA-ACACD2FEE029@altinity.com> Message-ID: Hi! I have tried with snapshot: nagios-plugins-HEAD-200608092352 What can I tell you, I get a different error instead :D Here is nagios: Status Indormation: DISK CRITICAL - free space: /mnt/storage/ftp-storage 0 MB (0% inode=-9900%): Performance Data: /mnt/storage/ftp-storage=0MB;;; Here is the df: /dev/hdd1 241263968 136218652 105045316 57% /mnt/storage/ftp-storage ================= The inodes for this drive are also incorrect actually, but the MB amounts are correct: Status Information: DISK OK - free space: / 3270 MB (70% inode=-1000%): Performance Data: /=1397MB;;; Any ideas? Thanks! >Jan, > >Can you try the snapshot at http://nagiosplug.sf.net/snapshot. There have >been fixes to check_disk so it should be the same output as df. > >Ton > >On 2 Aug 2006, at 08:58, Jan van der Merwe wrote: > >>Hi Guys, >> >>I'm using NRPE on a Fedora Core 2 box. >> >>I'm using the following line in /etc/nrpe.cfg to check the disk: >> >>command[check_disk4]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p >>/dev/hdd1 >> >>Here is what df -k gives me that disk: >> >>/dev/hdd1 241263968 136218652 105045316 57% >>/mnt/storage/ftp-storage >> >>But the Nagios Webpage gives me a crazy answer!!! >> >>Status Information: DISK OK - free space: /mnt/storage/ftp-storage >>-4126222888188510208 MB (20952869% inode=99%) >>Performance Data: >>/mnt/storage/ftp- storage=-865395347MB;-452984852;-452984842;98;-452984832 >> >>I have many other drives on the same machine and they all work fine! So, >>I >>can't understand what is the specific problem with this one. >> >>Any ideas would be appreciated. >> >>Thanks >> >> >> >>---------------------------------------------------------------------- --- >>Take Surveys. Earn Cash. Influence the Future of IT >>Join SourceForge.net's Techsay panel and you'll get the chance to share >>your >>opinions on IT & business topics through brief surveys -- and earn cash >>http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >>reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> >> >>This message has been scanned for viruses by MailController - >>www.MailController.altohiway.com > > > >http://www.altinity.com >T: +44 (0)870 787 9243 >F: +44 (0)845 280 1725 >Skype: tonvoon > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From barbereau at gmail.com Fri Aug 11 15:10:14 2006 From: barbereau at gmail.com (=?UTF-8?Q?S=C3=A9bastien_Barbereau?=) Date: Fri, 11 Aug 2006 14:10:14 +0100 Subject: Implementation Plan for Network monitoring project Message-ID: <4e0e33ee0608110610t3c435607sc1eb06faf725a607@mail.gmail.com> Hi list, I'm looking to gather some of your experience in implementing your network & system monitoring infrastructure. I'm not interrested in technical bits and parts (I know Nagios in and out now) but more in the general methodology you have been using, project preparation/plans and so on ... Of course scope of this questions is not purely related to nagios but has a wider spectrum. Thanks for any info, Seb. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From werner.otto at thecloud.net Fri Aug 11 15:35:41 2006 From: werner.otto at thecloud.net (Werner Otto) Date: Fri, 11 Aug 2006 14:35:41 +0100 Subject: Nagios not populating database table Message-ID: <9CC17C5066C52A47A75739415175642C066FC373@EVS1.acu-london.local> Hi All, I installed Nagios version 1.3 on my Debian system: 1. It installed fine and is running fine 2. It was installed with Nagios-pgsql support 3. I made the required changes in the resource.cfg and cfi-cfg files to point to my database 4. The database is being populated but some tables are not 5. I granted the Nagios user all privileges on all tables 6. The problem is that it is not writing data to the following tables a. Hostdowntime b. Servicedowntime 7. I had a look in the apache error.log, postgresql.log and Nagios.log and cannot see any attempt to try and write to these specific tables 8. The change log only mentions a bug fix in the postgreslq code, but it is not clear What is going on? ~Werner -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Fri Aug 11 16:11:32 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Fri, 11 Aug 2006 16:11:32 +0200 Subject: Implementation Plan for Network monitoring project In-Reply-To: <4e0e33ee0608110610t3c435607sc1eb06faf725a607@mail.gmail.com> References: <4e0e33ee0608110610t3c435607sc1eb06faf725a607@mail.gmail.com> Message-ID: <72BADF44-7D37-4198-A2B4-4259F4BA8241@kilala.nl> Hi Sebastian, Let me tell you.... There is so much stuff to keep in mind, I could talk for hours with you :) What you're asking me about is what I'm doing right now: building a completely new Nagios environment within a large organisation. Unfortunately: * The organisation is a huge multinational * The multinational's higher management is quite inflexible * The environment that needs to be monitored is far from homogenous and standardized Joy \o/ To sum it up very shortly, such a project requires: * A project proposal. You need to convince your management that they are in trouble if you don't build a proper monitoring environment and that they will need to spend money in the course of the project. * A plan. Grand projects, require a solid planning. So start thinking of how you're going to tackle every of the following steps. How long it'll take. Who'll need to do it. * A requirements document. Once the project has been accepted, make documents describing what your management expects from you. You will need to clearly define the expected outcome of the project since this document will be used at the end to determine how successful you were. A separate requirements doc should cover technical aspects: what do you want to monitor? how? why? Before you even start working on the project, determine what you and your colleagues (and your customers!) would like to be able to do with the final product. * A design. Cover your complete infrastructure, your servers, your clients, your configuration... Everything :) * Resource acquisition You'll need people, hardware, time, network, software... Stuff like that. Most of the stuff costs a lot of money, so you'll have to go through the proper channels to get these. * Only then can you start the "real work". Now... I've gone over this -very- quickly and there's much more to tell! I actually plan to write an article about all of this, to submit to ;Login: Magazine. Two aspects of the list are covered by articles I've written in the past: making a plan and writing a solid proposal. Both can be found on my website, in the Sysadmin section. Cheers! Thomas On 11 Aug, 2006, at 15:10, S?bastien Barbereau wrote: > Hi list, > I'm looking to gather some of your experience in implementing your > network & > system monitoring infrastructure. I'm not interrested in technical > bits and > parts (I know Nagios in and out now) but more in the general > methodology you > have been using, project preparation/plans and so on ... > Of course scope of this questions is not purely related to nagios > but has a > wider spectrum. > > Thanks for any info, > Seb. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From loren at uchicago.edu Fri Aug 11 16:38:31 2006 From: loren at uchicago.edu (loren jan wilson) Date: Fri, 11 Aug 2006 09:38:31 -0500 Subject: ocsp slows nagios a great deal Message-ID: <20060811143831.GD4397@solar.uchicago.edu> dear nagios users, I'm in the process of trying to set up a distributed nagios environment monitoring about 9,000 services on 2,500 hosts. i'm using Sunfire V210 servers running Solaris 10. i've found that the distributed servers which monitor the active services can run about 1700 checks every 5 minutes if ocsp isn't enabled, but once I enable ocsp, the number of active checks I can do goes WAY down. here's a breakdown: - ocsp disabled: 1700 checks / 5 min. - ocsp command set to /bin/true: 1200 checks / 5 min. - ocsp command set to a perl program that forks, then pipes output to send_nsca: 800 checks / 5 min. - ocsp command set to a shell program that pipes output to send_nsca: 500 checks / 5 min. What's the deal? I've followed the instructions in the "performance tuning" place in the manual, but nothing seems to help much, and I don't know what else to check. Resources on the machines are not being fully utilized.... there's about 30% free cpu at any given time, and plenty of RAM (only 500 MB used of 2 GB). Any help would be much appreciated! Solaris 10 is fully patched with recommended updates from last week. I'm running Nagios 2.5 and it's configured like this: --with-perlcache \ --enable-embedded-perl \ --enable-nanosleep \ --with-gd-inc=$GD_INC_PATH \ --with-gd-lib=$GD_LIB_PATH Thanks, Loren -- loren jan wilson network engineering, uchicago.edu 1155 rm. 327 ; 773/702-8189 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisrabe at gmail.com Fri Aug 11 16:41:20 2006 From: travisrabe at gmail.com (Travis Rabe) Date: Fri, 11 Aug 2006 07:41:20 -0700 Subject: Does anyone on this list actually reply to problems Message-ID: <75082b000608110741l1ed5c147o8842100f7df40028@mail.gmail.com> I have posted my problem in two forums and on this list and I have yet to get an answer. Is this what the Nagios community is always like? Is this poruct that unsupported? -- Regards, Travis Rabe travisrabe at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Fri Aug 11 16:47:04 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Fri, 11 Aug 2006 16:47:04 +0200 Subject: Does anyone on this list actually reply to problems In-Reply-To: <75082b000608110741l1ed5c147o8842100f7df40028@mail.gmail.com> References: <75082b000608110741l1ed5c147o8842100f7df40028@mail.gmail.com> Message-ID: On 11 Aug, 2006, at 16:41, Travis Rabe wrote: > I have posted my problem in two forums and on this list and I have > yet to > get an answer. Is this what the Nagios community is always like? > Is this > poruct that unsupported? Dude, this is the first e-mail with your name on it that I see passing through this mailing list. Also: it's an open source project with a small development team. Of course you can't expect "great" tech support! Naturally, no disrespect to the Dev Team. They're doing what they can :) As with most open source projects most of the support is community- based. Users helping users... If you want "real" Nagios support, hire one of the Nagios consulting agencies. Regards, Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fred at derf.nl Fri Aug 11 16:48:12 2006 From: fred at derf.nl (Friedrich Clausen) Date: Fri, 11 Aug 2006 16:48:12 +0200 Subject: Scalable Configuration Strategies? In-Reply-To: References: Message-ID: <44DC98AC.6000804@derf.nl> Hi, rob.moss at uk.bnpparibas.com wrote: > Good question, good thinking. > > I think you are on the right track with the separate files/directories, > however if you have over 1,000 servers i think there may be other overheads > involved in parsing 1,000 or more individual files on startup, but that can > be checked later. Yeah, that may become an issue but I will run some tests to see how it will go. I think when we have 1000 servers/network elements, we will have to get another Nagios server as the CPU usage from running all the checks is already around 40% (with ~200 hosts and ~650 checks). > > I would go for individual host definitions per host including all of the > services that it runs, that way you can easily script something to write > out config files per server from a data source such as CSV. For example: > > host,servce1,service2,serviceN... > host1.example.com,ssh,ping,http,https,someservice,someotherservice We actually tried that idea but there are many exceptions (eg. community names, different proc count thresholds, etc) and we had to start putting parameters in the text file and it soon looked uglier and harder to edit than the current Nagios config. But having it as a CSV and editing it in a spreadsheet program might be better... What I did do was make an "add_nagios_host.pl" script to quickly add a host with common services configured. Then you would edit the config to add non-standard checks. I would like to make the whole config tree added to Subversion and then when someone has edited the config they would commit their changes. It would introduce an audit trail to figure out who broke what. > I'm looking at a similar solution to monitor 9,000 or so Blade servers.. > fun times! Indeed! Good luck! Fred. > > Internet > fred at derf.nl@lists.sourceforge.net - 10/08/2006 15:15 > > > Sent by: nagios-users-bounces at lists.sourceforge.net > > > > To: nagios-users > > cc: > > > Subject: [Nagios-users] Scalable Configuration Strategies? > > Hi, > > My colleague and I are in the process of giving our bloated, > all-in-one-file Nagios configuration a re-haul. It was getting unwieldy > and error prone searching through the config file to add/modify hosts > and services. So I am emailing the list to get opinions and see what > other people do in their environments. > > Initial Idea: > ------------- > > We have a multi-department Nagios server, eg. Network Admins, Windows > Admins and Unix Admins all use the same server. Currently every > department has their own file, eg. unix-hosts.cfg, network-elements.cfg, > etc. containing host definitions, hostgroups, service definitions all in > one file. > > So we have decided to try out the "cfg_dir" statement in nagios.cfg as > the basis for our new configuration. Our initial layout could be: > > /etc/nagios - The main config files eg. nagios.cfg, resource.cfg, > contacts.cfg, timeperiods.cfg, template.cfg. These files would only be > editable by the system administrator of the Nagios box. > > /etc/nagios/unix-admin - Within here would be the config files for each > department. The directory and the files/dirs therein would be writeable > by the "unix-admin" group. We are thinking of organising it like: > > /etc/nagios/unix-admin/checkcommands.cfg > /etc/nagios/unix-admin/contactgroups.cfg > /etc/nagios/unix-admin/hostgroups.cfg > /etc/nagios/unix-admin/hosts/host1.example.com.cfg > /etc/nagios/unix-admin/hosts/host2.example.com.cfg > /etc/nagios/unix-admin/hosts/host3.example.com.cfg > ..... > > The other departments would have a similar tree structure and > permissions allowing them to modify their configurations. > > Potential Issues: > ----------------- > > The main problem is what to do with common services; do we create > (Option 1) a, for example, ssh.cfg that lists all the hosts (or host > groups) that use SSH? Or (Option 2) do we add the SSH check into each > hosts config file seperately? > > Option 1 pro - Easy to add new common service. > Option 1 cons - Must know in advance which services are common so as to > edit the correct file (either hostXX.example.com.cfg or ssh.cfg) config. > Will not always be clear. There are always exceptions. > > Option 2 pro - Simple to configure, consistent. > Option 2 cons - Mass adding a service to many hosts will require > scripting or much time. > > I am inclined to go with option 2 for simplicity's sake. > > Any comments or improvements or just what works for you will be > appreciated! > > Thanks, > > Fred. > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > This message and any attachments (the "message") is > intended solely for the addressees and is confidential. > If you receive this message in error, please delete it and > immediately notify the sender. Any use not in accord with > its purpose, any dissemination or disclosure, either whole > or partial, is prohibited except formal approval. The internet > can not guarantee the integrity of this message. > BNP PARIBAS (and its subsidiaries) shall (will) not > therefore be liable for the message if modified. > > ********************************************************************************************** > > BNP Paribas Private Bank London Branch is authorised > by CECEI & AMF and is regulated by the Financial Services > Authority for the conduct of its investment business in > the United Kingdom. > > BNP Paribas Securities Services London Branch is authorised > by CECEI & AMF and is regulated by the Financial Services > Authority for the conduct of its investment business in > the United Kingdom. > > BNP Paribas Fund Services UK Limited is authorised and > regulated by the Financial Services Authority > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Fri Aug 11 16:49:53 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Fri, 11 Aug 2006 15:49:53 +0100 Subject: Does anyone on this list actually reply to problems In-Reply-To: <75082b000608110741l1ed5c147o8842100f7df40028@mail.gmail.com> References: <75082b000608110741l1ed5c147o8842100f7df40028@mail.gmail.com> Message-ID: I can't see any of your previous postings Maybe you could re-post your message, and ensure that it details the problem and maybe paste in relevant output messages and snippets of your config file. This is a free product, and to use it you are expected to be able to read documentation and figure it out for yourself. This list is here as a means of community support, where support is given for free by people who also have full time jobs to do also. Internet travisrabe at gmail.com@lists.sourceforge.net - 11/08/2006 15:41 Sent by: nagios-users-bounces at lists.sourceforge.net To: Nagios-users cc: Subject: [Nagios-users] Does anyone on this list actually reply to problems I have posted my problem in two forums and on this list and I have yet to get an answer. Is this what the Nagios community is always like? Is this poruct that unsupported? -- Regards, Travis Rabe travisrabe at gmail.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Fri Aug 11 16:54:19 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Fri, 11 Aug 2006 10:54:19 -0400 Subject: NRPE Error Message-ID: <0CA4ED2DD473424883BF20CCD45C18A3FE1D7A@mtlexchange.Duocom.local> Hello, I have been trying to get a resolution to this problem for several days. I have fedora 5, Nagios 2.4 with plugins 1.4.3 and NRPE 2.0 installed. I installed the NSClient++ on the windows 2003 server and changed the settings in the nsc.ini file. I run the command check_nrpe command from the command line on the nagios server and I immediately get the error "connection refused by host". I tried the following. I used my computer as a test. And I was able to run the command and get a response from my workstation, with the pnsclient and the check_nt command I think that it is either a password issue or port issue that the windows 2003 is refusing the connection. I also tried the following I installed the pnsclient on the windows 2003 server and ran the check_nt and it worked. The next question is which one is best to use the NSClient++ or the pNSclient? Thanks for any insight -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bohara at gmail.com Fri Aug 11 16:50:07 2006 From: bohara at gmail.com (Ben O'Hara) Date: Fri, 11 Aug 2006 15:50:07 +0100 Subject: Does anyone on this list actually reply to problems In-Reply-To: References: <75082b000608110741l1ed5c147o8842100f7df40028@mail.gmail.com> Message-ID: <2b36e660608110750y64177f16w5b9e6670003523de@mail.gmail.com> On 8/11/06, Thomas Sluyter wrote: > On 11 Aug, 2006, at 16:41, Travis Rabe wrote: > > > I have posted my problem in two forums and on this list and I have > > yet > > get an answer. Is this what the Nagios community is always like? > > Is this > > poruct that unsupported? > > Dude, this is the first e-mail with your name on it that I see > passing through this mailing list. Agreed, i cant see any previous mails before this, and the support you get is actually pretty damn good for an opensource/free product! Perhaps actually asking a question would of been a good start! Ben -- "A Scientist will earn a living by taking a really difficult problem and spends many years solving it, an engineer earns a living by finding really difficult problems and side stepping them" ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Fri Aug 11 16:54:02 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Fri, 11 Aug 2006 15:54:02 +0100 Subject: NRPE Error In-Reply-To: <0CA4ED2DD473424883BF20CCD45C18A3FE1D7A@mtlexchange.Duocom.local> References: <0CA4ED2DD473424883BF20CCD45C18A3FE1D7A@mtlexchange.Duocom.local> Message-ID: What port have you configured the NSClient++ to work on? Port 5666 or some other port? I use nrpe_nt for windows What happens when you telnet to that port on that server? connection refused? Have you checked the service has started on the windows server? There are no passwords with the NRPE protocol, and if there were, you wouldn't be getting a Connection Refused message, you would have had a user/password prompt Cheers Internet apereira at duocom.ca@lists.sourceforge.net - 11/08/2006 15:54 Sent by: nagios-users-bounces at lists.sourceforge.net To: Nagios-users cc: Subject: [Nagios-users] NRPE Error Hello, I have been trying to get a resolution to this problem for several days. I have fedora 5, Nagios 2.4 with plugins 1.4.3 and NRPE 2.0 installed. I installed the NSClient++ on the windows 2003 server and changed the settings in the nsc.ini file. I run the command check_nrpe command from the command line on the nagios server and I immediately get the error ?connection refused by host?. I tried the following. I used my computer as a test. And I was able to run the command and get a response from my workstation, with the pnsclient and the check_nt command I think that it is either a password issue or port issue that the windows 2003 is refusing the connection. I also tried the following I installed the pnsclient on the windows 2003 server and ran the check_nt and it worked. The next question is which one is best to use the NSClient++ or the pNSclient? Thanks for any insight ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bruce.gilbert at mosaic.com Fri Aug 11 16:55:17 2006 From: bruce.gilbert at mosaic.com (Gilbert, Bruce) Date: Fri, 11 Aug 2006 09:55:17 -0500 Subject: NRPE Error Message-ID: Have you checked the Windows server you are monitoring to be sure the agent/client is responding to queries? It should log a message in the event log. I've had a few Windows servers where another service/application would dynamically grab port 1248 and when the Nagios agent tried to bind to that port it was unsuccessful. On the servers where that has happened, I created a copy of the check_nt command and modified the port it uses. Then, on the monitored server changed the port in the registry and restart the Nagios agent. Hope that helps....or at least doesn't make matters any worse... ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Antonio Pereira Sent: Friday, August 11, 2006 9:54 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE Error Hello, I have been trying to get a resolution to this problem for several days. I have fedora 5, Nagios 2.4 with plugins 1.4.3 and NRPE 2.0 installed. I installed the NSClient++ on the windows 2003 server and changed the settings in the nsc.ini file. I run the command check_nrpe command from the command line on the nagios server and I immediately get the error "connection refused by host". I tried the following. I used my computer as a test. And I was able to run the command and get a response from my workstation, with the pnsclient and the check_nt command I think that it is either a password issue or port issue that the windows 2003 is refusing the connection. I also tried the following I installed the pnsclient on the windows 2003 server and ran the check_nt and it worked. The next question is which one is best to use the NSClient++ or the pNSclient? Thanks for any insight ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Fri Aug 11 17:01:14 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Fri, 11 Aug 2006 11:01:14 -0400 Subject: NRPE Error In-Reply-To: References: Message-ID: <0CA4ED2DD473424883BF20CCD45C18A3FE1D83@mtlexchange.Duocom.local> I have used the default port 5666. When I try to telnet to that server I get connection refused as well. I have checked the service and it is running. Thanks -----Original Message----- From: rob.moss at uk.bnpparibas.com [mailto:rob.moss at uk.bnpparibas.com] Sent: Friday, August 11, 2006 10:54 AM To: Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE Error What port have you configured the NSClient++ to work on? Port 5666 or some other port? I use nrpe_nt for windows What happens when you telnet to that port on that server? connection refused? Have you checked the service has started on the windows server? There are no passwords with the NRPE protocol, and if there were, you wouldn't be getting a Connection Refused message, you would have had a user/password prompt Cheers Internet apereira at duocom.ca@lists.sourceforge.net - 11/08/2006 15:54 Sent by: nagios-users-bounces at lists.sourceforge.net To: Nagios-users cc: Subject: [Nagios-users] NRPE Error Hello, I have been trying to get a resolution to this problem for several days. I have fedora 5, Nagios 2.4 with plugins 1.4.3 and NRPE 2.0 installed. I installed the NSClient++ on the windows 2003 server and changed the settings in the nsc.ini file. I run the command check_nrpe command from the command line on the nagios server and I immediately get the error "connection refused by host". I tried the following. I used my computer as a test. And I was able to run the command and get a response from my workstation, with the pnsclient and the check_nt command I think that it is either a password issue or port issue that the windows 2003 is refusing the connection. I also tried the following I installed the pnsclient on the windows 2003 server and ran the check_nt and it worked. The next question is which one is best to use the NSClient++ or the pNSclient? Thanks for any insight ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ************************************************************************ ********************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maemigh at gmail.com Fri Aug 11 17:01:14 2006 From: maemigh at gmail.com (Mike Emigh) Date: Fri, 11 Aug 2006 11:01:14 -0400 Subject: NRPE check_disk giving incorrect info! In-Reply-To: References: <14ED20C0-87E5-4002-80DA-ACACD2FEE029@altinity.com> Message-ID: <91eedcbf0608110801r6d13ba9bub2f6d713feb2cbef@mail.gmail.com> The snapshot check_disk plugin has a few functions that remained after the rewrite. I submitted a patch recently to resolve this issue; however, I'm not sure if it has been taken in to consideration or not. If you check the patches portion of sourceforge, you can find the changes which fix this problem. Mike On 8/11/06, Jan van der Merwe wrote: > > Hi! > > I have tried with snapshot: nagios-plugins-HEAD-200608092352 > > What can I tell you, I get a different error instead :D > > Here is nagios: > > Status Indormation: DISK CRITICAL - free space: /mnt/storage/ftp-storage 0 > MB (0% inode=-9900%): > > Performance Data: /mnt/storage/ftp-storage=0MB;;; > > Here is the df: > > /dev/hdd1 241263968 136218652 105045316 57% > /mnt/storage/ftp-storage > > ================= > > The inodes for this drive are also incorrect actually, but the MB amounts > are correct: > > Status Information: DISK OK - free space: / 3270 MB (70% inode=-1000%): > Performance Data: /=1397MB;;; > > Any ideas? > > Thanks! > > >Jan, > > > >Can you try the snapshot at http://nagiosplug.sf.net/snapshot. > There have > >been fixes to check_disk so it should be the same output as df. > > > >Ton > > > >On 2 Aug 2006, at 08:58, Jan van der Merwe wrote: > > > >>Hi Guys, > >> > >>I'm using NRPE on a Fedora Core 2 box. > >> > >>I'm using the following line in /etc/nrpe.cfg to check the disk: > >> > >>command[check_disk4]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 > -p > >>/dev/hdd1 > >> > >>Here is what df -k gives me that disk: > >> > >>/dev/hdd1 241263968 136218652 105045316 57% > >>/mnt/storage/ftp-storage > >> > >>But the Nagios Webpage gives me a crazy answer!!! > >> > >>Status Information: DISK OK - free space: /mnt/storage/ftp-storage > >>-4126222888188510208 MB (20952869% inode=99%) > >>Performance Data: > >>/mnt/storage/ftp- > storage=-865395347MB;-452984852;-452984842;98;-452984832 > >> > >>I have many other drives on the same machine and they all work fine! > So, > >>I > >>can't understand what is the specific problem with this one. > >> > >>Any ideas would be appreciated. > >> > >>Thanks > >> > >> > >> > >>---------------------------------------------------------------------- > --- > >>Take Surveys. Earn Cash. Influence the Future of IT > >>Join SourceForge.net's Techsay panel and you'll get the chance to share > >>your > >>opinions on IT & business topics through brief surveys -- and earn cash > >>http://www.techsay.com/default.php? page= > join.php&p=sourceforge&CID=DEVDEV > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>::: Please include Nagios version, plugin version (-v) and OS when > >>reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null > >> > >> > >>This message has been scanned for viruses by MailController - > >>www.MailController.altohiway.com > > > > > > > >http://www.altinity.com > >T: +44 (0)870 787 9243 > >F: +44 (0)845 280 1725 > >Skype: tonvoon > > > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Fri Aug 11 17:03:54 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Fri, 11 Aug 2006 16:03:54 +0100 Subject: NRPE Error In-Reply-To: <0CA4ED2DD473424883BF20CCD45C18A3FE1D83@mtlexchange.Duocom.local> References: <0CA4ED2DD473424883BF20CCD45C18A3FE1D83@mtlexchange.Duocom.local> Message-ID: Have you checked the config file to make sure it's listening on the right interface, and port? You need to restart the service after changes to the config file are made Also, try this at the cmd prompt to show all open ports netstat -an Internet apereira at duocom.ca@lists.sourceforge.net - 11/08/2006 16:01 Sent by: nagios-users-bounces at lists.sourceforge.net To: Nagios-users cc: Subject: Re: [Nagios-users] NRPE Error I have used the default port 5666. When I try to telnet to that server I get connection refused as well. I have checked the service and it is running. Thanks -----Original Message----- From: rob.moss at uk.bnpparibas.com [mailto:rob.moss at uk.bnpparibas.com] Sent: Friday, August 11, 2006 10:54 AM To: Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE Error What port have you configured the NSClient++ to work on? Port 5666 or some other port? I use nrpe_nt for windows What happens when you telnet to that port on that server? connection refused? Have you checked the service has started on the windows server? There are no passwords with the NRPE protocol, and if there were, you wouldn't be getting a Connection Refused message, you would have had a user/password prompt Cheers Internet apereira at duocom.ca@lists.sourceforge.net - 11/08/2006 15:54 Sent by: nagios-users-bounces at lists.sourceforge.net To: Nagios-users cc: Subject: [Nagios-users] NRPE Error Hello, I have been trying to get a resolution to this problem for several days. I have fedora 5, Nagios 2.4 with plugins 1.4.3 and NRPE 2.0 installed. I installed the NSClient++ on the windows 2003 server and changed the settings in the nsc.ini file. I run the command check_nrpe command from the command line on the nagios server and I immediately get the error "connection refused by host". I tried the following. I used my computer as a test. And I was able to run the command and get a response from my workstation, with the pnsclient and the check_nt command I think that it is either a password issue or port issue that the windows 2003 is refusing the connection. I also tried the following I installed the pnsclient on the windows 2003 server and ran the check_nt and it worked. The next question is which one is best to use the NSClient++ or the pNSclient? Thanks for any insight ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ************************************************************************ ********************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Aug 11 17:06:34 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 11 Aug 2006 11:06:34 -0400 Subject: Does anyone on this list actually reply to problems In-Reply-To: <75082b000608110741l1ed5c147o8842100f7df40028@mail.gmail.com> References: <75082b000608110741l1ed5c147o8842100f7df40028@mail.gmail.com> Message-ID: > I have posted my problem in two forums and on this list and I > have yet to get an answer. Is this what the Nagios community > is always like? Is this poruct that unsupported? What's the problem? I've gone through the list archives and don't see anything from your address, at least this month. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Fri Aug 11 17:22:23 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Fri, 11 Aug 2006 11:22:23 -0400 Subject: NRPE Error In-Reply-To: References: Message-ID: <0CA4ED2DD473424883BF20CCD45C18A3FE1DAF@mtlexchange.Duocom.local> I tried the netstat -an and I do not see any ports open 5666. I changed the config and set it to the IP address of the NIC card it is using. When I try to telnet to that server from my workstation which is a WINXP Pro station, it still says "connection refused". Any ideas? Thanks -----Original Message----- From: rob.moss at uk.bnpparibas.com [mailto:rob.moss at uk.bnpparibas.com] Sent: Friday, August 11, 2006 11:04 AM To: Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE Error Have you checked the config file to make sure it's listening on the right interface, and port? You need to restart the service after changes to the config file are made Also, try this at the cmd prompt to show all open ports netstat -an Internet apereira at duocom.ca@lists.sourceforge.net - 11/08/2006 16:01 Sent by: nagios-users-bounces at lists.sourceforge.net To: Nagios-users cc: Subject: Re: [Nagios-users] NRPE Error I have used the default port 5666. When I try to telnet to that server I get connection refused as well. I have checked the service and it is running. Thanks -----Original Message----- From: rob.moss at uk.bnpparibas.com [mailto:rob.moss at uk.bnpparibas.com] Sent: Friday, August 11, 2006 10:54 AM To: Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE Error What port have you configured the NSClient++ to work on? Port 5666 or some other port? I use nrpe_nt for windows What happens when you telnet to that port on that server? connection refused? Have you checked the service has started on the windows server? There are no passwords with the NRPE protocol, and if there were, you wouldn't be getting a Connection Refused message, you would have had a user/password prompt Cheers Internet apereira at duocom.ca@lists.sourceforge.net - 11/08/2006 15:54 Sent by: nagios-users-bounces at lists.sourceforge.net To: Nagios-users cc: Subject: [Nagios-users] NRPE Error Hello, I have been trying to get a resolution to this problem for several days. I have fedora 5, Nagios 2.4 with plugins 1.4.3 and NRPE 2.0 installed. I installed the NSClient++ on the windows 2003 server and changed the settings in the nsc.ini file. I run the command check_nrpe command from the command line on the nagios server and I immediately get the error "connection refused by host". I tried the following. I used my computer as a test. And I was able to run the command and get a response from my workstation, with the pnsclient and the check_nt command I think that it is either a password issue or port issue that the windows 2003 is refusing the connection. I also tried the following I installed the pnsclient on the windows 2003 server and ran the check_nt and it worked. The next question is which one is best to use the NSClient++ or the pNSclient? Thanks for any insight ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ************************************************************************ ********************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Radzicki at equilend.com Fri Aug 11 17:19:55 2006 From: Michael.Radzicki at equilend.com (Michael Radzicki) Date: Fri, 11 Aug 2006 11:19:55 -0400 Subject: SNMP? Message-ID: Good day all, I have been asked to integrate SNMP monitoring into the Nagios application here at work. I have never worked with SNMP before and was wondering if anyone can point me to a resource where I can learn about SNMP and how best to integrate it with Nagios. Thanks. Mike R -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From colby.williams at gmail.com Fri Aug 11 17:28:23 2006 From: colby.williams at gmail.com (Colby Williams) Date: Fri, 11 Aug 2006 11:28:23 -0400 Subject: SNMP? In-Reply-To: References: Message-ID: <10fa72f80608110828r60fea6b1g235ba745909218c9@mail.gmail.com> To start you should research comminuty strings and MIBs. I actually enjoy using SNMP for monitoring. what type of devices are trying to monitor? Colby On 8/11/06, Michael Radzicki wrote: > > Good day all, > > > > I have been asked to integrate SNMP monitoring into the Nagios > application here at work. I have never worked with SNMP before and was > wondering if anyone can point me to a resource where I can learn about SNMP > and how best to integrate it with Nagios. Thanks. > > > > Mike R > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Fri Aug 11 17:32:13 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Fri, 11 Aug 2006 16:32:13 +0100 Subject: NRPE Error In-Reply-To: <0CA4ED2DD473424883BF20CCD45C18A3FE1DAF@mtlexchange.Duocom.local> References: <0CA4ED2DD473424883BF20CCD45C18A3FE1DAF@mtlexchange.Duocom.local> Message-ID: So there you go.. The problem is that the service isn't listening on the port! That's why you're getting connection refused. I'm not sure if NSClient+++ uses port 5666, but either way, it's a problem with the service. Check your event log and be a windows admin for a while.. You need that service started, so it listens on the port (5666 or whatever its configured to) and then do the netstat -an again and make sure the port is listening Internet apereira at duocom.ca@lists.sourceforge.net - 11/08/2006 16:22 Sent by: nagios-users-bounces at lists.sourceforge.net To: Nagios-users cc: Subject: Re: [Nagios-users] NRPE Error I tried the netstat -an and I do not see any ports open 5666. I changed the config and set it to the IP address of the NIC card it is using. When I try to telnet to that server from my workstation which is a WINXP Pro station, it still says "connection refused". Any ideas? Thanks -----Original Message----- From: rob.moss at uk.bnpparibas.com [mailto:rob.moss at uk.bnpparibas.com] Sent: Friday, August 11, 2006 11:04 AM To: Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE Error Have you checked the config file to make sure it's listening on the right interface, and port? You need to restart the service after changes to the config file are made Also, try this at the cmd prompt to show all open ports netstat -an Internet apereira at duocom.ca@lists.sourceforge.net - 11/08/2006 16:01 Sent by: nagios-users-bounces at lists.sourceforge.net To: Nagios-users cc: Subject: Re: [Nagios-users] NRPE Error I have used the default port 5666. When I try to telnet to that server I get connection refused as well. I have checked the service and it is running. Thanks -----Original Message----- From: rob.moss at uk.bnpparibas.com [mailto:rob.moss at uk.bnpparibas.com] Sent: Friday, August 11, 2006 10:54 AM To: Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE Error What port have you configured the NSClient++ to work on? Port 5666 or some other port? I use nrpe_nt for windows What happens when you telnet to that port on that server? connection refused? Have you checked the service has started on the windows server? There are no passwords with the NRPE protocol, and if there were, you wouldn't be getting a Connection Refused message, you would have had a user/password prompt Cheers Internet apereira at duocom.ca@lists.sourceforge.net - 11/08/2006 15:54 Sent by: nagios-users-bounces at lists.sourceforge.net To: Nagios-users cc: Subject: [Nagios-users] NRPE Error Hello, I have been trying to get a resolution to this problem for several days. I have fedora 5, Nagios 2.4 with plugins 1.4.3 and NRPE 2.0 installed. I installed the NSClient++ on the windows 2003 server and changed the settings in the nsc.ini file. I run the command check_nrpe command from the command line on the nagios server and I immediately get the error "connection refused by host". I tried the following. I used my computer as a test. And I was able to run the command and get a response from my workstation, with the pnsclient and the check_nt command I think that it is either a password issue or port issue that the windows 2003 is refusing the connection. I also tried the following I installed the pnsclient on the windows 2003 server and ran the check_nt and it worked. The next question is which one is best to use the NSClient++ or the pNSclient? Thanks for any insight ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ************************************************************************ ********************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From red.kryptonite at gmail.com Fri Aug 11 17:35:02 2006 From: red.kryptonite at gmail.com (Ben Rosenberg) Date: Fri, 11 Aug 2006 10:35:02 -0500 Subject: How do I set the notification period? Message-ID: I'm interested in setting hosts.cfg notification_period so that it will not check a certain host during a specified period ..such as 3:00AM - 3:30AM. I have a backup running on a certain machine and so Nagios times out and pages me. The machine is just super busy at this time and is not actually down. I've looked around for the parameters to do this but as of yet have had no luck in find it. I find that it's possible.. just not having luck finding the settings/syntax for doing so. - Ben Rosenberg -- Faith is the truth of passion. Since no passion is more true than another, faith is the truth of nothing. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fred at derf.nl Fri Aug 11 17:39:14 2006 From: fred at derf.nl (Friedrich Clausen) Date: Fri, 11 Aug 2006 17:39:14 +0200 Subject: SNMP? In-Reply-To: References: Message-ID: <44DCA4A2.9000208@derf.nl> Hi, Michael Radzicki wrote: > I have been asked to integrate SNMP monitoring into the Nagios > application here at work. I have never worked with SNMP before and was > wondering if anyone can point me to a resource where I can learn about > SNMP and how best to integrate it with Nagios. Thanks. I would recommend this book: http://www.oreilly.com/catalog/esnmp2/index.html This book helped me get started, with SNMP it is important to know how everything fits together. It can seem a bit complex at first but I find its flexibility very useful. You can then also use only one agent per machine for monitoring and statistics gathering, for example. Fred. > > > > Mike R > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From weaselkeeper at gmail.com Fri Aug 11 17:41:02 2006 From: weaselkeeper at gmail.com (Jim Richardson) Date: Fri, 11 Aug 2006 08:41:02 -0700 Subject: How do I set the notification period? In-Reply-To: References: Message-ID: <7f17308a0608110841g471d77ffm28bd31ca9456771f@mail.gmail.com> On 8/11/06, Ben Rosenberg wrote: > > I'm interested in setting hosts.cfg notification_period so that it will > not check a certain host during a specified period ..such as 3:00AM - > 3:30AM. I have a backup running on a certain machine and so Nagios times out > and pages me. The machine is just super busy at this time and is not > actually down. > > I've looked around for the parameters to do this but as of yet have had no > luck in find it. I find that it's possible.. just not having luck finding > the settings/syntax for doing so. > > - Ben Rosenberg > Create a custome timeperiod entry, and use that. Eg define timeperiod{ timeperiod_name off-hours alias Odd hours monday 00:00-06:59 monday 17:01-24:00 tuesday 00:00-06:59 tuesday 17:01-24:00 } Then use the timeperiod in the host and service checks for that machine, another possibliity would be to put the box into downtime, but I don't know how to do that on a recurring basis. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Aug 11 17:42:16 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 11 Aug 2006 16:42:16 +0100 Subject: stange symbols in notifications Message-ID: <44DCA558.4060803@googlemail.com> Here is an example CRITICAL: Only 19.11G (4%) free on 92.168.1.138ig2 Why does it seem to be mangled? Is this a character set issue or a local issue or something? Hari ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Aug 11 17:46:38 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 11 Aug 2006 16:46:38 +0100 Subject: stange symbols in notifications In-Reply-To: <44DCA558.4060803@googlemail.com> References: <44DCA558.4060803@googlemail.com> Message-ID: <44DCA65E.2000802@googlemail.com> Hari Sekhon wrote: > Here is an example > > CRITICAL: Only 19.11G (4%) free on 92.168.1.138ig2 > > > Why does it seem to be mangled? Is this a character set issue or a local issue or something? > > Hari > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > also, the web interface shows this normally: CRITICAL: Only 18.85G (4%) free on \\192.168.1.138\big2 but the email alerts always come out as CRITICAL: Only 18.88G (4%) free on 92.168.1.138ig2 I have got quite a lot of these notifications (which is good) but they are always mangled in the same way (which is bad). It's not that terrible cos I still know what's going on but this shouldn't happen, and I'd like to resolve it. Hari ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From colby.williams at gmail.com Fri Aug 11 17:48:38 2006 From: colby.williams at gmail.com (Colby Williams) Date: Fri, 11 Aug 2006 11:48:38 -0400 Subject: SNMP? In-Reply-To: References: Message-ID: <10fa72f80608110848m38e8e136k295ddd5cab4640a7@mail.gmail.com> OK, the Cisco devices will be easy. 1. Figure out if they allow SNMP monitoring (READ ONLY). That should be easy, I am sure they allow SNMP monitoring. I would set them up so that they only can recieve SNMP read request from your Nagios Box. EXAMPLE, in our devices, I had to activate SNMP, add the IP of the Nagios box and the comminuty string. With that said you will have to come up with a community string that the devices and the Nagios box will share. Default is 'Public', CHANGE THAT!!! easy to get compromised, everyone knows that. 2. Download SNMPing http://www.sans.org/alerts/snmp/. it's on the SANS website, it's safe. 3. With SNMPing you have to use the device IP and the community string. Click Scan and hopefully your device will respond. If no response, there are a few things that might be stopping the check: Network routes, firewall rules, or the device is not setup properly. Once you over come that we can can move on. Hit me back. If you want to continue. Colby On 8/11/06, Michael Radzicki wrote: > > > > Hi. Thanks for the reply. I have been asked to monitor some CISCO routers > and switches, in addition to monitoring disk space, CPU, processes, etc. on > remote systems. Currently I am using nrpe to do the resource monitoring on > the remote servers, but I have been asked to switch to SNMP. > ------------------------------ > > *From:* Colby Williams [mailto:colby.williams at gmail.com] > *Sent:* Friday, August 11, 2006 11:28 AM > *To:* Michael Radzicki > *Cc:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] SNMP? > > > > To start you should research comminuty strings and MIBs. I actually enjoy > using SNMP for monitoring. what type of devices are trying to monitor? > > Colby > > On 8/11/06, *Michael Radzicki* wrote: > > Good day all, > > > > I have been asked to integrate SNMP monitoring into the Nagios > application here at work. I have never worked with SNMP before and was > wondering if anyone can point me to a resource where I can learn about SNMP > and how best to integrate it with Nagios. Thanks. > > > > Mike R > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Aug 11 19:00:36 2006 From: marc at ena.com (Marc Powell) Date: Fri, 11 Aug 2006 12:00:36 -0500 Subject: Does anyone on this list actually reply toproblems Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Morris, Patrick > Sent: Friday, August 11, 2006 10:07 AM > To: Travis Rabe; Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Does anyone on this list actually reply > toproblems > > > I have posted my problem in two forums and on this list and I > > have yet to get an answer. Is this what the Nagios community > > is always like? Is this poruct that unsupported? My criteria -- - Enough useful information is provided to answer the question or make a good guess - The poster appears to have done _some_ research on their own. - Succinct answers are possible. I don't have time to write novelistic answers. - I'm familiar with the problem or can make educated guesses about it. - I have the time (in short supply lately). I almost always verify the solution before responding. - Problems that are interesting to me may override the above. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Fri Aug 11 19:08:17 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Fri, 11 Aug 2006 13:08:17 -0400 Subject: NRPE Error In-Reply-To: References: Message-ID: <0CA4ED2DD473424883BF20CCD45C18A3FE1E4C@mtlexchange.Duocom.local> Well I have gone in as a windows admin... and determined the following I see no errors in the event log. The service starts properly. I have even tried several different types of ports and still getting "connection refused by host" It seems like it is not reading the port number. I installed the pnsclient and it works using port 1248. I uninstalled the pnsclient and even tried to get nrpe to use the same port still no lick. Any ideas? -----Original Message----- From: rob.moss at uk.bnpparibas.com [mailto:rob.moss at uk.bnpparibas.com] Sent: Friday, August 11, 2006 11:32 AM To: Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE Error So there you go.. The problem is that the service isn't listening on the port! That's why you're getting connection refused. I'm not sure if NSClient+++ uses port 5666, but either way, it's a problem with the service. Check your event log and be a windows admin for a while.. You need that service started, so it listens on the port (5666 or whatever its configured to) and then do the netstat -an again and make sure the port is listening Internet apereira at duocom.ca@lists.sourceforge.net - 11/08/2006 16:22 Sent by: nagios-users-bounces at lists.sourceforge.net To: Nagios-users cc: Subject: Re: [Nagios-users] NRPE Error I tried the netstat -an and I do not see any ports open 5666. I changed the config and set it to the IP address of the NIC card it is using. When I try to telnet to that server from my workstation which is a WINXP Pro station, it still says "connection refused". Any ideas? Thanks -----Original Message----- From: rob.moss at uk.bnpparibas.com [mailto:rob.moss at uk.bnpparibas.com] Sent: Friday, August 11, 2006 11:04 AM To: Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE Error Have you checked the config file to make sure it's listening on the right interface, and port? You need to restart the service after changes to the config file are made Also, try this at the cmd prompt to show all open ports netstat -an Internet apereira at duocom.ca@lists.sourceforge.net - 11/08/2006 16:01 Sent by: nagios-users-bounces at lists.sourceforge.net To: Nagios-users cc: Subject: Re: [Nagios-users] NRPE Error I have used the default port 5666. When I try to telnet to that server I get connection refused as well. I have checked the service and it is running. Thanks -----Original Message----- From: rob.moss at uk.bnpparibas.com [mailto:rob.moss at uk.bnpparibas.com] Sent: Friday, August 11, 2006 10:54 AM To: Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE Error What port have you configured the NSClient++ to work on? Port 5666 or some other port? I use nrpe_nt for windows What happens when you telnet to that port on that server? connection refused? Have you checked the service has started on the windows server? There are no passwords with the NRPE protocol, and if there were, you wouldn't be getting a Connection Refused message, you would have had a user/password prompt Cheers Internet apereira at duocom.ca@lists.sourceforge.net - 11/08/2006 15:54 Sent by: nagios-users-bounces at lists.sourceforge.net To: Nagios-users cc: Subject: [Nagios-users] NRPE Error Hello, I have been trying to get a resolution to this problem for several days. I have fedora 5, Nagios 2.4 with plugins 1.4.3 and NRPE 2.0 installed. I installed the NSClient++ on the windows 2003 server and changed the settings in the nsc.ini file. I run the command check_nrpe command from the command line on the nagios server and I immediately get the error "connection refused by host". I tried the following. I used my computer as a test. And I was able to run the command and get a response from my workstation, with the pnsclient and the check_nt command I think that it is either a password issue or port issue that the windows 2003 is refusing the connection. I also tried the following I installed the pnsclient on the windows 2003 server and ran the check_nt and it worked. The next question is which one is best to use the NSClient++ or the pNSclient? Thanks for any insight ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ************************************************************************ ********************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Fri Aug 11 19:32:53 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Fri, 11 Aug 2006 13:32:53 -0400 Subject: NRPE Error In-Reply-To: <0CA4ED2DD473424883BF20CCD45C18A3FE1E4C@mtlexchange.Duocom.local> References: <0CA4ED2DD473424883BF20CCD45C18A3FE1E4C@mtlexchange.Duocom.local> Message-ID: <0CA4ED2DD473424883BF20CCD45C18A3FE1E66@mtlexchange.Duocom.local> Well I have found the problem. The version of NRPE NSClient++-0.2.5i2 does not seem to work on the system. I tried the version NSClient++-0.2.5h2 and this one worked. Odd no error messages nothing but it just would not bind to the port 5666. Now I look in the ports and I see the 5666 being used by NSClient++ Thanks for all your help -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Antonio Pereira Sent: Friday, August 11, 2006 1:08 PM To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE Error Well I have gone in as a windows admin... and determined the following I see no errors in the event log. The service starts properly. I have even tried several different types of ports and still getting "connection refused by host" It seems like it is not reading the port number. I installed the pnsclient and it works using port 1248. I uninstalled the pnsclient and even tried to get nrpe to use the same port still no lick. Any ideas? -----Original Message----- From: rob.moss at uk.bnpparibas.com [mailto:rob.moss at uk.bnpparibas.com] Sent: Friday, August 11, 2006 11:32 AM To: Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE Error So there you go.. The problem is that the service isn't listening on the port! That's why you're getting connection refused. I'm not sure if NSClient+++ uses port 5666, but either way, it's a problem with the service. Check your event log and be a windows admin for a while.. You need that service started, so it listens on the port (5666 or whatever its configured to) and then do the netstat -an again and make sure the port is listening Internet apereira at duocom.ca@lists.sourceforge.net - 11/08/2006 16:22 Sent by: nagios-users-bounces at lists.sourceforge.net To: Nagios-users cc: Subject: Re: [Nagios-users] NRPE Error I tried the netstat -an and I do not see any ports open 5666. I changed the config and set it to the IP address of the NIC card it is using. When I try to telnet to that server from my workstation which is a WINXP Pro station, it still says "connection refused". Any ideas? Thanks -----Original Message----- From: rob.moss at uk.bnpparibas.com [mailto:rob.moss at uk.bnpparibas.com] Sent: Friday, August 11, 2006 11:04 AM To: Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE Error Have you checked the config file to make sure it's listening on the right interface, and port? You need to restart the service after changes to the config file are made Also, try this at the cmd prompt to show all open ports netstat -an Internet apereira at duocom.ca@lists.sourceforge.net - 11/08/2006 16:01 Sent by: nagios-users-bounces at lists.sourceforge.net To: Nagios-users cc: Subject: Re: [Nagios-users] NRPE Error I have used the default port 5666. When I try to telnet to that server I get connection refused as well. I have checked the service and it is running. Thanks -----Original Message----- From: rob.moss at uk.bnpparibas.com [mailto:rob.moss at uk.bnpparibas.com] Sent: Friday, August 11, 2006 10:54 AM To: Antonio Pereira Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE Error What port have you configured the NSClient++ to work on? Port 5666 or some other port? I use nrpe_nt for windows What happens when you telnet to that port on that server? connection refused? Have you checked the service has started on the windows server? There are no passwords with the NRPE protocol, and if there were, you wouldn't be getting a Connection Refused message, you would have had a user/password prompt Cheers Internet apereira at duocom.ca@lists.sourceforge.net - 11/08/2006 15:54 Sent by: nagios-users-bounces at lists.sourceforge.net To: Nagios-users cc: Subject: [Nagios-users] NRPE Error Hello, I have been trying to get a resolution to this problem for several days. I have fedora 5, Nagios 2.4 with plugins 1.4.3 and NRPE 2.0 installed. I installed the NSClient++ on the windows 2003 server and changed the settings in the nsc.ini file. I run the command check_nrpe command from the command line on the nagios server and I immediately get the error "connection refused by host". I tried the following. I used my computer as a test. And I was able to run the command and get a response from my workstation, with the pnsclient and the check_nt command I think that it is either a password issue or port issue that the windows 2003 is refusing the connection. I also tried the following I installed the pnsclient on the windows 2003 server and ran the check_nt and it worked. The next question is which one is best to use the NSClient++ or the pNSclient? Thanks for any insight ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ************************************************************************ ********************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From loren at uchicago.edu Fri Aug 11 19:38:20 2006 From: loren at uchicago.edu (loren jan wilson) Date: Fri, 11 Aug 2006 12:38:20 -0500 Subject: Batch-sending passive services in distributed setup Message-ID: <20060811173820.GB4618@solar.uchicago.edu> Lots of people do distributed Nagios, I assume. Is ocsp the only way to do it? I've seen a couple references to "submitting batches of check results via nsca" but ocsp has to run a command every single time...it doesn't seem like it has a batch mode. How else are people submitting service checks to a master server? What about event handler? I figure people might be utilizing that for distributed setups, but I'm having trouble finding any docs on it. Loren -- loren jan wilson network engineering, uchicago.edu 1155 rm. 327 ; 773/702-8189 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Aug 11 19:53:24 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 11 Aug 2006 18:53:24 +0100 Subject: Nagios process not running? It is running! Message-ID: <44DCC414.8040306@googlemail.com> I have been operating Nagios and most of it's features to monitor 70 services for quite some time successfully but something that I want to fix now is a tiny thing in the top of the screen which says: Current Network Status Last Updated: Fri Aug 11 18:42:22 BST 2006 Updated every 90 seconds Nagios? - www.nagios.org Logged in as /nagiosadmin/ Warning: Monitoring process may not be running! Click here for more info. The Nagios process is running and it's showing the following details when clicking the link "here" Process Information Program Start Time: 11-08-2006 18:40:29 Total Running Time: 0d 0h 3m 11s Last External Command Check: 11-08-2006 18:43:30 Last Log File Rotation: N/A Nagios PID 5396 Notifications Enabled? YES Service Checks Being Executed? YES Passive Service Checks Being Accepted? YES Event Handlers Enabled? Yes Obsessing Over Services? No Flap Detection Enabled? No Performance Data Being Processed? No Process Commands It appears as though Nagios is not running, so commands are temporarily unavailable... Process Status Information Process Status: UNKNOWN Check Command Output: Nagios check command did not return any output The nagios check command is definitely running and the check_command is defined as follows in the cgi.cfg: nagios_check_command=/usr/nagios/libexec/check_nagios /var/nagios/status.log 5 /usr/nagios/bin/nagios I've run this from the command line as both root and the nagios user which the process runs under. The result is positive as follows: Nagios ok: located 1 process, status log updated 11 seconds ago So why doesn't Nagios think it works? Using I/O redirection I've isolated that it is indeed printed to stdout so this should just work. It shouldn't be complaining about "Nagios check command did not return any output". ll /var/nagios/ total 72 drwxrwxr-x 2 nagios apache 4096 Aug 11 00:00 archives/ -rw-rw-r-- 1 nagios nagios 0 Aug 11 18:40 comment.log -rw-rw-r-- 1 nagios nagios 0 Aug 11 18:40 downtime.log -rw-r--r-- 1 root root 5 Aug 11 18:40 nagios.lock -rw-rw-r-- 1 nagios nagios 24430 Aug 11 18:53 nagios.log drwxrws--- 2 nagios apache 4096 Aug 11 18:40 rw/ -rw-rw-r-- 1 nagios nagios 18044 Aug 11 18:54 status.log -rw-r--r-- 1 nagios nagios 13602 Aug 11 18:40 status.sav Although this is in the FAQ, it simply says make sure the check_command is done is cgi.cfg which isn't helpful to me in this situation since I know the command is in there and it's paths are correct. Anybody got any ideas on this? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at trelvik.net Fri Aug 11 19:59:46 2006 From: tom at trelvik.net (Tom Trelvik) Date: Fri, 11 Aug 2006 13:59:46 -0400 Subject: NRPE no output returned from plugin In-Reply-To: <20060804222659.GE10109@hermes.americas.hpqcorp.net> References: <82a5ca600608041405x52851105kc0657f10931c89f7@mail.gmail.com> <20060804211007.GA10109@hermes.americas.hpqcorp.net> <82a5ca600608041456yc265c8r7311f85ee35ff98e@mail.gmail.com> <20060804222659.GE10109@hermes.americas.hpqcorp.net> Message-ID: <82a5ca600608111059tf9b6779obd4e98789f61ddc0@mail.gmail.com> On 8/4/06, Patrick Morris wrote: > In any case, I'd make sure you're looking in every config file defined > in nagios.cfg. It's in there somewhere. By the way, I just wanted to say that this led me to the solution to my problem. I'd been working solely with the cfg files in /etc/nagios, and had overlooked that nagios.cfg sets /etc/nagios-plugins as a cfg_dir, which is where I found the original check_nrpe definition, changed the file name from check_nrpe.cfg to check_nrpe.cfg.off, uncommented my original check_nrpe definition in /etc/nagios/checkcommands.cfg, and it all started working as I'd originally expected. So thanks, everyone, for the pointers, and especially to Patrick for the one that helped me figure out where my mistake was! Tom ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.mckee at gmail.com Fri Aug 11 20:24:46 2006 From: brian.mckee at gmail.com (Brian McKee) Date: Fri, 11 Aug 2006 14:24:46 -0400 Subject: Help rephrasing my question Message-ID: Hi All I posted a query on this list a week ago which no-one responded to. https://sourceforge.net/mailarchive/forum.php?thread_id=29500609&forum_id=1873 That was a rephrased form of a question I asked a few weeks earlier than that https://sourceforge.net/mailarchive/forum.php?thread_id=25535673&forum_id=1873 I'd appreciate if anyone has a minute to review those questions and suggest how I might either determine a resolution on my own, or rephase the issue such that someone here can contribute a solution. I did think at the time that I provided enough information, and I have attempted to resolve the issue on my own. I have read (among other documents) http://www.nagios.org/faqs/viewfaq.php?faq_id=14&expand=false&showdesc=false and believe I understand it. Responses off list or on as you feel appropriate. Thank you Brian ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at GMxTechnologies.com Fri Aug 11 19:51:55 2006 From: nagios at GMxTechnologies.com (Samuel P Howard) Date: Fri, 11 Aug 2006 11:51:55 -0600 Subject: Solved! (Re: No e-mail notifications with new 2.5 install on Debian Etch) In-Reply-To: <44D96C4F.4090000@gmxtechnologies.com> References: <44D96C4F.4090000@gmxtechnologies.com> Message-ID: <44DCC3BB.1070208@gmxtechnologies.com> OK, I've gotten no response, but I have done some more digging in the meantime ... here's what I've found: I changed the notify-by-email to this: /usr/bin/mutt -s "test" someone at something.com &1 | tee -a /tmp/notice.log And checked /tmp/notice.log: /root/sent: Permission denied (errno = 13) /root/sent: Permission denied (errno = 13) Could not send the message. AH HA! So, digging more ... # ps -ef e | grep nagios nagios 20979 1 0 12:14 ? Ssl 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg SHELL=/bin/bash TERM=xterm SSH_CLIENT=xxxxxxxxx 2139 22 SSH_TTY=/dev/pts/0 USER=root SSH_AUTH_SOCK=/tmp/ssh-WGnUfb1218/agent.1218 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 MAIL=/var/mail/root PWD=/usr/local/nagios/etc HOME=/root SHLVL=2 LOGNAME=root SSH_CONNECTION=xxxxxxxx 2139 xxxxxxx 22 _=/usr/local/nagios/bin/nagios Ummm...wait ... if this is running as user "nagios", why the heck is the HOME=/root, LOGNAME=root, etc? And we dig deeper. I see in /etc/init.d/nagios (created by the installer) that it does a "su - nagios" to touch (create) a log file and another file it needs, but then it calls the nagios binary directly as root. I see in .../base/utils.c, the binary does a setuid(), but doesn't do anything to reset the environment, so it is just inheriting it from the calling user (in this case root). So, why are other people not having problems with notifications if their nagios daemon is running with root's environment? I am guessing it is because I am using mutt and not mail/mailx to do the notifications, and mutt is trying to save the outgoing e-mail (which would be bad anyway). There are three obvious solutions for this: 1 - switch to mailx (in my case, apt-get install mailx, replace "mutt" with 'mailx" in the notify-by-email commands). 2 - add "set copy=no" to /etc/Muttrc to disable the e-mail copy feature. I couldn't find a way to do it via the command line, and I *could* have put it in /root/.muttrc, except the nagios user won't be able to read the file, and therefore won't pick up the configuration. WARNING: This option affects all users systemwide, unless they re-override it in *their* ~/.muttrc. In my case, there are really no "users" on this box, just apps and services, so it's OK for me. 3 - create a "muttrc" somewhere that nagios can reach (i.e. /usr/local/nagios/etc/muttrc) and add "-F /usr/local/nagios/etc/muttrc" to the mutt command in the notify-by-email command I have done 1 and 3, actually. I installed mail/mailx just because other apps might just assume it's there (why it wasn't originally, I'm not sure), and I created the /usr/local/nagios/etc/Muttrc, too. So, why do I prefer mutt over mailx for sending mail? Basically, just because I like mutt's ability to easily attach files as attachments without having to manually deal with uuencode and friends. OK, with this data dump, I am back on the air and back to working on a strategy to configure my nagios server to monitor everything else in the world. I've very interested in watching the thread by Fred Clausen develop! Thanks, Sam Samuel P Howard wrote: > Hi. > > I noticed a recent thread by Marcos Marinho having what sounds like a > similar problem, but no solution yet ... > > I have just built from source and installed Nagios 2.5 on a Debian Etch > (testing) server, and when I cause a fault, the nagios.log shows it > triggers the notification-by-email, but yet the /var/log/mail.info does > not show postfix firing up to send the mail out. > > I did notice that the command setup in minimal.cfg (what I am playing > with now, the other command files are disabled) did not put in a mail > client, as I did not have one installed. I installed mutt, and added it > to the command line after the | and before the -s, and also redirected > the output of the command to a text file and (spacing aside), it looked > OK. I'm not sure if the spacing should have been compressed or not, so > that is a good question. > > Running the command manually as root or as nagios, I do get an e-mail > (as long as I manually replace the $CONTACTEMAIL$ to a real email > address ... obviously, none of the other variables get expanded, but the > mail does flow. > > Is there some way to turn on additional debugging to see if the nagios > daemon is failing on the command somewhere??? > > Notificiations are enabled, etc, etc. > > I have some experience with Nagios as far back as the NetSaint days, but > haven't been able to play with it for a few years, and now have the > opportunity again. It looks like it's progressed nicely! > > Now, if I could get my may email notifications going, I could dig back > in and try to figure out the best way to build configuration files and > all of that good stuff! > > Thanks! > Sam > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Aug 12 00:20:55 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 12 Aug 2006 00:20:55 +0200 (CEST) Subject: stange symbols in notifications In-Reply-To: <44DCA65E.2000802@googlemail.com> References: <44DCA558.4060803@googlemail.com> <44DCA65E.2000802@googlemail.com> Message-ID: On Fri, 11 Aug 2006, Hari Sekhon wrote: > Hari Sekhon wrote: > > Here is an example > > > > CRITICAL: Only 19.11G (4%) free on 92.168.1.138ig2 > > > > > > Why does it seem to be mangled? Is this a character set issue or a local issue or something? > also, the web interface shows this normally: > > CRITICAL: Only 18.85G (4%) free on \\192.168.1.138\big2 > > but the email alerts always come out as > > CRITICAL: Only 18.88G (4%) free on 92.168.1.138ig2 Which makes sense if you read the printf() documentation. You are using a character which has a special meaning in string handling environments. Just get rid of those backslashes or escape them properly. > It's not that terrible cos I still know what's going on but this > shouldn't happen, and I'd like to resolve it. You got exactly what you ordered. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Aug 12 00:31:49 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 12 Aug 2006 00:31:49 +0200 (CEST) Subject: Help rephrasing my question In-Reply-To: References: Message-ID: On Fri, 11 Aug 2006, Brian McKee wrote: > I posted a query on this list a week ago which no-one responded to. > https://sourceforge.net/mailarchive/forum.php?thread_id=29500609&forum_id=1873 > > That was a rephrased form of a question I asked a few weeks earlier than that > https://sourceforge.net/mailarchive/forum.php?thread_id=25535673&forum_id=1873 > > I'd appreciate if anyone has a minute to review those questions and > suggest how I might > either determine a resolution on my own, or rephase the issue such > that someone here can contribute a solution. The issue might be that no one else has seen it or no one else has a real clue what to tell or no one wants to spend time on it or ..... I think Marc's rules of thumb about answering applies here as pretty well. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sat Aug 12 01:33:07 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 11 Aug 2006 19:33:07 -0400 Subject: Help rephrasing my question In-Reply-To: References: Message-ID: > I posted a query on this list a week ago which no-one responded to. > https://sourceforge.net/mailarchive/forum.php?thread_id=295006 > 09&forum_id=1873 > > That was a rephrased form of a question I asked a few > weeks earlier than that > https://sourceforge.net/mailarchive/forum.php?thread_id=255356 > 73&forum_id=1873 > > I'd appreciate if anyone has a minute to review those > questions and suggest how I might either determine a > resolution on my own, or rephase the issue such that someone > here can contribute a solution. > > I did think at the time that I provided enough information, and I have > attempted to resolve the issue on my own. I have read (among other > documents) > http://www.nagios.org/faqs/viewfaq.php?faq_id=14&expand=false& > showdesc=false > and believe I understand it. > > Responses off list or on as you feel appropriate. So, just to keep anyone reading this on the same page, the question seems to be something like "why does a host state not change from down to unreachable when a parent node later goes down?" I'm not sure I can anwer it, other than to give reasons why I think it works the way it does. When a host goes down, its parent nodes are checked. If they're OK, the host is marked down until it comes back up. If not, it's marked unreachable until the parent node comes back up. I would guess the behavior you're seeing is because Nagios is waiting for the host to come up, and it's not taking *every* state change into account. This may be a bug, and it may be a feature, but it's apparently the way it works based on your observations (which I haven't attempted to verify). If that's the case, and nobody here has been able to give you a helpful response, maybe it's something to bring up on the nagios-devel list as a bug or feature request. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Sat Aug 12 01:55:41 2006 From: teng at dataway.com (Tedman Eng) Date: Fri, 11 Aug 2006 16:55:41 -0700 Subject: Help rephrasing my question Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E60@dw-mail.dataway.com> I would guess that it's possibly related to state changes. I think the classification of down vs. unreachable only happens upon state changes. States can be OK (up) or non-OK (down or unreachable) The child host (down) is in a non-OK state. When its parent goes into non-OK (down) , the child was already non-OK (down), therefore doesn't reclassify to a different non-OK (unreachable). I would agreee that it seems more logical to that only the topmost branch during an outage should be considered Down, and all child nodes to be considered Unreachable. > -----Original Message----- > From: Morris, Patrick [mailto:patrick.morris at hp.com] > Sent: Friday, August 11, 2006 4:33 PM > To: Brian McKee; Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Help rephrasing my question > > > > I posted a query on this list a week ago which no-one > responded to. > > https://sourceforge.net/mailarchive/forum.php?thread_id=295006 > > 09&forum_id=1873 > > > > That was a rephrased form of a question I asked a few > > weeks earlier than that > > https://sourceforge.net/mailarchive/forum.php?thread_id=255356 > > 73&forum_id=1873 > > > > I'd appreciate if anyone has a minute to review those > > questions and suggest how I might either determine a > > resolution on my own, or rephase the issue such that someone > > here can contribute a solution. > > > > I did think at the time that I provided enough information, > and I have > > attempted to resolve the issue on my own. I have read > (among other > > documents) > > http://www.nagios.org/faqs/viewfaq.php?faq_id=14&expand=false& > > showdesc=false > > and believe I understand it. > > > > Responses off list or on as you feel appropriate. > > So, just to keep anyone reading this on the same page, the question > seems to be something like "why does a host state not change from down > to unreachable when a parent node later goes down?" > > I'm not sure I can anwer it, other than to give reasons why I think it > works the way it does. When a host goes down, its parent nodes are > checked. If they're OK, the host is marked down until it > comes back up. > If not, it's marked unreachable until the parent node comes back up. > > I would guess the behavior you're seeing is because Nagios is waiting > for the host to come up, and it's not taking *every* state change into > account. This may be a bug, and it may be a feature, but it's > apparently the way it works based on your observations (which > I haven't > attempted to verify). > > If that's the case, and nobody here has been able to give you > a helpful > response, maybe it's something to bring up on the > nagios-devel list as a > bug or feature request. > > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at AdamsInfoServ.Com Sat Aug 12 01:57:26 2006 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Fri, 11 Aug 2006 18:57:26 -0500 Subject: Scalable Configuration Strategies? In-Reply-To: <44DC98AC.6000804@derf.nl> References: <44DC98AC.6000804@derf.nl> Message-ID: <20060811235726.GB2995@keroberos> Check out NACE, you can keep your host data in whatever you want, and have it generate your configurations. Russell On Fri, Aug 11, 2006 at 04:48:12PM +0200, Friedrich Clausen wrote: > Hi, > > rob.moss at uk.bnpparibas.com wrote: > > Good question, good thinking. > > > > I think you are on the right track with the separate files/directories, > > however if you have over 1,000 servers i think there may be other overheads > > involved in parsing 1,000 or more individual files on startup, but that can > > be checked later. > > Yeah, that may become an issue but I will run some tests to see how it > will go. I think when we have 1000 servers/network elements, we will > have to get another Nagios server as the CPU usage from running all the > checks is already around 40% (with ~200 hosts and ~650 checks). > > > > > I would go for individual host definitions per host including all of the > > services that it runs, that way you can easily script something to write > > out config files per server from a data source such as CSV. For example: > > > > host,servce1,service2,serviceN... > > host1.example.com,ssh,ping,http,https,someservice,someotherservice > > > We actually tried that idea but there are many exceptions (eg. community > names, different proc count thresholds, etc) and we had to start putting > parameters in the text file and it soon looked uglier and harder to edit > than the current Nagios config. But having it as a CSV and editing it in > a spreadsheet program might be better... > > What I did do was make an "add_nagios_host.pl" script to quickly add a > host with common services configured. Then you would edit the config to > add non-standard checks. > > I would like to make the whole config tree added to Subversion and then > when someone has edited the config they would commit their changes. It > would introduce an audit trail to figure out who broke what. > > > I'm looking at a similar solution to monitor 9,000 or so Blade servers.. > > fun times! > > Indeed! Good luck! > > Fred. > > > > > Internet > > fred at derf.nl@lists.sourceforge.net - 10/08/2006 15:15 > > > > > > Sent by: nagios-users-bounces at lists.sourceforge.net > > > > > > > > To: nagios-users > > > > cc: > > > > > > Subject: [Nagios-users] Scalable Configuration Strategies? > > > > Hi, > > > > My colleague and I are in the process of giving our bloated, > > all-in-one-file Nagios configuration a re-haul. It was getting unwieldy > > and error prone searching through the config file to add/modify hosts > > and services. So I am emailing the list to get opinions and see what > > other people do in their environments. > > > > Initial Idea: > > ------------- > > > > We have a multi-department Nagios server, eg. Network Admins, Windows > > Admins and Unix Admins all use the same server. Currently every > > department has their own file, eg. unix-hosts.cfg, network-elements.cfg, > > etc. containing host definitions, hostgroups, service definitions all in > > one file. > > > > So we have decided to try out the "cfg_dir" statement in nagios.cfg as > > the basis for our new configuration. Our initial layout could be: > > > > /etc/nagios - The main config files eg. nagios.cfg, resource.cfg, > > contacts.cfg, timeperiods.cfg, template.cfg. These files would only be > > editable by the system administrator of the Nagios box. > > > > /etc/nagios/unix-admin - Within here would be the config files for each > > department. The directory and the files/dirs therein would be writeable > > by the "unix-admin" group. We are thinking of organising it like: > > > > /etc/nagios/unix-admin/checkcommands.cfg > > /etc/nagios/unix-admin/contactgroups.cfg > > /etc/nagios/unix-admin/hostgroups.cfg > > /etc/nagios/unix-admin/hosts/host1.example.com.cfg > > /etc/nagios/unix-admin/hosts/host2.example.com.cfg > > /etc/nagios/unix-admin/hosts/host3.example.com.cfg > > ..... > > > > The other departments would have a similar tree structure and > > permissions allowing them to modify their configurations. > > > > Potential Issues: > > ----------------- > > > > The main problem is what to do with common services; do we create > > (Option 1) a, for example, ssh.cfg that lists all the hosts (or host > > groups) that use SSH? Or (Option 2) do we add the SSH check into each > > hosts config file seperately? > > > > Option 1 pro - Easy to add new common service. > > Option 1 cons - Must know in advance which services are common so as to > > edit the correct file (either hostXX.example.com.cfg or ssh.cfg) config. > > Will not always be clear. There are always exceptions. > > > > Option 2 pro - Simple to configure, consistent. > > Option 2 cons - Mass adding a service to many hosts will require > > scripting or much time. > > > > I am inclined to go with option 2 for simplicity's sake. > > > > Any comments or improvements or just what works for you will be > > appreciated! > > > > Thanks, > > > > Fred. > > > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > This message and any attachments (the "message") is > > intended solely for the addressees and is confidential. > > If you receive this message in error, please delete it and > > immediately notify the sender. Any use not in accord with > > its purpose, any dissemination or disclosure, either whole > > or partial, is prohibited except formal approval. The internet > > can not guarantee the integrity of this message. > > BNP PARIBAS (and its subsidiaries) shall (will) not > > therefore be liable for the message if modified. > > > > ********************************************************************************************** > > > > BNP Paribas Private Bank London Branch is authorised > > by CECEI & AMF and is regulated by the Financial Services > > Authority for the conduct of its investment business in > > the United Kingdom. > > > > BNP Paribas Securities Services London Branch is authorised > > by CECEI & AMF and is regulated by the Financial Services > > Authority for the conduct of its investment business in > > the United Kingdom. > > > > BNP Paribas Fund Services UK Limited is authorised and > > regulated by the Financial Services Authority > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From R.Ford at pindar.com Sat Aug 12 05:00:35 2006 From: R.Ford at pindar.com (Rob Ford) Date: Sat, 12 Aug 2006 04:00:35 +0100 Subject: Rob Ford is out of the office. Message-ID: I will be out of the office starting 10/08/2006 and will not return until 14/08/2006. I will respond to your message when I return. *********************************************************************************** This e-mail and attachments are intended for the above name only and may be confidential. If they have come to you in error, you must take no action based on them, nor must copy or show them to anyone; please reply to this e-mail and report the error. Security warning: Please note that this e-mail has been created in the knowledge that the internet is not a one hundred percent secure communication medium. We advise that you understand and observe this lack of security when e-mailing us. Virus: Although we have taken steps to ensure that this e-mail and attachments are free from any virus, we advise that in keeping with good practice the recipient should ensure they are actually virus free. If you have received this e-mail in error please notify: postmaster at pindar.com This message has been scanned for viruses by MailControl - www.mailcontrol.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sat Aug 12 05:52:07 2006 From: marc at ena.com (Marc Powell) Date: Fri, 11 Aug 2006 22:52:07 -0500 Subject: Help rephrasing my question Message-ID: I agree that the parent(s) are only checked when the child changes state. This is scalable but it does leave open this edge case. Walking the dependency tree of a host for every check to verify that nothing above has changed isn't elegant and having a parent's state directly affect all its children by propagating downward sounds good but could lead to lots of extra checks in complex, multi-parent setups. Those checks are not parallelized at this point so you're affecting normal operation. I'm not sure I'd consider it a bug but you might want to run it by nagios-devel to get Ethan's opinion. -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Tedman Eng > Sent: Friday, August 11, 2006 6:56 PM > To: 'Morris, Patrick'; Brian McKee; Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Help rephrasing my question > > I would guess that it's possibly related to state changes. I think the > classification of down vs. unreachable only happens upon state changes. > States can be OK (up) or non-OK (down or unreachable) > > The child host (down) is in a non-OK state. When its parent goes into > non-OK (down) , the child was already non-OK (down), therefore doesn't > reclassify to a different non-OK (unreachable). > > I would agreee that it seems more logical to that only the topmost branch > during an outage should be considered Down, and all child nodes to be > considered Unreachable. > > > > -----Original Message----- > > From: Morris, Patrick [mailto:patrick.morris at hp.com] > > Sent: Friday, August 11, 2006 4:33 PM > > To: Brian McKee; Nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Help rephrasing my question > > > > > > > I posted a query on this list a week ago which no-one > > responded to. > > > https://sourceforge.net/mailarchive/forum.php?thread_id=295006 > > > 09&forum_id=1873 > > > > > > That was a rephrased form of a question I asked a few > > > weeks earlier than that > > > https://sourceforge.net/mailarchive/forum.php?thread_id=255356 > > > 73&forum_id=1873 > > > > > > I'd appreciate if anyone has a minute to review those > > > questions and suggest how I might either determine a > > > resolution on my own, or rephase the issue such that someone > > > here can contribute a solution. > > bug or feature request. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hudson.peng at gmail.com Sat Aug 12 18:27:46 2006 From: hudson.peng at gmail.com (Hudson.Peng) Date: Sun, 13 Aug 2006 00:27:46 +0800 Subject: About Nagios Tray Monitor Message-ID: <004201c6be2c$476d6d30$0200a8c0@risktechgroup.com> Hi All I have a prolem to consult you all. When I use the Nagios Tray Monitor 1.0 in Xp and Windows 2000, I minimized the mail window, there any icon appear in my windows toolbar anymore, There is a blank space in my toolsbar tray, The balnk space will disappear when you click on it. Pls your guys show me how can I solve this problem. Many Thanks -Hudson -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Mon Aug 14 04:31:27 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Mon, 14 Aug 2006 12:31:27 +1000 Subject: log checking plugins? Message-ID: <610cb7a00608131931g182ec86al28fb86896a147331@mail.gmail.com> Hi All, I am having a problem with log checking scripts, e.g. check_errpt for AIX and check_logfiles-1.4.3 (great plugins BTW). However, I'm not actually receiving any alerts to my mobile phone because these plugins only ever fail the first time a new error message is found. However, Nagios requires that the plugin fail three times before it raises an alert. How are other people handling this scenario? Ideally, the alert should remain until an administrator reviews the log and turns the alert off. Kind regards, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Aug 14 04:47:46 2006 From: jhmartin at toger.us (Jason Martin) Date: Sun, 13 Aug 2006 19:47:46 -0700 Subject: log checking plugins? In-Reply-To: <610cb7a00608131931g182ec86al28fb86896a147331@mail.gmail.com> References: <610cb7a00608131931g182ec86al28fb86896a147331@mail.gmail.com> Message-ID: <20060814024746.GC23403@mal.toger.us> On Mon, Aug 14, 2006 at 12:31:27PM +1000, Alexander Harvey wrote: > handling this scenario? Ideally, the alert should remain until an > administrator reviews the log and turns the alert off. You must set the max_check_attempts for these services to 1. Also, read the manual about 'volatile' checks. Unfortunately Nagios does not support your ideal situation of log check staying red until manually cleared. -Jason Martin -- 3 kinds of people: those who can count & those who can't. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdaily at apparatus.net Mon Aug 14 05:56:01 2006 From: jdaily at apparatus.net (John Daily) Date: Sun, 13 Aug 2006 23:56:01 -0400 Subject: log checking plugins? References: <610cb7a00608131931g182ec86al28fb86896a147331@mail.gmail.com> Message-ID: I've extended the original check_log script to return an error code until it sees a specific "fixed" message in the log. I wouldn't be surprised if my code is buggy or misses some corner cases, but you're welcome to give it a shot. It shares some of the limitations of the original check_log; for example, if the log file rotates after an error appears but before the script runs, the plugin won't catch it. I've tried to allow for a mixture of "broken" and "fixed" messages between invocations. Whichever comes last, wins. Anyway, consider yourself warned that it might not suit your needs. Also, I just noticed that there's no license on the script, so technically I'm probably violating Ethan's copyright by redistributing a hacked copy, but I'll assume that there's a license on the plugins in general that I'm not aware of. Even the "LEGAL" document with my plugin RPM does not specify any license, just a warranty disclaimer. check_log2 (very original name, eh?) is attached. -John -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: check_log2 Type: application/octet-stream Size: 6558 bytes Desc: check_log2 URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Mon Aug 14 06:08:07 2006 From: nagios at kilala.nl (Thomas Slutyer) Date: Mon, 14 Aug 2006 06:08:07 +0200 Subject: log checking plugins? In-Reply-To: References: <610cb7a00608131931g182ec86al28fb86896a147331@mail.gmail.com> Message-ID: <68914d714b4dcc2397d99e14f3ac4c9b@kilala.nl> Hey John :) Nice work, but you may want to call it "check_log4", since I've already written check_log2 and checklog3. v2 = with state retention (kind of like yours, but it resets upon any new entry) v3 = with state retention and the ability to look for two strings. one WARN and one CRIT. Cheers! Thomas On 14 Aug, 2006, at 5:56, John Daily wrote: > I've extended the original check_log script to return an error code > until it sees a specific "fixed" message in the log. I wouldn't be > surprised if my code is buggy or misses some corner cases, but you're > welcome to give it a shot. > > It shares some of the limitations of the original check_log; for > example, if the log file rotates after an error appears but before the > script runs, the plugin won't catch it. > > I've tried to allow for a mixture of "broken" and "fixed" messages > between invocations. Whichever comes last, wins. > > > Anyway, consider yourself warned that it might not suit your needs. > Also, I just noticed that there's no license on the script, so > technically I'm probably violating Ethan's copyright by redistributing > a hacked copy, but I'll assume that there's a license on the plugins > in general that I'm not aware of. Even the "LEGAL" document with my > plugin RPM does not specify any license, just a warranty disclaimer. > > check_log2 (very original name, eh?) is attached. > > -John > ----------------------------------------------------------- > -------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________ > ________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanleyhopcroft at gmail.com Mon Aug 14 07:19:11 2006 From: stanleyhopcroft at gmail.com (Stanley Hopcroft) Date: Mon, 14 Aug 2006 15:19:11 +1000 Subject: OT Pre announce Nagios::Report 0.003 Message-ID: Dear Folks, Another release of Nagios::Report (0.003) is scheduled for release shortly. Why should you care ? Well, if you rely on the standard (ie distributed with Nagios) availability report, this module makes it easier to use from the CLI. Included with the distro is example/host_down_report which demontrates what you can do. For example, to find all the outages for the first 3 Months of the year, for hosts matching FOO [sh1517 at acisf011 Nagios-Report-0.003]$ for m in Jan Feb Mar Apr ; do echo $m; perl -Mblib examples/host_down_report -h 'FOO' -t $m; done Jan 24x7 HOST_NAME DOWN UP OUTAGE FOO_router 12-01-2006 02:52:03 12-01-2006 02:58:13 6m 10s FOO_router 18-01-2006 16:54:25 18-01-2006 17:00:35 6m 10s FOO_router 18-01-2006 17:09:25 18-01-2006 17:15:35 6m 10s Feb 24x7 HOST_NAME DOWN UP OUTAGE FOO_router 15-02-2006 18:41:55 15-02-2006 18:57:35 15m 40s FOO_router 18-02-2006 23:08:33 18-02-2006 23:41:53 33m 20s Mar 24x7 HOST_NAME DOWN UP OUTAGE Apr 24x7 HOST_NAME DOWN UP OUTAGE FOO_router 07-04-2006 01:04:16 07-04-2006 01:12:26 8m 10s FOO_router 27-04-2006 20:56:44 27-04-2006 21:11:58 15m 14s [sh1517 at acisf011 Nagios-Report-0.003]$ The module is waiting on a bug testers report (from the previous version) which affected Nagios installations with US dates. Fixing the bug was also an opportunity to add the facility that lets you easily provide your boss with a list of outages - this is what is important to us, not the percentage availability figures - for all the 'State offices' last year since September. Note that this module is a wrapper for avail.cgi and thus has the same bugs as the normal CGI report. Enjoy. Yours sincerely. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rms at sibs.pt Fri Aug 11 00:01:00 2006 From: rms at sibs.pt (Rui Miguel Silva Seabra) Date: Thu, 10 Aug 2006 23:01:00 +0100 Subject: Nagios Light? In-Reply-To: <44D0BA18.8080001@gmail.com> References: <44D0BA18.8080001@gmail.com> Message-ID: <1155247260.5401.81.camel@localhost> Hi, Nagios is really quite simple, what problems did you run into? Did you skim the fine manual before your first deployment? What do you mean "long time"? Is it auto-discovery you were looking from? If so, I can tell you that although that's pretty, it sucks from the point of view of security. Rui Qua, 2006-08-02 ?s 09:43 -0500, jon.johnston escreveu: > After trying to work with Nagios for a while, I've determined that it's > not the best fit for most of the environments I work with. Looks like > great stuff, but takes too long to setup, configure, and get running in > network environments where I would leave it with administrators will > little to no linux knowledge. > > Is there something linux-based that would be comparable to "nagios > light"? Thanks for any input. > > > Jon Johnston > Creative Business Solutions > IBM, Microsoft, Novell/Suse and Sophos Consulting > 952-544-1108 > http://www.cbsol.com > Blog:http://bingo.cbsol.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4833 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Mon Aug 14 10:35:09 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 14 Aug 2006 09:35:09 +0100 Subject: stange symbols in notifications In-Reply-To: References: <44DCA558.4060803@googlemail.com> <44DCA65E.2000802@googlemail.com> Message-ID: <44E035BD.5070505@googlemail.com> Hugo van der Kooij wrote: > On Fri, 11 Aug 2006, Hari Sekhon wrote: > > >> Hari Sekhon wrote: >> >>> Here is an example >>> >>> CRITICAL: Only 19.11G (4%) free on 92.168.1.138ig2 >>> >>> >>> Why does it seem to be mangled? Is this a character set issue or a local issue or something? >>> > > >> also, the web interface shows this normally: >> >> CRITICAL: Only 18.85G (4%) free on \\192.168.1.138\big2 >> >> but the email alerts always come out as >> >> CRITICAL: Only 18.88G (4%) free on 92.168.1.138ig2 >> > > Which makes sense if you read the printf() documentation. You are using a > character which has a special meaning in string handling environments. > Just get rid of those backslashes or escape them properly. > > >> It's not that terrible cos I still know what's going on but this >> shouldn't happen, and I'd like to resolve it. >> > > You got exactly what you ordered. > > Hugo. > > Thanks, I will look into that. It's just strange that this would happen since I haven't tampered with the misccommands.cfg at all, I've left it all as it was originally. Hari -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Mon Aug 14 10:34:08 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 14 Aug 2006 10:34:08 +0200 Subject: SNMP? In-Reply-To: <574F9688-20EF-4EFB-954D-4DF98D50F387@kilala.nl> References: <44DCA4A2.9000208@derf.nl> <574F9688-20EF-4EFB-954D-4DF98D50F387@kilala.nl> Message-ID: Darn... I sent my e-mail to Friedrich personally, instead of to the list... Well, here goes again. A bit late I realize... On 11 Aug, 2006, at 22:25, Thomas Sluyter wrote: >> This book helped me get started, with SNMP it is important to know >> how >> everything fits together. It can seem a bit complex at first but I >> find > Not one word of this is a lie... "A bit complex" is actually a bit > of an understatement, since I was quite overwhelmed by the mishmash > of numeric strings. But once you get your head around the idea that > basically SNMP revolves around storing interesting bits of info > behind a long string of numbers, you'll get there. > > I've found out two important things though: > * every vendor has a completely unique SNMP sub-tree. I've been > through the ones for Dell, HP and Sun and none of 'em are alike... > That's to make things easy for us, you know? *sarcasm* > * a lot of vendors don't make it plainly obvious to you what data > is actually contained within an object. For example, a lot of > vendors have a whole big range of temperature sensors inside their > boxen. but for each of their systems you're going to have to find > out which object stores the temperature itself and then you have to > figure out which object actually fits which sensor location :D > > Now I hate to mention my own website for the third time today (I > actually really do), but recently I've been going through the MIBs > for Sun and HP. I've tried to dig up some information and OIDs for > interesting objects (temperature, HDD status, imminent failure on > various components). For a few systems I've listed the precise OIDs > and for all the others you can use the readable rehash of the MIBs > that I've done. Just sorted through the things a bit, to make'em > less confusing. > >> its flexibility very useful. You can then also use only one agent per >> machine for monitoring and statistics gathering, for example. > This is actually quite awesome indeed! We've completely thrown NRPE > out of the window and use SNMP exclusively now. It's a bit of a > bitch sometimes, but when it works, it works nicely! > > Cheers! > > > Thomas > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Mon Aug 14 10:45:07 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 14 Aug 2006 09:45:07 +0100 Subject: stange symbols in notifications In-Reply-To: References: <44DCA558.4060803@googlemail.com> <44DCA65E.2000802@googlemail.com> Message-ID: <44E03813.1020209@googlemail.com> Hugo van der Kooij wrote: > On Fri, 11 Aug 2006, Hari Sekhon wrote: > > >> Hari Sekhon wrote: >> >>> Here is an example >>> >>> CRITICAL: Only 19.11G (4%) free on 92.168.1.138ig2 >>> >>> >>> Why does it seem to be mangled? Is this a character set issue or a local issue or something? >>> > > >> also, the web interface shows this normally: >> >> CRITICAL: Only 18.85G (4%) free on \\192.168.1.138\big2 >> >> but the email alerts always come out as >> >> CRITICAL: Only 18.88G (4%) free on 92.168.1.138ig2 >> > > Which makes sense if you read the printf() documentation. You are using a > character which has a special meaning in string handling environments. > Just get rid of those backslashes or escape them properly. > > >> It's not that terrible cos I still know what's going on but this >> shouldn't happen, and I'd like to resolve it. >> > > You got exactly what you ordered. > > Hugo. > > After following your suggestion regarding prinf and checking the previously unchanged misccommand.cfg I'm not entirely sure what is going on here. The definition for email is below: # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } This doesn't look bad to me, it seems to simply be using lots of Macro$ so I assume that the macro must be sending it something funny.... Will have to scratch my head and try to track that down. Hari -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Mon Aug 14 11:08:19 2006 From: ton.voon at altinity.com (Ton Voon) Date: Mon, 14 Aug 2006 10:08:19 +0100 Subject: NRPE check_disk giving incorrect info! In-Reply-To: <91eedcbf0608110801r6d13ba9bub2f6d713feb2cbef@mail.gmail.com> References: <14ED20C0-87E5-4002-80DA-ACACD2FEE029@altinity.com> <91eedcbf0608110801r6d13ba9bub2f6d713feb2cbef@mail.gmail.com> Message-ID: <17054BF3-0F7A-441A-A18D-C1656D2D7D75@altinity.com> On 11 Aug 2006, at 16:01, Mike Emigh wrote: > The snapshot check_disk plugin has a few functions that remained > after the rewrite. I submitted a patch recently to resolve this > issue; however, I'm not sure if it has been taken in to > consideration or not. > > If you check the patches portion of sourceforge, you can find the > changes which fix this problem. > Mike, Thanks for the reminder. Have updated CVS with your patch, so the inode values should be right now. I have removed the -U option because we're going to have a new way of specifying plugin output, probably for the 1.5 release. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Mon Aug 14 11:08:49 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 14 Aug 2006 11:08:49 +0200 Subject: stange symbols in notifications In-Reply-To: <44E03813.1020209@googlemail.com> References: <44DCA558.4060803@googlemail.com> <44DCA65E.2000802@googlemail.com> <44E03813.1020209@googlemail.com> Message-ID: <468DB8A0-C36B-4A47-B6D3-94ABBC6DEBE5@kilala.nl> Darn.... I keep using the wrong e-mail account to send these :) Let me try again... ===== > After following your suggestion regarding prinf and checking the > previously unchanged misccommand.cfg I'm not entirely sure what is > going on here. The definition for email is below: > ... > This doesn't look bad to me, it seems to simply be using lots of > Macro$ so I assume that the macro must be sending it something > funny.... > Will have to scratch my head and try to track that down. You -did- notice that to printf "\b" is a backspace, right? Which would totally explain what you're seeing... ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Mon Aug 14 11:16:09 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 14 Aug 2006 10:16:09 +0100 Subject: stange symbols in notifications In-Reply-To: <929F6482-56A1-41DA-89CB-2E7172B85D27@kilala.nl> References: <44DCA558.4060803@googlemail.com> <44DCA65E.2000802@googlemail.com> <44E03813.1020209@googlemail.com> <929F6482-56A1-41DA-89CB-2E7172B85D27@kilala.nl> Message-ID: <44E03F59.2070607@googlemail.com> Thomas Sluyter wrote: >> After following your suggestion regarding prinf and checking the >> previously unchanged misccommand.cfg I'm not entirely sure what is >> going on here. The definition for email is below: >> ... >> This doesn't look bad to me, it seems to simply be using lots of >> Macro$ so I assume that the macro must be sending it something funny.... >> Will have to scratch my head and try to track that down. > > You -did- notice that to printf "\b" is a backspace, right? Which > would totally explain what you're seeing... > err, I think that is the notation for a backslash escaped sequence, not a backspace character, which is \b. It turns out that the points at which I am getting those strange squares is actually replacing "\\" and "\" in \\hostname\sharename. So I know where the problem is and what part needs fixing, but I have tried to recreate it on the command line but the message never comes through to me to fully diagnose. eg.. echo '\\hostname\sharename' | mail -s "test" me at mydomain.com but I haven't gotten this. Strange, that now I'm not getting messages from /bin/mail. Will have to look into this and get back to you. Hari ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Mon Aug 14 11:42:53 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 14 Aug 2006 10:42:53 +0100 Subject: stange symbols in notifications In-Reply-To: <44E03F59.2070607@googlemail.com> References: <44DCA558.4060803@googlemail.com> <44DCA65E.2000802@googlemail.com> <44E03813.1020209@googlemail.com> <929F6482-56A1-41DA-89CB-2E7172B85D27@kilala.nl> <44E03F59.2070607@googlemail.com> Message-ID: <44E0459D.4030703@googlemail.com> Hari Sekhon wrote: > Thomas Sluyter wrote: > >>> After following your suggestion regarding prinf and checking the >>> previously unchanged misccommand.cfg I'm not entirely sure what is >>> going on here. The definition for email is below: >>> ... >>> This doesn't look bad to me, it seems to simply be using lots of >>> Macro$ so I assume that the macro must be sending it something funny.... >>> Will have to scratch my head and try to track that down. >>> >> You -did- notice that to printf "\b" is a backspace, right? Which >> would totally explain what you're seeing... >> >> > err, I think that is the notation for a backslash escaped sequence, not > a backspace character, which is \b. > > It turns out that the points at which I am getting those strange squares > is actually replacing "\\" and "\" in \\hostname\sharename. > > So I know where the problem is and what part needs fixing, but I have > tried to recreate it on the command line but the message never comes > through to me to fully diagnose. > > eg.. > > echo '\\hostname\sharename' | mail -s "test" me at mydomain.com > > but I haven't gotten this. Strange, that now I'm not getting messages > from /bin/mail. Will have to look into this and get back to you. > > > Hari > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ok, after looking at my mail server the problem was the oh so brilliant thunderbird client. sorted. now back to the original problem... I've fixed the character issue in the notifications with \\hostname\sharename. The problem lies with the %b in the printf statement. I changed this to %q. Remember that the system's printf is superseded by the shell built-in. Any way, the %q defines that the argument list is appropriately formatted for shell reuse which is exactly the was that it is being used in the mail pipe for this notification functionality. Thanks for the help, you've given me the jolt I needed. Hari -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Mon Aug 14 12:25:40 2006 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Mon, 14 Aug 2006 11:25:40 +0100 Subject: Question about NRPE configuration file Message-ID: I am in the process of migrating from a configuration with a single Nagios server to one with a master and a slave server. As part of this migration I have updated the NRPE configuration that is installed on the clients to include both hosts as allowed_hosts for NRPE calls. However I noticed that at NRPE restart, the following messages are issued: Aug 14 09:24:15 NODENAME nrpe[2592]: Unknown option specified in config file '/etc/nagios/nrpe.cfg' - Line 41 Aug 14 09:24:15 NODENAME nrpe: nrpe startup succeeded Aug 14 09:24:15 NODENAME nrpe[2593]: Starting up daemon Aug 14 09:24:15 NODENAME nrpe[2593]: Warning: Daemon is configured to accept command arguments from clients! Line 41 of /etc/nagios/nrpe.cfg is the allowed_hosts line which reads (with context): # ALLOWED HOST ADDRESSES # This is a comma-delimited list of IP address of hosts that are allowed # to talk to the NRPE daemon. # # NOTE: The daemon only does rudimentary checking of the client's IP # address. I would highly recommend adding entries in your # /etc/hosts.allow file to allow only the specified host to connect # to the port you are running this daemon on. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd allowed_hosts=III.III.III.111, III.III.III.222 where III.III.III.111 and III.III.III.222 are the IP addresses of the Nagios servers Is the error message (from /var/log/messages) misleading ? Or is there an error in the configuration ? Any help would be appreciated Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misch at multinet.de Mon Aug 14 12:54:40 2006 From: misch at multinet.de (Michael Schwartzkopff) Date: Mon, 14 Aug 2006 12:54:40 +0200 Subject: SNMP? In-Reply-To: References: <574F9688-20EF-4EFB-954D-4DF98D50F387@kilala.nl> Message-ID: <200608141254.44173.misch@multinet.de> Am Montag, 14. August 2006 10:34 schrieb Thomas Sluyter: > Darn... I sent my e-mail to Friedrich personally, instead of to the > list... > > Well, here goes again. A bit late I realize... > (...) > > This is actually quite awesome indeed! We've completely thrown NRPE > > out of the window and use SNMP exclusively now. It's a bit of a > > bitch sometimes, but when it works, it works nicely! > > > > Cheers! > > Thomas Hi, I wrote an article that was published in the German Linuxmagazin about that topic. SNMP is great and you get all information you need. I really can imagine very few szenarios where NRPE actually is needed. Greetings, -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil.briscoe at adelix.com Mon Aug 14 13:21:00 2006 From: neil.briscoe at adelix.com (Neil Briscoe) Date: Mon, 14 Aug 2006 12:21 +0100 (BST) Subject: Problems with Nagios Message-ID: I'm having a problem with Nagios which is this. At the moment, I have a version of Nagios that monitors a few systems, but the screens all display incorrectly. The reason for this was that I originally compiled without gd and all its friends. I have now rectified the lack of the libraries and have re-compiled Nagios again. It compiles fine and I stop the service, run make install and re-start the service. The service starts fine - but going to the web page now gets a NOT FOUND for all pages. Fortunately, I took a backup of /usr/local/nagios - so I'm at least able to put back the working but broken system. Here is my configuration command line :- ./configure --prefix=/usr/local/nagios --with-cgiurl=/var/www /eninet/admin.eninet.com/nagios/cgi-bin --with-htmurl=/var/www/eninet/admin/enin et.com/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-command-group=www-data --with-gd-inc=/usr/local/include --with-gd-lib=/usr/local/lib If anyone could advise me what I'm doing wrong I'd appreciate it. Regards Neil -- Neil Briscoe Adelix Ltd neil.briscoe at adelix.com web: www.adelix.com tel: 0845 230 9592 / fax: 0845 230 9591 / main office: 0845 230 9590 snail: The Old Post Office, Bristol Rd, Hambrook, Bristol BS16 1RY. UK. skype: stonefish001 Adelix Ltd is BS EN ISO 9001:2000 Certified (No. GB 12763) Any views expressed in this email communication are those of the individual sender, except where the sender specifically states them to be the views of a member of Adelix Ltd. Adelix Ltd. does not represent, warrant or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors or interference. ------------------------------------------------------------------------------------ Scanned for viruses, spam and offensive content by CensorNet MailSafe Professional Web & E-mail Filtering from www.censornet.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Mon Aug 14 15:24:58 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Mon, 14 Aug 2006 23:24:58 +1000 Subject: log checking plugins? In-Reply-To: <20060814024746.GC23403@mal.toger.us> References: <610cb7a00608131931g182ec86al28fb86896a147331@mail.gmail.com> <20060814024746.GC23403@mal.toger.us> Message-ID: <610cb7a00608140624t35ba58e6oe44cade25ab744e0@mail.gmail.com> Jason, Thanks very much; that was pretty much all I needed (although I do feel that my ideal situation of an alert staying red until manually cleared ought to be considered in situations such as log checking that are kind of logically distinct from situations which really can clear themselves (e.g. CPU load critical; disk space at 0% free etc.). Anyhow, no big deal; thanks again. Best, Alex On 8/14/06, Jason Martin wrote: > > On Mon, Aug 14, 2006 at 12:31:27PM +1000, Alexander Harvey wrote: > > handling this scenario? Ideally, the alert should remain until an > > administrator reviews the log and turns the alert off. > You must set the max_check_attempts for these services to 1. Also, > read the manual about 'volatile' checks. Unfortunately Nagios > does not support your ideal situation of log check staying red > until manually cleared. > > -Jason Martin > -- > 3 kinds of people: those who can count & those who can't. > This message is PGP/MIME signed. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Aug 14 16:35:17 2006 From: marc at ena.com (Marc Powell) Date: Mon, 14 Aug 2006 09:35:17 -0500 Subject: Problems with Nagios Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Neil Briscoe > Sent: Monday, August 14, 2006 6:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems with Nagios > > I'm having a problem with Nagios which is this. At the moment, I have a > version of Nagios that monitors a few systems, but the screens all > display incorrectly. The reason for this was that I originally compiled > without gd and all its friends. > > I have now rectified the lack of the libraries and have re-compiled > Nagios again. It compiles fine and I stop the service, run make install > and re-start the service. The service starts fine - but going to the > web page now gets a NOT FOUND for all pages. > > Fortunately, I took a backup of /usr/local/nagios - so I'm at least able > to put back the working but broken system. > > Here is my configuration command line :- > > ./configure --prefix=/usr/local/nagios --with-cgiurl=/var/www > /eninet/admin.eninet.com/nagios/cgi-bin > --with-htmurl=/var/www/eninet/admin/enin > et.com/nagios --with-nagios-user=nagios --with-nagios-group=nagios > --with-command-group=www-data --with-gd-inc=/usr/local/include > --with-gd-lib=/usr/local/lib > > If anyone could advise me what I'm doing wrong I'd appreciate it. --with-cgiurl and --with-htmurl should be specified as accessed by your browser, not the filesystem path. Probably -- --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil.briscoe at adelix.com Mon Aug 14 16:49:00 2006 From: neil.briscoe at adelix.com (Neil Briscoe) Date: Mon, 14 Aug 2006 15:49 +0100 (BST) Subject: Problems with Nagios In-Reply-To: References: Message-ID: Hi Marc > --with-cgiurl and --with-htmurl should be specified as accessed by > your > browser, not the filesystem path. Probably -- > > --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios I knew it would be something to do with those - and couldn't remember what I'd typed the first time. I'll give that a whirl, thanks very much. Regards Neil ------------------------------------------------------------------------------------ Scanned for viruses, spam and offensive content by CensorNet MailSafe Professional Web & E-mail Filtering from www.censornet.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matteo.corti at id.ethz.ch Mon Aug 14 17:10:20 2006 From: matteo.corti at id.ethz.ch (Matteo Corti) Date: Mon, 14 Aug 2006 17:10:20 +0200 Subject: Announcement: check_dir 1.0 Message-ID: <44E0925C.1010303@id.ethz.ch> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I wrote a small plugin to monitor the number of file in one or more directories: http://www.nagiosexchange.org/Misc.54.0.html?&tx_netnagext_pi1[p_view]=664&tx_netnagext_pi1[page]=10%3A10 Matteo - -- Matteo Corti ETH Zurich Informatikdienste / Basisdienste matteo.corti at id.ethz.ch +41 44 6327944 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFE4JJbLEG/T0gggJsRAg6eAKC/mO9fe7WWfBCXDzCSDjoWVTYUCwCeOZ8I PECt2+Fcruo02f62kAn3n68= =2c+q -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave at umiacs.umd.edu Mon Aug 14 17:26:59 2006 From: dave at umiacs.umd.edu (Dave Stern) Date: Mon, 14 Aug 2006 11:26:59 -0400 (EDT) Subject: host details time vs service details time Message-ID: We have an interesting problem that might be quite simple. Listing service-details shows all hosts and their services and last-check time correctly. Listing Host-details shows older last-check times (perhaps up to a month). If the host goes down, the "last Check" date is correct. If it comes back, the date is correct and seems to keep that date. In other words, the last-checked field on the hosts-detail page retains only a state-change. I'm using active and passive test on nagios 2.3. Here's the output from nagios -s. Note that the Total sheduled hosts is 0. Thanks HOST SCHEDULING INFORMATION --------------------------- Total hosts: 696 Total scheduled hosts: 0 Host inter-check delay method: SMART Average host check interval: 0.00 sec Host inter-check delay: 0.00 sec Max host check spread: 10 min First scheduled check: N/A Last scheduled check: N/A SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 2120 Total scheduled services: 2120 Service inter-check delay method: SMART Average service check interval: 300.00 sec Inter-check delay: 0.14 sec Interleave factor method: SMART Average services per host: 3.05 Service interleave factor: 4 Max service check spread: 8 min irst scheduled check: Mon Aug 14 11:25:06 2006 Last scheduled check: Mon Aug 14 11:30:05 2006 CHECK PROCESSING INFORMATION ---------------------------- Service check reaper interval: 10 sec Max concurrent service checks: Unlimited PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. =-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-= David Stern University of Maryland Institute for Advanced Computer Studies ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Mon Aug 14 17:30:41 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Mon, 14 Aug 2006 08:30:41 -0700 Subject: NSCA - XINETD Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD44401FE@raptor.redhawk.info> I have noticed an unusual occurrence using NSCA while in XINETD mode. I noticed that connections will get "refused" on occasion. I have not noticed this when running NSCA under DAEMON mode. I'm running NSCA 2.4. Has anyone else seen this? Thanks in advance, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Aug 14 18:04:47 2006 From: marc at ena.com (Marc Powell) Date: Mon, 14 Aug 2006 11:04:47 -0500 Subject: host details time vs service details time Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Dave Stern > Sent: Monday, August 14, 2006 10:27 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] host details time vs service details time > > We have an interesting problem that might be quite simple. Listing > service-details shows all hosts and their services and last-check > time correctly. Listing Host-details shows older last-check times > (perhaps up to a month). > If the host goes down, the "last Check" date is correct. If it comes back, > the date is correct and seems to keep that date. In other words, the > last-checked field on the hosts-detail page retains only a state-change. Hosts are only checked when a service on the host changes state. If you haven't had a failure on the host in a month, it's last check was a month ago. While I don't use host checks, what you're seeing seems normal to me based on that feature. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Aug 14 18:10:57 2006 From: jhmartin at toger.us (Jason Martin) Date: Mon, 14 Aug 2006 09:10:57 -0700 Subject: Question about NRPE configuration file In-Reply-To: References: Message-ID: <20060814161057.GB14065@mal.toger.us> On Mon, Aug 14, 2006 at 11:25:40AM +0100, Wheeler, JF (Jonathan) wrote: > I am in the process of migrating from a configuration with a single > Nagios server to one with a master and a slave server. As part of this > migration I have updated the NRPE configuration that is installed on the > clients to include both hosts as allowed_hosts for NRPE calls. However > I noticed that at NRPE restart, the following messages are issued: > > Aug 14 09:24:15 NODENAME nrpe[2592]: Unknown option specified in config > file '/etc/nagios/nrpe.cfg' - Line 41 > Aug 14 09:24:15 NODENAME nrpe: nrpe startup succeeded > Aug 14 09:24:15 NODENAME nrpe[2593]: Starting up daemon > Aug 14 09:24:15 NODENAME nrpe[2593]: Warning: Daemon is configured to > accept command arguments from clients! > > Line 41 of /etc/nagios/nrpe.cfg is the allowed_hosts line which reads > allowed_hosts=III.III.III.111, III.III.III.222 Try removing the space after the comma. -Jason Martin -- Unsolicited advice answers unasked questions This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigo.maceno at gmail.com Mon Aug 14 18:28:09 2006 From: rodrigo.maceno at gmail.com (Rodrigo Maceno) Date: Mon, 14 Aug 2006 13:28:09 -0300 Subject: Nagios X IpTables Message-ID: <27acffb00608140928r18bbfcccta57d4ac06c0bcc5b@mail.gmail.com> Hello, I have the nagios installed and working normal, but it only works if I stop he iptables service. I would like to know how do it to run the Nagios without stop iptables. Anyone could help me?? Thanks, Rodrigo L. Maceno PS: Sorry for my english... :/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Mon Aug 14 18:30:41 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Mon, 14 Aug 2006 10:30:41 -0600 Subject: NSCA - XINETD Message-ID: <2D0245E43DEC724F81592D697F05689903AD5C83@SIDHQEXCHMB1.Cabelas.Corp> I would check the xinetd.conf. Maybe your config is throttling the connection after X attempts in Y seconds? ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mike Koponick Sent: Monday, August 14, 2006 9:31 AM To: nagios Subject: [Nagios-users] NSCA - XINETD I have noticed an unusual occurrence using NSCA while in XINETD mode. I noticed that connections will get "refused" on occasion. I have not noticed this when running NSCA under DAEMON mode. I'm running NSCA 2.4. Has anyone else seen this? Thanks in advance, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Mon Aug 14 18:37:35 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 14 Aug 2006 17:37:35 +0100 Subject: Nagios X IpTables In-Reply-To: <27acffb00608140928r18bbfcccta57d4ac06c0bcc5b@mail.gmail.com> References: <27acffb00608140928r18bbfcccta57d4ac06c0bcc5b@mail.gmail.com> Message-ID: <44E0A6CF.7080809@googlemail.com> Rodrigo Maceno wrote: > Hello, > I have the nagios installed and working normal, but it only works if I > stop he iptables service. I would like to know how do it to run the > Nagios without stop iptables. Anyone could help me?? > > Thanks, > Rodrigo L. Maceno > > PS: Sorry for my english... :/ > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null you need to learn iptables to open the necessary ports. man iptables would be a good place to start. also, check out which ports are used by services etc using netstat. It will take you a lot of time to figure out, but it's too complicated and specific to your setup for anybody to guide you all the way through. man netstat man iptables will get you started. Hari -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Aug 14 18:41:26 2006 From: jhmartin at toger.us (Jason Martin) Date: Mon, 14 Aug 2006 09:41:26 -0700 Subject: NSCA - XINETD In-Reply-To: <2D0245E43DEC724F81592D697F05689903AD5C83@SIDHQEXCHMB1.Cabelas.Corp> References: <2D0245E43DEC724F81592D697F05689903AD5C83@SIDHQEXCHMB1.Cabelas.Corp> Message-ID: <20060814164126.GE14065@mal.toger.us> On Mon, Aug 14, 2006 at 10:30:41AM -0600, Aaron Segura wrote: > I would check the xinetd.conf. Maybe your config is throttling the > connection after X attempts in Y seconds? Read up on the 'cps' parameter for xinetd. There is a default that you might be running afoul of. -Jason Martin -- Unsolicited advice answers unasked questions This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigo.maceno at gmail.com Mon Aug 14 19:16:10 2006 From: rodrigo.maceno at gmail.com (Rodrigo Maceno) Date: Mon, 14 Aug 2006 14:16:10 -0300 Subject: Nagios X IpTables In-Reply-To: <44E0A6CF.7080809@googlemail.com> References: <27acffb00608140928r18bbfcccta57d4ac06c0bcc5b@mail.gmail.com> <44E0A6CF.7080809@googlemail.com> Message-ID: <27acffb00608141016p3f84bcb6v9b63bff03f26bf58@mail.gmail.com> Ok, I understood what you said... But you could help me one more time? I tried to put two rules in IpTables: iptables -A INPUT -p udp -s any/0 -d any/0 --dport=5666 -j ACCEPT iptables -A FORWARD -p udp -s any/0 -d any/0 --dport=5666 -j ACCEPT but I don't know if there is anything wrong... Could you help again?? Thanks... 2006/8/14, Hari Sekhon : > > Rodrigo Maceno wrote: > > Hello, > I have the nagios installed and working normal, but it only works if I > stop he iptables service. I would like to know how do it to run the Nagios > without stop iptables. Anyone could help me?? > > Thanks, > Rodrigo L. Maceno > > PS: Sorry for my english... :/ > > ------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > you need to learn iptables to open the necessary ports. > > > man iptables > > would be a good place to start. > > also, check out which ports are used by services etc using netstat. It > will take you a lot of time to figure out, but it's too complicated and > specific to your setup for anybody to guide you all the way through. > > man netstat > man iptables > > will get you started. > > Hari > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Mon Aug 14 19:23:38 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 14 Aug 2006 18:23:38 +0100 Subject: Nagios X IpTables In-Reply-To: <27acffb00608141016p3f84bcb6v9b63bff03f26bf58@mail.gmail.com> References: <27acffb00608140928r18bbfcccta57d4ac06c0bcc5b@mail.gmail.com> <44E0A6CF.7080809@googlemail.com> <27acffb00608141016p3f84bcb6v9b63bff03f26bf58@mail.gmail.com> Message-ID: <44E0B19A.5050502@googlemail.com> If you want the rule to match any ip then you should just leave the -s any and -d any out of the line iptables -A INPUT -p udp --dport 5666 -j ACCEPT iptables -A FORWARD -p udp --dport=5666 -j ACCEPT This will allow anything from anywhere to port 5666 on this host. The second line is not needed unless this box is a router. It's better to do something like iptables -A INPUT -p udp -s 192.168.1.0/24 --dport 5666 -j ACCEPT assuming your network is in the 192.168.1.1-255 range, since this would limit the port opening to only those machine on your network (or more specifically those machines in the 192.168.1.0 network). If it causes you too much trouble, you could be forgiven for doing iptables -F and disable it's re-application in the init scripts (assuming this host is protected behind a firewall!) Hari Rodrigo Maceno wrote: > Ok, I understood what you said... But you could help me one more > time? I tried to put two rules in IpTables: > iptables -A INPUT -p udp -s any/0 -d any/0 --dport=5666 -j ACCEPT > iptables -A FORWARD -p udp -s any/0 -d any/0 --dport=5666 -j ACCEPT > > but I don't know if there is anything wrong... Could you help again?? > > Thanks... > > > > > 2006/8/14, Hari Sekhon >: > > Rodrigo Maceno wrote: > Hello, > I have the nagios installed and working normal, but it only works > if I stop he iptables service. I would like to know how do it to > run the Nagios without stop iptables. Anyone could help me?? > > Thanks, > Rodrigo L. Maceno > > PS: Sorry for my english... :/ > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > you need to learn iptables to open the necessary ports. > > > man iptables > > would be a good place to start. > > also, check out which ports are used by services etc using > netstat. It will take you a lot of time to figure out, but it's > too complicated and specific to your setup for anybody to guide > you all the way through. > > man netstat > man iptables > > will get you started. > > Hari > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmblue at gmail.com Mon Aug 14 19:46:30 2006 From: tmblue at gmail.com (Tory M Blue) Date: Mon, 14 Aug 2006 10:46:30 -0700 Subject: Maybe being dence.. notifcation options, email warn, page critical Message-ID: <8a547c840608141046x65ea17dfn4e26a0ef507b9855@mail.gmail.com> The only way I'm seeing this happen is using multiple host or service checks, with different templates. This can't be the case and I must be missing something very easy as the entire world must have this configured already. What did I miss? I need to email on warn I need to email and page on critical Please make me feel silly thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Mon Aug 14 19:52:51 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 14 Aug 2006 18:52:51 +0100 Subject: Maybe being dence.. notifcation options, email warn, page critical In-Reply-To: <8a547c840608141046x65ea17dfn4e26a0ef507b9855@mail.gmail.com> References: <8a547c840608141046x65ea17dfn4e26a0ef507b9855@mail.gmail.com> Message-ID: <44E0B873.90402@googlemail.com> Tory M Blue wrote: > The only way I'm seeing this happen is using multiple host or service > checks, with different templates. > > This can't be the case and I must be missing something very easy as > the entire world must have this configured already. > > What did I miss? > > I need to email on warn > > I need to email and page on critical > > Please make me feel silly > > thanks > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null I don't think nagios can support this. I would write a shell wrapper to test the notification and then if warning email and if critical email and page. Hari -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigo.maceno at gmail.com Mon Aug 14 19:53:51 2006 From: rodrigo.maceno at gmail.com (Rodrigo Maceno) Date: Mon, 14 Aug 2006 14:53:51 -0300 Subject: Nagios X IpTables In-Reply-To: <44E0B19A.5050502@googlemail.com> References: <27acffb00608140928r18bbfcccta57d4ac06c0bcc5b@mail.gmail.com> <44E0A6CF.7080809@googlemail.com> <27acffb00608141016p3f84bcb6v9b63bff03f26bf58@mail.gmail.com> <44E0B19A.5050502@googlemail.com> Message-ID: <27acffb00608141053y429c3af1r74612ba5f3ee8a7b@mail.gmail.com> Hello, it's ok... But now, when I restart the iptables' service, the nagios works good... but at the next update of Nagios the follow message looks me: CHECK_NRPE - socket timeout after 10 seconds... Anyone could help me again?? Thanks 2006/8/14, Hari Sekhon : > > If you want the rule to match any ip then you should just leave the -s > any and -d any out of the line > > iptables -A INPUT -p udp --dport 5666 -j ACCEPT > iptables -A FORWARD -p udp --dport=5666 -j ACCEPT > > This will allow anything from anywhere to port 5666 on this host. The > second line is not needed unless this box is a router. It's better to do > something like > > iptables -A INPUT -p udp -s 192.168.1.0/24 --dport 5666 -j ACCEPT > > assuming your network is in the 192.168.1.1-255 range, since this would > limit the port opening to only those machine on your network (or more > specifically those machines in the 192.168.1.0 network). > > If it causes you too much trouble, you could be forgiven for doing > iptables -F and disable it's re-application in the init scripts (assuming > this host is protected behind a firewall!) > > Hari > > > > Rodrigo Maceno wrote: > > Ok, I understood what you said... But you could help me one more time? I > tried to put two rules in IpTables: > iptables -A INPUT -p udp -s any/0 -d any/0 --dport=5666 -j ACCEPT > iptables -A FORWARD -p udp -s any/0 -d any/0 --dport=5666 -j ACCEPT > > but I don't know if there is anything wrong... Could you help again?? > > Thanks... > > > > > 2006/8/14, Hari Sekhon : > > > > Rodrigo Maceno wrote: > > Hello, > > I have the nagios installed and working normal, but it only works if I > > stop he iptables service. I would like to know how do it to run the Nagios > > without stop iptables. Anyone could help me?? > > > > Thanks, > > Rodrigo L. Maceno > > > > PS: Sorry for my english... :/ > > > > ------------------------------ > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier > > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > ------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > you need to learn iptables to open the necessary ports. > > > > > > man iptables > > > > would be a good place to start. > > > > also, check out which ports are used by services etc using netstat. It > > will take you a lot of time to figure out, but it's too complicated and > > specific to your setup for anybody to guide you all the way through. > > > > man netstat > > man iptables > > > > will get you started. > > > > Hari > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Mon Aug 14 19:56:04 2006 From: teng at dataway.com (Tedman Eng) Date: Mon, 14 Aug 2006 10:56:04 -0700 Subject: Maybe being dence.. notifcation options, email warn, page critical Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E61@dw-mail.dataway.com> Set up multiple contacts, corresponding to the method you wish to be contacted. define contact{ contact_name jdoe-email service_notification_options w,c,r service_notification_commands notify-by-email email jdoe at localhost.localdomain } define contact{ contact_name jdoe-pager service_notification_options c service_notification_commands notify-by-pager pager 888-555-1234 } -----Original Message----- From: Tory M Blue [mailto:tmblue at gmail.com] Sent: Monday, August 14, 2006 10:47 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Maybe being dence.. notifcation options, email warn, page critical The only way I'm seeing this happen is using multiple host or service checks, with different templates. This can't be the case and I must be missing something very easy as the entire world must have this configured already. What did I miss? I need to email on warn I need to email and page on critical Please make me feel silly thanks ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Aug 14 19:57:29 2006 From: jhmartin at toger.us (Jason Martin) Date: Mon, 14 Aug 2006 10:57:29 -0700 Subject: Maybe being dence.. notifcation options, email warn, page critical In-Reply-To: <44E0B873.90402@googlemail.com> References: <8a547c840608141046x65ea17dfn4e26a0ef507b9855@mail.gmail.com> <44E0B873.90402@googlemail.com> Message-ID: <20060814175729.GD15711@mal.toger.us> On Mon, Aug 14, 2006 at 06:52:51PM +0100, Hari Sekhon wrote: > >I need to email on warn > >I need to email and page on critical > I don't think nagios can support this. I would write a shell wrapper to > test the notification and then if warning email and if critical email > and page. I think the Nagios way is to create two contacts and have one of them point to your email address and have notification options to alert on warn / crit, and a second contact that only alerts on crit that points to your pager. Alternatively, pass both the email and pager address to your notification command and have it decide based on severity how to route the alert. -Jason Martin -- The first step to making a dream come true is to wake up This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmblue at gmail.com Mon Aug 14 21:05:42 2006 From: tmblue at gmail.com (Tory M Blue) Date: Mon, 14 Aug 2006 12:05:42 -0700 Subject: Maybe being dence.. notifcation options, email warn, page critical In-Reply-To: <44E0B873.90402@googlemail.com> References: <8a547c840608141046x65ea17dfn4e26a0ef507b9855@mail.gmail.com> <44E0B873.90402@googlemail.com> Message-ID: <8a547c840608141205j1a4d238fxfbac88ab0f2a02bd@mail.gmail.com> On 8/14/06, Hari Sekhon wrote: > > Tory M Blue wrote: > > I need to email on warn > > I need to email and page on critical > > Please make me feel silly > > thanks > > I don't think nagios can support this. I would write a shell wrapper to > test the notification and then if warning email and if critical email and > page. > > Hari > Okay but that's lots of secondary actions. Mucho eventhandler definitions. Yes it;s code, yes it can be done outside, but that makes no sense. I'm actually a bit surprised that it's not built in.. But it's simple enough, but then it is, why is it not built in? Almost every plugin is required to provide a warning and critical, Nagios should be able to treat them differently.. I hope you and I have overlooked something Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmblue at gmail.com Mon Aug 14 21:34:48 2006 From: tmblue at gmail.com (Tory M Blue) Date: Mon, 14 Aug 2006 12:34:48 -0700 Subject: Maybe being dence.. notifcation options, email warn, page critical In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E61@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E61@dw-mail.dataway.com> Message-ID: <8a547c840608141234u1682c969g941168ab3c47b9cf@mail.gmail.com> On 8/14/06, Tedman Eng wrote: > > Set up multiple contacts, corresponding to the method you wish to be > contacted. > > define contact{ > contact_name jdoe-email > service_notification_options w,c,r > service_notification_commands notify-by-email > email jdoe at localhost.localdomain > } > > define contact{ > contact_name jdoe-pager > service_notification_options c > service_notification_commands notify-by-pager > pager 888-555-1234 > } > Sorry my reply was late it appears, okay,. i see this, however show me how you use this with a single host or service definition? I see how your recommending this be done (appreciate it), but I don't see how this works unless you in fact setup 2 host or 2 service instances both being identical except for the contact-group. What am I missing? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Aug 14 21:41:33 2006 From: jhmartin at toger.us (Jason Martin) Date: Mon, 14 Aug 2006 12:41:33 -0700 Subject: Maybe being dense.. notifcation options, email warn, page critical In-Reply-To: <8a547c840608141234u1682c969g941168ab3c47b9cf@mail.gmail.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E61@dw-mail.dataway.com> <8a547c840608141234u1682c969g941168ab3c47b9cf@mail.gmail.com> Message-ID: <20060814194132.GF15711@mal.toger.us> On Mon, Aug 14, 2006 at 12:34:48PM -0700, Tory M Blue wrote: > On 8/14/06, Tedman Eng wrote: > > > >Set up multiple contacts, corresponding to the method you wish to be > >contacted. > > > >define contact{ > > contact_name jdoe-email > > service_notification_options w,c,r > > service_notification_commands notify-by-email > > email jdoe at localhost.localdomain > > } > > > >define contact{ > > contact_name jdoe-pager > > service_notification_options c > > service_notification_commands notify-by-pager > > pager 888-555-1234 > > } > > > > Sorry my reply was late it appears, okay,. i see this, however show me how > you use this with a single host or service definition? > > I see how your recommending this be done (appreciate it), but I don't see > how this works unless you in fact setup 2 host or 2 service instances both > being identical except for the contact-group. > What am I missing? You just said it right there, actually. You are confusing contacts and contact-groups. You would put jdoe-email and jdoe-pager into the same contact group and assign that to the service. You only need one host, one service, one contactgroup, and two contacts in that group. -Jason Martin -- Let he who takes the plunge remember to return it! This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From enediel at hotmail.com Mon Aug 14 21:44:08 2006 From: enediel at hotmail.com (enediel gonzalez) Date: Mon, 14 Aug 2006 19:44:08 +0000 Subject: cpu temperature Message-ID: Hello I need to monitor cpu temperature for Windows, unix and Novell host. For windows XP I use an informant, the same one the froze another computer running W2003 This informant is compatible with a set of motherboard only. thanks in advance for any answer Enediel Linux user 300141 Debian GNU/Linux ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmblue at gmail.com Mon Aug 14 22:26:49 2006 From: tmblue at gmail.com (Tory M Blue) Date: Mon, 14 Aug 2006 13:26:49 -0700 Subject: Maybe being dense.. notifcation options, email warn, page critical In-Reply-To: <20060814194132.GF15711@mal.toger.us> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E61@dw-mail.dataway.com> <8a547c840608141234u1682c969g941168ab3c47b9cf@mail.gmail.com> <20060814194132.GF15711@mal.toger.us> Message-ID: <8a547c840608141326o201b5111t77811d6562be98cc@mail.gmail.com> Thanks, I sat here looking around thinking you were smoking something and then it hit me, all the lines came into focus and I understood what you were saying. Totally undestand now! Mucho Gracias and stuff!!! I'm set! On 8/14/06, Jason Martin wrote: > > On Mon, Aug 14, 2006 at 12:34:48PM -0700, Tory M Blue wrote: > > On 8/14/06, Tedman Eng wrote: > > > > > >Set up multiple contacts, corresponding to the method you wish to be > > >contacted. > > > > > >define contact{ > > > contact_name jdoe-email > > > service_notification_options w,c,r > > > service_notification_commands notify-by-email > > > email jdoe at localhost.localdomain > > > } > > > > > >define contact{ > > > contact_name jdoe-pager > > > service_notification_options c > > > service_notification_commands notify-by-pager > > > pager 888-555-1234 > > > } > > > > > > > Sorry my reply was late it appears, okay,. i see this, however show me > how > > you use this with a single host or service definition? > > > > I see how your recommending this be done (appreciate it), but I don't > see > > how this works unless you in fact setup 2 host or 2 service instances > both > > being identical except for the contact-group. > > What am I missing? > You just said it right there, actually. You are confusing > contacts and contact-groups. You would put jdoe-email and > jdoe-pager into the same contact group and assign that to the > service. You only need one host, one service, one contactgroup, > and two contacts in that group. > > -Jason Martin > -- > Let he who takes the plunge remember to return it! > This message is PGP/MIME signed. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Patrick.San_Nicolas at alcatel.fr Tue Aug 15 01:02:40 2006 From: Patrick.San_Nicolas at alcatel.fr (Patrick.San_Nicolas at alcatel.fr) Date: Tue, 15 Aug 2006 01:02:40 +0200 Subject: Patrick SAN NICOLAS/FR/ALCATEL is out of the office. Message-ID: I will be out of the office starting 14/08/2006 and will not return until 04/09/2006. I will respond to your message when I return. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kelly at skyrider.com Tue Aug 15 01:52:02 2006 From: kelly at skyrider.com (Kelly Alexander) Date: Mon, 14 Aug 2006 16:52:02 -0700 Subject: How to get stdout from event handlers into Nagios email messages? Message-ID: <277CB7DD1E4B4C4C860484C00389C9C9540B3E@EXVS01.ex.dslextreme.net> Hi, I'm running Nagios 2.5 and my question is: is there any way to capture the stdout of an event handler and get it into the email Nagios sends out? Right now I'm working with check_smtp and an event handler that runs via ssh and restarts sendmail on a system if it dies. The check and handler both work, and I get two email notices. The first CRITICAL when sendmail is found to be dead, and then a 2nd saying it's OK after the handler fires and restarts sendmail. What I wanted to see was the output of the handler included at the end of the CRITICAL notice. The sample handler scripts seem to include output, but how can you see that other than in a log? I thought about making the handler itself send email that it's been run, but then I have to have every host able to send mail or ssh to a host that can send mail. That would work in this example since it's sendmail I'm working with but my "real" checks will not be for sendmail nor on hosts that are email enabled nor that I want to have any sort of ssh access back into my network. --- Kelly Alexander Skyrider Corporation ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil.briscoe at adelix.com Tue Aug 15 10:50:00 2006 From: neil.briscoe at adelix.com (Neil Briscoe) Date: Tue, 15 Aug 2006 09:50 +0100 (BST) Subject: Problems with Nagios In-Reply-To: References: Message-ID: Well, its still not working. I've tried a few invocations. At the end of the ./configure run I get something that looks like :- Web Interface Options: ------------------------ HTML URL: http://localhost//admin.eninet.com/nagios/ CGI URL: http://localhost//admin.eninet.com/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute Ideally - I'd like to get rid of that localhost. Is there anyway I can do that? The reason for this is that we run several web sites on this server - and admin.eninet.com is what we enter into the browser. Regards Neil ------------------------------------------------------------------------------------ Scanned for viruses, spam and offensive content by CensorNet MailSafe Professional Web & E-mail Filtering from www.censornet.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GilesC at CarmenMedia.com Tue Aug 15 11:02:33 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Tue, 15 Aug 2006 11:02:33 +0200 Subject: Problems with Nagios Message-ID: <28919ADDC3E2C44BAD07B1EB44818493D7B62A@cmgexcdc01.CMG.local> ./configure --prefix=/usr/loca/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-group=nagios --with-command-group=www-data --with-gd-inc=/usr/local/include --with-gd-lib=/usr/local/lib ?? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Neil Briscoe Sent: 15 August 2006 10:50 To: marc at ena.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problems with Nagios Well, its still not working. I've tried a few invocations. At the end of the ./configure run I get something that looks like :- Web Interface Options: ------------------------ HTML URL: http://localhost//admin.eninet.com/nagios/ CGI URL: http://localhost//admin.eninet.com/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute Ideally - I'd like to get rid of that localhost. Is there anyway I can do that? The reason for this is that we run several web sites on this server - and admin.eninet.com is what we enter into the browser. Regards Neil ------------------------------------------------------------------------ ------------ Scanned for viruses, spam and offensive content by CensorNet MailSafe Professional Web & E-mail Filtering from www.censornet.com ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.eisenblaetter at gmail.com Tue Aug 15 11:14:07 2006 From: mark.eisenblaetter at gmail.com (Mark Eisenblaetter) Date: Tue, 15 Aug 2006 11:14:07 +0200 Subject: How to get stdout from event handlers into Nagios email messages? In-Reply-To: <277CB7DD1E4B4C4C860484C00389C9C9540B3E@EXVS01.ex.dslextreme.net> References: <277CB7DD1E4B4C4C860484C00389C9C9540B3E@EXVS01.ex.dslextreme.net> Message-ID: <288245630608150214o3873b2b3g936f1ee6ffac8c25@mail.gmail.com> Hi, you can save the outut in a file an write a script that search the file for new output. Start this script before sending the mail an if there is new output for the special service appent it to the message. Mark On 8/15/06, Kelly Alexander wrote: > > Hi, I'm running Nagios 2.5 and my question is: is there any way > to capture the stdout of an event handler and get it into the email > Nagios sends out? > > Right now I'm working with check_smtp and an event handler that > runs via ssh and restarts sendmail on a system if it dies. The check > and handler both work, and I get two email notices. The first CRITICAL > when sendmail is found to be dead, and then a 2nd saying it's OK after > the handler fires and restarts sendmail. > > What I wanted to see was the output of the handler included at > the end of the CRITICAL notice. The sample handler scripts seem to > include output, but how can you see that other than in a log? > > I thought about making the handler itself send email that it's > been run, but then I have to have every host able to send mail or ssh to > a host that can send mail. That would work in this example since it's > sendmail I'm working with but my "real" checks will not be for sendmail > nor on hosts that are email enabled nor that I want to have any sort of > ssh access back into my network. > > --- > Kelly Alexander > Skyrider Corporation > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Mark Eisenbl?tter Geissendoerfer & Leschinsky GmnH www.gl-sytem-haus.de ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arief_clan at yahoo.com Tue Aug 15 11:20:23 2006 From: arief_clan at yahoo.com (Arief Iqbal) Date: Tue, 15 Aug 2006 02:20:23 -0700 (PDT) Subject: missing cgi?? Message-ID: <20060815092023.89469.qmail@web56011.mail.re3.yahoo.com> Hi, i've reinstall my nagios & i've install all plugin and library such as libgd, libgd-devel, libpng, libjpeg, etc.. but it's still, i can't display the statusmap.cgi in my nagios web interface, there's an error: 500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root at localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


Apache/2.2.0 (Fedora) Server at 192.168.87.100 Port 80
why is this happen?? i use fedora core 5 and i can't get into http://myaddress/nagios/cgi-bin, can somebody tell me why??? thanks --------------------------------- Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil.briscoe at adelix.com Tue Aug 15 11:18:00 2006 From: neil.briscoe at adelix.com (Neil Briscoe) Date: Tue, 15 Aug 2006 10:18 +0100 (BST) Subject: Problems with Nagios In-Reply-To: <28919ADDC3E2C44BAD07B1EB44818493D7B62A@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493D7B62A@cmgexcdc01.CMG.local> Message-ID: > ./configure --prefix=/usr/loca/nagios --with-cgiurl=/nagios/cgi-bin > --with-htmurl=/nagios/ --with-nagios-user=nagios > --with-nagios-group=nagios --with-command-group=www-data > --with-gd-inc=/usr/local/include --with-gd-lib=/usr/local/lib Actually, when I ran with that specific command line - of course it just showed localhost://nagios/cgi-bin and localhost://nagios - I install the result of that one - it didn't work. Thats why I tried specifying the specific virtual host under which we want to run it - and thats not working either. Is there anyway I can get rid of the localhost from the output of ./configure? Regards Neil ------------------------------------------------------------------------------------ Scanned for viruses, spam and offensive content by CensorNet MailSafe Professional Web & E-mail Filtering from www.censornet.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arief_clan at yahoo.com Tue Aug 15 11:41:36 2006 From: arief_clan at yahoo.com (Arief Iqbal) Date: Tue, 15 Aug 2006 02:41:36 -0700 (PDT) Subject: what is this error??? Message-ID: <20060815094136.86143.qmail@web56006.mail.re3.yahoo.com> this is write in my apache error_log when i try to access statusmap in my nagios web interface, can somebody tell me why this happen?? [Tue Aug 15 16:01:06 2006] [error] [client 192.168.87.100] Premature end of script headers: status.cgi, referer: http://192.168.87.100/nagios/side.html [Tue Aug 15 16:01:09 2006] [error] [client 192.168.87.100] (13)Permission denied: exec of '/usr/local/nagios/sbin/statuswrl.cgi' failed, referer: http://192.168.87.100/nagios/side.html [Tue Aug 15 16:01:09 2006] [error] [client 192.168.87.100] Premature end of script headers: statuswrl.cgi, referer: http://192.168.87.100/nagios/side.html [Tue Aug 15 16:01:11 2006] [error] [client 192.168.87.100] (13)Permission denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' failed, referer: http://192.168.87.100/nagios/side.html __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Tue Aug 15 12:49:14 2006 From: tom at ng23.net (Tom Brown) Date: Tue, 15 Aug 2006 11:49:14 +0100 Subject: what is this error??? In-Reply-To: <20060815094136.86143.qmail@web56006.mail.re3.yahoo.com> References: <20060815094136.86143.qmail@web56006.mail.re3.yahoo.com> Message-ID: <44E1A6AA.5010706@ng23.net> > this is write in my apache error_log when i try to access statusmap in > my nagios web interface, can somebody tell me why this happen?? > > [Tue Aug 15 16:01:06 2006] [error] [client 192.168.87.100] Premature end > of script headers: status.cgi, referer: > http://192.168.87.100/nagios/side.html > [Tue Aug 15 16:01:09 2006] [error] [client 192.168.87.100] > (13)Permission denied: exec of '/usr/local/nagios/sbin/statuswrl.cgi' > failed, referer: http://192.168.87.100/nagios/side.html > [Tue Aug 15 16:01:09 2006] [error] [client 192.168.87.100] Premature end > of script headers: statuswrl.cgi, referer: > http://192.168.87.100/nagios/side.html > [Tue Aug 15 16:01:11 2006] [error] [client 192.168.87.100] > (13)Permission denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' > failed, referer: http://192.168.87.100/nagios/side.html check your SElinux config and also check that the user that the webserver runs as can execute the scripts in the cgi-bin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GilesC at CarmenMedia.com Tue Aug 15 13:31:50 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Tue, 15 Aug 2006 13:31:50 +0200 Subject: Problems with Nagios Message-ID: <28919ADDC3E2C44BAD07B1EB44818493D7B630@cmgexcdc01.CMG.local> Specify your hostname in apache, not nagios. -----Original Message----- From: Neil Briscoe [mailto:neil.briscoe at adelix.com] Sent: 15 August 2006 11:18 To: Giles Coochey Cc: nagios-users at lists.sourceforge.net; neil.briscoe at adelix.com Subject: RE: [Nagios-users] Problems with Nagios > ./configure --prefix=/usr/loca/nagios --with-cgiurl=/nagios/cgi-bin > --with-htmurl=/nagios/ --with-nagios-user=nagios > --with-nagios-group=nagios --with-command-group=www-data > --with-gd-inc=/usr/local/include --with-gd-lib=/usr/local/lib Actually, when I ran with that specific command line - of course it just showed localhost://nagios/cgi-bin and localhost://nagios - I install the result of that one - it didn't work. Thats why I tried specifying the specific virtual host under which we want to run it - and thats not working either. Is there anyway I can get rid of the localhost from the output of ./configure? Regards Neil ------------------------------------------------------------------------ ------------ Scanned for viruses, spam and offensive content by CensorNet MailSafe Professional Web & E-mail Filtering from www.censornet.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil.briscoe at adelix.com Tue Aug 15 14:08:00 2006 From: neil.briscoe at adelix.com (Neil Briscoe) Date: Tue, 15 Aug 2006 13:08 +0100 (BST) Subject: Problems with Nagios In-Reply-To: <28919ADDC3E2C44BAD07B1EB44818493D7B630@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493D7B630@cmgexcdc01.CMG.local> Message-ID: Hi Giles > Specify your hostname in apache, not nagios. > Infact, I've just done exactly that. I've put all the Nagios configuration in the virtual server stanza and removed anything from the global area. Low and behold - I now have my pages back - but they're still not showing the colourations I should be getting. Clicking on the statusmap.cgi page - I get an internal server error - whereupon it can't find libpng.so.0 - yet the file exists in /usr/local/lib. So now its an Apache problem I think. Time to go and Google again. Regards Neil ------------------------------------------------------------------------------------ Scanned for viruses, spam and offensive content by CensorNet MailSafe Professional Web & E-mail Filtering from www.censornet.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GilesC at CarmenMedia.com Tue Aug 15 14:21:44 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Tue, 15 Aug 2006 14:21:44 +0200 Subject: Problems with Nagios Message-ID: <28919ADDC3E2C44BAD07B1EB44818493D7B631@cmgexcdc01.CMG.local> Is /usr/local/lib in your /etc/ld.so.conf ? What does "ldconfig -v | grep libpng" give you? -----Original Message----- From: Neil Briscoe [mailto:neil.briscoe at adelix.com] Sent: 15 August 2006 14:08 To: Giles Coochey Cc: nagios-users at lists.sourceforge.net; neil.briscoe at adelix.com Subject: RE: [Nagios-users] Problems with Nagios Hi Giles > Specify your hostname in apache, not nagios. > Infact, I've just done exactly that. I've put all the Nagios configuration in the virtual server stanza and removed anything from the global area. Low and behold - I now have my pages back - but they're still not showing the colourations I should be getting. Clicking on the statusmap.cgi page - I get an internal server error - whereupon it can't find libpng.so.0 - yet the file exists in /usr/local/lib. So now its an Apache problem I think. Time to go and Google again. Regards Neil ------------------------------------------------------------------------ ------------ Scanned for viruses, spam and offensive content by CensorNet MailSafe Professional Web & E-mail Filtering from www.censornet.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Tue Aug 15 15:05:04 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Tue, 15 Aug 2006 08:05:04 -0500 Subject: Alert History - what's this mean specifically. Message-ID: What is the trigger for these events? Is it a response time threshold or is it a % increase in RTA or something else? [08-15-2006 07:37:52] SERVICE ALERT: dallas-swe-3568-1.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 107.07 ms [08-15-2006 07:37:50] SERVICE ALERT: staffdev-2600.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 163.27 ms [08-15-2006 07:37:50] SERVICE ALERT: sdd-2600.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 162.90 ms [08-15-2006 07:37:49] SERVICE ALERT: ap-sdd2-1.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 166.70 ms [08-15-2006 07:37:49] SERVICE ALERT: sdd4k2.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 166.21 ms [08-15-2006 07:37:47] SERVICE ALERT: dallas-nc-3568-1.cpa.state.tx.us;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 16.45 ms [08-15-2006 07:37:47] SERVICE ALERT: annex4k1.cpa.state.tx.us;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 9.56 ms [08-15-2006 07:37:47] SERVICE ALERT: dallas-nc-3568-2.cpa.state.tx.us;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 14.63 ms [08-15-2006 07:32:29] SERVICE ALERT: dallas-nc-3568-1.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 103.74 ms [08-15-2006 07:32:28] SERVICE ALERT: dallas-nc-3568-2.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 107.31 ms [08-15-2006 07:32:22] SERVICE ALERT: annex4k1.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 110.84 ms [08-15-2006 07:32:17] SERVICE ALERT: sdd-2600.cpa.state.tx.us;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 81.50 ms [08-15-2006 07:32:17] SERVICE ALERT: ap-sdd2-1.cpa.state.tx.us;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 74.48 ms [08-15-2006 07:32:17] SERVICE ALERT: staffdev-2600.cpa.state.tx.us;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 84.54 ms [08-15-2006 07:32:16] SERVICE ALERT: sdd4k2.cpa.state.tx.us;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 89.71 ms [08-15-2006 07:32:16] SERVICE ALERT: lbj4bc1a.cpa.state.tx.us;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 4.64 ms -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil.briscoe at adelix.com Tue Aug 15 15:09:00 2006 From: neil.briscoe at adelix.com (Neil Briscoe) Date: Tue, 15 Aug 2006 14:09 +0100 (BST) Subject: Problems with Nagios In-Reply-To: <28919ADDC3E2C44BAD07B1EB44818493D7B631@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493D7B631@cmgexcdc01.CMG.local> Message-ID: > Is /usr/local/lib in your /etc/ld.so.conf ? > It wasn't. It is now. > What does "ldconfig -v | grep libpng" give you? Well, now it lists out the library and the symbolic links. Further more - the statusmap.cgi now gives me a picture. Somethings still broken - but it must be one of the dependent libs - because I'm suffering broken images in some places. But I think I can track down the rest now. May well need to recompile everything once more now you've given me the pointer to fix the ld.so.conf. Many thanks. Regards Neil ------------------------------------------------------------------------------------ Scanned for viruses, spam and offensive content by CensorNet MailSafe Professional Web & E-mail Filtering from www.censornet.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Aug 15 15:10:48 2006 From: marc at ena.com (Marc Powell) Date: Tue, 15 Aug 2006 08:10:48 -0500 Subject: Alert History - what's this mean specifically. Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Justin Craig > Sent: Tuesday, August 15, 2006 8:05 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Alert History - what's this mean specifically. > > What is the trigger for these events? Is it a response time threshold or > is it a % increase in RTA or something else? > > > > [08-15-2006 07:37:52] SERVICE ALERT: > > dallas-swe-3568-1.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - > Packet loss = 0%, RTA = 107.07 ms Look at your command{} definition for this service. As I guess I'd say you have the warning RTA threshold set at 100. That would be a hard threshold. Nagios doesn't compare the difference between successive checks. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Tue Aug 15 15:18:13 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Tue, 15 Aug 2006 08:18:13 -0500 Subject: Alert History - what's this mean specifically. In-Reply-To: References: Message-ID: # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } And here is my service definition: service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nagiosadmin notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } Is there a more optimal setting? On 8/15/06, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Justin Craig > > Sent: Tuesday, August 15, 2006 8:05 AM > > To: Nagios Users Mailinglist > > Subject: [Nagios-users] Alert History - what's this mean specifically. > > > > What is the trigger for these events? Is it a response time threshold > or > > is it a % increase in RTA or something else? > > > > > > > > [08-15-2006 07:37:52] SERVICE ALERT: > > > > dallas-swe-3568-1.cpa.state.tx.us;PING;WARNING;SOFT;1;PING WARNING - > > Packet loss = 0%, RTA = 107.07 ms > > > Look at your command{} definition for this service. As I guess I'd say > you have the warning RTA threshold set at 100. That would be a hard > threshold. Nagios doesn't compare the difference between successive > checks. > > -- > Marc > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Tue Aug 15 15:24:09 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Tue, 15 Aug 2006 15:24:09 +0200 Subject: Alert History - what's this mean specifically. In-Reply-To: References: Message-ID: <84F8AE97-5E54-441F-8174-A424ABFABEAD@kilala.nl> On 15 Aug, 2006, at 15:18, Justin Craig wrote: > And here is my service definition: > > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups nagiosadmin > notification_interval 120 > notification_period 24x7 > notification_options c,r > check_command check_ping!100.0,20%!500.0,60% > } > > Is there a more optimal setting? Well, for one I'd move most of these lines into a template at the top of the file :) That way you can decrease the length of your config file by at least 60% Oh, and you're missing the hostname definition for your service check :) Cheers! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Aug 15 15:26:18 2006 From: marc at ena.com (Marc Powell) Date: Tue, 15 Aug 2006 08:26:18 -0500 Subject: Alert History - what's this mean specifically. Message-ID: > -----Original Message----- > From: Justin Craig [mailto:jrcraig.email at gmail.com] > Sent: Tuesday, August 15, 2006 8:18 AM > To: Marc Powell > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Alert History - what's this mean specifically. > > # 'check_ping' command definition > define command{ > command_name check_ping > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c > $ARG2$ -p 5 > } > And here is my service definition: > > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups nagiosadmin > notification_interval 120 > notification_period 24x7 > notification_options c,r > check_command check_ping!100.0,20%!500.0,60% > } > Is there a more optimal setting? Whatever you feel is an unacceptable or unusual RTA for your network ;) It's something you'll learn and depends on the types of connections you have generally. We have a lot of high latency links so we have our warning threshold at 500ms and critical at 1000. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Carl.Friend at mathworks.com Tue Aug 15 15:12:30 2006 From: Carl.Friend at mathworks.com (Carl Friend) Date: Tue, 15 Aug 2006 09:12:30 -0400 Subject: Alert History - what's this mean specifically. In-Reply-To: References: Message-ID: Justin Craig asks: > What is the trigger for these events? Is it a response time > threshold or is it a % increase in RTA or something else? > > [08-15-2006 07:37:52] SERVICE ALERT: > > dallas-swe-3568-1.cpa.state.tx.us;PING;WARNING;SOFT;1;PING > WARNING - Packet loss = 0%, RTA = 107.07 ms > > [08-15-2006 07:37:50] SERVICE ALERT: > > staffdev-2600.cpa.state.tx.us;PING;WARNING;SOFT;1;PING > WARNING - Packet loss = 0%, RTA = 163.27 ms It looks like your RTA threshold is set to 100 mS. Check it in your services.cfg file or checkcommands.cfg file. Increase it as appropriate (hosts external to your own LAN should have longer RTA settings than internal LAN hosts). -- +----------------------------------------------+-----------------------+ | Carl Richard Friend (UNIX Sysadmin) | Natick, Massachusetts | | Minicomputer Collector / Enthusiast | 01760-2098 | | mailto:carl_friend at mathworks.com +-----------------------+ | http://users.rcn.com/crfriend/museum | ICBM: 42:18N 71:21W | +----------------------------------------------+-----------------------+ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Aug 15 16:19:39 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 15 Aug 2006 10:19:39 -0400 Subject: Alert History - what's this mean specifically. In-Reply-To: References: Message-ID: > What is the trigger for these events? Is it a response time > threshold or is it a % increase in RTA or something else? > > [08-15-2006 07:37:52] SERVICE ALERT: > > dallas-swe-3568-1.cpa.state.tx.us;PING;WARNING;SOFT;1;PING > WARNING - Packet loss = 0%, RTA = 107.07 ms It can be either packet loss % or response time (or both) depending on your configuration, but judging from the alerts I'd say it's response time. See check_ping -h ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From barry.maclean at shaw.ca Tue Aug 15 17:23:27 2006 From: barry.maclean at shaw.ca (barry maclean) Date: Tue, 15 Aug 2006 09:23:27 -0600 Subject: Exchange Monitoring Message-ID: <000c01c6c07e$c1d3e6e0$6501a8c0@edinburgh> I'm looking for a script/way to monitor the Exchange routing group connector status. Has anyone done this before? Thanks for the help Barry ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sun.jedi at gmail.com Tue Aug 15 18:23:32 2006 From: sun.jedi at gmail.com (Marc Belanger) Date: Tue, 15 Aug 2006 12:23:32 -0400 Subject: Daily status report? Message-ID: Greetings, I have nagios 2.x installed on Solaris 10 monitoring ~100 hosts, and ~1000 services. I am collecting perfdata, As the admin/engineer, I'm quite happy with the http interface for checking the status of systems and knowing what needs to get fixed/looked at. I installed/configured nagios originally for my benefit anyways, as part of a data center "lights out" effort. The problem: Management saw the website (I blame myself, screensaver is my new best friend). We all know what happens when suits get involved... yes, they want a daily report. Apparently clicking on a link, and logging into a website is too much work. My first solution: Heh, I'd snap a screen print of a custom report, and mail it. Life was good, until I went on vacation. My second solution: Google, google, google. I'm surprised that I still cannot snap a txt formatted host up/down for 'report period' (in my case 7am-5pm defined in the cfg's) without using cacti, rrdtool, or any other add-ons. My third solution: I'm giving in to rrdtool (I think). It seems like a lot more work than I want to invest, but I can perl/shell script it and crontab it, so the suits get thier daily eye candy, and I can go back on vacation. My questions: - Is there a better way I haven't thought of, or found? - Is there an EASIER way I haven't thought of, or found? - HALP! - Any off the cuff suggestions? Aside from screensavers. Thanks much in advance, -Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Tue Aug 15 18:32:17 2006 From: knobdy at gmail.com (Brian Loe) Date: Tue, 15 Aug 2006 11:32:17 -0500 Subject: problem with checks Message-ID: <3c4611bc0608150932x7fb2592cq13f0a7eaa432d048@mail.gmail.com> I recently reloaded the nagios process (/etc/init.d/nagios reload) and now everything is failing. At first the checks got an error 127 and now just "No output!". The permissions look correct to me on all the checks but... I have no idea what the problem is. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From barbereau at gmail.com Tue Aug 15 18:36:33 2006 From: barbereau at gmail.com (=?UTF-8?Q?S=C3=A9bastien_Barbereau?=) Date: Tue, 15 Aug 2006 17:36:33 +0100 Subject: Daily status report? In-Reply-To: References: Message-ID: <4e0e33ee0608150936x7988d663v74967b09d7a41d5e@mail.gmail.com> Have a look at the mailing list archive: http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg06430.html Should provide you with the necessary tool and information. (at least I hope so) Seb. On 8/15/06, Marc Belanger wrote: > > Greetings, > > I have nagios 2.x installed on Solaris 10 monitoring ~100 hosts, and ~1000 > services. I am collecting perfdata, > > As the admin/engineer, I'm quite happy with the http interface for > checking the status of systems and knowing what needs to get fixed/looked > at. I installed/configured nagios originally for my benefit anyways, as part > of a data center "lights out" effort. > > The problem: > Management saw the website (I blame myself, screensaver is my new best > friend). We all know what happens when suits get involved... yes, they want > a daily report. Apparently clicking on a link, and logging into a website is > too much work. > > My first solution: > Heh, I'd snap a screen print of a custom report, and mail it. Life was > good, until I went on vacation. > > My second solution: > Google, google, google. I'm surprised that I still cannot snap a txt > formatted host up/down for 'report period' (in my case 7am-5pm defined in > the cfg's) without using cacti, rrdtool, or any other add-ons. > > My third solution: > I'm giving in to rrdtool (I think). It seems like a lot more work than I > want to invest, but I can perl/shell script it and crontab it, so the suits > get thier daily eye candy, and I can go back on vacation. > > My questions: > - Is there a better way I haven't thought of, or found? > - Is there an EASIER way I haven't thought of, or found? > - HALP! > - Any off the cuff suggestions? Aside from screensavers. > > Thanks much in advance, > -Marc > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david_price at byu.edu Tue Aug 15 18:50:52 2006 From: david_price at byu.edu (David Price) Date: Tue, 15 Aug 2006 10:50:52 -0600 Subject: Daily status report? In-Reply-To: References: Message-ID: <44E1FB6C.8070103@byu.edu> Marc, Have you looked on Nagios Exchange? There is a project called Nagios Email Report that may be what you are looking for. I haven't used it, so I can't make any claims on how well it works. The link is http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640 Hope that helps, David Price Marc Belanger wrote: > Greetings, > > I have nagios 2.x installed on Solaris 10 monitoring ~100 hosts, and > ~1000 services. I am collecting perfdata, > > As the admin/engineer, I'm quite happy with the http interface for > checking the status of systems and knowing what needs to get > fixed/looked at. I installed/configured nagios originally for my > benefit anyways, as part of a data center "lights out" effort. > > The problem: > Management saw the website (I blame myself, screensaver is my new best > friend). We all know what happens when suits get involved... yes, they > want a daily report. Apparently clicking on a link, and logging into a > website is too much work. > > My first solution: > Heh, I'd snap a screen print of a custom report, and mail it. Life was > good, until I went on vacation. > > My second solution: > Google, google, google. I'm surprised that I still cannot snap a txt > formatted host up/down for 'report period' (in my case 7am-5pm defined > in the cfg's) without using cacti, rrdtool, or any other add-ons. > > My third solution: > I'm giving in to rrdtool (I think). It seems like a lot more work than > I want to invest, but I can perl/shell script it and crontab it, so > the suits get thier daily eye candy, and I can go back on vacation. > > My questions: > - Is there a better way I haven't thought of, or found? > - Is there an EASIER way I haven't thought of, or found? > - HALP! > - Any off the cuff suggestions? Aside from screensavers. > > Thanks much in advance, > -Marc > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Tue Aug 15 19:19:43 2006 From: btmanmeh at verizon.net (Max H.) Date: Tue, 15 Aug 2006 13:19:43 -0400 Subject: Daily status report? In-Reply-To: <44E1FB6C.8070103@byu.edu> References: <44E1FB6C.8070103@byu.edu> Message-ID: <44E2022F.7060706@verizon.net> David Price wrote: > Marc, > > Have you looked on Nagios Exchange? There is a project called Nagios > Email Report that may be what you are looking for. I haven't used it, > so I can't make any claims on how well it works. The link is > http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640 > This works quite well. There was a bug last week in the 1.3.1 version, but he sorted that out rather quickly. What I did was create three small scripts to fire this plugin up. One sends a daily and overnight, the other sends a weekly report, and the last sends a monthly report. Basically it takes the report from the web based reports tools, and sticks it in an e-mail as HTML. If the "suits" want a nice report for overnight, daily, weekly, and monthly, I'd look into this. Set it up once, link some scripts to run across cron or whatever, and you'd be good. Max ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rader at ginseng.hep.wisc.edu Tue Aug 15 20:04:04 2006 From: rader at ginseng.hep.wisc.edu (rader at ginseng.hep.wisc.edu) Date: Tue, 15 Aug 2006 13:04:04 -0500 Subject: Daily status report? In-Reply-To: <44E2022F.7060706@verizon.net> References: <44E1FB6C.8070103@byu.edu> <44E2022F.7060706@verizon.net> Message-ID: <200608151804.k7FI44WX016685@ginseng.hep.wisc.edu> > Have you looked on Nagios Exchange? There is a project called Nagios > Email Report that may be what you are looking for. [...] But are there any CLI report generators that output plain text?? steve - - - systems & network manager high energy physics university of wisconsin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Tue Aug 15 20:31:11 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Tue, 15 Aug 2006 15:31:11 -0300 Subject: problem with checks In-Reply-To: <3c4611bc0608150932x7fb2592cq13f0a7eaa432d048@mail.gmail.com> References: <3c4611bc0608150932x7fb2592cq13f0a7eaa432d048@mail.gmail.com> Message-ID: <1155666671.6780.3.camel@localhost> On Tue, 2006-08-15 at 11:32 -0500, Brian Loe wrote: > I recently reloaded the nagios process (/etc/init.d/nagios reload) and > now everything is failing. At first the checks got an error 127 and > now just "No output!". The permissions look correct to me on all the > checks but... I have no idea what the problem is. Usually, 127 return code is when the plugins aren't at the same location defined by resource.cfg But, this kind of incident happens after some changes made to the configs. Check your configuration closely. HTH. AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Tue Aug 15 21:43:18 2006 From: Josh.Yost at epsiia.com (Josh Yost) Date: Tue, 15 Aug 2006 14:43:18 -0500 Subject: Daily status report? In-Reply-To: <200608151804.k7FI44WX016685@ginseng.hep.wisc.edu> References: <44E1FB6C.8070103@byu.edu> <44E2022F.7060706@verizon.net> <200608151804.k7FI44WX016685@ginseng.hep.wisc.edu> Message-ID: <44E223D6.70703@epsiia.com> what kind of output are you wanting exactly? i put a tool on nagiosexchange.org called 'Snapshot' that outputs the hostname and 'Status Info' string onto the command line, grouped by services. It's not great, but you can pipe the output to mailx or run the output through another script to create a summary. - Josh rader at ginseng.hep.wisc.edu wrote: > > Have you looked on Nagios Exchange? There is a project called Nagios > > Email Report that may be what you are looking for. > [...] > > But are there any CLI report generators that output plain text?? > > steve > - - - > systems & network manager > high energy physics > university of wisconsin > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rader at ginseng.hep.wisc.edu Tue Aug 15 23:07:49 2006 From: rader at ginseng.hep.wisc.edu (rader at ginseng.hep.wisc.edu) Date: Tue, 15 Aug 2006 16:07:49 -0500 Subject: Daily status report? In-Reply-To: <44E223D6.70703@epsiia.com> References: <44E1FB6C.8070103@byu.edu> <44E2022F.7060706@verizon.net> <200608151804.k7FI44WX016685@ginseng.hep.wisc.edu> <44E223D6.70703@epsiia.com> Message-ID: <200608152107.k7FL7nhE030420@ginseng.hep.wisc.edu> > From: Josh Yost > what kind of output are you wanting exactly? Something like this: bash$ nagiosr --help usage: nagiosr [args] --state str report about state str (down, critical, warning or unknown) --yesterday report about yesterday --day str report for day str --start str report starting at str --end str report ending at str --soft include soft state alerts default reporting period is for all of today bash$ nagiosr --yesterday Critical Nagios Alerts during Monday, August 14 2006 Date & Time Down Date & Time Up Description Plugin Output Duration ---------------- ---------------- ------------------------------------------ -------- Mon Aug 14 10:25 Mon Aug 14 10:27 login01 SSH Service socket timed out 2m20s Mon Aug 14 11:52 Mon Aug 14 11:58 sesame Load Average 6.83 loadave 5m32s Mon Aug 14 13:27 ** still down ** cilanto NSR tape 99 GB avail 1d2h3m Almost exactly a decade ago I coded just such a report generator for an old network montoring package (NOCOL). Someday I hope to do the same for nagios. steve - - - systems & network manager high energy physics university of wisconsin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justin at VLAMea.nl Tue Aug 15 23:10:01 2006 From: justin at VLAMea.nl (Justin Albstmeijer) Date: Tue, 15 Aug 2006 23:10:01 +0200 (CEST) Subject: creating global graph link, missing wildcard option for "service_description" Message-ID: <2287.81.69.233.6.1155676201.squirrel@wmail.websystems.nl> Hi, I'm trying to create a host and service link pointing to the graph output. For "hostextinfo" a wildcard definition works fine, creating a link for all hosts, pointing to all graphs for the host. ----- define hostextinfo { host_name * notes_url /graph/show.php?search=$HOSTNAME$ } ----- I don't seem to have the same option for "serviceextinfo", as "service_description" does not allow the usage of the "*" wildcard. Any way to accomplish this without having to define this for each service? ----- define serviceextinfo { host_name * service_description * notes_url /graph/show.php?search=$HOSTNAME$ - $SERVICEDESC$ } ----- Thanx in advance for any suggestion. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanleyhopcroft at gmail.com Wed Aug 16 00:39:08 2006 From: stanleyhopcroft at gmail.com (Stanley Hopcroft) Date: Wed, 16 Aug 2006 08:39:08 +1000 Subject: Daily status report? In-Reply-To: <200608152107.k7FL7nhE030420@ginseng.hep.wisc.edu> References: <44E1FB6C.8070103@byu.edu> <44E2022F.7060706@verizon.net> <200608151804.k7FI44WX016685@ginseng.hep.wisc.edu> <44E223D6.70703@epsiia.com> <200608152107.k7FL7nhE030420@ginseng.hep.wisc.edu> Message-ID: Dear Folks, I writing to thank you for an interesting thread and say, On 16/08/06, rader at ginseng.hep.wisc.edu wrote: > > > From: Josh Yost > > what kind of output are you wanting exactly? > > Something like this: > > bash$ nagiosr --help > usage: nagiosr [args] > --state str report about state str (down, critical, warning or unknown) > --yesterday report about yesterday > --day str report for day str > --start str report starting at str > --end str report ending at str > --soft include soft state alerts > default reporting period is for all of today > bash$ nagiosr --yesterday > > Critical Nagios Alerts during Monday, August 14 2006 > > Date & Time Down Date & Time Up Description Plugin Output Duration > ---------------- ---------------- ------------------------------------------ -------- > Mon Aug 14 10:25 Mon Aug 14 10:27 login01 SSH Service socket timed out 2m20s > Mon Aug 14 11:52 Mon Aug 14 11:58 sesame Load Average 6.83 loadave 5m32s > Mon Aug 14 13:27 ** still down ** cilanto NSR tape 99 GB avail 1d2h3m > > Almost exactly a decade ago I coded just such a report generator > for an old network montoring package (NOCOL). Someday I hope to > do the same for nagios. > This looks pretty good. There is also a Perl module which you can use to create your own reports from avail.cgi in a variety of formats. The distro examples/host_down_report contains an example of a quick and dirty but useful report derived from the module. /usr/local/bin/host_down_report { -t | -h ' }' Displays host outages for the hosts matching the -h option, in the interval defined by the timeperiod. for each outage in the interval, sorted in ascending order of time down (ie when the outage occurred) displays the host_name time the host went down time the host came up the outage timeperiod ::= today | yesterday | thisweek | lastweek | thismonth | lastmonth | thisyear | lastyear | last12hours | last24hours | last7days | last31days | lastdays | lasthours | lastmin(ute)?(s)? | HHMM | HH:MM | DD.MM.YY | DD.MM.YYYY | MM/DD/YY | MM/DD/YYYY | 24hourtime date | date1 - date2 | 24hourtime date1 - 24hourtime date2 | Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec (YYYY)? Timeperiods other than 'yesterday', 'lastweek', 'lastmonth' or 'lastyear' end now. If the -h option is missing, select all (host) outages in the time period. If the -t option is missing but the -h option is present, select all matching hosts for 'thismonth'. One or both of the -t and -h options must be used. ... The version on CPAN & Nag exchange (0.002) works fine but has been enhanced for the half the world that don't use Euro date formats. Should be out in soon. Yours sincerely. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Wed Aug 16 00:40:16 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Tue, 15 Aug 2006 18:40:16 -0400 Subject: Does anybody successfully use multiple command mode of check_by_ssh Message-ID: <200608152240.k7FMeGoX023121@mx1.cs.umb.edu> Hi all: Just wondering if anybody has had any luck using the multiple command mode of ssh. I think it is just broken, but I would like to be convinced otherwise. I never see it executing anything but the primary plugin, nor does it write to the file specified with -O. E.G. /usr/lib/nagios/plugins/check_by_ssh -H localhost -n concord -s c1:c2:c3 \ -C 'check_disk /' -C 'check_disk /usr' -C 'check_disk /var' -O /tmp/a reports: DISK OK - free space: / 5372 MB (90% inode=98%);| /=581MB;5953;5953;98;5953 but puts nothing in /tmp/a which is writable to the nagios users. (it's mode 777). -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rarends at imc.net.au Wed Aug 16 01:02:16 2006 From: rarends at imc.net.au (Robert Arends) Date: Wed, 16 Aug 2006 09:02:16 +1000 Subject: Daily status report? In-Reply-To: <200608152107.k7FL7nhE030420@ginseng.hep.wisc.edu> References: <200608152107.k7FL7nhE030420@ginseng.hep.wisc.edu> Message-ID: <89463A0FB7522A41A5410D9E4A38C602BBE5AC@imcsrv05.imc.net.au> We needed an 8:30am daily email/pager message that gave a quick synopsis. So I wrote some perl to use a Nagios tool called "nagiostats" and email the results nicely formatted. nagiostats -m --data=NUMHSTUP,NUMHSTDOWN,NUMHSTUNR,NUMSVCOK,NUMSVCCRIT,NUMSVCUNKN #!/usr/bin/perl use strict; my $options = 'NUMHSTUP,NUMHSTDOWN,NUMHSTUNR,NUMSVCOK,NUMSVCCRIT,NUMSVCUNKN'; my $command = "nagiostats -m --data=$options"; my @result = `$command`; chop(@result); So now the results are in an array $result, put the following into a print(), or an email routine, etc to send it to the suits. HOSTS: Down:$result[1] UnReachable:$result[2] Up:$result[0] SERVICES: Critical:$result[4] UnReachable:$result[5] Up:$result[3] I run the program at 8:30 am every day. For us it is used by the monitoring staff, but you could use it for suits. You could just use shell script and 'nagiostats' with out the -m, and GREP out the lines you want and pipe in to mail. Rob :-) -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of rader at ginseng.hep.wisc.edu Sent: Wednesday, 16 August 2006 7:08 AM To: Josh Yost Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Daily status report? > From: Josh Yost > what kind of output are you wanting exactly? This email and any attachments transmitted with it are confidential and may contain legally privileged information. If you are not the intended recipient you are prohibited from disclosing, copying or using the information contained in it. If you have received this email in error, please notify the sender immediately by return email and then delete all copies of this transmission together with any attachments. It is the addressee's/recipient's duty to virus scan and otherwise test the email before loading it onto any computer system. IMC Communications does not accept liability in connection with any computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment in relation to this email. For information about our privacy policy, visit the IMC Communications website at www.imc.net.au This email has been checked by IMC's SMTP gateway. -&- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From weaselkeeper at gmail.com Wed Aug 16 01:54:20 2006 From: weaselkeeper at gmail.com (Jim Richardson) Date: Tue, 15 Aug 2006 16:54:20 -0700 Subject: How to get stdout from event handlers into Nagios email messages? In-Reply-To: <277CB7DD1E4B4C4C860484C00389C9C9540B3E@EXVS01.ex.dslextreme.net> References: <277CB7DD1E4B4C4C860484C00389C9C9540B3E@EXVS01.ex.dslextreme.net> Message-ID: <7f17308a0608151654t28a2c22r4d0399c4835a7836@mail.gmail.com> On 8/14/06, Kelly Alexander wrote: > > > Hi, I'm running Nagios 2.5 and my question is: is there any way > to capture the stdout of an event handler and get it into the email > Nagios sends out? > > Right now I'm working with check_smtp and an event handler that > runs via ssh and restarts sendmail on a system if it dies. The check > and handler both work, and I get two email notices. The first CRITICAL > when sendmail is found to be dead, and then a 2nd saying it's OK after > the handler fires and restarts sendmail. > > What I wanted to see was the output of the handler included at > the end of the CRITICAL notice. The sample handler scripts seem to > include output, but how can you see that other than in a log? > > I thought about making the handler itself send email that it's > been run, but then I have to have every host able to send mail or ssh to > a host that can send mail. That would work in this example since it's > sendmail I'm working with but my "real" checks will not be for sendmail > nor on hosts that are email enabled nor that I want to have any sort of > ssh access back into my network. does the -v flag to check_smtp do what you are asking? I am not 100% clear on your needs here. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Aug 16 03:39:27 2006 From: teng at dataway.com (Tedman Eng) Date: Tue, 15 Aug 2006 18:39:27 -0700 Subject: cpu temperature Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E62@dw-mail.dataway.com> This is specific to the software agent in question. If the temperature can be queried via commandline, then Nagios can monitor it. Most administrators use snmp where available, or use a CLI interface when SNMP is not available. > -----Original Message----- > From: enediel gonzalez [mailto:enediel at hotmail.com] > Sent: Monday, August 14, 2006 12:44 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] cpu temperature > > > Hello > > I need to monitor cpu temperature for Windows, unix and Novell host. > > For windows XP I use an informant, the same one the froze > another computer > running W2003 > This informant is compatible with a set of motherboard only. > > thanks in advance for any answer > > Enediel > > Linux user 300141 > Debian GNU/Linux > > > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Wed Aug 16 06:01:24 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 16 Aug 2006 16:01:24 +1200 Subject: How to get stdout from event handlers into Nagiosemail messages? In-Reply-To: <277CB7DD1E4B4C4C860484C00389C9C9540B3E@EXVS01.ex.dslextreme.net> References: <277CB7DD1E4B4C4C860484C00389C9C9540B3E@EXVS01.ex.dslextreme.net> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2141CC4@UXCHANGE3.UoA.auckland.ac.nz> > Hi, I'm running Nagios 2.5 and my question is: is there > any way to capture the stdout of an event handler and get it > into the email Nagios sends out? If you think about it, this must be impossible. Since the event handler is called at the same time as the notifications, the output (if any) is not avaiable when the notifications are queued as the event handler has not yet run. The only way I can see to do this is to code an email sender into your event handler script. You could fudge it by creating a dummy service for the same host that uses freshness to immediately reset to OK and has a count of 1, and then have your event handler send a passive alert (containing the output text) to this service. The dummy service (which has the same contacts as the main service) then sends out a separate alert to the contacts with this information. You could probably even create a generic eventhandler wrapper script to do this. Steve ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Wed Aug 16 10:17:12 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Wed, 16 Aug 2006 09:17:12 +0100 Subject: Daily status report? In-Reply-To: <44E1FB6C.8070103@byu.edu> References: <44E1FB6C.8070103@byu.edu> Message-ID: Heh, i was about to suggest my Nagios Email reporter :-) but it seems some kind soul did the work for me! Yeah.. use version 1.3.1 Internet david_price at byu.edu@lists.sourceforge.net - 15/08/2006 17:50 Sent by: nagios-users-bounces at lists.sourceforge.net To: sun.jedi cc: Nagios-users Subject: Re: [Nagios-users] Daily status report? Marc, Have you looked on Nagios Exchange? There is a project called Nagios Email Report that may be what you are looking for. I haven't used it, so I can't make any claims on how well it works. The link is http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640 Hope that helps, David Price Marc Belanger wrote: > Greetings, > > I have nagios 2.x installed on Solaris 10 monitoring ~100 hosts, and > ~1000 services. I am collecting perfdata, > > As the admin/engineer, I'm quite happy with the http interface for > checking the status of systems and knowing what needs to get > fixed/looked at. I installed/configured nagios originally for my > benefit anyways, as part of a data center "lights out" effort. > > The problem: > Management saw the website (I blame myself, screensaver is my new best > friend). We all know what happens when suits get involved... yes, they > want a daily report. Apparently clicking on a link, and logging into a > website is too much work. > > My first solution: > Heh, I'd snap a screen print of a custom report, and mail it. Life was > good, until I went on vacation. > > My second solution: > Google, google, google. I'm surprised that I still cannot snap a txt > formatted host up/down for 'report period' (in my case 7am-5pm defined > in the cfg's) without using cacti, rrdtool, or any other add-ons. > > My third solution: > I'm giving in to rrdtool (I think). It seems like a lot more work than > I want to invest, but I can perl/shell script it and crontab it, so > the suits get thier daily eye candy, and I can go back on vacation. > > My questions: > - Is there a better way I haven't thought of, or found? > - Is there an EASIER way I haven't thought of, or found? > - HALP! > - Any off the cuff suggestions? Aside from screensavers. > > Thanks much in advance, > -Marc > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Aug 16 10:22:18 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 16 Aug 2006 09:22:18 +0100 Subject: About Nagios Tray Monitor In-Reply-To: <004201c6be2c$476d6d30$0200a8c0@risktechgroup.com> References: <004201c6be2c$476d6d30$0200a8c0@risktechgroup.com> Message-ID: <44E2D5BA.9000002@googlemail.com> Hudson.Peng wrote: > Hi All > I have a prolem to consult you all. > When I use the Nagios Tray Monitor 1.0 in Xp and Windows 2000, I > minimized the mail window, there any icon appear in my windows toolbar > anymore, There is a blank space in my toolsbar tray,The balnk space > will disappearwhen you click on it. > Pls your guys show me how can I solve this problem. > Many Thanks > -Hudson > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null I saw this email and decided to give this a go, so I downloaded and ran it, put in all the configuration as correctly as I can see including the authentication username and password but I don't get any information and when I click refresh I get the error pop up: Unspecified Error Not very helpful as far as error messages go. Has anybody got this working? Hari -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Aug 16 10:26:09 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 16 Aug 2006 09:26:09 +0100 Subject: detect 2 DHCP Servers on network? In-Reply-To: <44CDE55B.9000200@googlemail.com> References: <44CDE55B.9000200@googlemail.com> Message-ID: <44E2D6A1.5080109@googlemail.com> Hari Sekhon wrote: > Eli Stair wrote: >> Use CPAN's Net::DHCP::Packet to quickly create a DHCPDISCOVER packet, and >> IO::Socket::INET to read raw incoming data to port 68, count the number of >> DHCPOFFER's you get. Set your script output to proper OK/WARN/CRIT state >> and the number/names of "rogue" servers in the text. >> >> Just a suggestion. >> >> /eli >> >> >> On 7/28/06 9:40 AM, "Hari Sekhon" wrote: >> >> >>> I was wondering what the best way of detecting a rogue dhcp server on >>> the network is. >>> >>> >>> I ask because some idiot at work installed vmware with it's dhcp server >>> which stuffed the company laptops which rely on dhcp since they got sent >>> to the wrong subnet. >>> >>> Nagios actually drew my attention to this when troubleshooting because >>> it said 2 DHCP offers received. >>> >>> I'm thinking about writing a shell wrapper to parse the output from the >>> check_dhcp plug-in and raise a warning status if it returns more than 1 >>> dhcp offer. >>> >>> Any other ideas? >>> >>> >>> Hari >>> >>> >>> ------------------------------------------------------------------------- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to share your >>> opinions on IT & business topics through brief surveys -- and earn cash >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting >>> any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> >> >> >> > or even easier than that perl I could use a bash wrapper to check_dhcp > and check the output from that and raise the warning code if more than > 1 offer was received, it seems quicker and easier which is probably > what I will do thinking about it.... > > -h > Does anybody have any other ideas regarding checking for rogue DHCP servers on a network. Really there should be an option to this plugin to check if there is more than N offers received and also there should be an option to make sure that the offer is received from the correct server to ensure it hasn't been usurped by another dhcp server. There is already an option to check the address is in the right range, which I guess amounts to a similar thing. If this option can be present then the option to make sure that the address was supplied by the correct server/servers isn't too far a stretch..... Hari -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Wed Aug 16 11:08:40 2006 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Wed, 16 Aug 2006 10:08:40 +0100 Subject: Question about NRPE configuration file In-Reply-To: <20060814161057.GB14065@mal.toger.us> References: <20060814161057.GB14065@mal.toger.us> Message-ID: > -----Original Message----- > From: Jason Martin [mailto:jhmartin at toger.us] > Sent: 14 August 2006 17:11 > > On Mon, Aug 14, 2006 at 11:25:40AM +0100, Wheeler, JF (Jonathan) wrote: > > I am in the process of migrating from a configuration with a single > > Nagios server to one with a master and a slave server. As part of this > > migration I have updated the NRPE configuration that is installed on the > > clients to include both hosts as allowed_hosts for NRPE calls. However > > I noticed that at NRPE restart, the following messages are issued: > > > > Aug 14 09:24:15 NODENAME nrpe[2592]: Unknown option specified in config > > file '/etc/nagios/nrpe.cfg' - Line 41 > > Aug 14 09:24:15 NODENAME nrpe: nrpe startup succeeded > > Aug 14 09:24:15 NODENAME nrpe[2593]: Starting up daemon > > Aug 14 09:24:15 NODENAME nrpe[2593]: Warning: Daemon is configured to > > accept command arguments from clients! > > > > Line 41 of /etc/nagios/nrpe.cfg is the allowed_hosts line which reads > > allowed_hosts=III.III.III.111, III.III.III.222 > Try removing the space after the comma. > > -Jason Martin Thanks for the suggestion. I tried removing the space, but the message remains. However it is clear from testing the clients that both configurations work anyway ! You may (all) gather that I am just starting with distributed monitoring, so I am learning as I go. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arief_clan at yahoo.com Wed Aug 16 11:49:41 2006 From: arief_clan at yahoo.com (Arief Iqbal) Date: Wed, 16 Aug 2006 02:49:41 -0700 (PDT) Subject: how to display 3d statusmap? Message-ID: <20060816094941.70825.qmail@web56012.mail.re3.yahoo.com> i've finished installing my nagios, but there is a problemwhen i try to display 3d status map, it cannot be display, and also status map, there's no display and only appear zoom in, zoom out, layout method, etc, there's no graphic at all. My question is, how we can display 3d status map or status map graphic in nagios web interface??? what should i configure??? --------------------------------- How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Aug 16 11:51:32 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 16 Aug 2006 10:51:32 +0100 Subject: how to display 3d statusmap? In-Reply-To: <20060816094941.70825.qmail@web56012.mail.re3.yahoo.com> References: <20060816094941.70825.qmail@web56012.mail.re3.yahoo.com> Message-ID: <44E2EAA4.4000508@googlemail.com> Arief Iqbal wrote: > i've finished installing my nagios, but there is a problemwhen i try > to display 3d status map, it cannot be display, and also status map, > there's no display and only appear zoom in, zoom out, layout method, > etc, there's no graphic at all. My question is, how we can display 3d > status map or status map graphic in nagios web interface??? what > should i configure??? > > ------------------------------------------------------------------------ > How low will we go? Check out Yahoo! Messenger's low PC-to-Phone call > rates. > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null download Cortona. see the Nagios FAQs for the link. Hari -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Wed Aug 16 13:28:57 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Wed, 16 Aug 2006 13:28:57 +0200 Subject: New check script: check_nsca Message-ID: I can't believe I'm the first one to think of this. o_O NSCA is vitally important to most of our Nagios environments and nobody has bothered to verify that the daemon itself works properly? At my current client we've run into many occasions where the NSCA daemon was running, but was not transferring message to Nagios itself. So while things -look- hunkydory, we were actually missing a lot of incoming messages (remember that Nagios just repeats the last status if it doesn't receive any new status updates). The script is up for grabs on the Exchange. As the page describes, it needs to be run on the system running the NSCA daemon and it also requires the use of send_nsca. Any comments/suggestions/bitches/moans are more than welcome :) I realize it's not perfect yet, but it's better than nothing. Cheers! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Wed Aug 16 14:46:40 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Wed, 16 Aug 2006 22:46:40 +1000 Subject: NRPE binary for HP-UX 10.20 Message-ID: <610cb7a00608160546n5d9bab09u2ac41bc0f77c28b8@mail.gmail.com> Hi All, I realise this is a long shot, but does anyone out there have a precompiled NRPE binary (any version I don't mind) for HP-UX 10.20 or know of where I can get one from? And no, there's no ssh on this box and by the looks of it, that'll be even harder to get to work than NRPE.. Thanks muchly, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Wed Aug 16 14:56:44 2006 From: benny at bennyvision.com (C. Bensend) Date: Wed, 16 Aug 2006 07:56:44 -0500 (CDT) Subject: NRPE binary for HP-UX 10.20 In-Reply-To: <610cb7a00608160546n5d9bab09u2ac41bc0f77c28b8@mail.gmail.com> References: <610cb7a00608160546n5d9bab09u2ac41bc0f77c28b8@mail.gmail.com> Message-ID: <58991.63.227.74.41.1155733004.squirrel@webmail.stinkweasel.net> > I realise this is a long shot, but does anyone out there have a > precompiled > NRPE binary (any version I don't mind) for HP-UX 10.20 or know of where I > can get one from? And no, there's no ssh on this box and by the looks of > it, > that'll be even harder to get to work than NRPE.. http://www.bennyvision.com/projects/hpux/index.php http://www.bennyvision.com/projects/nagios/index.php These are _older_ versions of both NRPE and OpenSSH, but they might be what you need. Benny -- "If an advisor says to me 'My liege, he is but one man. What can one man possibly do?', I will reply 'This.' and kill the advisor." -- Peter Anspach's Evil Overlord List, #46 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Wed Aug 16 14:58:02 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Wed, 16 Aug 2006 22:58:02 +1000 Subject: NRPE binary for HP-UX 10.20 In-Reply-To: <9C63A4713C4E3342B90428CE44806A7302679865@PHSXMB5.partners.org> References: <9C63A4713C4E3342B90428CE44806A7302679865@PHSXMB5.partners.org> Message-ID: <610cb7a00608160558u23169da2r4954caa8bab30e59@mail.gmail.com> OMG, are you serious? What an excellent page! Thanks! On 8/16/06, Kaplan, Andrew H. wrote: > > Hi there ? > > > > The following URL probably has what you are looking for: > www.bennyvision.com > > Clicking on the projects link will point you in the right direction. I > have used the > > binaries on this page for our 10.20 and 11.00 systems without any > problems. > > > > > ------------------------------ > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Alexander > Harvey > *Sent:* Wednesday, August 16, 2006 8:47 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] NRPE binary for HP-UX 10.20 > > > > Hi All, > > I realise this is a long shot, but does anyone out there have a > precompiled NRPE binary (any version I don't mind) for HP-UX 10.20 or know > of where I can get one from? And no, there's no ssh on this box and by the > looks of it, that'll be even harder to get to work than NRPE.. > > Thanks muchly, > Alex > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From colby.williams at gmail.com Wed Aug 16 16:34:08 2006 From: colby.williams at gmail.com (Colby Williams) Date: Wed, 16 Aug 2006 10:34:08 -0400 Subject: Writing Your Own Plugins Message-ID: <10fa72f80608160734k38cb3086j8c6b8a8c7cb19e1@mail.gmail.com> Has anyone written a plugin? If so, what references (websites, books) were used? Colby -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdaily at apparatus.net Wed Aug 16 16:37:53 2006 From: jdaily at apparatus.net (John R. Daily) Date: Wed, 16 Aug 2006 10:37:53 -0400 Subject: Writing Your Own Plugins In-Reply-To: <10fa72f80608160734k38cb3086j8c6b8a8c7cb19e1@mail.gmail.com> References: <10fa72f80608160734k38cb3086j8c6b8a8c7cb19e1@mail.gmail.com> Message-ID: Perhaps the most important reference: http://nagiosplug.sourceforge.net/developer-guidelines.html -John ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Aug 16 16:39:38 2006 From: marc at ena.com (Marc Powell) Date: Wed, 16 Aug 2006 09:39:38 -0500 Subject: Writing Your Own Plugins Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Colby Williams > Sent: Wednesday, August 16, 2006 9:34 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Writing Your Own Plugins > > Has anyone written a plugin? If so, what references (websites, books) > were used? http://nagiosplug.sf.net Developer Guidelines. While it's written with inclusion in the standard distribution in mind it's quite useful. If you're just writing a plugin to be used locally the most important aspects are exiting with one line of output and the proper exit code. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Wed Aug 16 16:41:19 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Wed, 16 Aug 2006 16:41:19 +0200 Subject: Writing Your Own Plugins In-Reply-To: <10fa72f80608160734k38cb3086j8c6b8a8c7cb19e1@mail.gmail.com> References: <10fa72f80608160734k38cb3086j8c6b8a8c7cb19e1@mail.gmail.com> Message-ID: <59DC30E2-6C28-489F-8989-EF565B0A1A7A@kilala.nl> On 16 Aug, 2006, at 16:34, Colby Williams wrote: > Has anyone written a plugin? If so, what references (websites, > books) were > used? Well, judging by nagiosexchange.com there are boatloads of people writing scripts and plugins :) I'm one of them... The only reference I used were existing scripted plugins to sneak a little peek. I don't do C/C++/Perl, so I'm stuck using ksh/bash. No books required :) Is there anything specific you would like to do that doesn't exist yet? What're you having problems with?.. Cheers, Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Wed Aug 16 16:53:27 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Wed, 16 Aug 2006 16:53:27 +0200 Subject: Writing Your Own Plugins In-Reply-To: <10fa72f80608160747q4391ee2fwbe8366afc93ffe80@mail.gmail.com> References: <10fa72f80608160734k38cb3086j8c6b8a8c7cb19e1@mail.gmail.com> <59DC30E2-6C28-489F-8989-EF565B0A1A7A@kilala.nl> <10fa72f80608160747q4391ee2fwbe8366afc93ffe80@mail.gmail.com> Message-ID: <1787FF9D-122F-42C6-BCE1-69BEB2BBED92@kilala.nl> On 16 Aug, 2006, at 16:47, Colby Williams wrote: > I am trying to check uptime (#uptime) on a Unix box. Either use the "snmp uptime" script from Nagios Exchange, or write it yourself. > Bigger picture, I have never written in bash, so using them as an > example is > kind of confussing. Ow... Have you done -any- scripting before? Point is, if you know UNIX, you'll know 60% of what there is to know about shell scripting :) Cause in scripting most of the commands you'll use are your basic UNIX commands. All the shell script adds is logic to tie it all together :) There's bunches of websites telling you all you need to know about shell scripting. You'll learn fairly quickly. Trust me :) o/ Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Aug 16 17:25:21 2006 From: marc at ena.com (Marc Powell) Date: Wed, 16 Aug 2006 10:25:21 -0500 Subject: New check script: check_nsca Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Thomas Sluyter > Sent: Wednesday, August 16, 2006 6:29 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] New check script: check_nsca > > I can't believe I'm the first one to think of this. o_O > > NSCA is vitally important to most of our Nagios environments and > nobody has bothered to verify that the daemon itself works properly? > > At my current client we've run into many occasions where the NSCA > daemon was running, but was not transferring message to Nagios > itself. So while things -look- hunkydory, we were actually missing a > lot of incoming messages (remember that Nagios just repeats the last > status if it doesn't receive any new status updates). It's a useful plugin to be sure but doesn't Freshness Checking address this problem? http://nagios.sourceforge.net/docs/2_0/freshness.html -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Wed Aug 16 17:39:53 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Wed, 16 Aug 2006 17:39:53 +0200 Subject: New check script: check_nsca In-Reply-To: References: Message-ID: On 16 Aug, 2006, at 17:25, Marc Powell wrote: > It's a useful plugin to be sure but doesn't Freshness Checking address > this problem? > > http://nagios.sourceforge.net/docs/2_0/freshness.html Of course you're completely right. But: 1) It's better to be safe than sorry. Double checking is always nice. 2) There are situations where freshness checking isn't used. To given an example of number 2: At my current client "they" never set up Nagios to use freshness checking, except in a rare few occasions (say twenty out of a thousand-plus service checks). I guess it was down to inexperience on the side of the guy who set it up... Whatev'... But now we're in the situation where we have at least a hundred service checks that are completely out of whack. Not fresh at all. We -could- turn on freshness checking for the lot, but can you imagine management's panic when they see the huge amount of Criticals rolling in? No... We'd rather fix things gradually and use this check as a stopgap solution. That way we'll still notice it if NSCA borks, while still keeping a "clean" status screen (even if it is all one big lie :p). Cheers! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Wed Aug 16 17:59:00 2006 From: tom at ng23.net (Tom Brown) Date: Wed, 16 Aug 2006 16:59:00 +0100 Subject: notification issue Message-ID: <44E340C4.6000301@ng23.net> Hi When my notifications come through they look like this ***** Nagios ***** Notification Type: PROBLEM Service: www Host: xxx Address: xxxx State: CRITICAL Date/Time: Wed Aug 16 11:43:52 EDT 2006 Additional Info: $ How can i make sure that the addition info has information in it? I see this if i look on the web but not in the mail. thanks ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Aug 16 18:08:22 2006 From: marc at ena.com (Marc Powell) Date: Wed, 16 Aug 2006 11:08:22 -0500 Subject: notification issue Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Tom Brown > Sent: Wednesday, August 16, 2006 10:59 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notification issue > > Hi > > When my notifications come through they look like this > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: www > Host: xxx > Address: xxxx > State: CRITICAL > > Date/Time: Wed Aug 16 11:43:52 EDT 2006 > > Additional Info: > > $ > > > How can i make sure that the addition info has information in it? I see > this if i look on the web but not in the mail. In the future, please post relevant config information (such as the notification command), nagios version, etc so people can assist you better. In this case it seems that you're using Nagios 2.x with the now unused $OUTPUT$ macro from 1.x. The replacement is $SERVICEOUTPUT$. Change that in your notification command and you should see the service output information. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Wed Aug 16 18:14:50 2006 From: tom at ng23.net (Tom Brown) Date: Wed, 16 Aug 2006 17:14:50 +0100 Subject: notification issue In-Reply-To: References: Message-ID: <44E3447A.6000402@ng23.net> > In the future, please post relevant config information (such as the > notification command), nagios version, etc so people can assist you > better. apologies there was in a hurry > In this case it seems that you're using Nagios 2.x with the now unused > $OUTPUT$ macro from 1.x. The replacement is $SERVICEOUTPUT$. Change that > in your notification command and you should see the service output > information. that was indeed the case - thanks ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Wed Aug 16 19:07:14 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Wed, 16 Aug 2006 10:07:14 -0700 Subject: notification issue In-Reply-To: <44E340C4.6000301@ng23.net> References: <44E340C4.6000301@ng23.net> Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4440218@raptor.redhawk.info> Tom. What does your misccommands.cfg look like for this command? The clue might b there. I have noticed that spaces with "\n" can make a difference. Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Tom Brown Sent: Wednesday, August 16, 2006 8:59 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] notification issue Hi When my notifications come through they look like this ***** Nagios ***** Notification Type: PROBLEM Service: www Host: xxx Address: xxxx State: CRITICAL Date/Time: Wed Aug 16 11:43:52 EDT 2006 Additional Info: $ How can i make sure that the addition info has information in it? I see this if i look on the web but not in the mail. thanks ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Daniel.Rusch at fotf.org Wed Aug 16 20:05:06 2006 From: Daniel.Rusch at fotf.org (Rusch, Daniel) Date: Wed, 16 Aug 2006 12:05:06 -0600 Subject: Link Checker Message-ID: <8514B8AEA269234B82EF64E707E58850098DE3A1@nahum.mis.fotf.priv> All, So I don't reinvent the wheel is there a plug-in that checks links on a page to ensure they are valid? I checked the archives and source forge but don't see anything. If not I'll create one Thank you, Daniel G. Rusch -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david_price at byu.edu Wed Aug 16 20:34:40 2006 From: david_price at byu.edu (David Price) Date: Wed, 16 Aug 2006 12:34:40 -0600 Subject: Link Checker In-Reply-To: <8514B8AEA269234B82EF64E707E58850098DE3A1@nahum.mis.fotf.priv> References: <8514B8AEA269234B82EF64E707E58850098DE3A1@nahum.mis.fotf.priv> Message-ID: <44E36540.5010400@byu.edu> Rusch, Take a look at WebInject (http://www.webinject.org/plugin.html). They have a plugin for Nagios that I have used to test user interaction with a web site. Another option would be to check the links directly with check_http. Hope that helps, David Price Rusch, Daniel wrote: > All, > > So I don't reinvent the wheel is there a plug-in that checks links on > a page to ensure they are valid? > > I checked the archives and source forge but don't see anything. > > If not I'll create one > > Thank you, > > Daniel G. Rusch > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ajit.Mohan at dc.gov Thu Aug 17 00:42:27 2006 From: Ajit.Mohan at dc.gov (Mohan, Ajit (CFSA)) Date: Wed, 16 Aug 2006 18:42:27 -0400 Subject: Nagios Syslog Facility In-Reply-To: References: Message-ID: <03BC54053BE9A843B1785F0185A1F7EAF24DBB@emo-exch2k3-210.dcgov.priv> Hi All: I'm trying to figure out what logging facility nagios uses, so I can forward all nagios alerts via syslog to another host (syslog server). I tried "nagios" but that doesn't work. I see the messages logged in /var/log/messages Anyone have any ideas? Thank you ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Thu Aug 17 01:00:07 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 17 Aug 2006 11:00:07 +1200 Subject: New check script: check_nsca In-Reply-To: References: Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2141D26@UXCHANGE3.UoA.auckland.ac.nz> Great idea, I never though of it for some reason. I've just added check_tcp on port 5667 to make this test - we use NSCA for receiving SNMP traps and messages from NagEventLog, so these are reset to 'ok' by a freshness check rather than to 'unknown'. Checking NSCA is alive is a good idea. Steve ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ajit.Mohan at dc.gov Thu Aug 17 01:22:42 2006 From: Ajit.Mohan at dc.gov (Mohan, Ajit (CFSA)) Date: Wed, 16 Aug 2006 19:22:42 -0400 Subject: Nagios Syslog Facility Message-ID: <03BC54053BE9A843B1785F0185A1F7EAF24DBC@emo-exch2k3-210.dcgov.priv> Figured it out, its user. Thank you -----Original Message----- From: Mohan, Ajit (CFSA) Sent: Wednesday, August 16, 2006 6:42 PM To: 'nagios-users at lists.sourceforge.net' Subject: Nagios Syslog Facility Hi All: I'm trying to figure out what logging facility nagios uses, so I can forward all nagios alerts via syslog to another host (syslog server). I tried "nagios" but that doesn't work. I see the messages logged in /var/log/messages Anyone have any ideas? Thank you ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sun.jedi at gmail.com Thu Aug 17 00:29:54 2006 From: sun.jedi at gmail.com (Marc Belanger) Date: Wed, 16 Aug 2006 18:29:54 -0400 Subject: detect 2 DHCP Servers on network? In-Reply-To: <44E2D6A1.5080109@googlemail.com> References: <44CDE55B.9000200@googlemail.com> <44E2D6A1.5080109@googlemail.com> Message-ID: The best way? I'd think the 'stuffed' laptops would have the IP of the server providing IP's. Simple MAC address -> switch port search and subsequent lockdown of that switch port should tell you who your idiot is by listening to who is screaming about the crappy network the loudest. The plugin check_dhcp could be used globally on all monitored hosts in the same fashion as check_ping. Problem there is only if the offending dhcp box isn't monitored by nagios. Good luck. -Marc On 8/16/06, Hari Sekhon wrote: > > Hari Sekhon wrote: > > Eli Stair wrote: > > Use CPAN's Net::DHCP::Packet to quickly create a DHCPDISCOVER packet, and > IO::Socket::INET to read raw incoming data to port 68, count the number of > DHCPOFFER's you get. Set your script output to proper OK/WARN/CRIT state > and the number/names of "rogue" servers in the text. > > Just a suggestion. > > /eli > > > On 7/28/06 9:40 AM, "Hari Sekhon" wrote: > > I was wondering what the best way of detecting a rogue dhcp server on > the network is. > > > I ask because some idiot at work installed vmware with it's dhcp server > which stuffed the company laptops which rely on dhcp since they got sent > to the wrong subnet. > > Nagios actually drew my attention to this when troubleshooting because > it said 2 DHCP offers received. > > I'm thinking about writing a shell wrapper to parse the output from the > check_dhcp plug-in and raise a warning status if it returns more than 1 > dhcp offer. > > Any other ideas? > > > Hari > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > or even easier than that perl I could use a bash wrapper to check_dhcp > and check the output from that and raise the warning code if more than 1 > offer was received, it seems quicker and easier which is probably what I > will do thinking about it.... > > -h > > > > Does anybody have any other ideas regarding checking for rogue DHCP > servers on a network. Really there should be an option to this plugin to > check if there is more than N offers received and also there should be an > option to make sure that the offer is received from the correct server to > ensure it hasn't been usurped by another dhcp server. There is already an > option to check the address is in the right range, which I guess amounts to > a similar thing. If this option can be present then the option to make sure > that the address was supplied by the correct server/servers isn't too far a > stretch..... > > > Hari > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jendries at pragmeta.com Thu Aug 17 02:12:20 2006 From: jendries at pragmeta.com (Josh Endries) Date: Wed, 16 Aug 2006 20:12:20 -0400 Subject: ndoutils configure won't find mysql include files, and ndo2db exiting on signal 4 Message-ID: <44E3B464.3000004@pragmeta.com> Hi, I've been trying to get ndoutils to work but am having some trouble. ./configure doesn't find my mysql include files (it does find the library). Maybe it doesn't work with mysql 5? I've tried --with-mysql-inc=/usr/local, /usr/local/include, and /usr/local/include/mysql (the files are in here; this is on FreeBSD). It never finds them. I've tried with and without specifying with-mysql-lib and in different orders on the command line to no avail. Any ideas? I ran out of ideas and went into configure and made it think the headers were there regardless of the test. Then changing source/Makefile and adding -I/usr/local/include to OTHERLIBS caused everything to compile correctly. Anyway, I got things running, but whenever Nagios runs a check (I assume, it's periodic), I see this: Aug 16 20:02:52 nagios pid 83608 (ndo2db), uid 1007: exited on signal 4 Aug 16 20:02:52 nagios nagios: ndomod: Error writing to data sink! Some output may get lost. 4125 queued items to flush. Aug 16 20:02:52 nagios pid 83608 (ndo2db), uid 1007: exited on signal 4 Aug 16 20:03:08 nagios nagios: ndomod: Successfully reconnected to data sink! 0 items lost, 4298 queued items to flush. Aug 16 20:03:10 nagios pid 83669 (ndo2db), uid 1007: exited on signal 4 Aug 16 20:03:10 nagios nagios: ndomod: Error writing to data sink! Some output may get lost. 4274 queued items to flush. Aug 16 20:03:10 nagios pid 83669 (ndo2db), uid 1007: exited on signal 4 Aug 16 20:03:26 nagios nagios: ndomod: Successfully reconnected to data sink! 0 items lost, 4437 queued items to flush. Aug 16 20:03:28 nagios pid 83731 (ndo2db), uid 1007: exited on signal 4 The ndo2db process doesn't quit, it must restart or something, maybe it can't connect to the DB? There are no messages logged about what's going on, and no debug/verbose mode for ndo2db. :( I think that corresponds to signal "ILL", but either way I'm guessing it has something to do with a busted mysql connection somewhere... J ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at GMxTechnologies.com Thu Aug 17 04:44:34 2006 From: nagios at GMxTechnologies.com (Samuel P Howard) Date: Wed, 16 Aug 2006 20:44:34 -0600 Subject: Web admin for nagios for multiple groups In-Reply-To: <44E3B464.3000004@pragmeta.com> References: <44E3B464.3000004@pragmeta.com> Message-ID: <44E3D812.3090001@gmxtechnologies.com> Hi. I have a situation where I'd like to allow multiple groups to administer their own devices to monitor via a web front end. These users won't have direct access to the linux host (nor would they know how to edit a file anyway), so it needs to be web based. I was hoping that I could use the cfg_dir option to give each group their own "nagios space", but was wondering if any of the current web-based admin tools would be fairly easy to adapt to a scheme like that? Or, are there any current web-based admin tools that understand separate users (i.e. groups) already that might just work, and I won't care about how the underlying config files are laid out. :) Thanks, Sam ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shoktai at gmail.com Thu Aug 17 09:55:19 2006 From: shoktai at gmail.com (ThomasC.) Date: Thu, 17 Aug 2006 09:55:19 +0200 Subject: Daily status report? In-Reply-To: References: Message-ID: <44E420E7.1090501@gmail.com> Hi, I cant get it work with nagios running on https, i get a segmentation fault... Any suggestions? rob.moss at uk.bnpparibas.com wrote: > Heh, i was about to suggest my Nagios Email reporter :-) but it seems some > kind soul did the work for me! > > Yeah.. use version 1.3.1 > > > > > Internet > david_price at byu.edu@lists.sourceforge.net - 15/08/2006 17:50 > > > Sent by: nagios-users-bounces at lists.sourceforge.net > > > > To: sun.jedi > > cc: Nagios-users > > > Subject: Re: [Nagios-users] Daily status report? > > Marc, > > Have you looked on Nagios Exchange? There is a project called Nagios > Email Report that may be what you are looking for. I haven't used it, > so I can't make any claims on how well it works. The link is > http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640 > > > Hope that helps, ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Thu Aug 17 10:02:44 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Thu, 17 Aug 2006 09:02:44 +0100 Subject: Daily status report? In-Reply-To: <44E420E7.1090501@gmail.com> References: <44E420E7.1090501@gmail.com> Message-ID: What exactly is segfaulting? You haven't provided much info to work with.. The script uses some basic Perl modules (libwwwperl) , so if there's anything sefaulting it's related to your local box. Make sure that you can run the reporting CGI's and Perl works, if not, you need to fix them. Internet shoktai at gmail.com@lists.sourceforge.net - 17/08/2006 08:55 Sent by: nagios-users-bounces at lists.sourceforge.net To: Nagios-users cc: Subject: Re: [Nagios-users] Daily status report? Hi, I cant get it work with nagios running on https, i get a segmentation fault... Any suggestions? rob.moss at uk.bnpparibas.com wrote: > Heh, i was about to suggest my Nagios Email reporter :-) but it seems some > kind soul did the work for me! > > Yeah.. use version 1.3.1 > > > > > Internet > david_price at byu.edu@lists.sourceforge.net - 15/08/2006 17:50 > > > Sent by: nagios-users-bounces at lists.sourceforge.net > > > > To: sun.jedi > > cc: Nagios-users > > > Subject: Re: [Nagios-users] Daily status report? > > Marc, > > Have you looked on Nagios Exchange? There is a project called Nagios > Email Report that may be what you are looking for. I haven't used it, > so I can't make any claims on how well it works. The link is > http://www.nagiosexchange.org/AddOn_Projects.22.0.html?&tx_netnagext_pi1[p_view]=640 > > > Hope that helps, ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skorbets at rambler.ru Thu Aug 17 10:50:16 2006 From: skorbets at rambler.ru (Danil Kutepkin) Date: Thu, 17 Aug 2006 12:50:16 +0400 Subject: host check anly after critical service check Message-ID: <17510221695.20060817125016@rambler.ru> Hello nagios-users, How to make a host active check (ping) only after a failed service check (ping)? -- Best regards, Danil mailto:skorbets at rambler.ru ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Aug 17 11:58:10 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 17 Aug 2006 10:58:10 +0100 Subject: check_http --url and --string don't work together? Message-ID: <44E43DB2.9030800@googlemail.com> I can't seem to use --url and --string together. Url seems to make it not bother checking the string. First I test the --string works as follows: check_http -S -H www.somedomain.com --string=' The Wrong Nonexistent Web Page...' which returns as expected. This is what I want to make sure it will warn me if it isn't finding exactly what I expect. CRITICAL - string not found|time=0.210894s;;;0.000000 size=6403B;;;0 But if I do check_http -S -H www.somedomain.com --url="/some/path/" --string=' The Wrong Nonexistent Web Page...' I get OK - HTTP/1.1 302 Found - 0.110 second response time |time=0.110347s;;;0.000000 size=690B;;;0 It doesn't check the string! Instead it just says that because some page was directed to that everything must be ok... ie False Positive. The bigger picture: I am trying to do testing of an https login page and get into a website. This requires that I log in via ssl and supply a username and password. The problem is that the login page will redirect to somewhere regardless of the result. If the login is successful you can get the internal pages and if unsuccessful it redirects to another login page. So I really need to get --url and --string working together to check the actual html. I know there is webinject but I'd rather stick to check_http, it's much more straight forward and webinject's dependencies failed to install yesterday so I'd rather do this than bother fixing that just to try it. Any ideas on getting this url and string business to work together? Hari ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Aug 17 12:05:23 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 17 Aug 2006 11:05:23 +0100 Subject: check_http --url and --string don't work together? In-Reply-To: <44E43DB2.9030800@googlemail.com> References: <44E43DB2.9030800@googlemail.com> Message-ID: <44E43F63.8040500@googlemail.com> Hari Sekhon wrote: > I can't seem to use --url and --string together. Url seems to make it > not bother checking the string. > > First I test the --string works as follows: > > check_http -S -H www.somedomain.com --string=' > The Wrong Nonexistent Web Page...' > > which returns as expected. This is what I want to make sure it will > warn me if it isn't finding exactly what I expect. > > CRITICAL - string not found|time=0.210894s;;;0.000000 size=6403B;;;0 > > > But if I do > > check_http -S -H www.somedomain.com --url="/some/path/" > --string=' The Wrong Nonexistent Web > Page...' > > I get > > OK - HTTP/1.1 302 Found - 0.110 second response time > |time=0.110347s;;;0.000000 size=690B;;;0 > > > It doesn't check the string! Instead it just says that because some > page was directed to that everything must be ok... ie False Positive. > > > The bigger picture: > > I am trying to do testing of an https login page and get into a > website. This requires that I log in via ssl and supply a username and > password. The problem is that the login page will redirect to > somewhere regardless of the result. If the login is successful you can > get the internal pages and if unsuccessful it redirects to another > login page. So I really need to get --url and --string working > together to check the actual html. > > I know there is webinject but I'd rather stick to check_http, it's > much more straight forward and webinject's dependencies failed to > install yesterday so I'd rather do this than bother fixing that just > to try it. > > > Any ideas on getting this url and string business to work together? > > > Hari > I thought this was because of the redirect so I went back to --help and found --onredirect so now when I do --onredirect=follow it works fine and complains about the string. Sorted. Hari ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nick at nexusproductions.com Thu Aug 17 12:56:41 2006 From: nick at nexusproductions.com (Nick Wales) Date: Thu, 17 Aug 2006 11:56:41 +0100 Subject: Trouble creating dependencies Message-ID: <0D8095C6-A411-4551-A82D-ED6B543AF6B6@nexusproductions.com> Hi, I'm having trouble creating dependencies on my fairly small scale nagios installation.... I am monitoring our remote office, which has a DSL link and VPN between here and there. As its DSL and on occasion goes down I'm trying to get nagios to stop monitoring the fileservers over there too. I have created my dependencies.cfg file in etc/ edited nagios.cfg so the dependencies file is being looked at. As a start I'm just trying to get nagios to not look at the 'Check host down' service on one of the fileservers over there, so here is my initial dependency within dependencies.cfg define servicedependency { dependent_host_name fileserver dependent_service_description Check Host Alive host_name curtainroadgateway service_description Check Host Alive execution_failure_criteria c notification_failure_criteria c } Everything is critical at the moment because the office is empty and the fileservers are off, also the dsl is disconnected, yet nagios continues to show critical for the fileserver. When starting up nagios there are no errors. Any ideas what the problem is? Thanks Nick ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Aug 17 13:18:48 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 17 Aug 2006 12:18:48 +0100 Subject: check_http can't follow redirect properly, no cookies! Message-ID: <44E45098.5050700@googlemail.com> Hi, I've got check_http doing a login which works fine and I'm using the --onredirect=follow to make sure I can fetch the secured page it's redirected to. The problem is that when the page is fetched it is fetched without the previously supplied credentials and therefore I get a login page instead of the page within the secure area. I really really need to get the page in the secure area. Does anybody know how to make it store and use the credentials for the redirect. It's obviously not using it's cookie and I've looked through the --help but it makes not mention of cookies... Thanks for any help in advance. Hari ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daem0n at ural.ru Thu Aug 17 14:59:30 2006 From: daem0n at ural.ru (Ilia Anokhin) Date: Thu, 17 Aug 2006 18:59:30 +0600 Subject: Check ping error code 139 Message-ID: <9110230876.20060817185930@ural.ru> Hi everyone. I've faced a strange thing using nagios - not long after primary DNS has gone down, check_ping began to return error code 139 (Return code 139 is out of bounds). Does any one know what was going on with it? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Thu Aug 17 16:13:34 2006 From: ton.voon at altinity.com (Ton Voon) Date: Thu, 17 Aug 2006 15:13:34 +0100 Subject: check_http can't follow redirect properly, no cookies! In-Reply-To: <44E45098.5050700@googlemail.com> References: <44E45098.5050700@googlemail.com> Message-ID: <19B5BE1D-E52F-4C47-B22F-56622D1FA0EF@altinity.com> No cookies in check_http, I'm afraid. It would be a nightmare enhance it to hold sessions. If you are good with perl, look at WWW::Mechanize. This allows you to store cookies and interact with a website as if you were a browser. We use this to login to monitor a betting site and retrieve funds information. On 17 Aug 2006, at 12:18, Hari Sekhon wrote: > Hi, > I've got check_http doing a login which works fine and I'm using > the > --onredirect=follow to make sure I can fetch the secured page it's > redirected to. > > The problem is that when the page is fetched it is fetched without the > previously supplied credentials and therefore I get a login page > instead > of the page within the secure area. > > I really really need to get the page in the secure area. Does anybody > know how to make it store and use the credentials for the redirect. > It's > obviously not using it's cookie and I've looked through the --help but > it makes not mention of cookies... > http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 17 16:23:45 2006 From: marc at ena.com (Marc Powell) Date: Thu, 17 Aug 2006 09:23:45 -0500 Subject: host check anly after critical service check Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Danil Kutepkin > Sent: Thursday, August 17, 2006 3:50 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] host check anly after critical service check > > Hello nagios-users, > > How to make a host active check (ping) only after a failed service > check (ping)? Nagios will only run a host check if a service on that host (any defined) fails. This is a good thing. You can't make the host check dependent on the failure of a specific check on that host (unless it's the only service on that host). If that doesn't suit your purposes try explaining what you want to accomplish better. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Aug 17 16:28:40 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 17 Aug 2006 15:28:40 +0100 Subject: check_http can't follow redirect properly, no cookies! In-Reply-To: <19B5BE1D-E52F-4C47-B22F-56622D1FA0EF@altinity.com> References: <44E45098.5050700@googlemail.com> <19B5BE1D-E52F-4C47-B22F-56622D1FA0EF@altinity.com> Message-ID: <44E47D18.6070800@googlemail.com> Ton Voon wrote: > No cookies in check_http, I'm afraid. It would be a nightmare enhance > it to hold sessions. > > If you are good with perl, look at WWW::Mechanize. This allows you to > store cookies and interact with a website as if you were a browser. We > use this to login to monitor a betting site and retrieve funds > information. > > On 17 Aug 2006, at 12:18, Hari Sekhon wrote: > >> Hi, >> I've got check_http doing a login which works fine and I'm using the >> --onredirect=follow to make sure I can fetch the secured page it's >> redirected to. >> >> The problem is that when the page is fetched it is fetched without the >> previously supplied credentials and therefore I get a login page instead >> of the page within the secure area. >> >> I really really need to get the page in the secure area. Does anybody >> know how to make it store and use the credentials for the redirect. It's >> obviously not using it's cookie and I've looked through the --help but >> it makes not mention of cookies... >> > > http://www.altinity.com > T: +44 (0)870 787 9243 > F: +44 (0)845 280 1725 > Skype: tonvoon > > that's a real pain, but I understand. Curl can actually deal with cookies so I may end up rustling up a quick script in bash with that, I've already done some cli tests with it and it works nicely, but longer term I think I'll have to brush up my perl (I know the very basics) and do something with Mechanize. I think that this will be a good opportunity for me to do something useful in Perl. Thanks for the pointer. Hari -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 17 16:33:16 2006 From: marc at ena.com (Marc Powell) Date: Thu, 17 Aug 2006 09:33:16 -0500 Subject: Check ping error code 139 Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Ilia Anokhin > Sent: Thursday, August 17, 2006 8:00 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check ping error code 139 > > Hi everyone. > > I've faced a strange thing using nagios - not long after primary DNS has > gone down, check_ping began to return error code 139 (Return code 139 is > out of bounds). Does any one know what was going on with it? 139 is a segfault I believe. Is the output of /bin/ping changing when your primary DNS is down? Is it segfaulting. Have you tried running the plugin manually when this is happing to see what's going on? You might consider using check_icmp as it doesn't rely on /bin/ping for processing. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From djoseph at nabancard.com Thu Aug 17 16:46:46 2006 From: djoseph at nabancard.com (Dan Joseph) Date: Thu, 17 Aug 2006 10:46:46 -0400 Subject: plugin timeout setting? Message-ID: <44E48156.9040605@nabancard.com> Hi, Is there a setting somewhere in the config for the plugin timeouts? We're getting some heavy traffic on a server and its timing out the plugins. "CRITICAL - Plugin timed out after 10 seconds ". I'd like to change that to 20 seconds if possible? -- -Dan Joseph System Administrator ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From silencer at free-4ever.net Thu Aug 17 16:51:57 2006 From: silencer at free-4ever.net (Guillaume) Date: Thu, 17 Aug 2006 16:51:57 +0200 Subject: plugin timeout setting? In-Reply-To: <44E48156.9040605@nabancard.com> References: <44E48156.9040605@nabancard.com> Message-ID: <44E4828D.3040003@free-4ever.net> Dan Joseph a ?crit : > Hi, > > Is there a setting somewhere in the config for the plugin timeouts? > We're getting some heavy traffic on a server and its timing out the > plugins. "CRITICAL - Plugin timed out after 10 seconds ". I'd like to > change that to 20 seconds if possible? > Hi, You have to change the timeout of the plugins in the check command. If the plugin is standard, the option is "-t" And you have also to check the plugin execution timeout in the nagios.cfg file. But by default the value is 60 secs for services and 30 for hosts. So it should be enough. Guillaume -- Guillaume E-mail: silencer__free-4ever__net Blog: http://guillaume.free-4ever.net ---- Site: http://www.free-4ever.net ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From djoseph at nabancard.com Thu Aug 17 17:30:55 2006 From: djoseph at nabancard.com (Dan Joseph) Date: Thu, 17 Aug 2006 11:30:55 -0400 Subject: plugin timeout setting? In-Reply-To: <44E4828D.3040003@free-4ever.net> References: <44E48156.9040605@nabancard.com> <44E4828D.3040003@free-4ever.net> Message-ID: <44E48BAF.5050000@nabancard.com> Guillaume wrote: >> Is there a setting somewhere in the config for the plugin timeouts? >> We're getting some heavy traffic on a server and its timing out the >> plugins. "CRITICAL - Plugin timed out after 10 seconds ". I'd like to >> change that to 20 seconds if possible? > > You have to change the timeout of the plugins in the check command. > If the plugin is standard, the option is "-t" > > And you have also to check the plugin execution timeout in the > nagios.cfg file. But by default the value is 60 secs for services and 30 > for hosts. > So it should be enough. Thanks, that worked like a charm! -- -Dan Joseph System Administrator ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muaddib at databit7.com Thu Aug 17 17:32:02 2006 From: muaddib at databit7.com (Robin-David Hammond%KB3IEN) Date: Thu, 17 Aug 2006 15:32:02 +0000 (UTC) Subject: nmap Message-ID: Has anyone used nagios to track changes in the open ports on remote hosts? I'm thinking that if the output of nmap changes one hour to the next that something ought to be investigated. Sure it might be nothing, but might be a "OOh a root-kit! How Nice!" moment. Robin-David Hammond KB3IEN +1 347 350 34 00 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muaddib at databit7.com Thu Aug 17 17:35:35 2006 From: muaddib at databit7.com (Robin-David Hammond%KB3IEN) Date: Thu, 17 Aug 2006 15:35:35 +0000 (UTC) Subject: ARP Message-ID: I have a dumb-as-nails Motorola SIP adapter from certain VoIP provider. The think act closed on all tcp/udp ports and ignores ICMP echo request. Mercifully the thing is hardwired to the nagios machine. Anyone how a check_arp_tables script that will raise some kinda hell if the arp entry vanishes? Robin-David Hammond KB3IEN +1 347 350 34 00 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Aug 17 17:42:49 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 17 Aug 2006 16:42:49 +0100 Subject: nmap In-Reply-To: References: Message-ID: <44E48E79.6060004@googlemail.com> Robin-David Hammond%KB3IEN wrote: > Has anyone used nagios to track changes in the open ports on remote hosts? > > I'm thinking that if the output of nmap changes one hour to the next that > something ought to be investigated. > > Sure it might be nothing, but might be a "OOh a root-kit! How Nice!" > moment. > > > Robin-David Hammond KB3IEN > +1 347 350 34 00 > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > I have been thinking about this too. You could write a quick shell script to do this I guess, just take hourly reading and then diff them and warn if the port status has changed. Problem with this is that you can't really get the output cos nagios plugins are constrained to one line. Is there a good way to still get the output other than squashing it into one line? Would "stuff\nmorestuff" get around this if it's not immediately evaluated, but evaluated on the notify command? Or perhaps you could just output the whole thing normally and the web interface will take only the first line but the mail will show all lines? Let me know what you come up with on this as I would also be very interested in doing this. Perhaps if we have an ongoing rolling discussion we could make this pretty good. I invite everyone to throw in their opinions and ideas on this.... Hari ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Thu Aug 17 18:01:16 2006 From: knobdy at gmail.com (Brian Loe) Date: Thu, 17 Aug 2006 11:01:16 -0500 Subject: nmap In-Reply-To: <44E48E79.6060004@googlemail.com> References: <44E48E79.6060004@googlemail.com> Message-ID: <3c4611bc0608170901g728aa3b4pba281e6916da2635@mail.gmail.com> Couldn't you write a script that diffs nmap results and report "0" if diff doesn't come back with anything and "1" otherwise? nmap could be cronned to run hourly - or so - and the results diffed with a baseline file resulting in the code which nagios can cat... or something. Sorry, not a developer but this seems easy enough for someone who is, and I'd like to have it myself. :) On 8/17/06, Hari Sekhon wrote: > Robin-David Hammond%KB3IEN wrote: > > Has anyone used nagios to track changes in the open ports on remote hosts? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david_price at byu.edu Thu Aug 17 18:11:49 2006 From: david_price at byu.edu (David Price) Date: Thu, 17 Aug 2006 10:11:49 -0600 Subject: check_http can't follow redirect properly, no cookies! In-Reply-To: <44E47D18.6070800@googlemail.com> References: <44E45098.5050700@googlemail.com> <19B5BE1D-E52F-4C47-B22F-56622D1FA0EF@altinity.com> <44E47D18.6070800@googlemail.com> Message-ID: <44E49545.9020008@byu.edu> Hari Sekhon wrote: > Ton Voon wrote: >> No cookies in check_http, I'm afraid. It would be a nightmare enhance >> it to hold sessions. >> >> If you are good with perl, look at WWW::Mechanize. This allows you to >> store cookies and interact with a website as if you were a browser. >> We use this to login to monitor a betting site and retrieve funds >> information. >> >> On 17 Aug 2006, at 12:18, Hari Sekhon wrote: >> >>> Hi, >>> I've got check_http doing a login which works fine and I'm using the >>> --onredirect=follow to make sure I can fetch the secured page it's >>> redirected to. >>> >>> The problem is that when the page is fetched it is fetched without the >>> previously supplied credentials and therefore I get a login page >>> instead >>> of the page within the secure area. >>> >>> I really really need to get the page in the secure area. Does anybody >>> know how to make it store and use the credentials for the redirect. >>> It's >>> obviously not using it's cookie and I've looked through the --help but >>> it makes not mention of cookies... >>> >> >> http://www.altinity.com >> T: +44 (0)870 787 9243 >> F: +44 (0)845 280 1725 >> Skype: tonvoon >> >> > > that's a real pain, but I understand. Curl can actually deal with > cookies so I may end up rustling up a quick script in bash with that, > I've already done some cli tests with it and it works nicely, but > longer term I think I'll have to brush up my perl (I know the very > basics) and do something with Mechanize. I think that this will be a > good opportunity for me to do something useful in Perl. > > Thanks for the pointer. > > Hari > > Check out the WebInject Nagios plugin. I have it setup to check several pages in a secure website and it handles cookies. It could save you the hassle of creating your our script. http://www.webinject.org/plugin.html David Price ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 17 18:15:07 2006 From: marc at ena.com (Marc Powell) Date: Thu, 17 Aug 2006 11:15:07 -0500 Subject: nmap Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Brian Loe > Sent: Thursday, August 17, 2006 11:01 AM > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nmap > > Couldn't you write a script that diffs nmap results and report "0" if > diff doesn't come back with anything and "1" otherwise? nmap could be > cronned to run hourly - or so - and the results diffed with a baseline > file resulting in the code which nagios can cat... or something. > > Sorry, not a developer but this seems easy enough for someone who is, > and I'd like to have it myself. :) > > On 8/17/06, Hari Sekhon wrote: > > Robin-David Hammond%KB3IEN wrote: > > > Has anyone used nagios to track changes in the open ports on remote > hosts? /nagios-plugins-1.4.3/contrib. -- [contrib]$ ./check_nmap.py --help check_nmap plugin for Nagios Copyright (c) 2000 Jacob Lundqvist (jaclu at galdrion.com) License: GPL Version: 1.21 Usage: check_ports [-v|--debug] [-H|--host host] [-V|--version] [-h|--help] [-o|--optional port1,port2,port3 ...] [-r|--range range] [-p|--port port1,port2,port3 ...] [-t|--timeout timeout] Options: -h = help (this screen ;-) -v = debug mode, show some extra output -H host = host to check (name or IP#) -o ports = optional ports that can be open (one or more), no warning is given if optional port is closed -p ports = ports that should be open (one or more) -r range = port range to feed to nmap. Example: :1024,2049,3000:7000 -t timeout = timeout in seconds, default 10 -V = Version info This plugin attempts to verify open ports on the specified host. If all specified ports are open, OK is returned. If any of them are closed, WARNING is returned (except for optional ports) If other ports are open, CRITICAL is returned If possible, supply an IP address for the host address, as this will bypass the DNS lookup. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Thu Aug 17 18:21:37 2006 From: knobdy at gmail.com (Brian Loe) Date: Thu, 17 Aug 2006 11:21:37 -0500 Subject: nmap In-Reply-To: References: Message-ID: <3c4611bc0608170921k3df89dfft395fec7836bab2cb@mail.gmail.com> On 8/17/06, Marc Powell wrote: > /nagios-plugins-1.4.3/contrib. -- > > [contrib]$ ./check_nmap.py --help > > check_nmap plugin for Nagios > Copyright (c) 2000 Jacob Lundqvist (jaclu at galdrion.com) > License: GPL > Version: 1.21 > If possible, supply an IP address for the host address, > as this will bypass the DNS lookup. > -- > Marc > Well, there you go. :) I'm new to Nagios so perhaps this too is a stupid question, but when you configure a check, can't you use a variable for the host in the check command line? I guess I need to go look at my config files again.... ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 17 18:36:01 2006 From: marc at ena.com (Marc Powell) Date: Thu, 17 Aug 2006 11:36:01 -0500 Subject: nmap Message-ID: > -----Original Message----- > From: Brian Loe [mailto:knobdy at gmail.com] > Sent: Thursday, August 17, 2006 11:22 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nmap > > On 8/17/06, Marc Powell wrote: > > > /nagios-plugins-1.4.3/contrib. -- > > > > [contrib]$ ./check_nmap.py --help > > > > check_nmap plugin for Nagios > > Copyright (c) 2000 Jacob Lundqvist (jaclu at galdrion.com) > > License: GPL > > Version: 1.21 > > > If possible, supply an IP address for the host address, > > as this will bypass the DNS lookup. > > -- > > Marc > > > > Well, there you go. :) I'm new to Nagios so perhaps this too is a > stupid question, but when you configure a check, can't you use a > variable for the host in the check command line? I guess I need to go > look at my config files again.... You sure can, $HOSTADDRESS$. The recommendation was from the plugin author but what he means is use an ip in your host{} definition's host_address field instead of it's DNS name. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxwellb at oclc.org Thu Aug 17 18:51:52 2006 From: maxwellb at oclc.org (Maxwell,Brady) Date: Thu, 17 Aug 2006 12:51:52 -0400 Subject: nmap Message-ID: <632EDB1E16D4E041A0EF1DB3ADF67B2B06DA21C5@OAEXCH1SERVER.oa.oclc.org> On 8/17/06, Marc Powell wrote: > /nagios-plugins-1.4.3/contrib. -- >Well, there you go. :) I'm new to Nagios so perhaps this too is a >stupid question, but when you configure a check, can't you use a >variable for the host in the check command line? I guess I need to go >look at my config files again.... Brian you are correct it is best practice to use the $HOSTADDRESS$ in your check commands. Not doing so would require that you would need to write a check command specific to each host and service. I am no expert on this and have not used the plugin in the mentioned in this thread. But I think maybe Marc is trying to say put the IP address in the hosts.cfg when you define a host so you do not run into an issue with DNS. So a host should be defined like this: define host{ host_name linux1.companyname.com hostgroups lin-servers alias Linux Server 1 address 192.168.125.15 check_command check-host-alive max_check_attempts 3 check_period 24x7 contact_groups localadmins notification_interval 120 notification_period 24x7 notification_options d,u,r,f } Assuming linux1 is a http server I would write the check command for this machine... well its straight out of the sample config. # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Thu Aug 17 18:52:04 2006 From: knobdy at gmail.com (Brian Loe) Date: Thu, 17 Aug 2006 11:52:04 -0500 Subject: nmap In-Reply-To: References: Message-ID: <3c4611bc0608170952s37c0042byec7d9d13b0c3e68e@mail.gmail.com> On 8/17/06, Marc Powell wrote: > You sure can, $HOSTADDRESS$. The recommendation was from the plugin > author but what he means is use an ip in your host{} definition's > host_address field instead of it's DNS name. > > -- > Marc Again, I need to look at my configs. I'm thinking that in my host{} definitions I have the dns name for "name" (perhaps thats the entry) and IP for hostaddress... Definately going to have to check this out. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Carl.Friend at mathworks.com Thu Aug 17 19:17:27 2006 From: Carl.Friend at mathworks.com (Carl Friend) Date: Thu, 17 Aug 2006 13:17:27 -0400 Subject: detect 2 DHCP Servers on network? In-Reply-To: <44E2D6A1.5080109@googlemail.com> References: <44E2D6A1.5080109@googlemail.com> Message-ID: Hari Sekhon wrote: > [...] raise the warning code if more than 1 offer was received [...] The pitfall here is that if you're running redundant DHCP servers it's possible to receive two offers. ISC DHCPD can function in this way. A regular client would see the first offer, accept it, and ignore the second one; the monitoring script would have to be aware of the network architecture to account for that. One thing you could do is record the IP address(es) of your real DHCP server(s) and if you see anything come in from *anywhere else* raise the alarm. +----------------------------------------------+-----------------------+ | Carl Richard Friend (UNIX Sysadmin) | Natick, Massachusetts | | Minicomputer Collector / Enthusiast | 01760-2098 | | mailto:carl_friend at mathworks.com +-----------------------+ | http://users.rcn.com/crfriend/museum | ICBM: 42:18N 71:21W | +----------------------------------------------+-----------------------+ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Aug 17 19:31:25 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 17 Aug 2006 18:31:25 +0100 Subject: check_http can't follow redirect properly, no cookies! In-Reply-To: <44E49545.9020008@byu.edu> References: <44E45098.5050700@googlemail.com> <19B5BE1D-E52F-4C47-B22F-56622D1FA0EF@altinity.com> <44E47D18.6070800@googlemail.com> <44E49545.9020008@byu.edu> Message-ID: <44E4A7ED.5030908@googlemail.com> David Price wrote: > Hari Sekhon wrote: >> Ton Voon wrote: >>> No cookies in check_http, I'm afraid. It would be a nightmare >>> enhance it to hold sessions. >>> >>> If you are good with perl, look at WWW::Mechanize. This allows you >>> to store cookies and interact with a website as if you were a >>> browser. We use this to login to monitor a betting site and retrieve >>> funds information. >>> >>> On 17 Aug 2006, at 12:18, Hari Sekhon wrote: >>> >>>> Hi, >>>> I've got check_http doing a login which works fine and I'm using >>>> the --onredirect=follow to make sure I can fetch the secured page >>>> it's redirected to. >>>> >>>> The problem is that when the page is fetched it is fetched without >>>> the previously supplied credentials and therefore I get a login >>>> page instead of the page within the secure area. >>>> >>>> I really really need to get the page in the secure area. Does >>>> anybody know how to make it store and use the credentials for the >>>> redirect. It's obviously not using it's cookie and I've looked >>>> through the --help but it makes not mention of cookies... >>>> >>> >>> http://www.altinity.com >>> T: +44 (0)870 787 9243 >>> F: +44 (0)845 280 1725 >>> Skype: tonvoon >>> >>> >> >> that's a real pain, but I understand. Curl can actually deal with >> cookies so I may end up rustling up a quick script in bash with that, >> I've already done some cli tests with it and it works nicely, but >> longer term I think I'll have to brush up my perl (I know the very >> basics) and do something with Mechanize. I think that this will be a >> good opportunity for me to do something useful in Perl. >> >> Thanks for the pointer. >> >> Hari >> >> > > Check out the WebInject Nagios plugin. I have it setup to check > several pages in a secure website and it handles cookies. It could > save you the hassle of creating your our script. > > http://www.webinject.org/plugin.html > > David Price > > thanks, looks like I'm back to the drawing board, I guess I'll just fix the broken dependency (it's a bug) and then give webinject a try.... -h ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Aug 17 19:35:02 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 17 Aug 2006 18:35:02 +0100 Subject: detect 2 DHCP Servers on network? In-Reply-To: References: Message-ID: <44E4A8C6.30605@googlemail.com> Carl Friend wrote: > Hari Sekhon wrote: > > >> [...] raise the warning code if more than 1 offer was received [...] >> > > The pitfall here is that if you're running redundant DHCP servers > it's possible to receive two offers. ISC DHCPD can function in this > way. A regular client would see the first offer, accept it, and > ignore the second one; the monitoring script would have to be aware > of the network architecture to account for that. > > One thing you could do is record the IP address(es) of your real > DHCP server(s) and if you see anything come in from *anywhere else* > raise the alarm. > that it what I previously mentioned as a good idea to implement, making sure that the from address matches. This could easily be supplied as a command line flag. The other idea regarding the number of offers is also taken into account, in the same way you should be able to specify how many offers you should receive with another command line flag. Wish I knew C (a lot) better, I'd add the code and send it back... If nobody has done it by next year then I will re-learn C properly and write it. -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Aug 17 19:45:24 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 17 Aug 2006 18:45:24 +0100 Subject: nmap In-Reply-To: References: Message-ID: <44E4AB34.1080208@googlemail.com> Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Brian Loe >> Sent: Thursday, August 17, 2006 11:01 AM >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] nmap >> >> Couldn't you write a script that diffs nmap results and report "0" if >> diff doesn't come back with anything and "1" otherwise? nmap could be >> cronned to run hourly - or so - and the results diffed with a baseline >> file resulting in the code which nagios can cat... or something. >> >> Sorry, not a developer but this seems easy enough for someone who is, >> and I'd like to have it myself. :) >> >> On 8/17/06, Hari Sekhon wrote: >> >>> Robin-David Hammond%KB3IEN wrote: >>> >>>> Has anyone used nagios to track changes in the open ports on >>>> > remote > >> hosts? >> > > > /nagios-plugins-1.4.3/contrib. -- > > [contrib]$ ./check_nmap.py --help > > check_nmap plugin for Nagios > Copyright (c) 2000 Jacob Lundqvist (jaclu at galdrion.com) > License: GPL > Version: 1.21 > > Usage: check_ports [-v|--debug] [-H|--host host] [-V|--version] > [-h|--help] > [-o|--optional port1,port2,port3 ...] [-r|--range > range] > [-p|--port port1,port2,port3 ...] [-t|--timeout > timeout] > > Options: > -h = help (this screen ;-) > -v = debug mode, show some extra output > -H host = host to check (name or IP#) > -o ports = optional ports that can be open (one or more), > no warning is given if optional port is closed > -p ports = ports that should be open (one or more) > -r range = port range to feed to nmap. Example: :1024,2049,3000:7000 > -t timeout = timeout in seconds, default 10 > -V = Version info > > This plugin attempts to verify open ports on the specified host. > > If all specified ports are open, OK is returned. > If any of them are closed, WARNING is returned (except for optional > ports) > If other ports are open, CRITICAL is returned > > If possible, supply an IP address for the host address, > as this will bypass the DNS lookup. > -- > Marc > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > good idea to have this python wrapper to nmap plugin. I was actually thinking more of one pass for the whole network alerting you to what has changed. I think I will write this in bash to start off with since that's the fastest language to do this kind of stuff in. I can see how this does fit in very well with the nagios way of doing things since the macros can be used to automate part of it, but you still need to specify all the ports that should be open. I think I may give this a python plugin try when I have some spare time... Hari -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vasiliy at linuxspecial.com Thu Aug 17 19:57:43 2006 From: vasiliy at linuxspecial.com (Vasiliy Boulytchev) Date: Thu, 17 Aug 2006 13:57:43 -0400 Subject: Good Linux and Mac Client In-Reply-To: References: Message-ID: <44E4AE17.2040902@linuxspecial.com> Ladies and Gents, Can someone please suggest a good Linux, and a good Mac client for Nagios? I have been using nagios-statd (python), however, it does not support any authentication mechanism :( THANK YOU VERY MUCH! :) Vasiliy Boulytchev vasiliy at linuxspecial.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Aug 17 20:05:06 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 17 Aug 2006 20:05:06 +0200 (CEST) Subject: Good Linux and Mac Client In-Reply-To: <44E4AE17.2040902@linuxspecial.com> References: <44E4AE17.2040902@linuxspecial.com> Message-ID: On Thu, 17 Aug 2006, Vasiliy Boulytchev wrote: > Ladies and Gents, > Can someone please suggest a good Linux, and a good Mac client for > Nagios? I have been using nagios-statd (python), however, it does not > support any authentication mechanism :( I would recommend firefox. Perhaps thunderbird for the alert messages. But perhaps you think of something completely different as 'client' of Nagios. But it would be wise to explain how you define a 'client'. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martin.schwarz at mscsoftware.com Thu Aug 17 20:08:52 2006 From: martin.schwarz at mscsoftware.com (Martin Schwarz) Date: Thu, 17 Aug 2006 20:08:52 +0200 Subject: out of office Message-ID: I will be out of the office starting 15.08.2006 and will not return until 28.08.2006. I am traveling and will have no access to my mail. In urgent cases call me on my mobile ( +491728491717 ) or contact Matthias in munich ( -116 ) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vasiliy at linuxspecial.com Thu Aug 17 20:21:31 2006 From: vasiliy at linuxspecial.com (Vasiliy Boulytchev) Date: Thu, 17 Aug 2006 14:21:31 -0400 Subject: Good Linux and Mac Client In-Reply-To: References: <44E4AE17.2040902@linuxspecial.com> Message-ID: <44E4B3AB.4020409@linuxspecial.com> OH lol! No NO NO. I meant for the clients running on the hosts being monitored :) I need a client for our Linux environment and our Mac environment, to report CPU, mem, disk, swap... and possibly authenticate with the monitoring server... Thanks hehe Vasiliy Boulytchev vasiliy at linuxspecial.com Hugo van der Kooij wrote: > On Thu, 17 Aug 2006, Vasiliy Boulytchev wrote: > > >> Ladies and Gents, >> Can someone please suggest a good Linux, and a good Mac client for >> Nagios? I have been using nagios-statd (python), however, it does not >> support any authentication mechanism :( >> > > I would recommend firefox. Perhaps thunderbird for the alert messages. > > But perhaps you think of something completely different as 'client' of > Nagios. But it would be wise to explain how you define a 'client'. > > Hugo. > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kelly at skyrider.com Thu Aug 17 20:30:32 2006 From: kelly at skyrider.com (Kelly Alexander) Date: Thu, 17 Aug 2006 11:30:32 -0700 Subject: How to get stdout from event handlers into Nagiosemail messages? Message-ID: <277CB7DD1E4B4C4C860484C00389C9C954118D@EXVS01.ex.dslextreme.net> I was hoping that the event handler ran first, and then the notice was sent out. Guess that's not the way it works. Since it's not possible I won't worry about it anymore and will just write something that notifies me from the handler itself. --- Kelly Alexander Skyrider Corporation -----Original Message----- From: Steve Shipway [mailto:s.shipway at auckland.ac.nz] Sent: Tuesday, August 15, 2006 9:01 PM To: Kelly Alexander; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] How to get stdout from event handlers into Nagiosemail messages? > Hi, I'm running Nagios 2.5 and my question is: is there any way to > capture the stdout of an event handler and get it into the email > Nagios sends out? If you think about it, this must be impossible. Since the event handler is called at the same time as the notifications, the output (if any) is not avaiable when the notifications are queued as the event handler has not yet run. The only way I can see to do this is to code an email sender into your event handler script. You could fudge it by creating a dummy service for the same host that uses freshness to immediately reset to OK and has a count of 1, and then have your event handler send a passive alert (containing the output text) to this service. The dummy service (which has the same contacts as the main service) then sends out a separate alert to the contacts with this information. You could probably even create a generic eventhandler wrapper script to do this. Steve ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Thu Aug 17 20:34:09 2006 From: jperrin at gmail.com (Jim Perrin) Date: Thu, 17 Aug 2006 14:34:09 -0400 Subject: Good Linux and Mac Client In-Reply-To: <44E4B3AB.4020409@linuxspecial.com> References: <44E4AE17.2040902@linuxspecial.com> <44E4B3AB.4020409@linuxspecial.com> Message-ID: <302ce8b50608171134i3795ed86ha032ac9312deba51@mail.gmail.com> > OH lol! No NO NO. I meant for the clients running on the hosts being > monitored :) Still not overly clear, but I assume you mean like nrpe > I need a client for our Linux environment and our Mac environment, to > report CPU, mem, disk, swap... and possibly authenticate with the > monitoring server... snmp works fine. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmblue at gmail.com Thu Aug 17 20:34:50 2006 From: tmblue at gmail.com (Tory M Blue) Date: Thu, 17 Aug 2006 11:34:50 -0700 Subject: host check anly after critical service check In-Reply-To: References: Message-ID: <8a547c840608171134w5fe775aey73fd918de6dab2f3@mail.gmail.com> On 8/17/06, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Danil Kutepkin > > Sent: Thursday, August 17, 2006 3:50 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] host check anly after critical service check > > > > Hello nagios-users, > > > > How to make a host active check (ping) only after a failed service > > check (ping)? > I don't follow either. Some hosts you may only want to set up a service "PING", but you want the host to also be checked so that you get a single HOST failure, vs a service failure if the host is down. So setup the host with a check_command check-host-alive line, and then add a service for the same host define service{ use generic-service host_name hostname service_description Ping check_command check-host-alive If the service check fails, it will force the hose to do a host check, and since well it's probably down, you should only receive a host critical/unreachable alert. Sorry if your not really talking this basic, then your going to have to provide a bit more information. You could also force the host to actually be checked like a service by enabling active checks every x minutes (create a new host template) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mhennessy at cloud9.net Thu Aug 17 20:42:49 2006 From: mhennessy at cloud9.net (Mark Hennessy) Date: Thu, 17 Aug 2006 14:42:49 -0400 Subject: Good Linux and Mac Client In-Reply-To: <44E4AE17.2040902@linuxspecial.com> References: <44E4AE17.2040902@linuxspecial.com> Message-ID: Why not just use NRPE? -- Mark Hennessy > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Vasiliy Boulytchev > Sent: Thursday, August 17, 2006 1:58 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Good Linux and Mac Client > > > Ladies and Gents, > Can someone please suggest a good Linux, and a good Mac > client for > Nagios? I have been using nagios-statd (python), however, it > does not > support any authentication mechanism :( > > THANK YOU VERY MUCH! :) > > Vasiliy Boulytchev > vasiliy at linuxspecial.com > > > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 17 20:39:51 2006 From: marc at ena.com (Marc Powell) Date: Thu, 17 Aug 2006 13:39:51 -0500 Subject: Good Linux and Mac Client Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Vasiliy Boulytchev > Sent: Thursday, August 17, 2006 1:22 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Good Linux and Mac Client > > > OH lol! No NO NO. I meant for the clients running on the hosts being > monitored :) > > I need a client for our Linux environment and our Mac environment, to > report CPU, mem, disk, swap... and possibly authenticate with the > monitoring server... No client exists that I know of nor is there really a need for one. check_nrpe or check_by_ssh + whatever interesting plugins you want to run on the remote machine (check_disk, check_proc, check_swap, etc, etc, etc) is the way to go. I definitely know the plugins compile under linux and almost certainly compile under OSX. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Aug 17 20:49:16 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 17 Aug 2006 20:49:16 +0200 (CEST) Subject: Good Linux and Mac Client In-Reply-To: <44E4B3AB.4020409@linuxspecial.com> References: <44E4AE17.2040902@linuxspecial.com> <44E4B3AB.4020409@linuxspecial.com> Message-ID: On Thu, 17 Aug 2006, Vasiliy Boulytchev wrote: > OH lol! No NO NO. I meant for the clients running on the hosts being > monitored :) They are (sometimes) refered to as agents. Which make it much clearer what way you want to go. However these agents are as diverse as the things you want to monitor. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vasiliy at linuxspecial.com Thu Aug 17 20:54:06 2006 From: vasiliy at linuxspecial.com (Vasiliy Boulytchev) Date: Thu, 17 Aug 2006 14:54:06 -0400 Subject: Good Linux and Mac Client In-Reply-To: References: Message-ID: <44E4BB4E.80303@linuxspecial.com> Thanks Mark, How about the Macintosh agents? :) THANKS Vasiliy Boulytchev vasiliy at linuxspecial.com Mark Hennessy wrote: > Why not just use NRPE? > > -- > Mark Hennessy > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >> Of Vasiliy Boulytchev >> Sent: Thursday, August 17, 2006 1:58 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Good Linux and Mac Client >> >> >> Ladies and Gents, >> Can someone please suggest a good Linux, and a good Mac >> client for >> Nagios? I have been using nagios-statd (python), however, it >> does not >> support any authentication mechanism :( >> >> THANK YOU VERY MUCH! :) >> >> Vasiliy Boulytchev >> vasiliy at linuxspecial.com >> >> >> >> -------------------------------------------------------------- >> ----------- >> Using Tomcat but need to do more? Need to support web >> services, security? >> Get stuff done quickly with pre-integrated technology to make >> your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on >> Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& >> dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS >> when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 17 20:58:50 2006 From: marc at ena.com (Marc Powell) Date: Thu, 17 Aug 2006 13:58:50 -0500 Subject: Good Linux and Mac Client Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij > Sent: Thursday, August 17, 2006 1:49 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Good Linux and Mac Client > > On Thu, 17 Aug 2006, Vasiliy Boulytchev wrote: > > > OH lol! No NO NO. I meant for the clients running on the hosts being > > monitored :) > > They are (sometimes) refered to as agents. Which make it much clearer what > way you want to go. > > However these agents are as diverse as the things you want to monitor. After all that and still a net NULL answer? Some kind of pointer would have been useful to justify the chatter. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mhennessy at cloud9.net Thu Aug 17 20:59:21 2006 From: mhennessy at cloud9.net (Mark Hennessy) Date: Thu, 17 Aug 2006 14:59:21 -0400 Subject: Good Linux and Mac Client In-Reply-To: <44E4BB4E.80303@linuxspecial.com> References: <44E4BB4E.80303@linuxspecial.com> Message-ID: GIYF http://nrpe.darwinports.com/ -- Mark Hennessy > -----Original Message----- > From: Vasiliy Boulytchev [mailto:vasiliy at linuxspecial.com] > Sent: Thursday, August 17, 2006 2:54 PM > To: Mark Hennessy > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Good Linux and Mac Client > > > Thanks Mark, > How about the Macintosh agents? :) > > THANKS > > Vasiliy Boulytchev > vasiliy at linuxspecial.com > > > > Mark Hennessy wrote: > > Why not just use NRPE? > > > > -- > > Mark Hennessy > > > > > >> -----Original Message----- > >> From: nagios-users-bounces at lists.sourceforge.net > >> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > >> Of Vasiliy Boulytchev > >> Sent: Thursday, August 17, 2006 1:58 PM > >> To: nagios-users at lists.sourceforge.net > >> Subject: [Nagios-users] Good Linux and Mac Client > >> > >> > >> Ladies and Gents, > >> Can someone please suggest a good Linux, and a good Mac > >> client for > >> Nagios? I have been using nagios-statd (python), however, it > >> does not > >> support any authentication mechanism :( > >> > >> THANK YOU VERY MUCH! :) > >> > >> Vasiliy Boulytchev > >> vasiliy at linuxspecial.com > >> > >> > >> > >> -------------------------------------------------------------- > >> ----------- > >> Using Tomcat but need to do more? Need to support web > >> services, security? > >> Get stuff done quickly with pre-integrated technology to make > >> your job easier > >> Download IBM WebSphere Application Server v.1.0.1 based on > >> Apache Geronimo > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > >> dat=121642 > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS > >> when reporting any issue. > >> ::: Messages without supporting info will risk being sent > to /dev/null > >> > >> > >> > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From HARKISOONSW at gru.com Thu Aug 17 21:45:05 2006 From: HARKISOONSW at gru.com (Harkisoon, Sharan W.) Date: Thu, 17 Aug 2006 15:45:05 -0400 Subject: detect 2 DHCP Servers on network? Message-ID: <94FE9AAAB50C92448DCF1A4B99816F6604BFA30D@GRUCLXCHGPR01.gruadmin.gru.com> I don't mean to be off topic, but rogue DHCP servers can be easily avoided using switches that support layer-3 ACL's to block dhcp server replies from user ports on switches that support it (all new cisco switches including the 2950's/3550's/37xx's and even smc,dlink,allied telesyn support this). A cisco feature called "dhcp snooping" also prevents rogue dhcp servers. Food for thought. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Carl Friend Sent: Thursday, August 17, 2006 1:17 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] detect 2 DHCP Servers on network? Hari Sekhon wrote: > [...] raise the warning code if more than 1 offer was received [...] The pitfall here is that if you're running redundant DHCP servers it's possible to receive two offers. ISC DHCPD can function in this way. A regular client would see the first offer, accept it, and ignore the second one; the monitoring script would have to be aware of the network architecture to account for that. One thing you could do is record the IP address(es) of your real DHCP server(s) and if you see anything come in from *anywhere else* raise the alarm. +----------------------------------------------+-----------------------+ | Carl Richard Friend (UNIX Sysadmin) | Natick, Massachusetts | | Minicomputer Collector / Enthusiast | 01760-2098 | | mailto:carl_friend at mathworks.com +-----------------------+ | http://users.rcn.com/crfriend/museum | ICBM: 42:18N 71:21W | +----------------------------------------------+-----------------------+ ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxwellb at oclc.org Thu Aug 17 22:22:09 2006 From: maxwellb at oclc.org (Maxwell,Brady) Date: Thu, 17 Aug 2006 16:22:09 -0400 Subject: Good Linux and Mac Client Message-ID: <632EDB1E16D4E041A0EF1DB3ADF67B2B06DA2255@OAEXCH1SERVER.oa.oclc.org> SNMP will work on both and NRPE works well for Linux boxes. Not sure about Macs but since OSX is sitting on a free bsd Kernel (I think). NRPE might work well on OSX as well. Not sure. There is also NSCA which I have not had a lot of luck with except when configuring remote nagios systems to report into a central Nagios Box, or distributed nagios implementations. Links to NRPE and NSCA are provided at the Nagios site http://www.nagios.org/download/ >>-----Original Message----- >>From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >>bounces at lists.sourceforge.net] On Behalf Of Vasiliy Boulytchev >>Sent: Thursday, August 17, 2006 2:22 PM >>To: Nagios Users Mailinglist >>Subject: Re: [Nagios-users] Good Linux and Mac Client >> >> >>OH lol! No NO NO. I meant for the clients running on the hosts being >>monitored :) >> >>I need a client for our Linux environment and our Mac environment, to >>report CPU, mem, disk, swap... and possibly authenticate with the >>monitoring server... >> >>Thanks >> >>hehe >> >>Vasiliy Boulytchev >>vasiliy at linuxspecial.com >> >> >> >>Hugo van der Kooij wrote: >>> On Thu, 17 Aug 2006, Vasiliy Boulytchev wrote: >>> >>> >>>> Ladies and Gents, >>>> Can someone please suggest a good Linux, and a good Mac client for >>>> Nagios? I have been using nagios-statd (python), however, it does not >>>> support any authentication mechanism :( >>>> >>> >>> I would recommend firefox. Perhaps thunderbird for the alert messages. >>> >>> But perhaps you think of something completely different as 'client' of >>> Nagios. But it would be wise to explain how you define a 'client'. >>> >>> Hugo. >>> >>> >> >>---------------------------------------------------------------------- --- >>Using Tomcat but need to do more? Need to support web services, security? >>Get stuff done quickly with pre-integrated technology to make your job >>easier >>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 42 >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >>reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Fri Aug 18 00:00:48 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 18 Aug 2006 10:00:48 +1200 Subject: check_http can't follow redirect properly, no cookies! In-Reply-To: <44E4A7ED.5030908@googlemail.com> References: <44E4A7ED.5030908@googlemail.com> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2141DBF@UXCHANGE3.UoA.auckland.ac.nz> > > Check out the WebInject Nagios plugin. I have it setup to check > > several pages in a secure website and it handles cookies. > It could > > save you the hassle of creating your our script. We use webinject here for precisely this reason, and it works well. It also supports MRTG format output if you need that. I had also written a homegrown plugin that parses the web page to pull out session IDs from URLs and do a bit more magic, but the latest webinject seems to do everything itself now. Steve ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Daniel.Rusch at fotf.org Fri Aug 18 00:24:00 2006 From: Daniel.Rusch at fotf.org (Rusch, Daniel) Date: Thu, 17 Aug 2006 16:24:00 -0600 Subject: Apache2 permission denied error Message-ID: <8514B8AEA269234B82EF64E707E58850099357DC@nahum.mis.fotf.priv> All, I read the manual, the archives, googled etc. System: Apache2 standard Suse 9 enterprise sp3 install We installed nagios 2.5 as per install instructions (BTW I've been using nagios since netsaint days and have installed nagios dozens of times) Apache runs as wwwrun When we try to access the web interface we get the following error: Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server. If you think this is a server error, please contact the webmaster . Error 403 Checking the apache log file I see: [Thu Aug 17 16:08:14 2006] [error] [client 10.30.150.117] (13)Permission denied: file permissions deny server access: /usr/local/nagios/share/index.html The permissions on the share directory are (and all parent directories too, ownership of parent directories change of course): drwxrwxr-x 9 nagios nagios 360 2006-08-17 09:27 share permissions on the index.html file: -rw-rw-r-- 1 nagios nagios 658 2006-08-17 09:15 index.html relevant groups: nagios:!:1001:nagios,wwwrun The Alias in apache for the share directory is: Alias /nagios /usr/local/nagios/share/ Options None AllowOverride AuthConfig #AllowOverride None Order allow,deny Allow from all As can be seen I have tried changing the AllowOverirde directive to no avail Thoughts? Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ratty at they.org Fri Aug 18 00:43:45 2006 From: ratty at they.org (frank) Date: Thu, 17 Aug 2006 15:43:45 -0700 (PDT) Subject: Apache2 permission denied error In-Reply-To: <8514B8AEA269234B82EF64E707E58850099357DC@nahum.mis.fotf.priv> References: <8514B8AEA269234B82EF64E707E58850099357DC@nahum.mis.fotf.priv> Message-ID: SELinux. I don't have a specific resolution for you, but that should point you in the right direction. Curiously, a search for "selinux" or "forbidden" comes up blank in the Nagios FAQ. This is a VERY common configuration error that I see on the list at least 3 times a month. Perhaps a relevant FAQ can be crafted? -f On Thu, 17 Aug 2006, Rusch, Daniel wrote: > Date: Thu, 17 Aug 2006 16:24:00 -0600 > From: "Rusch, Daniel" > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Apache2 permission denied error > > All, > > > > I read the manual, the archives, googled etc. > > > > System: > > > > Apache2 standard Suse 9 enterprise sp3 install > > > > We installed nagios 2.5 as per install instructions (BTW I've been using > nagios since netsaint days and have installed nagios dozens of times) > > > > Apache runs as wwwrun > > > > When we try to access the web interface we get the following error: > > > > > Access forbidden! > > > You don't have permission to access the requested object. It is either > read-protected or not readable by the server. > > If you think this is a server error, please contact the webmaster > . > > > Error 403 > > > Checking the apache log file I see: > > > > [Thu Aug 17 16:08:14 2006] [error] [client 10.30.150.117] (13)Permission > denied: file permissions deny server access: > /usr/local/nagios/share/index.html > > > > > > The permissions on the share directory are (and all parent directories > too, ownership of parent directories change of course): > > > > drwxrwxr-x 9 nagios nagios 360 2006-08-17 09:27 share > > > > permissions on the index.html file: > > > > -rw-rw-r-- 1 nagios nagios 658 2006-08-17 09:15 index.html > > > > > > > > relevant groups: > > > > nagios:!:1001:nagios,wwwrun > > > > The Alias in apache for the share directory is: > > > > Alias /nagios /usr/local/nagios/share/ > > > > Options None > > AllowOverride AuthConfig > > #AllowOverride None > > Order allow,deny > > Allow from all > > > > > > As can be seen I have tried changing the AllowOverirde directive to no > avail > > > > > > Thoughts? > > > > Dan > > > > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl.kornel at mindspeed.com Fri Aug 18 02:14:53 2006 From: karl.kornel at mindspeed.com (karl.kornel at mindspeed.com) Date: Thu, 17 Aug 2006 17:14:53 -0700 Subject: BUG? Segfault & coredump with scheduled downtime, downtime scheduled horked Message-ID: Dear fellow Nagios users, Ever since downloading my first Nagios tarball (2.0rc2), and continuing to version 2.5, I have been noticing a big problem with downtimes. It appears that if there are more than a couple of downtimes scheduled, Nagios will crash partway through the list. This is a really big problem, for several reasons: I've written a tool that automatically schedules recurring downtime. It integrated into the Nagios web site, and anyone with access to schedule downtime for a host/service can schedule recurring downtime, and see the other recurring downtimes that have been scheduled by their fellow contacts. I want to release it publicly, but I can't finish testing because of Nagios crashing (several downtimes a day == one crash per day). On a different note, this (Nagios) was the first open-source tool to become widespread in our IT department. I'd like Nagios to continue to gain acceptance in our group (most of whom are SAP/Oracle/Windows/etc.), and this problem doesn't help. I don't want to look like I'm barging in and saying "Fix this!", so I brought some stuff along with me, and I did what I could to diagnose the problem. First of all, I have two core files. When I installed Nagios, I used the 'install-unstripped' target, so these core files, and my copy of Nagios, include debugging symbols. Here's what the backtrace looks like from the most recent coredump: (gdb) bt #0 0x00002aaaab20dd20 in strlen () from /lib/libc.so.6 #1 0x000000000042866f in hashfunc2 ( name1=0x44e4f697
, name2=0x4e202c6900000000
, hashslots=1024) at utils.c:4285 #2 0x0000000000437d15 in find_service ( host_name=0x44e4f697
, svc_desc=0x4e202c6900000000
) at ../common/objects.c:5016 #3 0x00000000004518cf in handle_scheduled_downtime (temp_downtime=0xfe6500) at ../common/downtime.c:311 #4 0x000000000042130e in handle_timed_event (event=0x722320) at events.c:1289 #5 0x0000000000421893 in event_execution_loop () at events.c:964 #6 0x000000000040eeb2 in main (argc=Variable "argc" is not available. ) at nagios.c:710 (gdb) I tried to look through the code, and the coredump, and the most I could determine is this: It looks like the scheduled downtime event struct was corrupted at some point during its life in the high-priority event queue (for one thing, between the time Nagios was started and the time it crashed, no more than 10 downtimes had ever been scheduled, yet the downtime ID is 81, and no downtime had ever been scheduled that was 2072 hours long): (gdb) frame 3 #3 0x00000000004518cf in handle_scheduled_downtime (temp_downtime=0xfe6500) at ../common/downtime.c:311 311 svc=find_service(temp_downtime->host_name,temp_downtime->service_description); (gdb) print *temp_downtime $1 = {type = 0, host_name = 0x44e4f697
, service_description = 0x4e202c6900000000
, entry_time = 0, start_time = 2334111869775642625, end_time = 0, fixed = 6488400, triggered_by = 0, duration = 7459712, downtime_id = 81, author = 0x2aaa00000000
, comment = 0x44e4f6bf
, comment_id = 0, is_in_effect = 0, start_flex_downtime = 0, incremented_pending_downtime = 1, next = 0x0} (gdb) So, I've got two coredumps. When the second coredump took place, and before restarting Nagios, I tarballed the entire Nagios directory, including all log files, cache files, etc.. I don't know if the object cache or downtimes data files would be of any help, but I've got them in storage. So, what else? Well, I've looked at the event log for today, and I did notice something weird: My recurring downtime scheduler schedules the day's downtimes every day at midnight, writing commands out to the Nagios command socket. The event logs record receiving 6 SCHEDULE_SVC_DOWNTIME commands, which is correct. The first downtime started correctly, and ended correctly. However (here's the weird part), the other downtimes started at the exact same moment the first downtime ended. Even more weird, the second, third, and fourth downtimes ended when they should have started. Here's all of the downtime-related entries from the event log, with the time values converted into readable dates/times: [2006-08-15 00:11:29] EXTERNAL COMMAND: SCHEDULE_SVC_DOWNTIME;szlnmail1.shenzhen;CPU;[Tue Aug 15 17:55:00 2006];[ Tue Aug 15 19:30:00 2006];1;0;0;kornelak;Weekday backup. [2006-08-15 00:11:29] EXTERNAL COMMAND: SCHEDULE_SVC_DOWNTIME;shenzhendc1.shenzhen;CPU;[Tue Aug 15 14:55:00 2006] ;[Tue Aug 15 16:00:00 2006];1;0;0;kornelak;Daily backup [2006-08-15 00:11:29] EXTERNAL COMMAND: SCHEDULE_SVC_DOWNTIME;westborod2.westboro;CPU;[Tue Aug 15 14:55:00 2006];[ Tue Aug 15 16:00:00 2006];1;0;0;kornelak;Daily Backup [2006-08-15 00:11:29] EXTERNAL COMMAND: SCHEDULE_SVC_DOWNTIME;westborom2.westboro;CPU;[Tue Aug 15 15:55:00 2006];[ Tue Aug 15 18:30:00 2006];1;0;0;kornelak;Daily backup [2006-08-15 00:11:29] EXTERNAL COMMAND: SCHEDULE_SVC_DOWNTIME;hillsborom1.hillsboro;CPU;[Tue Aug 15 22:55:00 2006] ;Tue Aug 15 23:15:00 2006;1;0;0;kornelak;Daily Backup [2006-08-15 00:11:29] EXTERNAL COMMAND: SCHEDULE_SVC_DOWNTIME;sophiad1.nice;CPU;[Tue Aug 15 07:55:00 2006];[Tue Aug 15 09:30:00 2006];1;0;0;kornelak;Daily Backup [2006-08-15 07:55:03] SERVICE DOWNTIME ALERT: sophiad1.nice;CPU;STARTED; Service has entered a period of scheduled downtime [2006-08-15 09:30:09] SERVICE DOWNTIME ALERT: sophiad1.nice;CPU;STOPPED; Service has exited from a period of scheduled downtime [2006-08-15 09:30:09] SERVICE DOWNTIME ALERT: shenzhendc1.shenzhen;CPU;STARTED; Service has entered a period of scheduled downtime [2006-08-15 09:30:09] SERVICE DOWNTIME ALERT: westborod2.westboro;CPU;STARTED; Service has entered a period of scheduled downtime [2006-08-15 09:30:09] SERVICE DOWNTIME ALERT: westborom2.westboro;CPU;STARTED; Service has entered a period of scheduled downtime [2006-08-15 09:30:09] SERVICE DOWNTIME ALERT: szlnmail1.shenzhen;CPU;STARTED; Service has entered a period of scheduled downtime [2006-08-15 09:30:09] SERVICE DOWNTIME ALERT: hillsborom1.hillsboro;CPU;STARTED; Service has entered a period of scheduled downtime [2006-08-15 14:55:00] SERVICE DOWNTIME ALERT: shenzhendc1.shenzhen;CPU;STOPPED; Service has exited from a period of scheduled downtime [2006-08-15 14:55:00] SERVICE DOWNTIME ALERT: westborod2.westboro;CPU;STOPPED; Service has exited from a period of scheduled downtime [2006-08-15 15:55:02] SERVICE DOWNTIME ALERT: westborom2.westboro;CPU;STOPPED; Service has exited from a period of scheduled downtime Nagios crashed at 2006-08-15 16:00, which happens to be the times that the westborod2.westboro->CPU and westborod2.westboro->CPU downtimes were supposed to end. Notice how Nagios was fine until sophiad1.nice came out of downtime, and suddenly everything else went into downtime! So, that's all I've got. Hopefully it's enough for someone to run with it and figure out what's going on. Up to now I've been running Nagios 2.5. At the time this email goes out, I'll be running the version of Nagios in CVS (copied from the daily tarball). I'll let you know if the version in CVS works, but for now I'm going to assume that it does not. Hopefully this is the right place to ask for help (and to ask if anyone else has seen this behavior). I'd be happy to resubmit this info somewhere else, if needed. Thanks in advance for your help! -- A. Karl Kornel, Mindspeed Technologies, Inc. karl.kornel at mindspeed.com -- (949) 579-3503 "Remember the Rules: Separation & Optimization" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Aug 18 03:32:46 2006 From: marc at ena.com (Marc Powell) Date: Thu, 17 Aug 2006 20:32:46 -0500 Subject: Apache2 permission denied error Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of frank > Sent: Thursday, August 17, 2006 5:44 PM > To: Rusch, Daniel > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Apache2 permission denied error > > > SELinux. I don't have a specific resolution for you, but that should point > you in the right direction. > > Curiously, a search for "selinux" or "forbidden" comes up blank in the > Nagios FAQ. This is a VERY common configuration error that I see on the > list at least 3 times a month. Perhaps a relevant FAQ can be crafted? I agree. I had asked if anyone that was familiar with SELinux was interested in submitting a FAQ entry but I don't see any bites. There are some posts in the archive with various policies but I haven't used SELinux enough to know what's a good policy. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From d.bolderman at gmail.com Fri Aug 18 12:01:15 2006 From: d.bolderman at gmail.com (D.J. Bolderman) Date: Fri, 18 Aug 2006 12:01:15 +0200 Subject: sms_client: In Nagios 1.4 it works, but not in 2.5 ? Message-ID: All, At the moment I have Nagios 1.4 running and sending out sms alerts when necessary. This works OK. I installed Nagios 2.5 today (debian unstable) and found out the sms alerts are not being sent anymore. The event log in Nagios shows that the plug in times out. When I turn on logging on the sms_client, I can see that the connection with my sms provider is made. It makes a few choices in their menu, but after that it shows "Waiting for message prompt" (ofcourse this is provider specific). And then it times out. When I go back to 1.4, it works again. In Nagios 2.5 I am using the same misccommands.cfg as 1.4, so I'm a bit unsure where the problem is... Anyone experienced the same during their upgrade from 1.4 to 2.5 ? Thanks ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Bergei at ergo.no Fri Aug 18 12:35:45 2006 From: Andre.Bergei at ergo.no (Andre Bergei) Date: Fri, 18 Aug 2006 12:35:45 +0200 Subject: sms_client: In Nagios 1.4 it works, but not in 2.5 ? In-Reply-To: References: Message-ID: <1155897345.9534.23.camel@localhost> On Fri, 2006-08-18 at 12:01 +0200, D.J. Bolderman wrote: > All, > > At the moment I have Nagios 1.4 running and sending out sms alerts > when necessary. This works OK. > > I installed Nagios 2.5 today (debian unstable) and found out the sms > alerts are not being sent anymore. > > The event log in Nagios shows that the plug in times out. When I turn > on logging on the sms_client, I can see that the connection with my > sms provider is made. It makes a few choices in their menu, but after > that it shows "Waiting for message prompt" (ofcourse this is provider > specific). And then it times out. When I go back to 1.4, it works > again. > > In Nagios 2.5 I am using the same misccommands.cfg as 1.4, so I'm a > bit unsure where the problem is... > > Anyone experienced the same during their upgrade from 1.4 to 2.5 ? > > Thanks Hi. Some of the macros has changed in 2.x Check out the macros in your misccommands.cfg against the macros in 2.x http://nagios.sourceforge.net/docs/2_0/macros.html cheers /andr? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From khaled at ipbill.com Fri Aug 18 13:27:52 2006 From: khaled at ipbill.com (Khaled Hussain) Date: Fri, 18 Aug 2006 12:27:52 +0100 Subject: how to change plugin timeout option Message-ID: Hi list, I understand that on average a service takes less than 10 seconds to execute and that, according to the docs, "most plugins timeout after 10 seconds...", but I cannot find the setting for this variable. A service check is returning a "Plugin timed out after 10 seconds" error. Please can someone tell me where this timeout setting can be found and altered. Kind Regards Khaled ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From d.bolderman at gmail.com Fri Aug 18 13:55:53 2006 From: d.bolderman at gmail.com (D.J. Bolderman) Date: Fri, 18 Aug 2006 13:55:53 +0200 Subject: sms_client: In Nagios 1.4 it works, but not in 2.5 ? In-Reply-To: <1155897345.9534.23.camel@localhost> References: <1155897345.9534.23.camel@localhost> Message-ID: > > At the moment I have Nagios 1.4 running and sending out sms alerts > > when necessary. This works OK. > > > > I installed Nagios 2.5 today (debian unstable) and found out the sms > > alerts are not being sent anymore. > > > > In Nagios 2.5 I am using the same misccommands.cfg as 1.4, so I'm a > > bit unsure where the problem is... > > > > Anyone experienced the same during their upgrade from 1.4 to 2.5 ? > > > > Thanks > > Hi. > > Some of the macros has changed in 2.x > > Check out the macros in your misccommands.cfg against the macros in 2.x > > http://nagios.sourceforge.net/docs/2_0/macros.html Thanks. I found out that $OUTPUT$ is not valid anymore. I had to specify $SERVICEOUTPUT$ and $HOSTOUTPUT$. In the Nagios events I can see that the message is now correct, but it still times out [2006-08-18 13:47:32] Warning: Contact 'dick_sms' host notification command '/usr/bin/sms_client -q kpn:xxxxxxxxx 'RECOVERY: server is UP (PING OK - Packet loss = 0%, RTA = 0.22 ms)' -l 4' timed out after 30 seconds In my misccommands.cfg: define command{ command_name host-notify-by-sms command_line /usr/bin/sms_client -q kpn:xxxxxxx '$NOTIFICATIONTYPE$: $HOSTNAME$ is $HOSTSTATE$ ($HOSTOUTPUT$)' -l 4 } Any other ideas would be appreciated. Regards, Dick ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Bergei at ergo.no Fri Aug 18 14:31:09 2006 From: Andre.Bergei at ergo.no (Andre Bergei) Date: Fri, 18 Aug 2006 14:31:09 +0200 Subject: sms_client: In Nagios 1.4 it works, but not in 2.5 ? In-Reply-To: References: <1155897345.9534.23.camel@localhost> Message-ID: <1155904269.9534.37.camel@localhost> On Fri, 2006-08-18 at 13:55 +0200, D.J. Bolderman wrote: > In the Nagios events I can see that the message is now correct, but it > still times out > > [2006-08-18 13:47:32] Warning: Contact 'dick_sms' host notification > command '/usr/bin/sms_client -q kpn:xxxxxxxxx 'RECOVERY: server is UP > (PING OK - Packet loss = 0%, RTA = 0.22 ms)' -l 4' timed out after 30 > seconds > > In my misccommands.cfg: > > define command{ > command_name host-notify-by-sms > command_line /usr/bin/sms_client -q kpn:xxxxxxx > '$NOTIFICATIONTYPE$: $HOSTNAME$ is $HOSTSTATE$ ($HOSTOUTPUT$)' -l 4 > } Just a long shot: How long does it take to run sms_client? Seems like Nagios kills it after 30 seconds, maybe you have longer notification timeout in your Nagios-1.x config file. /andr? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Zimmer at oppenheim.de Fri Aug 18 15:13:50 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Fri, 18 Aug 2006 15:13:50 +0200 Subject: how to change plugin timeout option Message-ID: Did you have a look at the posts from yesterday? Did you search the archives? Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Internet: http://www.oppenheim.de -----Urspr?ngliche Nachricht----- Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von Khaled Hussain Gesendet: Freitag, 18. August 2006 13:28 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] how to change plugin timeout option Hi list, I understand that on average a service takes less than 10 seconds to execute and that, according to the docs, "most plugins timeout after 10 seconds...", but I cannot find the setting for this variable. A service check is returning a "Plugin timed out after 10 seconds" error. Please can someone tell me where this timeout setting can be found and altered. Kind Regards Khaled ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: Zimmer, Thomas (Produktservices und Betrieb).vcf Type: text/x-vcard Size: 264 bytes Desc: Zimmer, Thomas (Produktservices und Betrieb).vcf URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Fri Aug 18 16:35:05 2006 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Fri, 18 Aug 2006 10:35:05 -0400 (EDT) Subject: check_ping and source address In-Reply-To: <2b36e660607050224g44f2899t4ccc6cbd8f580603@mail.gmail.com> References: <2b36e660607050206j38c8c6eciaca1f5660f460dc7@mail.gmail.com> <9A625B5C-C4EE-42FA-A496-005BB02DF724@altinity.com> <2b36e660607050224g44f2899t4ccc6cbd8f580603@mail.gmail.com> Message-ID: <20060818101629.Q2817@arbitor.digitalfreaks.org> >> Ben, >> >> There is a patch that has been submitted on SF for this >> functionality: https://sourceforge.net/tracker/index.php? >> func=detail&aid=1499641&group_id=29880&atid=397599 >> >> Unfortunately, this will not be applied into the main plugin code >> because it is too painful to parse through all the different >> distributions of ping to see if the source address option is supported. This is the result of the design decision to write a C-wrapper around a userland binary and except the output to be in a unified, machine independent format. I think we're kind of kidding ourselves suggesting that code of that nature isn't going to get ugly. #IFDEF is your friend. Talk to the Net-SNMP people. They've mastered the art of platform-independent C on POSIX systems. > Cheers for the reply Ton, yes, it probably isnt the best way to do it, > im using FreeBSD and ping on there takes -S for source address, -l is > preload. Right on FreeBSD it's -S, but they also have a -I of iface, as if you could ask your system to source traffic from an address not local to an source interface, or if you have multiple interfaces in the same subnet. On NetBSD the option is "-I" ifaddr, no -S + I, On OpenBSD it is "-I" On Solaris it's "-i" On Ultrix it's "-r" On Darwin it's "-i" from FreeBSD 4.11 The option is not supported on OpenDarwin The option is not supported on HFUX 11x On AIX it's "-i" On Linux its anyone's guess because there are 5000 distributions and they refuse to centralize source code repositories for many userland binaries, insisting, instead, on maintaining local patches and refusing to feed them patches upstream. RHL9 is "-I" Suse 10 is "-I" Slackware does not support the option Who really cares about the rest? They can maintain local patches ...that what they're most proficient at >:} ~BAS >> However, it is very useful functionality. If you can provide a patch >> for check_icmp (the pure C implementation of check_ping), we would >> definitely re-evaluate it. > > A bit beyond my knowledge im afraid, but it does sound like other > people would find it useful if anyone manages to code something up ;-) > > Ben >> >> Ton >> >> http://www.altinity.com >> T: +44 (0)870 787 9243 >> F: +44 (0)845 280 1725 >> Skype: tonvoon >> >> >> >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > -- > "A Scientist will earn a living by taking a really difficult problem > and spends many years solving it, an engineer earns a living by > finding really difficult problems and side stepping them" > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) "...back in the heady days when "Helpdesk" meant nothing, "diskquota" meant everything, and lives could be bought and sold for a couple of pages of laser printout - And frequently were." ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at GMxTechnologies.com Fri Aug 18 18:08:56 2006 From: nagios at GMxTechnologies.com (Samuel P Howard) Date: Fri, 18 Aug 2006 10:08:56 -0600 Subject: Can you define an empty hostgroup? In-Reply-To: <44E3D812.3090001@gmxtechnologies.com> References: <44E3B464.3000004@pragmeta.com> <44E3D812.3090001@gmxtechnologies.com> Message-ID: <44E5E618.6070504@gmxtechnologies.com> Hi. Sounds like an odd question, but can you define an empty hostgroup? Here's why. Trying to follow one of the ideas in the "Time Saving Tricks" page of the docs, I am adding each host to the hostgroup in the "host" definition ... this makes it a lot easier for me to automate the creating of new hosts ... problem is, if I don't pre-define the hostgroup, it doesn't pass the pre-flight check. If I do try to define the hostgroup, I need to give it a hostname, which I don't have because it will depend on which hosts are already defined (and thus adding themselves to the hostgroup). The only work around I've found is to put one host in the hostgroup as an anchor, but if that host ever gets removed from the monitoring, the pre-flight check will fail and the system won't reload the config (and the customers will be very confused why their changes aren't working anymore). Any ideas? Thanks, Sam ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeekay at gmail.com Fri Aug 18 18:08:53 2006 From: jeekay at gmail.com (Jee Kay) Date: Fri, 18 Aug 2006 17:08:53 +0100 Subject: Can you define an empty hostgroup? In-Reply-To: <44E5E618.6070504@gmxtechnologies.com> References: <44E3B464.3000004@pragmeta.com> <44E3D812.3090001@gmxtechnologies.com> <44E5E618.6070504@gmxtechnologies.com> Message-ID: register 0 On 18/08/06, Samuel P Howard wrote: > Hi. > > Sounds like an odd question, but can you define an empty hostgroup? > > Here's why. > > Trying to follow one of the ideas in the "Time Saving Tricks" page of > the docs, I am adding each host to the hostgroup in the "host" > definition ... this makes it a lot easier for me to automate the > creating of new hosts ... problem is, if I don't pre-define the > hostgroup, it doesn't pass the pre-flight check. > > If I do try to define the hostgroup, I need to give it a hostname, which > I don't have because it will depend on which hosts are already defined > (and thus adding themselves to the hostgroup). > > The only work around I've found is to put one host in the hostgroup as > an anchor, but if that host ever gets removed from the monitoring, the > pre-flight check will fail and the system won't reload the config (and > the customers will be very confused why their changes aren't working > anymore). > > Any ideas? > > Thanks, > Sam > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Aug 18 18:57:10 2006 From: marc at ena.com (Marc Powell) Date: Fri, 18 Aug 2006 11:57:10 -0500 Subject: Can you define an empty hostgroup? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Samuel P Howard > Sent: Friday, August 18, 2006 11:09 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Can you define an empty hostgroup? > > Hi. > > Sounds like an odd question, but can you define an empty hostgroup? > > Here's why. > > Trying to follow one of the ideas in the "Time Saving Tricks" page of > the docs, I am adding each host to the hostgroup in the "host" > definition ... this makes it a lot easier for me to automate the > creating of new hosts ... problem is, if I don't pre-define the > hostgroup, it doesn't pass the pre-flight check. > > If I do try to define the hostgroup, I need to give it a hostname, which > I don't have because it will depend on which hosts are already defined > (and thus adding themselves to the hostgroup). > > The only work around I've found is to put one host in the hostgroup as > an anchor, but if that host ever gets removed from the monitoring, the > pre-flight check will fail and the system won't reload the config (and > the customers will be very confused why their changes aren't working > anymore). Each defined hostgroup must have at least one member, either within the hostgroup{} definition itself or in by way of the hostgroups field in the host{} definition. I encountered the same issue with our automated config generation and created an anchor host that was never checked and assigned to those hostgroups that would intermittently have real hosts. The proper solution is to track which hostgroups have active members and then create them as needed. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at GMxTechnologies.com Fri Aug 18 19:06:39 2006 From: nagios at GMxTechnologies.com (Samuel P Howard) Date: Fri, 18 Aug 2006 11:06:39 -0600 Subject: Can you define an empty hostgroup? In-Reply-To: References: Message-ID: <44E5F39F.6080901@gmxtechnologies.com> > Each defined hostgroup must have at least one member, either within the > hostgroup{} definition itself or in by way of the hostgroups field in > the host{} definition. I encountered the same issue with our automated > config generation and created an anchor host that was never checked and > assigned to those hostgroups that would intermittently have real hosts. > The proper solution is to track which hostgroups have active members and > then create them as needed. > > -- > Marc I had hoped that creating a host definition with the hostgroups line would autocreate the hostgroup, but it gives an error on the pre-flight. Is this a bug then? Thanks, Sam ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.hedegaard at trustcommerce.com Fri Aug 18 20:44:28 2006 From: christian.hedegaard at trustcommerce.com (Christian Hedegaard) Date: Fri, 18 Aug 2006 11:44:28 -0700 Subject: regular expression matching. Message-ID: <44E60A8C.3000301@trustcommerce.com> The Nagios documentation relating to the "regular expression" matching seems very thin to me. And not quite clear. It appears, by example, that the only regular expressions you can use are "*" and "?", which I would just consider wildcard matching and not regular expressions. Regardless, can anything else be used as far as these "regular expressions" are concerned? The documentation uses the examples of "host *", and I am assuming that I can do something like "host *-edu" or "host tc-??-00". And can these regular expressions be used everywhere in the configs? For instance, we have an 110K escalations config file that could in theory be reduced to just: define serviceescalation{ host_name * service_description * first_notification 3 last_notification 0 contact_groups on-duty-pagers,off-duty-pagers,operations-email notification_interval 30 } Right now we have one unique entry for every service_description on every host_name. So is the above correct? would that work? can anything at all be used besides "*" and "?" for matching? Thanks! P.S. Are there any plans to clarify the documentation in this regards? -- Christian Hedegaard-Schou Sr. Systems Administrator TrustCommerce 2 Park Plaza, Suite 350 Irvine, CA 92614 (949) 387 - 3747 christian.hedegaard at trustcommerce.com http://www.trustcommerce.com/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmblue at gmail.com Fri Aug 18 21:09:30 2006 From: tmblue at gmail.com (Tory M Blue) Date: Fri, 18 Aug 2006 12:09:30 -0700 Subject: Web transaction checker Message-ID: <8a547c840608181209w13d5e4dav2fd04354f2741e25@mail.gmail.com> Anyone succesfully deploy a url transaction checker. Something that will enter data into a field and varify the results (user/pass etc?) I see Nagios-WebTransact But having a hardtime fully grasping how to use it. Anyone have anything currently in use that I can cheat off? My trans check is fairly straight forward get url post formdata user=user, pass=pass, verify that you see "log out" get url/logout, verify that you see "user login" Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david_price at byu.edu Fri Aug 18 21:25:20 2006 From: david_price at byu.edu (David Price) Date: Fri, 18 Aug 2006 13:25:20 -0600 Subject: Web transaction checker In-Reply-To: <8a547c840608181209w13d5e4dav2fd04354f2741e25@mail.gmail.com> References: <8a547c840608181209w13d5e4dav2fd04354f2741e25@mail.gmail.com> Message-ID: <44E61420.40903@byu.edu> Tory, Try WebInject. (http://www.webinject.org/plugin.html) I have it setup to log into a website through a form and check that the logon was successful and that a certain string exists on the page. This is the third time this week that I have suggested this tool for checking web sites. Considering how flexible the program is, I'm surprised that more people are not using it. Hope this helps, David Price Tory M Blue wrote: > Anyone succesfully deploy a url transaction checker. > > Something that will enter data into a field and varify the results > (user/pass etc?) > > I see > > Nagios-WebTransact > > > But having a hardtime fully grasping how to use it. Anyone have > anything currently in use that I can cheat off? > > My trans check is fairly straight forward > get url > post formdata user=user, pass=pass, verify that you see "log out" > get url/logout, verify that you see "user login" > > Thanks > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smiller at co.slo.ca.us Fri Aug 18 21:44:17 2006 From: smiller at co.slo.ca.us (smiller at co.slo.ca.us) Date: Fri, 18 Aug 2006 12:44:17 -0700 Subject: regular expression matching. In-Reply-To: <44E60A8C.3000301@trustcommerce.com> References: <44E60A8C.3000301@trustcommerce.com> Message-ID: I am also interested in hearing more about this... I had no luck trying to use forward assertions in order to omit a few select hosts from a service definition. Thank you, Christian. --- Steve Miller Network Engineer Information Technology Department County of San Luis Obispo 805-781-5097 Christian Hedegaard Sent by: nagios-users-bounces at lists.sourceforge.net 08/18/2006 11:44 AM To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] regular expression matching. The Nagios documentation relating to the "regular expression" matching seems very thin to me. And not quite clear. It appears, by example, that the only regular expressions you can use are "*" and "?", which I would just consider wildcard matching and not regular expressions. Regardless, can anything else be used as far as these "regular expressions" are concerned? The documentation uses the examples of "host *", and I am assuming that I can do something like "host *-edu" or "host tc-??-00". And can these regular expressions be used everywhere in the configs? For instance, we have an 110K escalations config file that could in theory be reduced to just: define serviceescalation{ host_name * service_description * first_notification 3 last_notification 0 contact_groups on-duty-pagers,off-duty-pagers,operations-email notification_interval 30 } Right now we have one unique entry for every service_description on every host_name. So is the above correct? would that work? can anything at all be used besides "*" and "?" for matching? Thanks! P.S. Are there any plans to clarify the documentation in this regards? -- Christian Hedegaard-Schou Sr. Systems Administrator TrustCommerce 2 Park Plaza, Suite 350 Irvine, CA 92614 (949) 387 - 3747 christian.hedegaard at trustcommerce.com http://www.trustcommerce.com/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.hedegaard at trustcommerce.com Fri Aug 18 22:05:57 2006 From: christian.hedegaard at trustcommerce.com (Christian Hedegaard) Date: Fri, 18 Aug 2006 13:05:57 -0700 Subject: regular expression matching. In-Reply-To: <44E60A8C.3000301@trustcommerce.com> References: <44E60A8C.3000301@trustcommerce.com> Message-ID: <44E61DA5.6030803@trustcommerce.com> > define serviceescalation{ > host_name * > service_description * > first_notification 3 > last_notification 0 > contact_groups > on-duty-pagers,off-duty-pagers,operations-email > notification_interval 30 > } Well, the above example DOES NOT WORK. I'm trying very hard to understand why. Here are the error(s) that nagios gives: Error: Could not find any host matching '*' Error: Could not expand hostgroups and/or hosts specified in service escalation I have plenty of hosts defined, so why wouldn't the regular expression "*" match them? Thanks. -- Christian Hedegaard-Schou Sr. Systems Administrator TrustCommerce 2 Park Plaza, Suite 350 Irvine, CA 92614 (949) 387 - 3747 christian.hedegaard at trustcommerce.com http://www.trustcommerce.com/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdaily at apparatus.net Fri Aug 18 22:35:24 2006 From: jdaily at apparatus.net (John R. Daily) Date: Fri, 18 Aug 2006 16:35:24 -0400 Subject: regular expression matching. In-Reply-To: <44E61DA5.6030803@trustcommerce.com> References: <44E60A8C.3000301@trustcommerce.com> <44E61DA5.6030803@trustcommerce.com> Message-ID: <1CD19880-8CCE-4430-9207-CF18CBFB0815@apparatus.net> "*" is not a valid regular expression (the docs are wrong, IIRC). You want ".*", like: >> host_name .* -John On Aug 18, 2006, at 4:05 PM, Christian Hedegaard wrote: > >> define serviceescalation{ >> host_name * >> service_description * >> first_notification 3 >> last_notification 0 >> contact_groups >> on-duty-pagers,off-duty-pagers,operations-email >> notification_interval 30 >> } > > > Well, the above example DOES NOT WORK. I'm trying very hard to > understand why. Here are the error(s) that nagios gives: > > Error: Could not find any host matching '*' > Error: Could not expand hostgroups and/or hosts specified in service > escalation > > I have plenty of hosts defined, so why wouldn't the regular expression > "*" match them? > > Thanks. > > -- > Christian Hedegaard-Schou > Sr. Systems Administrator > TrustCommerce > 2 Park Plaza, Suite 350 > Irvine, CA 92614 > (949) 387 - 3747 > christian.hedegaard at trustcommerce.com > http://www.trustcommerce.com/ > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsullivan at opensourcedevel.com Fri Aug 18 22:52:18 2006 From: jsullivan at opensourcedevel.com (John A. Sullivan III) Date: Fri, 18 Aug 2006 16:52:18 -0400 Subject: regular expression matching. In-Reply-To: <44E60A8C.3000301@trustcommerce.com> References: <44E60A8C.3000301@trustcommerce.com> Message-ID: <1155934338.23562.52.camel@localhost> On Fri, 2006-08-18 at 11:44 -0700, Christian Hedegaard wrote: > The Nagios documentation relating to the "regular expression" matching > seems very thin to me. And not quite clear. > > It appears, by example, that the only regular expressions you can use > are "*" and "?", which I would just consider wildcard matching and not > regular expressions. > > Regardless, can anything else be used as far as these "regular > expressions" are concerned? > > The documentation uses the examples of "host *", and I am assuming that > I can do something like "host *-edu" or "host tc-??-00". > > And can these regular expressions be used everywhere in the configs? For > instance, we have an 110K escalations config file that could in theory > be reduced to just: > > define serviceescalation{ > host_name * > service_description * > first_notification 3 > last_notification 0 > contact_groups > on-duty-pagers,off-duty-pagers,operations-email > notification_interval 30 > } > > Right now we have one unique entry for every service_description on > every host_name. > > So is the above correct? would that work? can anything at all be used > besides "*" and "?" for matching? > > Thanks! > > P.S. Are there any plans to clarify the documentation in this regards? > > For all the really good things Nagios does, the regular expression implementation seems to be a bit lacking. We still struggle with why some expressions work and others don't. I believe I read somewhere that the examples are in error -- that if you enable true regular expressions, you would need .* and not *. Here are two examples of what we had to do. Notice that there is a more concise and powerful expression which is commented out. They do not work in Nagios. In fact, if they did, we could reduce our fourteen dependency definitions to two or three. define servicedependency{ dependent_host_name HammondSGGW.niag dependent_service_description ^Tun.*-Chattanooga$, ^Tun.*-Midlothian$ # dependent_service_description ^Tun.*-\(?:Chattanooga|Midlothian\)$ host_name BuffaloSGGW.niag service_description Niagara_SSH execution_failure_criteria c } define servicedependency{ dependent_host_name WessonSGGW.niag,MESSGGW.niag,EnfieldSGGW.niag,GBLongmoreSGGW.niag,HarveySGGW.niag,ManchesterSGGW.niag,NewportSGGW.n # dependent_service_description ^Tun.*-10\.[125]$ dependent_service_description ^Tun.*-Buffalo$, ^Tun.*-Chattanooga$, ^Tun.*-Midlothian$ # dependent_service_description ^Tun.*-Buffalo|Chattanooga|Midlothian$ host_name BuffaloSGGW.niag service_description Niagara_SSH execution_failure_criteria c } -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com Financially sustainable open source development http://www.opensourcedevel.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffwilliams05 at gmail.com Fri Aug 18 23:01:17 2006 From: jeffwilliams05 at gmail.com (Jeff Williams) Date: Fri, 18 Aug 2006 16:01:17 -0500 Subject: escalation/notification question Message-ID: <17e351010608181401m1e860980je3161d83e753559e@mail.gmail.com> If I have a host called viper with the following definitions, I'm wondering why the group admins gets warning notifications for the service "DISK /" after the first notification. To me, these definitions say that admins should get no more than 5 notifications and no warning notifications after the first one. Am I wrong in thinking that? In testing this, the admins group got at least 8 warning notifications. host definition --- define host{ use generic-host host_name viper alias viper address 127.0.0.1 parents localhost check_command check-host-alive notification_interval 0 notification_options d,r notification_period never contact_groups admins } service definition --- define service{ use generic-service host_name viper service_description DISK / is_volatile 0 check_period 24x7 retry_check_interval 1 contact_groups admins notification_interval 5 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_disk1 } escalation definition --- define serviceescalation{ host_name viper service_description DISK / first_notification 2 last_notification 2 notification_interval 5 contact_groups admins escalation_options c,r } define serviceescalation{ host_name viper service_description DISK / first_notification 3 last_notification 4 notification_interval 5 contact_groups admins escalation_options c,r } define serviceescalation{ host_name viper service_description DISK / first_notification 5 last_notification 0 notification_interval 0 contact_groups admins escalation_options c,r } Please let me know if more info is needed. Thanks in advance. Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Aug 18 23:22:57 2006 From: marc at ena.com (Marc Powell) Date: Fri, 18 Aug 2006 16:22:57 -0500 Subject: Can you define an empty hostgroup? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Samuel P Howard > Sent: Friday, August 18, 2006 12:07 PM > To: nagios-users at lists.sourceforge.net > Cc: Marc Powell > Subject: Re: [Nagios-users] Can you define an empty hostgroup? > > > > Each defined hostgroup must have at least one member, either within the > > hostgroup{} definition itself or in by way of the hostgroups field in > > the host{} definition. I encountered the same issue with our automated > > config generation and created an anchor host that was never checked and > > assigned to those hostgroups that would intermittently have real hosts. > > The proper solution is to track which hostgroups have active members and > > then create them as needed. > > > > -- > > Marc > I had hoped that creating a host definition with the hostgroups line > would autocreate the hostgroup, but it gives an error on the > pre-flight. Is this a bug then? No, you must create the skeleton hostgroup as below. It's not a bug, that's how it's designed. It can't auto-create it as the other required hostgroup element, alias, would be unknown. define host { use generic-host host_name tnops-redacted alias Redacted - 4774 address redacted contact_groups tnops hostgroups tnops-williamson,all-middle-tn } define hostgroup { hostgroup_name tnops-williamson alias Williamson Tennessee } define hostgroup { hostgroup_name all-middle-tn alias All Middle Tennessee } -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Aug 18 23:25:25 2006 From: marc at ena.com (Marc Powell) Date: Fri, 18 Aug 2006 16:25:25 -0500 Subject: regular expression matching. Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Christian Hedegaard > Sent: Friday, August 18, 2006 1:44 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] regular expression matching. > > > The Nagios documentation relating to the "regular expression" matching > seems very thin to me. And not quite clear. > > It appears, by example, that the only regular expressions you can use > are "*" and "?", which I would just consider wildcard matching and not > regular expressions. > > Regardless, can anything else be used as far as these "regular > expressions" are concerned? You're probably looking for this option in nagios.cfg -- # "TRUE" REGULAR EXPRESSION MATCHING # This option controls whether or not "true" regular expression # matching takes place in the object config files. This option # only has an effect if regular expression matching is enabled # (see above). If this option is DISABLED, regular expression # matching only occurs if a string contains wildcard characters # (* and ?). If the option is ENABLED, regexp matching occurs # all the time (which can be annoying). # Values: 1 = enable true matching, 0 = disable true matching use_true_regexp_matching=1 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsullivan at opensourcedevel.com Fri Aug 18 23:52:23 2006 From: jsullivan at opensourcedevel.com (John A. Sullivan III) Date: Fri, 18 Aug 2006 17:52:23 -0400 Subject: regular expression matching. In-Reply-To: References: Message-ID: <1155937943.29123.4.camel@localhost> On Fri, 2006-08-18 at 16:25 -0500, Marc Powell wrote: > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Christian Hedegaard > > Sent: Friday, August 18, 2006 1:44 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] regular expression matching. > > > > > > The Nagios documentation relating to the "regular expression" matching > > seems very thin to me. And not quite clear. > > > > It appears, by example, that the only regular expressions you can use > > are "*" and "?", which I would just consider wildcard matching and not > > regular expressions. > > > > Regardless, can anything else be used as far as these "regular > > expressions" are concerned? > > You're probably looking for this option in nagios.cfg -- > > # "TRUE" REGULAR EXPRESSION MATCHING > # This option controls whether or not "true" regular expression > # matching takes place in the object config files. This option > # only has an effect if regular expression matching is enabled > # (see above). If this option is DISABLED, regular expression > # matching only occurs if a string contains wildcard characters > # (* and ?). If the option is ENABLED, regexp matching occurs > # all the time (which can be annoying). > # Values: 1 = enable true matching, 0 = disable true matching > > use_true_regexp_matching=1 Then again, maybe it isn't. The title of this option is accurate but easily misunderstood. It isn't so much about changing how the characters are interpreted, i.e., non-true uses "*" while true uses ".*" but rather where regex interpretation takes place. We leave it disabled because we do not want all of our strings interpreted as regular expressions. Then again, maybe this is why we have found Nagios regex a little inconsistent. I wonder how it delimits a string. I would view: abc.*(?:def|ghi|jkl) as a string but perhaps Nagios thinks the only regex is abc.* -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com Financially sustainable open source development http://www.opensourcedevel.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmblue at gmail.com Sat Aug 19 03:53:03 2006 From: tmblue at gmail.com (Tory M Blue) Date: Fri, 18 Aug 2006 18:53:03 -0700 Subject: escalation/notification question In-Reply-To: <17e351010608181401m1e860980je3161d83e753559e@mail.gmail.com> References: <17e351010608181401m1e860980je3161d83e753559e@mail.gmail.com> Message-ID: <8a547c840608181853v2476ddfpe17164e1312817d5@mail.gmail.com> On 8/18/06, Jeff Williams wrote: > > If I have a host called viper with the following definitions, I'm > wondering why the group admins gets warning notifications for the service > "DISK /" after the first notification. To me, these definitions say that > admins should get no more than 5 notifications and no warning notifications > after the first one. Am I wrong in thinking that? In testing this, the > admins group got at least 8 warning notifications. > > host definition > --- > define host{ > use generic-host > host_name viper > alias viper > address 127.0.0.1 > parents localhost > check_command check-host-alive > notification_interval 0 > notification_options d,r > notification_period never > contact_groups admins > } > > service definition > --- > define service{ > use generic-service > host_name viper > service_description DISK / > is_volatile 0 > check_period 24x7 > retry_check_interval 1 > contact_groups admins > notification_interval 5 > notification_period 24x7 > notification_options w,u,c,r > check_command check_nrpe!check_disk1 > } > > escalation definition > --- > define serviceescalation{ > host_name viper > service_description DISK / > first_notification 2 > last_notification 2 > notification_interval 5 > contact_groups admins > escalation_options c,r > } > define serviceescalation{ > host_name viper > service_description DISK / > first_notification 3 > last_notification 4 > notification_interval 5 > contact_groups admins > escalation_options c,r > } > define serviceescalation{ > host_name viper > service_description DISK / > first_notification 5 > last_notification 0 > notification_interval 0 > contact_groups admins > escalation_options c,r > } > > Please let me know if more info is needed. Thanks in advance. > > Jeff > Umm can we see your contacts and contactgroup configs? Bet admins get warnings there Tory -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at GMxTechnologies.com Sat Aug 19 04:07:31 2006 From: nagios at GMxTechnologies.com (Samuel P Howard) Date: Fri, 18 Aug 2006 20:07:31 -0600 Subject: Can you define an empty hostgroup? In-Reply-To: References: Message-ID: <44E67263.2090707@gmxtechnologies.com> ARG! I had it that way, but must not have had the host defining the hostgroups line yet ... I went around and around and around and never hit the right combination ... sad. OK, now that all of my hosts in each directory have a hostsgroup entry, and my main customer.cfg has the skeleton definition, all is working. What threw me off was in the documentation, "members" is listed as a *required* directive. So, not a bug in the software, but a bug in the documentation (sort of). I tried all sorts of crazy stuff like "members" with no list, "members 0", "members null", etc ... and even had it commented out, just not when a hostgroups line was in a host, apparently. Oh well. Just in case anyone cares, what I've finally done is create a directory structure like this under /usr/local/nagios/etc: client/ {client_name}/ {client_name}.cfg devices/ In the client_name.cfg, I have defined the following stuff specific to each client (prefixed "{client_name}_" to the beginning of the standard section identifier): timeperiod {client_name}_24x7 (in case their version of 24x7 isn't *really* 24x7) commands {client_name}_notify-by-email (so we can customize the e-mail template) {client_name}_host-notify-by-email (so we can customize the e-mail template) {client_name}_check-host-alive (so we can adjust the thresholds) {client_name}_check-ping (so we can adjust the thresholds) contact contactgroup host {client_name}_host (define the generic host on a per-client basis) service {client_name}_ping (so we can adjust the thresholds) hostgroup {define a customer specific hostgroup} Then, in the "devices/" directory, I create 1 file per host (to make it easier to build a web interface to create/remove/modify hosts) with the following: host (include the customer hostgroup from the config above) hostextinfo (with a "notes" link to the cacti site with the host's graphs) I'm sure it will need a bit more tweaking, but I *think* I'm headed in the correct direction. This should let us add additional clients/groups such that they can see only their own stuff, and do some of their own configuration, etc. Thanks! Sam > No, you must create the skeleton hostgroup as below. It's not a bug, > that's how it's designed. It can't auto-create it as the other required > hostgroup element, alias, would be unknown. > > define host { > use generic-host > host_name tnops-redacted > alias Redacted - 4774 > address redacted > contact_groups tnops > hostgroups tnops-williamson,all-middle-tn > } > > define hostgroup { > hostgroup_name tnops-williamson > alias Williamson Tennessee > } > > define hostgroup { > hostgroup_name all-middle-tn > alias All Middle Tennessee > } > > -- > Marc > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Ringe at web.de Sat Aug 19 08:48:23 2006 From: Peter.Ringe at web.de (Peter Ringe) Date: Sat, 19 Aug 2006 08:48:23 +0200 Subject: Web transaction checker In-Reply-To: <8a547c840608181209w13d5e4dav2fd04354f2741e25@mail.gmail.com> References: <8a547c840608181209w13d5e4dav2fd04354f2741e25@mail.gmail.com> Message-ID: <44E6B437.2040303@web.de> Hi Try check_website (http://www.steveshipway.org/software/f_nagios.html) I think its exactly whjat You are looking for, we use it since some month w/o any problems Peter Tory M Blue schrieb: > Anyone succesfully deploy a url transaction checker. > > Something that will enter data into a field and varify the results > (user/pass etc?) > > I see > > Nagios-WebTransact > > > But having a hardtime fully grasping how to use it. Anyone have > anything currently in use that I can cheat off? > > My trans check is fairly straight forward > get url > post formdata user=user, pass=pass, verify that you see "log out" > get url/logout, verify that you see "user login" > > Thanks > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From r.raggi at libero.it Sat Aug 19 19:56:22 2006 From: r.raggi at libero.it (r.raggi at libero.it) Date: Sat, 19 Aug 2006 18:56:22 +0100 Subject: ePN Strange problem with PERL Script Message-ID: HI All I wrote the SNMP plugin in Perl Script and I tested the script from command line and 'mini_epn' with success. When I use the script into NAGIOS Enviroment the script don't function and return the follow error: **ePN /usr/lib/nagios/plugins/check_prova.pl: "Argument "" isn't numeric in division (/) at (eval 6) line 156,". In line 156 there is the easy division operation. Can you help Me? My system is Fedora Core 4 Nagios 2.5 Thank you Riccardo RAGGI IT Consultant ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmblue at gmail.com Sat Aug 19 20:02:14 2006 From: tmblue at gmail.com (Tory M Blue) Date: Sat, 19 Aug 2006 11:02:14 -0700 Subject: ePN Strange problem with PERL Script In-Reply-To: References: Message-ID: <8a547c840608191102k1446b70chb8754b60e1b19889@mail.gmail.com> Top posting.. Put it in a shell wrapper. so that Nagios calls it as a shell script vs a perl script, should solve your problem Tory On 8/19/06, r.raggi at libero.it wrote: > > HI All > > I wrote the SNMP plugin in Perl Script and I tested the script from > command > line and 'mini_epn' with success. > When I use the script into NAGIOS Enviroment the script don't function and > return the follow error: > > **ePN /usr/lib/nagios/plugins/check_prova.pl: "Argument "" isn't numeric > in > division (/) at (eval 6) line 156,". > > In line 156 there is the easy division operation. > > Can you help Me? > > My system is > > Fedora Core 4 > Nagios 2.5 > > Thank you > > Riccardo RAGGI > IT Consultant > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmblue at gmail.com Sat Aug 19 20:03:59 2006 From: tmblue at gmail.com (Tory M Blue) Date: Sat, 19 Aug 2006 11:03:59 -0700 Subject: Web transaction checker In-Reply-To: <44E6B437.2040303@web.de> References: <8a547c840608181209w13d5e4dav2fd04354f2741e25@mail.gmail.com> <44E6B437.2040303@web.de> Message-ID: <8a547c840608191103q6f2a10dds5b73720ef131397e@mail.gmail.com> On 8/18/06, Peter Ringe wrote: > > Hi > > Try check_website (http://www.steveshipway.org/software/f_nagios.html) > I think its exactly whjat You are looking for, we use it since some > month w/o any problems > > Peter > > Thanks, I actually was able to write our own that does what I need. similar to what you provided, but it's basic perl Thanks will keep this page in mind, seems to have a variety of stuff -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffwilliams05 at gmail.com Sat Aug 19 20:25:43 2006 From: jeffwilliams05 at gmail.com (Jeff Williams) Date: Sat, 19 Aug 2006 13:25:43 -0500 Subject: escalation/notification question In-Reply-To: <8a547c840608181853v2476ddfpe17164e1312817d5@mail.gmail.com> References: <17e351010608181401m1e860980je3161d83e753559e@mail.gmail.com> <8a547c840608181853v2476ddfpe17164e1312817d5@mail.gmail.com> Message-ID: <17e351010608191125q6e1ab731k862bb377757c3be5@mail.gmail.com> > If I have a host called viper with the following definitions, I'm > > wondering why the group admins gets warning notifications for the service > > "DISK /" after the first notification. To me, these definitions say that > > admins should get no more than 5 notifications and no warning notifications > > after the first one. Am I wrong in thinking that? In testing this, the > > admins group got at least 8 warning notifications. > > > > host definition > > --- > > define host{ > > use generic-host > > host_name viper > > alias viper > > address 127.0.0.1 > > parents localhost > > check_command check-host-alive > > notification_interval 0 > > notification_options d,r > > notification_period never > > contact_groups admins > > } > > > > service definition > > --- > > define service{ > > use generic-service > > host_name viper > > service_description DISK / > > is_volatile 0 > > check_period 24x7 > > retry_check_interval 1 > > contact_groups admins > > notification_interval 5 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command check_nrpe!check_disk1 > > } > > > > escalation definition > > --- > > define serviceescalation{ > > host_name viper > > service_description DISK / > > first_notification 2 > > last_notification 2 > > notification_interval 5 > > contact_groups admins > > escalation_options c,r > > } > > define serviceescalation{ > > host_name viper > > service_description DISK / > > first_notification 3 > > last_notification 4 > > notification_interval 5 > > contact_groups admins > > escalation_options c,r > > } > > define serviceescalation{ > > host_name viper > > service_description DISK / > > first_notification 5 > > last_notification 0 > > notification_interval 0 > > contact_groups admins > > escalation_options c,r > > } > > > > Please let me know if more info is needed. Thanks in advance. > > > > Jeff > > > > Umm can we see your contacts and contactgroup configs? Bet admins get > warnings there > > Tory > Here they are. Everything is intact from how I have it on the server except for the email address. Contactgroup: define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagios } Contacts: define contact{ contact_name nagios alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email email at domain.com } Yes admins should get warnings, but since the escalation file says only go past original notification for critical and recovery, shouldn't I just get 1 warning notification or 2 at most? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrickjmannion at gmail.com Sat Aug 19 22:49:55 2006 From: patrickjmannion at gmail.com (Patrick Mannion) Date: Sat, 19 Aug 2006 16:49:55 -0400 Subject: Scaling question for all Message-ID: <44E77973.7020600@gmail.com> My company is currently reevaluating our server monitoring toolset. There are a number of tools on the table for review, as you might expect - CA Unicenter, Microsoft Operations Manager, Tibco Hawk, Nagios, and some home-grown tools. I've been tasked with identifying what would be involved in implementing Nagios there. The environment is large - 10,000 Windows servers and 6,000 Linux/Solaris/Tru64 servers (and a dozen VMS boxes) - a total of 120,000 managed objects in all, from CPUs to processes to filesystems and services, located around the world in seven main locations with connections from dark fiber to 256k leased lines. I know that will mean a distributed Nagios architecture, but I'm not sure just how it should be done. I've seen references to two Nagios boxes configured for fault-tolerance handling about 3,000 objects, and other anecdotes indicating a number closer to 20,000 objects per pair. My question for everyone is three-part - 1) how would you recommend laying this out in Nagios, at a high level; 2) how many objects would you control with a Nagios server maximum; and 3) would you consider running the Nagios servers as virtual machines under either Xen or VMWare? Thanks in advance... ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at inode.co.nz Sun Aug 20 05:37:30 2006 From: jim at inode.co.nz (Jim Cheetham) Date: Sun, 20 Aug 2006 15:37:30 +1200 Subject: Scaling question for all In-Reply-To: <44E77973.7020600@gmail.com> References: <44E77973.7020600@gmail.com> Message-ID: On Aug 20, 2006, at 8:49 AM, Patrick Mannion wrote: > The environment is large - 10,000 Windows servers and 6,000 > Linux/Solaris/Tru64 servers (and a dozen VMS boxes) - a total of > 120,000 > managed objects in all, from CPUs to processes to filesystems and > services, located around the world in seven main locations with > connections from dark fiber to 256k leased lines. At that size, it must surely be tempting to just purchase some other company's toolset, that has well-understood requirements for that size. At least, that's the sort of decision many companies make, which probably explains Tivloi :-) > I know that will mean > a distributed Nagios architecture, but I'm not sure just how it should > be done. Well, think about the rate of alerts for a start. With that number of objects, what alert rate do you expect in normal operations? If you can't pump out alert messages fast enough, it's pointless monitoring them. Also, at that size, a metric telling you how many filesystems are over threshold is useless. Correlation is extremely important instead. What you need to be doing is concentrating on business impact, which means that your monitoring zones should be designed around discrete per-project boundaries (well, as discrete as possible), and each one is capable of presenting an overview to the next layer up. For example, if I'm wanting to know "is Oracle up" I don't need to know if one of a RAID set's disks is down. However, the hardware people need to know about the disks; they're not so concerned with the applications. Split up your environment along project/responsibility lines, into as many small chunks as possible, and for each one have a monitoring solution. Instead of one Nagios with 120000 objects, you'll hopefully end up with a hundred-odd Nagios installs with ~1000 objects in each. Each business unit can look at their own local/dedicated view, and can provide a calculated "business unit status" view to a central overview Nagios. As far as Xen or VMware is concerned, do whatever you need in order to make your monitoring as available as possible; if the motoring does down, so does your knowledge of your own operations. A Xen object can be migrated between hardware platforms without significant downtime IIRC; I expect that VMware ESX can do the same. This allows you to keep the monitors running while doing essential maintenance on their hardware; essential unless you have big iron (by your description you don't). -jim ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From d.bolderman at gmail.com Mon Aug 21 08:06:50 2006 From: d.bolderman at gmail.com (D.J. Bolderman) Date: Mon, 21 Aug 2006 08:06:50 +0200 Subject: sms_client: In Nagios 1.4 it works, but not in 2.5 ? In-Reply-To: <1155904269.9534.37.camel@localhost> References: <1155897345.9534.23.camel@localhost> <1155904269.9534.37.camel@localhost> Message-ID: On 8/18/06, Andre Bergei wrote: > On Fri, 2006-08-18 at 13:55 +0200, D.J. Bolderman wrote: > > > In the Nagios events I can see that the message is now correct, but it > > still times out > > > Just a long shot: > > How long does it take to run sms_client? Seems like Nagios kills it > after 30 seconds, maybe you have longer notification timeout in your > Nagios-1.x config file. Well, this weekend all of a sudden I got 2 sms from nagios, while I didn't change anything. So it seems that 30 seconds is indeed too short to use with my provider. How can I adjust the timeout only for the sms_client command ? For all other things, the 30 second timeout is just fine. Thanks, Dick ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Bergei at ergo.no Mon Aug 21 10:45:07 2006 From: Andre.Bergei at ergo.no (Andre Bergei) Date: Mon, 21 Aug 2006 10:45:07 +0200 Subject: sms_client: In Nagios 1.4 it works, but not in 2.5 ? In-Reply-To: References: <1155897345.9534.23.camel@localhost> <1155904269.9534.37.camel@localhost> Message-ID: <1156149907.9652.5.camel@localhost> On Mon, 2006-08-21 at 08:06 +0200, D.J. Bolderman wrote: > > > > How long does it take to run sms_client? Seems like Nagios kills it > > after 30 seconds, maybe you have longer notification timeout in your > > Nagios-1.x config file. > > How can I adjust the timeout only for the sms_client command ? For all > other things, the 30 second timeout is just fine. > There is just an global timeout for notification, if you got other notification scripts, you have to handle timeouts directly in the script. http://nagios.sourceforge.net/docs/2_0/configmain.html#notification_timeout /andr? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Mon Aug 21 10:50:39 2006 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Mon, 21 Aug 2006 14:20:39 +0530 Subject: Sending SNMP traps to a management host Message-ID: Hi, 1. I have to configure Nagios to send alerts to a management host. These two are connected via VPN. What will be best method to sent nagios alerts to the management host. 2. I thought of sending Nagios alerts as SNMP traps to management host. I have followed the procedure listed below and was not successful. Please suggest me a procedure to configure SNMP traps to management host. Thanks. I have followed the procedure as listed below. Please let me how I can correclty configure SNMP traps to be sent from Nagios to management host Configured Event Handling in Services.cfg define service{ use generic-service ; Name of service template to use host_name test-server service_description SVCS-SERVICES-ITO is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 2 retry_check_interval 1 contact_groups windows-admins notification_interval 90 notification_period 24x7 notification_options c,r event_handler send_trap event_handler_enabled 1 check_command check_nt_service!'AdaptecStorageManagerAgent',Browser,Dfs,Dnscache,Event log,EventSystem,lanmanserver,lanmanworkstation,LmHosts,Messenger,MSDTC,N etlogon,PlugPlay,ProtectedStorage,RasMan,RemoteRegistry,RpcSs,SamSs,Sche dule,seclogon,SENS,TermService,W32Time,WinMgmt,wuauserv,NSClient++,Tomca t5,'DNS',TermService,AeLookupSvc,AppMgmt,BITS,CertSVc,EventSystem,DcomLa unch,ERSvc,Eventlog,NtFrs,HTTPFilter,IISADMIN,RpcSs,SamSs,SENS } Configured Trap handling command in misccommands.cfg # SNMP TRAP EVENT HADNLER define command{ command_name send_trap command_line /usr/local/nagios/libexec/send_trap 192.168.16.11 public $HOSTNAME$ $SERVICEDESC$ $SERVICESTATEID$ $SERVICEOUTPUT$ } Send_Trap script # Arguments: # $1 = Management Station # $2 = Community String # $3 = host_name # $4 = service_description (Description of the service) # $5 = return_code (An integer that determines the state # of the service check, 0=OK, 1=WARNING, 2=CRITICAL, # 3=UNKNOWN). # $6 = plugin_output (A text string that should be used # as the plugin output for the service check) # # /usr/bin/snmptrap -v 2c -c $2 $1 '' NAGIOS-NOTIFY-MIB::nSvcEvent nSvcHostname s "$3" nSvcDesc s "$4" nSvcStateID i $5 nSvcOutput s "$6" When the service fails the event handler script is executing... [1156147494] SERVICE NOTIFICATION: nagios;test-server;SVCS-SERVICES-ITO;OK;notify-by-epager; OK: All services are running. [1156147494] SERVICE NOTIFICATION: nagios;test-server;SVCS-SERVICES-ITO;OK;notify-by-email; OK: All services are running. [1156147494] SERVICE EVENT HANDLER: test-server;SVCS-SERVICES-ITO;OK;HARD;1;send_trap I'm running the snmp trapd as /usr/sbin/snmptrapd -m ALL -M /usr/share/snmp/mibs -c /etc/snmp/snmptrad.conf -u /var/run/snmptrapd.pid However the management host does not receive any alert ? Thanks and Regards, Narendran Neelamegam ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atstake at gmail.com Mon Aug 21 10:59:46 2006 From: atstake at gmail.com (atstake atstake) Date: Mon, 21 Aug 2006 18:59:46 +1000 Subject: plugin upgrade problem Message-ID: <8adc88580608210159x6e1d447q5a91484d6b9d47c6@mail.gmail.com> I am trying to upgrade nagios plugins to v1.4.3 (1.89) on Suse Enterprise Server 9. I need this upgrade as I need the HTTPS check feature ( -S switch ) for check_http. I did - ./configure --exec-prefix=/home/me/nagios/ and also, ./configure --with-openssl=yes --exec-prefix=/home/me/nagios ./configure --with-tls=yes --exec-prefix=/home/me/nagios But everytime the output is - --with-openssl: no --with-gnutls: no Nagios plugins compile fine but I don't get the -S feature in check_http. I have the following OpenSSL and GnuTLS versions installed - gnutls-1.0.8-26.4 openssl-0.9.7d-15.21 Nagios v2.4. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From silencer at free-4ever.net Mon Aug 21 11:04:18 2006 From: silencer at free-4ever.net (Guillaume) Date: Mon, 21 Aug 2006 11:04:18 +0200 Subject: plugin upgrade problem In-Reply-To: <8adc88580608210159x6e1d447q5a91484d6b9d47c6@mail.gmail.com> References: <8adc88580608210159x6e1d447q5a91484d6b9d47c6@mail.gmail.com> Message-ID: <44E97712.4060308@free-4ever.net> atstake atstake a ?crit : > I am trying to upgrade nagios plugins to v1.4.3 (1.89) on Suse > Enterprise Server 9. I need this upgrade as I need the HTTPS check > feature ( -S switch ) for check_http. > > I did - > > ./configure --exec-prefix=/home/me/nagios/ > > and also, > > ./configure --with-openssl=yes --exec-prefix=/home/me/nagios > > ./configure --with-tls=yes --exec-prefix=/home/me/nagios > > But everytime the output is - > > --with-openssl: no > --with-gnutls: no > > Nagios plugins compile fine but I don't get the -S feature in check_http. > > I have the following OpenSSL and GnuTLS versions installed - > > gnutls-1.0.8-26.4 > openssl-0.9.7d-15.21 > > Nagios v2.4. > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Hi, You need the devel packages of SSL something like: libssl-devel or something like that... I don't use Suse so i can not tell you the exact name of the package. Regards Guillaume -- Guillaume E-mail: silencer__free-4ever__net Blog: http://guillaume.free-4ever.net ---- Site: http://www.free-4ever.net ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.gregor at chronix.org Mon Aug 21 11:54:03 2006 From: jan.gregor at chronix.org (jan gregor) Date: Mon, 21 Aug 2006 11:54:03 +0200 Subject: dependencies and AND Message-ID: <20060821095403.GA8436@ninki.quadia.sk> Hello all, i have defined multiple host dependencis for one single host. Now notification is not sent when any of dependencies failed (any of hosts dependent upon is down). Is there any possibility to tweak this dependencies that notification is not sent only if ALL of hosts depended upon are down and sent it normally when only some of them are down? Many thanks for any ideas. Best regards, Jan Gregor ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atstake at gmail.com Mon Aug 21 12:11:35 2006 From: atstake at gmail.com (atstake atstake) Date: Mon, 21 Aug 2006 20:11:35 +1000 Subject: plugin upgrade problem In-Reply-To: <44E97712.4060308@free-4ever.net> References: <8adc88580608210159x6e1d447q5a91484d6b9d47c6@mail.gmail.com> <44E97712.4060308@free-4ever.net> Message-ID: <8adc88580608210311q3f57c285vd34546ca50b32f46@mail.gmail.com> On 8/21/06, Guillaume wrote: > You need the devel packages of SSL > something like: libssl-devel or something like that... I installed the package; SSL is enabled but now I get a "make" error. When I run "make" I get the following error - check_http.o(.text+0xc9b): In function `check_http': nagios-plugins-1.4.3/plugins/check_http.c:807: undefined reference to `np_net_ssl_write' check_http.o(.text+0xcca):nagios-plugins-1.4.3/plugins/check_http.c:811: undefined reference to `np_net_ssl_read' check_http.o(.text+0xd8e):/nagios-plugins-1.4.3/plugins/check_http.c:850: undefined reference to `np_net_ssl_cleanup' check_http.o(.text+0xfca):/nagios-plugins-1.4.3/plugins/check_http.c:759: undefined reference to `np_net_ssl_init' check_http.o(.text+0xfe9):easysadmin/nagios-plugins-1.4.3/plugins/check_http.c:761: undefined reference to `np_net_ssl_check_cert' check_http.o(.text+0xff0):nagios-plugins-1.4.3/plugins/check_http.c:762: undefined reference to `np_net_ssl_cleanup' collect2: ld returned 1 exit status make[3]: *** [check_http] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atstake at gmail.com Mon Aug 21 12:21:54 2006 From: atstake at gmail.com (atstake atstake) Date: Mon, 21 Aug 2006 20:21:54 +1000 Subject: Solved - plugin upgrade problem Message-ID: <8adc88580608210321nc6e5805w6f4907f78f2fdf40@mail.gmail.com> On 8/21/06, atstake atstake wrote: > I installed the package; SSL is enabled but now I get a "make" error. > When I run "make" I get the following error - I solved the problem. I just did a "make clean && make && make install" and it solved the problem. The trick was "make clean" Thanks! ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Aug 21 17:58:48 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 21 Aug 2006 11:58:48 -0400 Subject: dependencies and AND In-Reply-To: <20060821095403.GA8436@ninki.quadia.sk> References: <20060821095403.GA8436@ninki.quadia.sk> Message-ID: > i have defined multiple host dependencis for one single host. > Now notification is not sent when any of dependencies failed > (any of hosts dependent upon is down). Is there any > possibility to tweak this dependencies that notification is > not sent only if ALL of hosts depended upon are down and sent > it normally when only some of them are down? One possibility (and this may not be the best way -- it's on off-the-top-of-my-head thing) would be to have an addition check using check_cluster that failes if all of the depended-on services are down, and depend on that. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Mon Aug 21 17:54:57 2006 From: tom at ng23.net (Tom Brown) Date: Mon, 21 Aug 2006 16:54:57 +0100 Subject: Dell Open Manage Checks Message-ID: <44E9D751.1060202@ng23.net> Hi I have been using the Open Manage checks that run using nrpe for ages and they worked fine for openmanage upto version 4.5. I have since started to deploy version 5 of this software and i am seeing a critical alert even though the disk array is fine STORAGE: CRITICAL [ Ctrl 0 Disk 0:0 is Ok(No) Ctrl 0 Disk 0:1 is Ok(No) ] does anyone know of updated plugins that work with openmanage version 5? thanks ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Mon Aug 21 18:03:26 2006 From: tom at ng23.net (Tom Brown) Date: Mon, 21 Aug 2006 17:03:26 +0100 Subject: Dell Open Manage Checks In-Reply-To: <44E9D751.1060202@ng23.net> References: <44E9D751.1060202@ng23.net> Message-ID: <44E9D94E.9040903@ng23.net> > I have been using the Open Manage checks that run using nrpe for ages > and they worked fine for openmanage upto version 4.5. I have since > started to deploy version 5 of this software and i am seeing a critical > alert even though the disk array is fine > > STORAGE: CRITICAL [ Ctrl 0 Disk 0:0 is Ok(No) Ctrl 0 Disk 0:1 is Ok(No) ] > > does anyone know of updated plugins that work with openmanage version 5? my mistake sorry - seems a more recent version of this check is available and allows v5 compatibility. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From imarks at comcast.net Mon Aug 21 19:41:46 2006 From: imarks at comcast.net (Ian Marks) Date: Mon, 21 Aug 2006 13:41:46 -0400 Subject: Service Checks in Distributed mode Message-ID: <44E9F05A.3080900@comcast.net> I have 2 nagios 2.5 servers running; both are doing active checks, but one acts as the "central" server and receives passive checks from the other. I have it set up this way so our analysts will only have to monitor "one" server. I am seeing major delays with service checks on the central server. I am assuming my server is getting backed up trying to process all the passive checks, so the active checks are only being executed every 30-45 minutes. Is this possible? What would be the best way to solve this problem, removing the passive checks? Here are the stats: ##Central server## Program Running Time: 0d 4h 31m 26s Total Services: 812 Services Checked: 812 Services Scheduled: 439 Active Service Checks: 439 Passive Service Checks: 373 Total Service State Change: 0.000 / 34.210 / 0.121 % Active Service Latency: 449.349 / 1996.148 / 1329.618 % Active Service Execution Time: 0.049 / 60.556 / 7.779 sec Active Service State Change: 0.000 / 11.580 / 0.065 % Active Services Last 1/5/15/60 min: 0 / 0 / 427 / 439 Passive Service State Change: 0.000 / 34.210 / 0.188 % Passive Services Last 1/5/15/60 min: 0 / 0 / 94 / 367 Services Ok/Warn/Unk/Crit: 720 / 8 / 18 / 66 Services Flapping: 0 Services In Downtime: 0 Total Hosts: 243 Hosts Checked: 243 Hosts Scheduled: 0 Active Host Checks: 178 Passive Host Checks: 65 Total Host State Change: 0.000 / 27.760 / 0.149 % Active Host Latency: 0.000 / 2751.689 / 25.196 % Active Host Execution Time: 0.016 / 10.015 / 1.171 sec Active Host State Change: 0.000 / 0.000 / 0.000 % Active Hosts Last 1/5/15/60 min: 2 / 5 / 17 / 19 Passive Host State Change: 0.000 / 27.760 / 0.557 % Passive Hosts Last 1/5/15/60 min: 1 / 32 / 62 / 63 Hosts Up/Down/Unreach: 212 / 31 / 0 Hosts Flapping: 0 Hosts In Downtime: 0 ##Server Submitting Passive Checks## Program Running Time: 3d 20h 24m 19s Total Services: 367 Services Checked: 367 Services Scheduled: 367 Active Service Checks: 367 Passive Service Checks: 0 Total Service State Change: 0.000 / 6.250 / 0.017 % Active Service Latency: 233.540 / 349.122 / 284.721 % Active Service Execution Time: 0.023 / 34.478 / 4.352 sec Active Service State Change: 0.000 / 6.250 / 0.017 % Active Services Last 1/5/15/60 min: 0 / 151 / 367 / 367 Passive Service State Change: 0.000 / 0.000 / 0.000 % Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 329 / 6 / 18 / 14 Services Flapping: 0 Services In Downtime: 0 Total Hosts: 63 Hosts Checked: 63 Hosts Scheduled: 0 Active Host Checks: 63 Passive Host Checks: 0 Total Host State Change: 0.000 / 0.000 / 0.000 % Active Host Latency: 0.000 / 381.349 / 309.423 % Active Host Execution Time: 0.110 / 18.916 / 3.671 sec Active Host State Change: 0.000 / 0.000 / 0.000 % Active Hosts Last 1/5/15/60 min: 0 / 35 / 63 / 63 Passive Host State Change: 0.000 / 0.000 / 0.000 % Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Hosts Up/Down/Unreach: 57 / 6 / 0 Hosts Flapping: 0 Hosts In Downtime: 0 Thanks, Ian ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Mon Aug 21 20:04:16 2006 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Mon, 21 Aug 2006 13:04:16 -0500 (CDT) Subject: Service Checks in Distributed mode In-Reply-To: <44E9F05A.3080900@comcast.net> References: <44E9F05A.3080900@comcast.net> Message-ID: On Mon, 21 Aug 2006, Ian Marks wrote: > I have 2 nagios 2.5 servers running; both are doing active checks, but > one acts as the "central" server and receives passive checks from the > other. I have it set up this way so our analysts will only have to > monitor "one" server. I am seeing major delays with service checks on > the central server. I am assuming my server is getting backed up trying > to process all the passive checks, so the active checks are only being > executed every 30-45 minutes. Is this possible? What would be the best > way to solve this problem, removing the passive checks? My suggestion in a Distributed environment is to have your Central server perform only passive checks. This cleans up the configuration a bit and allows for the "one page to view" feature you are after. If, for network topology issues, you need to have two Distributed active Nagios boxes, I would add a third, Central and have each Distributed send results over to this third box. It helps to rsync or otherwise copy the files from Distributed to Central to avoid having multiple configuration points. If your total number of services monitored is above 1,000, I would suggest a slight modification from what the docs suggest. That is to use global service event handlers to notify of changes versus ocsp. This will cut down on the number of updates to your Central server dramatically and reduce the lag from a change on Distributed to that change being reflected on Central. Any questions, please ask. -D ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From imarks at comcast.net Mon Aug 21 20:58:42 2006 From: imarks at comcast.net (Ian Marks) Date: Mon, 21 Aug 2006 14:58:42 -0400 Subject: Service Checks in Distributed mode In-Reply-To: References: <44E9F05A.3080900@comcast.net> Message-ID: <44EA0262.8010406@comcast.net> My 2 current nagios servers are running on Dell 1750's. Each has a 2.4GHz Xeon Processor and 2 Gigs of Ram. What type of specs would be needed if I were to add a central server that only deals with passive checks? I am pretty sure I could come up with a smaller server; would it be better to use that for the centralized server, or move one the 1750's into that role? Thanks, Ian Demetri Mouratis wrote: > On Mon, 21 Aug 2006, Ian Marks wrote: > > >> I have 2 nagios 2.5 servers running; both are doing active checks, but >> one acts as the "central" server and receives passive checks from the >> other. I have it set up this way so our analysts will only have to >> monitor "one" server. I am seeing major delays with service checks on >> the central server. I am assuming my server is getting backed up trying >> to process all the passive checks, so the active checks are only being >> executed every 30-45 minutes. Is this possible? What would be the best >> way to solve this problem, removing the passive checks? >> > > My suggestion in a Distributed environment is to have your Central server > perform only passive checks. This cleans up the configuration a bit and > allows for the "one page to view" feature you are after. If, for network > topology issues, you need to have two Distributed active Nagios boxes, I > would add a third, Central and have each Distributed send results over to > this third box. It helps to rsync or otherwise copy the files from > Distributed to Central to avoid having multiple configuration points. > > If your total number of services monitored is above 1,000, I would suggest > a slight modification from what the docs suggest. That is to use global > service event handlers to notify of changes versus ocsp. This will cut > down on the number of updates to your Central server dramatically and > reduce the lag from a change on Distributed to that change being reflected > on Central. > > Any questions, please ask. > > -D > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Mon Aug 21 21:48:59 2006 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Mon, 21 Aug 2006 14:48:59 -0500 (CDT) Subject: Service Checks in Distributed mode In-Reply-To: <44EA0262.8010406@comcast.net> References: <44E9F05A.3080900@comcast.net> <44EA0262.8010406@comcast.net> Message-ID: On Mon, 21 Aug 2006, Ian Marks wrote: > My 2 current nagios servers are running on Dell 1750's. Each has a > 2.4GHz Xeon Processor and 2 Gigs of Ram. What type of specs would be > needed if I were to add a central server that only deals with passive > checks? I am pretty sure I could come up with a smaller server; would > it be better to use that for the centralized server, or move one the > 1750's into that role? > > Thanks, > Ian Ian, I'm familiar with the 1750s having used them in my past job. I had a 1750 as my Central getting updates from about 20 different Distributeds and accounting for about 1000 total services. The 1750 was definitely up to that task and probably had RAM/CPU cycles to spare. You could probably have an even smaller box, maybe a Dell 850 server as your Central. Hope that helps! -D ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl.kornel at mindspeed.com Mon Aug 21 22:35:11 2006 From: karl.kornel at mindspeed.com (karl.kornel at mindspeed.com) Date: Mon, 21 Aug 2006 13:35:11 -0700 Subject: BUG? Segfault & coredump with scheduled downtime, downtime scheduled horked Message-ID: Dear all, I have a small but interesting update regarding the problem I have been having: Nagios' regular crashing when multiple downtimes are scheduled. I have verified the behavior the I described earlier. All downtimes (6 or more) are submitted to Nagios at midnight. The first downtime starts as normal. However, when the first downtime ends, all other downtimes immediately begin, even though it is not their time. This time, however: 1) I did not use Nagios version 2.5. I used the version of Nagios in CVS (I downloaded the daily CVS tarball from 17 August 2006). 2) When I noticed that all of my scheduled downtimes were active when they should not have been, I checked the downtime.dat file. The downtime.dat file contained correct information, the downtime start and end times were all correct. It seems that Nagios had decided to corrupt those values in memory. 3) After I was done looking at downtime.dat, I restarted Nagios (through the CGIs). Nagios promptly restarted, and everything seems back to normal. I guess Nagios reloaded the downtime schedule from the data file. So, more useful information. So far I haven't received any advice on my problem, either on-list or off-list? Any ideas/advice/help? Thanks in advance! -- A. Karl Kornel, Mindspeed Technologies, Inc. karl.kornel at mindspeed.com -- (949) 579-3503 "Remember the Rules: Separation & Optimization" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bakers at web-ster.com Mon Aug 21 23:20:39 2006 From: bakers at web-ster.com (Scott Baker) Date: Mon, 21 Aug 2006 14:20:39 -0700 Subject: hostgroup + service check = overides? Message-ID: <44EA23A7.2090401@web-ster.com> I have several servers and thus I've used the "hostgroup_name" to apply several generic services to about 10 of my servers. That way I don't have to define a ping service for each host, just that group. One of the services that I've applied is "load average" and I have one server out of ten that's paging out due to high load. This is normal because this server does more work. So I'd like to up the settings for that one server, but I can't without changing the settings for the WHOLE group. Is there a way I can override that one service for that one server? I was hoping I could just redefine that service and it would override the "global" setting but Nagios complains about duplicate service entries. -- Scott Baker - RHCE Canby Telcom System Administrator 503.266.8253 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Tue Aug 22 00:15:15 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 22 Aug 2006 10:15:15 +1200 Subject: Service Checks in Distributed mode In-Reply-To: <44EA0262.8010406@comcast.net> References: <44EA0262.8010406@comcast.net> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2141F0C@UXCHANGE3.UoA.auckland.ac.nz> > My 2 current nagios servers are running on Dell 1750's. Each > has a 2.4GHz Xeon Processor and 2 Gigs of Ram. What type of > specs would be needed if I were to add a central server that > only deals with passive checks? I am pretty sure I could > come up with a smaller server; would it be better to use that > for the centralized server, or move one the 1750's into that role? We're running a single twin 2.4GHz Xeon server with 2GB of memory and it's happily handling 3450 active checks and 133 passive checks. I suspect we could get up to 6000 at least before it started to struggle. Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SWu at ea.com Tue Aug 22 02:35:44 2006 From: SWu at ea.com (Wu, Shirley) Date: Mon, 21 Aug 2006 17:35:44 -0700 Subject: nrpe compile error on Red Hat Enterprise Linux AS release 3 Message-ID: <29924C509447AB4BAB6801BE2D6254930CE5DDE3@EAHQ-CSMB8.rws.ad.ea.com> Hello, I am compiling the nrpe on Red Hat Enterprise Linux AS release 3 and had following errors: [root at esmnagts01 nrpe-2.5.2]# make all cd ./src/; make ; cd .. make[1]: Entering directory `/root/nrpe-2.5.2/src' gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/ssl/lib -lssl -lcrypto -lnsl -lwrap /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x37): In function `dlfcn_load': : undefined reference to `dlopen' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x98): In function `dlfcn_load': : undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xc0): In function `dlfcn_load': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x141): In function `dlfcn_bind_var': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x16c): In function `dlfcn_bind_var': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x229): In function `dlfcn_bind_func': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x254): In function `dlfcn_bind_func': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x512): In function `dlfcn_unload': : undefined reference to `dlclose' collect2: ld returned 1 exit status make[1]: *** [nrpe] Error 1 make[1]: Leaving directory `/root/nrpe-2.5.2/src' *** Compile finished *** Has anyone encountered the same problem before? Thanks, Shirley Wu Enterprise System Management Electronic Arts, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grover1711 at gmail.com Tue Aug 22 08:45:36 2006 From: grover1711 at gmail.com (ankush grover) Date: Tue, 22 Aug 2006 12:15:36 +0530 Subject: problem in getting the results from check_disk_smb Message-ID: <5f638b360608212345x266e35e5mb7c0acd55a1ad24e@mail.gmail.com> hey friends, I am using Nagios 2.5 on FC3. Currently I am facing the problem in getting the results of the samba shares available on Windows & Linux. I am getting the result from the command line but not from Nagios web interface. I am getting this in the web interface "Result from smbclient not suitable" ./check_disk_smb -H 192.168.5.2 -s backup -w 90 -c 95 Domain=[SUN] OS=[Windows Server 2003 3790 Service Pack 1] Server=[Windows Server 2003 5.2] Disk ok - 8.18G (21%) free on \\192.168.5.2\backup The version of check_disk_smb is (nagios-plugins 1.4.2) 1.12. define command{ command_name check_disk_smb_mail command_line /usr/lib/nagios/plugins/check_disk_smb -H 192.168.5.2 -s backup -w 85 -c 92 } define service{ host_name backupserver service_description samba shares on backup server check_command check_disk_smb_mail max_check_attempts 5 normal_check_interval 5 retry_check_interval 3 check_period nonworkhours notification_interval 30 notification_period nonworkhours notification_options w,c,r contact_groups linux-admins } I am getting "Access Denied" on the Linux Samba Shares through Nagios Web Interface but from the command line I am getting the desired result. /check_disk_smb -H 192.168.5.3 -s softwares -w 80 -c 90 Domain=[SUN] OS=[Unix] Server=[Samba 3.0.10-1.fc3] Disk ok - 28.6G (51%) free on \\192.168.5.3\softwares What can be the problem? Thanks & Regards Ankush Grover ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vlucero at mascerca.cl Tue Aug 22 05:32:18 2006 From: vlucero at mascerca.cl (vlucero at mascerca.cl) Date: Mon, 21 Aug 2006 23:32:18 -0400 (VET) Subject: nrpe compile error on Red Hat Enterprise Linux AS release 3 In-Reply-To: <29924C509447AB4BAB6801BE2D6254930CE5DDE3@EAHQ-CSMB8.rws.ad.ea.com> References: <29924C509447AB4BAB6801BE2D6254930CE5DDE3@EAHQ-CSMB8.rws.ad.ea.com> Message-ID: <3401.200.73.15.34.1156217538.squirrel@www.mascerca.cl> > Hello, > > > > I am compiling the nrpe on Red Hat Enterprise Linux AS release 3 and had > following errors: > > > > [root at esmnagts01 nrpe-2.5.2]# make all > > cd ./src/; make ; cd .. > > make[1]: Entering directory `/root/nrpe-2.5.2/src' > > gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include > -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/ssl/lib -lssl > -lcrypto -lnsl -lwrap > > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x37): In function > `dlfcn_load': > > : undefined reference to `dlopen' > > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x98): In function > `dlfcn_load': > > : undefined reference to `dlclose' > > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xc0): In function > `dlfcn_load': > > : undefined reference to `dlerror' > > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x141): In function > `dlfcn_bind_var': > > : undefined reference to `dlsym' > > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x16c): In function > `dlfcn_bind_var': > > : undefined reference to `dlerror' > > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x229): In function > `dlfcn_bind_func': > > : undefined reference to `dlsym' > > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x254): In function > `dlfcn_bind_func': > > : undefined reference to `dlerror' > > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x512): In function > `dlfcn_unload': > > : undefined reference to `dlclose' > > collect2: ld returned 1 exit status > > make[1]: *** [nrpe] Error 1 > > make[1]: Leaving directory `/root/nrpe-2.5.2/src' > > > > *** Compile finished *** > > > > Has anyone encountered the same problem before? > > > > Thanks, > > > > Shirley Wu > > > > Enterprise System Management > > Electronic Arts, Inc. > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null looks like broken ssl libraries can you compile another apps with ssl? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wmcdonald at gmail.com Tue Aug 22 11:37:27 2006 From: wmcdonald at gmail.com (Will McDonald) Date: Tue, 22 Aug 2006 10:37:27 +0100 Subject: Automated on-call contact updates... Message-ID: <1f8fae340608220237n7e76ff39g8b3a3e78fe3f41cb@mail.gmail.com> Hi all. I was just looking for some input as to what people do in terms of on-call calenders and integration into Nagios. I've just setup Bluez and Gnokii so I can SMS alerts to an on-call engineer and I'm wondering how best to go about automating the process of who gets called when. Are there any existing packages out there or am I going to have to cobble some scripts together? I assume if I use a $USERn$ variable in resource.cfg to hold the current on-call number, that would require a restart/reload of Nagios to be re-read when updated? FYI I'm running the following: [root at devmon1 nagios]# rpm -qa | grep nagios nagios-plugins-1.4.2-1.2.el4.rf nagios-2.4-1.el4.rf [root at devmon1 nagios]# cat /etc/redhat-release CentOS release 4.3 (Final) Thanks for all input. Will. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at thebug.demon.nl Tue Aug 22 12:25:33 2006 From: nagios at thebug.demon.nl (Richard Luys-Nagios User) Date: Tue, 22 Aug 2006 12:25:33 +0200 Subject: NagiosVMA Message-ID: Hi all, On the Nagios Exchange site I read about NagiosVMA. I like to try it out but unfortunately the only download link is for a torrent-file which does not seem to be shared anymore... Does somebody know a place where it can be downloaded with FTP or something? Regards, Richard Luys -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From az at whoever.org Tue Aug 22 13:36:42 2006 From: az at whoever.org (Az) Date: Tue, 22 Aug 2006 21:36:42 +1000 Subject: Automated on-call contact updates... In-Reply-To: <1f8fae340608220237n7e76ff39g8b3a3e78fe3f41cb@mail.gmail.com> References: <1f8fae340608220237n7e76ff39g8b3a3e78fe3f41cb@mail.gmail.com> Message-ID: <44EAEC4A.20509@whoever.org> > I was just looking for some input as to what people do in terms of > on-call calenders and integration into Nagios. > > I've just setup Bluez and Gnokii so I can SMS alerts to an on-call > engineer and I'm wondering how best to go about automating the process > of who gets called when. > > Are there any existing packages out there or am I going to have to > cobble some scripts together? I assume if I use a $USERn$ variable in > resource.cfg to hold the current on-call number, that would require a > restart/reload of Nagios to be re-read when updated? > > We have our own home grown SMS system using SMS Server Tools as a back end, with a web front end to manage contacts. Each of our support teams has a teamname.oncall contact defined in Nagios and in the SMS system. In the SMS system it just points to a human contact (essentially its just using a Sendmail style alias file). The team leaders of the teams can change what the oncall alias points to whenever they change their roster. Thus, Nagios never changes. The SMS system has other features, but this gives you an idea of how we went about that particular problem. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mstreb at netways.de Tue Aug 22 13:42:36 2006 From: mstreb at netways.de (Michael Streb) Date: Tue, 22 Aug 2006 13:42:36 +0200 Subject: NagiosVMA In-Reply-To: References: Message-ID: Hi, I can`t give you a download link but there`s a project on nagiosexchange called nagiosoncd which also provides a VM. See: http://www.nagiosexchange.org/NagiosOnCD.126.0.html Regards, Michael On 22.08.2006 12:25 Uhr, "Richard Luys-Nagios User" wrote: > Hi all, > > On the Nagios Exchange site I read about NagiosVMA. I like to try it out > but unfortunately the only download link is for a torrent-file which does > not seem to be shared anymore... > > Does somebody know a place where it can be downloaded with FTP or > something? > > Regards, > Richard Luys > -- Michael Streb NETWAYS GmbH Systems Engineer Deutschherrnstr. 47a Fon.0911/92885-0 D-90429 N?rnberg Fax.0911/92885-35 mstreb at netways.de http://www.netways.de ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at thebug.demon.nl Tue Aug 22 14:51:47 2006 From: nagios at thebug.demon.nl (Richard Luys-Nagios User) Date: Tue, 22 Aug 2006 14:51:47 +0200 Subject: NagiosVMA In-Reply-To: References: Message-ID: Thanks Michael, I knew there were more projects for 'Instant Nagios', but I wanted to try out the NagiosVMA because it contains Monarch too (I do not need a graphical config interface myself, but it might be usefull for our customers). But I will definetaly look into this project too! Regards, Richard Luys On Tue, 22 Aug 2006 13:42:36 +0200, Michael Streb wrote: > Hi, > > I can`t give you a download link but there`s a project on nagiosexchange > called nagiosoncd which also provides a VM. > > See: http://www.nagiosexchange.org/NagiosOnCD.126.0.html > > Regards, > > Michael > > > On 22.08.2006 12:25 Uhr, "Richard Luys-Nagios User" > > wrote: > >> Hi all, >> >> On the Nagios Exchange site I read about NagiosVMA. I like to try it out >> but unfortunately the only download link is for a torrent-file which >> does >> not seem to be shared anymore... >> >> Does somebody know a place where it can be downloaded with FTP or >> something? >> >> Regards, >> Richard Luys >> > -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From termx23 at gmail.com Tue Aug 22 16:15:50 2006 From: termx23 at gmail.com (Peter Edmonds) Date: Wed, 23 Aug 2006 00:15:50 +1000 Subject: NagiosVMA In-Reply-To: References: Message-ID: <6b8cee7e0608220715l72029f84m6c37fbe4ee58d407@mail.gmail.com> Richard, For an excellent Nagios VmWare appliance try Instant IT Monitor at http://richard.trezza.us/vmach/index.html It is a full Nagios implementation with Monarch frontend in a Fedora 4 VM. You can import your existing Nagios configs into Monarch, giving you a quick way of easing configuration changes later. Peter Edmonds On 8/22/06, Richard Luys-Nagios User wrote: > Thanks Michael, > > I knew there were more projects for 'Instant Nagios', but I wanted to try > out the NagiosVMA because it contains Monarch too (I do not need a > graphical config interface myself, but it might be usefull for our > customers). > > But I will definetaly look into this project too! > > Regards, > > Richard Luys > > On Tue, 22 Aug 2006 13:42:36 +0200, Michael Streb > wrote: > > > Hi, > > > > I can`t give you a download link but there`s a project on nagiosexchange > > called nagiosoncd which also provides a VM. > > > > See: http://www.nagiosexchange.org/NagiosOnCD.126.0.html > > > > Regards, > > > > Michael > > > > > > On 22.08.2006 12:25 Uhr, "Richard Luys-Nagios User" > > > > wrote: > > > >> Hi all, > >> > >> On the Nagios Exchange site I read about NagiosVMA. I like to try it out > >> but unfortunately the only download link is for a torrent-file which > >> does > >> not seem to be shared anymore... > >> > >> Does somebody know a place where it can be downloaded with FTP or > >> something? > >> > >> Regards, > >> Richard Luys > >> > > > > > > -- > Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From instezz at gmail.com Wed Aug 23 10:30:14 2006 From: instezz at gmail.com (Stefano Mosconi) Date: Wed, 23 Aug 2006 11:30:14 +0300 Subject: Problems with the nuvola theme Message-ID: <2af7b9900608230130y6eb87265y56b33b845c4caa08@mail.gmail.com> Hi I'm running nagios 2.4.-0bpo1 (nagios 2.4 backported for Debian Sarge) on apache2 2.0.54-5. I tried to apply the theme nuvola, but I'm having problems with the stylesheets. The problem is that if I apply the theme nuvola the frames do not contain any link to the stylesheet "common.css" resulting in all the common styles lost. This is for instance tac.cgi ------ ... ------- If I try to take just the stylesheets from nuvola (but not the sidebar) using the original sidebar the frames contain the link to common.css. This is the same tac.cgi called with the original sidebar: ------- .... -------- So I guess that is an issue with the nuvola sidebar, but I checked the code and the calls to the cgi scripts are the same as the original sidebar... so I don't know what could be the problem... Any hint? Thanks stezz ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dirk.schulz at kinzesberg.de Wed Aug 23 11:43:05 2006 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Wed, 23 Aug 2006 11:43:05 +0200 Subject: Timeouts Message-ID: <44EC2329.4080202@kinzesberg.de> Hi folks, I have a problem concerning timeouts. First the basics: I run Nagios 2.3.1 on Debian Sarge stable. I have configured "service_check_timeout=60", but in certain circumstances (e.g. slow dns) I get the erorr: "Plugin timed out after 10 seconds" or "Socket timed out after 10 seconds". Is there another timeout value I have to configure to get rid of this 10 seconds threshold? I know that I should work on my dns first, but I want to understand what decisions Nagios makes there. Any hint or help is appreciated. Dirk ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jorg.Schulz at systeam.se Wed Aug 23 11:45:31 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Wed, 23 Aug 2006 11:45:31 +0200 Subject: Problems with the nuvola theme In-Reply-To: <2af7b9900608230130y6eb87265y56b33b845c4caa08@mail.gmail.com> References: <2af7b9900608230130y6eb87265y56b33b845c4caa08@mail.gmail.com> Message-ID: hi what is in your index.html file in mine is like Nagios <!-- This page requires a web browser which supports frames. --> <p> <center> <h2>Nagios</h2> <a href="http://www.nagios.org" alt="Nagios Home">www.nagios.org</a><br> Copyright (c) 1999-2001 Ethan A. Galstad<br> </center> </p> <p> <i>Note: These pages require a browser which supports frames</i> </p> works fine /joe Mvh J?rg Schulz Senior Konsult Linux/Unix/Novell/Windows/Networking SYSteam Kalmar AB Str?mgatan 15 Box 99 S-391 21 Kalmar Direkt 0480-456638 Mobil 0708-157806 E-Post jorg.schulz at systeam.se http:// www.systeam.se "Stefano Mosconi" Sent by: nagios-users-bounces at lists.sourceforge.net 2006-08-23 10:30 To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Problems with the nuvola theme Hi I'm running nagios 2.4.-0bpo1 (nagios 2.4 backported for Debian Sarge) on apache2 2.0.54-5. I tried to apply the theme nuvola, but I'm having problems with the stylesheets. The problem is that if I apply the theme nuvola the frames do not contain any link to the stylesheet "common.css" resulting in all the common styles lost. This is for instance tac.cgi ------ ... ------- If I try to take just the stylesheets from nuvola (but not the sidebar) using the original sidebar the frames contain the link to common.css. This is the same tac.cgi called with the original sidebar: ------- .... -------- So I guess that is an issue with the nuvola sidebar, but I checked the code and the calls to the cgi scripts are the same as the original sidebar... so I don't know what could be the problem... Any hint? Thanks stezz ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From instezz at gmail.com Wed Aug 23 11:52:21 2006 From: instezz at gmail.com (Stefano Mosconi) Date: Wed, 23 Aug 2006 12:52:21 +0300 Subject: Problems with the nuvola theme In-Reply-To: References: <2af7b9900608230130y6eb87265y56b33b845c4caa08@mail.gmail.com> Message-ID: <2af7b9900608230252w2752db27m9359b3b8b0d4f02d@mail.gmail.com> Exactly the same Jorg. But for me doesn't work. :( Stezz On 8/23/06, Jorg.Schulz at systeam.se wrote: > > > hi > > what is in your index.html file > in mine is like > > > > > > Nagios > > > > > <!-- This page requires a web browser which supports frames. --> > <p> > <center> > <h2>Nagios</h2> > <a href="http://www.nagios.org" alt="Nagios Home">www.nagios.org</a><br> > Copyright (c) 1999-2001 Ethan A. Galstad<br> > </center> > </p> > <p> > <i>Note: These pages require a browser which supports frames</i> > </p> > > > > > works fine > > /joe > > > > > Mvh > > J?rg Schulz > Senior Konsult > > Linux/Unix/Novell/Windows/Networking > SYSteam Kalmar AB > > Str?mgatan 15 > Box 99 > S-391 21 Kalmar > > Direkt 0480-456638 > Mobil 0708-157806 > E-Post jorg.schulz at systeam.se* > **http:// www.systeam.se* > > > > > > *"Stefano Mosconi" * > Sent by: nagios-users-bounces at lists.sourceforge.net > > 2006-08-23 10:30 > To > nagios-users at lists.sourceforge.net cc > > Subject > [Nagios-users] Problems with the nuvola theme > > > > > > > Hi I'm running nagios 2.4.-0bpo1 (nagios 2.4 backported for Debian > Sarge) on apache2 2.0.54-5. I tried to apply the theme nuvola, but I'm > having problems with the stylesheets. > > The problem is that if I apply the theme nuvola the frames do not > contain any link to the stylesheet "common.css" resulting in all the > common styles lost. > > This is for instance tac.cgi > ------ > > > > leftmargin=0 rightmargin=0> > ... > ------- > > If I try to take just the stylesheets from nuvola (but not the > sidebar) using the original sidebar the frames contain the link to > common.css. > > This is the same tac.cgi called with the original sidebar: > ------- > > HREF='/nagios2/stylesheets/common.css'> > HREF='/nagios2/stylesheets/tac.css'> > > leftmargin=0 rightmargin=0> > .... > -------- > > So I guess that is an issue with the nuvola sidebar, but I checked the > code and the calls to the cgi scripts are the same as the original > sidebar... so I don't know what could be the problem... > > Any hint? > > Thanks > stezz > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > -- Stefano -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From instezz at gmail.com Wed Aug 23 12:01:13 2006 From: instezz at gmail.com (Stefano Mosconi) Date: Wed, 23 Aug 2006 13:01:13 +0300 Subject: Problems with the nuvola theme In-Reply-To: References: <2af7b9900608230130y6eb87265y56b33b845c4caa08@mail.gmail.com> Message-ID: <2af7b9900608230301u60ee200fu8ed74c778804a1c9@mail.gmail.com> Got it! I had an old installation of nagios (ver.1.3) still active on the server and cgipath in config.js was pointing to /nagios/cgi-bin/ instead of /nagios2/cgi-bin/ Thus I was using old cgi scripts that didn't have the link to common.css Sorry for bothering. Stezz On 8/23/06, Jorg.Schulz at systeam.se wrote: > > > hi > > what is in your index.html file > in mine is like > > > > > > Nagios > > > > > <!-- This page requires a web browser which supports frames. --> > <p> > <center> > <h2>Nagios</h2> > <a href="http://www.nagios.org" alt="Nagios Home">www.nagios.org</a><br> > Copyright (c) 1999-2001 Ethan A. Galstad<br> > </center> > </p> > <p> > <i>Note: These pages require a browser which supports frames</i> > </p> > > > > > works fine > > /joe > > > > > Mvh > > J?rg Schulz > Senior Konsult > > Linux/Unix/Novell/Windows/Networking > SYSteam Kalmar AB > > Str?mgatan 15 > Box 99 > S-391 21 Kalmar > > Direkt 0480-456638 > Mobil 0708-157806 > E-Post jorg.schulz at systeam.se* > **http:// www.systeam.se* > > > > > > *"Stefano Mosconi" * > Sent by: nagios-users-bounces at lists.sourceforge.net > > 2006-08-23 10:30 > To > nagios-users at lists.sourceforge.net cc > > Subject > [Nagios-users] Problems with the nuvola theme > > > > > > > Hi I'm running nagios 2.4.-0bpo1 (nagios 2.4 backported for Debian > Sarge) on apache2 2.0.54-5. I tried to apply the theme nuvola, but I'm > having problems with the stylesheets. > > The problem is that if I apply the theme nuvola the frames do not > contain any link to the stylesheet "common.css" resulting in all the > common styles lost. > > This is for instance tac.cgi > ------ > > > > leftmargin=0 rightmargin=0> > ... > ------- > > If I try to take just the stylesheets from nuvola (but not the > sidebar) using the original sidebar the frames contain the link to > common.css. > > This is the same tac.cgi called with the original sidebar: > ------- > > HREF='/nagios2/stylesheets/common.css'> > HREF='/nagios2/stylesheets/tac.css'> > > leftmargin=0 rightmargin=0> > .... > -------- > > So I guess that is an issue with the nuvola sidebar, but I checked the > code and the calls to the cgi scripts are the same as the original > sidebar... so I don't know what could be the problem... > > Any hint? > > Thanks > stezz > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > -- Stefano -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GilesC at CarmenMedia.com Wed Aug 23 12:53:48 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Wed, 23 Aug 2006 12:53:48 +0200 Subject: Web Event Log View can crash IE? Message-ID: <28919ADDC3E2C44BAD07B1EB44818493D7B65F@cmgexcdc01.CMG.local> Hello List, I just wondered whether I'm alone in having the Web "Event Log" sometimes appear to make IE stop responding (need to do forced close of IE). This is most evident when attempting to view an earlier log than the one being displayed, but often occurs on the current event log too. I don't get the problem with Firefox, but I do get it with IE (on multiple client systems). I've had the problem with Nagios 2.4 & now 2.5. Thanks Giles ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Carl.Friend at mathworks.com Wed Aug 23 13:12:16 2006 From: Carl.Friend at mathworks.com (Carl Friend) Date: Wed, 23 Aug 2006 07:12:16 -0400 Subject: Web Event Log View can crash IE? In-Reply-To: <28919ADDC3E2C44BAD07B1EB44818493D7B65F@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493D7B65F@cmgexcdc01.CMG.local> Message-ID: Giles Coochey writes: > I just wondered whether I'm alone in having the Web "Event Log" > sometimes appear to make IE stop responding (need to do forced > close of IE). How big are your logs? The ones I have here are fairly large (about 3.6 megs/day) and sometimes cause IE to slow to an absolute crawl. I've never had to forcibly shut it down, but have seen several instances where it went unresponsive for 30 seconds or so. +----------------------------------------------+-----------------------+ | Carl Richard Friend (UNIX Sysadmin) | Natick, Massachusetts | | Minicomputer Collector / Enthusiast | 01760-2098 | | mailto:carl_friend at mathworks.com +-----------------------+ | http://users.rcn.com/crfriend/museum | ICBM: 42:18N 71:21W | +----------------------------------------------+-----------------------+ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffwilliams05 at gmail.com Wed Aug 23 13:52:06 2006 From: jeffwilliams05 at gmail.com (Jeff Williams) Date: Wed, 23 Aug 2006 06:52:06 -0500 Subject: escalation/notification question In-Reply-To: <17e351010608191125q6e1ab731k862bb377757c3be5@mail.gmail.com> References: <17e351010608181401m1e860980je3161d83e753559e@mail.gmail.com> <8a547c840608181853v2476ddfpe17164e1312817d5@mail.gmail.com> <17e351010608191125q6e1ab731k862bb377757c3be5@mail.gmail.com> Message-ID: <17e351010608230452w4c93cfffs96a40ea9a874a9fd@mail.gmail.com> If I have a host called viper with the following definitions, I'm wondering why the group admins gets warning notifications for the service "DISK /" after the first notification. To me, these definitions say that admins should get no more than 5 notifications and no warning notifications after the first one. Am I wrong in thinking that? In testing this, the admins group got at least 8 warning notifications. > > > host definition > > define host{ > > use generic-host > > host_name viper > > alias viper > > address 127.0.0.1 > > parents localhost > > check_command check-host-alive > > notification_interval 0 > > notification_options d,r > > notification_period never > > contact_groups admins > > } > > > > service definition > > define service{ > > use generic-service > > host_name viper > > service_description DISK / > > is_volatile 0 > > check_period 24x7 > > retry_check_interval 1 > > contact_groups admins > > notification_interval 5 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command check_nrpe!check_disk1 > > } > > > > escalation definition > > define serviceescalation{ > > host_name viper > > service_description DISK / > > first_notification 2 > > last_notification 2 > > notification_interval 5 > > contact_groups admins > > escalation_options c,r > > } > > define serviceescalation{ > > host_name viper > > service_description DISK / > > first_notification 3 > > last_notification 4 > > notification_interval 5 > > contact_groups admins > > escalation_options c,r > > } > > define serviceescalation{ > > host_name viper > > service_description DISK / > > first_notification 5 > > last_notification 0 > > notification_interval 0 > > contact_groups admins > > escalation_options c,r > > } > > > > > > > Contactgroup: > > > > define contactgroup{ > > contactgroup_name admins > > alias Nagios Administrators > > members nagios > > } > > > > > Contacts: > > define contact{ > contact_name nagios > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email email at domain.com > } > > > The group "admins" should get warnings, but since the escalation file says > only go past original notification for critical and recovery, shouldn't I > just get 1 warning notification or 2 at most? > Also, here are the generic-host and generic-service definitions. I forgot to include those before as well. define host{ name generic-host ; The name of this host template check_interval 0 max_check_attempts 2 notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define service{ name generic-service ; The 'name' of this service template max_check_attempts 2 normal_check_interval 5 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 failure_prediction_enabled 1 ; Failure prediction 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! } Anyone have any insight on this? I haven't been able to figure out why this shouldn't work. Thanks. Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffwilliams05 at gmail.com Wed Aug 23 16:02:51 2006 From: jeffwilliams05 at gmail.com (Jeff Williams) Date: Wed, 23 Aug 2006 09:02:51 -0500 Subject: escalation/notification question In-Reply-To: References: Message-ID: <17e351010608230702i13a31362he28eb4e0d5fd5cc9@mail.gmail.com> Do I have to explicitly say in the escalations that warnings should stop at 1 notification, rather than just say only critical and recovery can go from 2 to 5 like I had before? Do I have to put something like this? define serviceescalation{ host_name viper service_description DISK / first_notification 1 last_notification 1 notification_interval 0 contact_groups admins escalation_options w } On 8/23/06, Michael Koprowski wrote: > > I may be wrong, but my interpretation is you will receive a warning, > unknown, critical, and recovery alerts if these changes are reported on > viper's disk and will notify you every 5 minutes. > > > > If I have a host called viper with the following definitions, I'm > wondering why the group admins gets warning notifications for the service > "DISK /" after the first notification. To me, these definitions say that > admins should get no more than 5 notifications and no warning notifications > after the first one. Am I wrong in thinking that? In testing this, the > admins group got at least 8 warning notifications. > > > host definition > define host{ > use generic-host > host_name viper > alias viper > address 127.0.0.1 > parents localhost > check_command check-host-alive > notification_interval 0 > notification_options d,r > notification_period never > contact_groups admins > } > > service definition > define service{ > use generic-service > host_name viper > service_description DISK / > is_volatile 0 > check_period 24x7 > retry_check_interval 1 > contact_groups admins > notification_interval 5 > notification_period 24x7 > notification_options w,u,c,r > check_command check_nrpe!check_disk1 > } > > escalation definition > define serviceescalation{ > host_name viper > service_description DISK / > first_notification 2 > last_notification 2 > notification_interval 5 > contact_groups admins > escalation_options c,r > } > define serviceescalation{ > host_name viper > service_description DISK / > first_notification 3 > last_notification 4 > notification_interval 5 > contact_groups admins > escalation_options c,r > } > define serviceescalation{ > host_name viper > service_description DISK / > first_notification 5 > last_notification 0 > notification_interval 0 > contact_groups admins > escalation_options c,r > } > > > > Contactgroup: > > define contactgroup{ > contactgroup_name admins > alias Nagios Administrators > members nagios > } > > > Contacts: > > > define contact{ > contact_name nagios > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email email at domain.com > } > > The group "admins" should get warnings, but since the escalation file > says only go past original notification for critical and recovery, shouldn't > I just get 1 warning notification or 2 at most? > > > > Also, here are the generic-host and generic-service definitions. I forgot > to include those before as well. > > define host{ > name generic-host ; The name of this > host template > check_interval 0 > max_check_attempts 2 > notifications_enabled 1 ; Host notifications are > enabled > event_handler_enabled 1 ; Host event handler is > enabled > flap_detection_enabled 1 ; Flap detection is > enabled > failure_prediction_enabled 1 ; Failure prediction is > enabled > process_perf_data 1 ; Process performance data > > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! > } > > define service{ > name generic-service ; The 'name' of > this service template > max_check_attempts 2 > normal_check_interval 5 > 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 > failure_prediction_enabled 1 ; Failure prediction 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! > } > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iphtashu.fitz at gmail.com Wed Aug 23 16:40:28 2006 From: iphtashu.fitz at gmail.com (Iphtashu Fitz) Date: Wed, 23 Aug 2006 10:40:28 -0400 Subject: submitting external commands remotely Message-ID: <96527af60608230740u5d1707d6nc6c72a460cc11021@mail.gmail.com> I have a handful of scripts that I've written that submit commands to our Nagios monitor remotely, so I'm pretty comfortable with working with external commands. I now need to be able to submit external commands from an external host. In a nutshell I want to schedule downtime of specific services based on recurring tasks that are run on those remote machines. I've written a script that will schedule service downtime and it works fine when I run it on the nagios server. I tried exporting the nagios/var directory via NFS and mounted it from one of the remote machines so that they could write to nagios.cmd. But when I run the script on these remote machines Nagios never responds to those external commands. The script appears to successfully write to the NFS mounted nagios.cmd but Nagios never gets the message, and it never shows up in nagios.log. Is it possible for a remote machine to communicate with Nagios this way (NFS mounted nagios.cmd), or is there a better approach for submitting external commands from an external host? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peter at henet.dk Wed Aug 23 16:57:49 2006 From: peter at henet.dk (=?ISO-8859-1?Q?Peter_Kr=FCpl?=) Date: Wed, 23 Aug 2006 16:57:49 +0200 Subject: submitting external commands remotely References: <96527af60608230740u5d1707d6nc6c72a460cc11021@mail.gmail.com> Message-ID: <44EC6CED.3050600@henet.dk> Hi, I doubt you can use sockets over NFS, someone correct me if i am wrong. What you could do is to execute the script on the nagios host, via ssh. If you normaly do this on the nagios host: scheduledowntine.sh host ServerA 13:00 14:00 You could do this on a remote machine: ssh nagioshost "scheduledowntine.sh host ServerA 13:00 14:00" You would be prompted for a password every time you do this, but you could use rsa/dsa keys, then there would be no need to enter a password each time. Safe and simple.... :) Cheers, Peter Iphtashu Fitz wrote: > I have a handful of scripts that I've written that submit commands to > our Nagios monitor remotely, so I'm pretty comfortable with working > with external commands. I now need to be able to submit external > commands from an external host. In a nutshell I want to schedule > downtime of specific services based on recurring tasks that are run on > those remote machines. I've written a script that will schedule > service downtime and it works fine when I run it on the nagios > server. I tried exporting the nagios/var directory via NFS and > mounted it from one of the remote machines so that they could write to > nagios.cmd. But when I run the script on these remote machines Nagios > never responds to those external commands. The script appears to > successfully write to the NFS mounted nagios.cmd but Nagios never gets > the message, and it never shows up in nagios.log. > > Is it possible for a remote machine to communicate with Nagios this > way (NFS mounted nagios.cmd), or is there a better approach for > submitting external commands from an external host? > >------------------------------------------------------------------------ > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >------------------------------------------------------------------------ > >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f1216 at yahoo.com Wed Aug 23 17:29:26 2006 From: f1216 at yahoo.com (Fred) Date: Wed, 23 Aug 2006 08:29:26 -0700 (PDT) Subject: ocsp slows nagios a great deal In-Reply-To: <20060811143831.GD4397@solar.uchicago.edu> References: <20060811143831.GD4397@solar.uchicago.edu> Message-ID: <20060823152926.15996.qmail@web30404.mail.mud.yahoo.com> Not sure if this was discussed (I didn't find later threads), but I would suggest that you need to batch your send_nsca requests. Realize that *every* transaction that nagios does invokes OCSP if it is defined. This means there is a fork, exec, and then whatever that app does. If you have a perl ocsp script for example, perl has to compile that script, execute your code, and most likely then fork/exec send_nsca. Send_nsca has the ability to accept batch input. I streamline my ocsp script so that the data is batched up in a file that at some point later in time will be sent using send_ncsa. Given that you have a good number of checks, nagios is making the ocsp call very frequently. You can use that to your advantage. Each time you run your script: 1) stat the queue/batch file (if it exists) 2) flock the batch file (if it exists) 3) If it is older then an acceptable amount of time (make this a configurable parameter), set a flag to remember you will be pushing the data on this iteration. 4) If the file is larger then an acceptable size, set your flag again. 5) write your ocsp args to the end of your batch queue file. 6) if the flag is set, run send_nsca and pipe your batch queue file into it. 7) truncate the file to zero length 8) unlock it You will dramatically cut down on the send_nsca fork/exec's and you will also cut down on the network traffic and system noise that you create as a result of making so many connections. Go back over your code and streamline it. An alternate implementation could be to start a perl demon that does 1-8 that reads from a FIFO and simply make your OCSP routine an "echo $@ >>fifo" You could also then have the perl program wake up more regularly and flush the queue rather then having to rely on the next OCSP request to come through (you could also use a cron job or a nagios plug-in to periodically flush the queue by making the ocsp command both a plug-in and ocsp compatible, simply call the OCSP command with a zero timeout to cause the flush and allow null args which would skip adding them to the queue when called as a plug-in) -FredC ----- Original Message ---- From: loren jan wilson To: nagios-users at lists.sourceforge.net Sent: Friday, August 11, 2006 10:38:31 AM Subject: [Nagios-users] ocsp slows nagios a great deal dear nagios users, I'm in the process of trying to set up a distributed nagios environment monitoring about 9,000 services on 2,500 hosts. i'm using Sunfire V210 servers running Solaris 10. i've found that the distributed servers which monitor the active services can run about 1700 checks every 5 minutes if ocsp isn't enabled, but once I enable ocsp, the number of active checks I can do goes WAY down. here's a breakdown: - ocsp disabled: 1700 checks / 5 min. - ocsp command set to /bin/true: 1200 checks / 5 min. - ocsp command set to a perl program that forks, then pipes output to send_nsca: 800 checks / 5 min. - ocsp command set to a shell program that pipes output to send_nsca: 500 checks / 5 min. What's the deal? I've followed the instructions in the "performance tuning" place in the manual, but nothing seems to help much, and I don't know what else to check. Resources on the machines are not being fully utilized.... there's about 30% free cpu at any given time, and plenty of RAM (only 500 MB used of 2 GB). Any help would be much appreciated! Solaris 10 is fully patched with recommended updates from last week. I'm running Nagios 2.5 and it's configured like this: --with-perlcache \ --enable-embedded-perl \ --enable-nanosleep \ --with-gd-inc=$GD_INC_PATH \ --with-gd-lib=$GD_LIB_PATH Thanks, Loren -- loren jan wilson network engineering, uchicago.edu 1155 rm. 327 ; 773/702-8189 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From durket at hw-durket.stanford.edu Wed Aug 23 17:31:40 2006 From: durket at hw-durket.stanford.edu (Michael Durket) Date: Wed, 23 Aug 2006 08:31:40 -0700 Subject: servicegroup shortcut in servicedependency doesn't quite work that way in the code? Message-ID: <20060823083140.39722431.durket@hw-durket.stanford.edu> If one attempts to specify the following in Nagios: define servicedependency { servicegroup_name X dependent_host_name Y dependent_service_description Z execution_failure_criteria w,u,c notification_failure_criteria w,u,c } it generates the error: Error: Could not expand master hostgroups and/or hosts specified in service dependency (config file 'config.cfg', starting on line .... If I'm reading the code correctly in xodtemplate.c it looks like the code starting at line 4119 should consider the possibility that no hosts/hostgroups are specified even though a dependent host name is, and allow a fall-through to the code at line 4179 which appears to be designed to handle just this case. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Aug 23 17:34:14 2006 From: marc at ena.com (Marc Powell) Date: Wed, 23 Aug 2006 10:34:14 -0500 Subject: Timeouts Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Dirk H. Schulz > Sent: Wednesday, August 23, 2006 4:43 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Timeouts > > Hi folks, > > I have a problem concerning timeouts. > > First the basics: I run Nagios 2.3.1 on Debian Sarge stable. > > I have configured "service_check_timeout=60", but in certain > circumstances (e.g. slow dns) I get the erorr: "Plugin timed out after > 10 seconds" or "Socket timed out after 10 seconds". > > Is there another timeout value I have to configure to get rid of this 10 > seconds threshold? Yes, The service_check_timout in nagios.cfg is a last-resort timeout. If a plugin hasn't terminated itself in that period of time then nagios will kill it. All of the standard plugins (I believe) can be passed a timeout value in their command line, usually via -t. If none is passed they'll use whatever value is hard coded (usually 10 seconds). You can use '--help' for the plugins you use to see the timeout parameters. > I know that I should work on my dns first, but I want to understand what > decisions Nagios makes there. Or use IP's instead of names so you don't rely on an external service that can possibly fail. ;) -- marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lyonsam at accre.vanderbilt.edu Thu Aug 24 01:20:05 2006 From: lyonsam at accre.vanderbilt.edu (Andrew M. Lyons) Date: Wed, 23 Aug 2006 18:20:05 -0500 Subject: NSCA only accepts first check Message-ID: <44ECE2A5.9030303@accre.vanderbilt.edu> Hi all, I'm trying to configure nsca, and I've run into a problem: NSCA only accepts the first passive check that is sent to it, and all subsequent checks fail. first check: [18:05:02]$ echo -e "vmp161.vampire\tMyrinet Connectivity\t0\tBLAH\n" | ./src/send_nsca -H monitor -c nsca.cfg 1 data packet(s) sent to host successfully. second try: [18:11:29]$ echo -e "vmp161.vampire\tMyrinet Connectivity\t0\tBLAH\n" | ./src/send_nsca -H monitor -c nsca.cfg Error: Timeout after 10 seconds After restarting the nsca daemon on the monitoring host, it will again accept a single check, and all subsequent checks will timeout. The nsca.cfg on the remote host has only a password entry. Here are the relevant bits from the nsca.cfg on the nagios server(monitor): pid_file=/var/run/nsca.pid server_port= server_address= nsca_user=nagios nsca_group=nagios debug=1 command_file=/var/log/nagios/rw/nagios.cmd alternate_dump_file=/var/log/nagios/rw/nsca.dump aggregate_writes=0 append_to_file=0 max_packet_age=30 password= decryption_method=1 Any help would be appreciated. Thanks! Best, Andrew ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mfrazier at achievedata.com Thu Aug 24 01:29:36 2006 From: mfrazier at achievedata.com (Malcolm Frazier) Date: Wed, 23 Aug 2006 16:29:36 -0700 Subject: GUI front in for nagios. Message-ID: <44ECE4E0.7030908@achievedata.com> Hi, Does a client exists that runs on Linux, Windows, and Macs that can poll a Nagios server and display information about the servers rather than using the web interface? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smalhotra at chinetworks.com Thu Aug 24 19:14:49 2006 From: smalhotra at chinetworks.com (Sumit Malhotra) Date: Thu, 24 Aug 2006 12:14:49 -0500 Subject: No Information Returned From Host Check Message-ID: <74548ADD09A66243A6995080ADFA5DEE59313E@MX01.exchange.dataarmor.net> I keep on getting "No Information Returned from Host Check" for one my host. (for rest everything seems perfect) Does that mean my Server is unable to process the Simple PING command? Or the MONITORED Server is denying response to PING occasionally??? Is it could be the ISP? Do you think that using Passive Host check would be of Help in that case? Thanks Sumit Malhotra Sr. Network Engineer Data Armor, India www.dataarmor.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lyonsam at accre.vanderbilt.edu Thu Aug 24 22:05:00 2006 From: lyonsam at accre.vanderbilt.edu (Andrew M. Lyons) Date: Thu, 24 Aug 2006 15:05:00 -0500 Subject: NSCA only accepts first check In-Reply-To: <44EDDB04.6070000@qsent.com> References: <44ECE2A5.9030303@accre.vanderbilt.edu> <44EDDB04.6070000@qsent.com> Message-ID: <44EE066C.7010000@accre.vanderbilt.edu> Thought I would forward along this fix. It works fine after doing this, but we had to add nsca to /etc/services as well. Thanks for the help! Best, -Andrew Derek Olsen wrote: > > Andrew. > Have you verified if the nsca port is open on the monitor host after > you've submitted the first passive check? > > telnet 127.0.0.1 5667 > Trying 127.0.0.1... > Connected to 127.0.0.1. > Escape character is '^]'. > > > It might help you determine where the problem is if the port closes > after the first attempt. It sounds like your running nsca in daemon > mode you might also try running it out of inetd to see if you get any > different behavior. Here is my xinetd nsca config > > service nsca > { > flags = REUSE > socket_type = stream wait = no > user = nagios > group = nagios > server = /usr/sbin/nsca > server_args = -c /etc/nagios/nsca.cfg --inetd > log_on_failure += USERID > disable = no > port = 5667 > } > > > > Anyhoo i hope i've provided some useful suggestions to narrow down > your issue. > Deet. >> Hi all, >> >> I'm trying to configure nsca, and I've run into a problem: NSCA only >> accepts the first passive check that is sent to it, and all subsequent >> checks fail. >> >> first check: >> [18:05:02]$ echo -e "vmp161.vampire\tMyrinet Connectivity\t0\tBLAH\n" >> | ./src/send_nsca -H monitor -c nsca.cfg >> 1 data packet(s) sent to host successfully. >> >> second try: >> [18:11:29]$ echo -e "vmp161.vampire\tMyrinet Connectivity\t0\tBLAH\n" >> | ./src/send_nsca -H monitor -c nsca.cfg >> Error: Timeout after 10 seconds >> >> After restarting the nsca daemon on the monitoring host, it will again >> accept a single check, and all subsequent checks will timeout. >> >> The nsca.cfg on the remote host has only a password entry. Here are >> the relevant bits from the nsca.cfg on the nagios server(monitor): >> >> pid_file=/var/run/nsca.pid >> server_port= >> server_address= >> nsca_user=nagios >> nsca_group=nagios >> debug=1 >> command_file=/var/log/nagios/rw/nagios.cmd >> alternate_dump_file=/var/log/nagios/rw/nsca.dump >> aggregate_writes=0 >> append_to_file=0 >> max_packet_age=30 >> password= >> decryption_method=1 >> >> Any help would be appreciated. Thanks! >> >> Best, >> >> Andrew >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigo.maceno at gmail.com Thu Aug 24 22:00:33 2006 From: rodrigo.maceno at gmail.com (Rodrigo Maceno) Date: Thu, 24 Aug 2006 17:00:33 -0300 Subject: PLugin NRPE Message-ID: <27acffb00608241300q761a4b56r8f93e1938e850cce@mail.gmail.com> Hello, I would like to know if anyone knows how to the NRPE plugin take the machines' information and give it to my Nagios' server? I would like to know if I have any security problem when I install the NRPE plugin? Thanks, PS: Sorry by my english!!! :) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdaily at apparatus.net Thu Aug 24 22:47:36 2006 From: jdaily at apparatus.net (John R. Daily) Date: Thu, 24 Aug 2006 16:47:36 -0400 Subject: PLugin NRPE In-Reply-To: <27acffb00608241300q761a4b56r8f93e1938e850cce@mail.gmail.com> References: <27acffb00608241300q761a4b56r8f93e1938e850cce@mail.gmail.com> Message-ID: <2B481A3C-0B6A-45F9-A8CA-B1FD5DE8DAFD@apparatus.net> The NRPE plugin will encrypt the communications with NRPE by default. To be careful, I would recommend running NRPE under xinetd to leverage tcpwrappers and configure the Nagios server(s) that can communicate with NRPE. You may also wish to change the NRPE port for obscurity. Also leave dont_blame_nrpe set to 0 whenever possible in the NRPE configuration. -John On Aug 24, 2006, at 4:00 PM, Rodrigo Maceno wrote: > Hello, > I would like to know if anyone knows how to the NRPE plugin take > the machines' information and give it to my Nagios' server? I would > like to know if I have any security problem when I install the NRPE > plugin? > > Thanks, > PS: Sorry by my english!!! :) > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642______________________________ > _________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null John R. Daily Apparatus, Inc. 912 N. Delaware St. Indianapolis, IN 46202 (317) 254-8488 Ext. 320 jdaily at apparatus.net ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bob.debolt at starblanket.ca Thu Aug 24 23:08:18 2006 From: bob.debolt at starblanket.ca (Bob DeBolt) Date: Thu, 24 Aug 2006 15:08:18 -0600 Subject: Showing Down but all service indicators are green Message-ID: <200608241508.18665.bob.debolt@starblanket.ca> Greets I have installed Nagios 2.5 and all the other latest items via RPM form Dag Wieers site. I have installed Nagios numerous times, RPM's and sources before and have solved this particular issue before but I am having trouble getting past it this time. Each of the services, including the nagios server all have the correct results showing on the service detail page but the host names are showing red. On the ? status map page all of the hosts show down. I have manually verified, using check_nrpe each of the remote hosts and manually run each of the plugins on the nagios server. All of them return the correct results, thus the correct results on the pages. I feel so much better when I see green. Anyone have the obvious fix. I remember it was so simple when I got past this before. -- Sincerely Bob DeBolt Starblanket Secured Networks ? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at gridshield.net Thu Aug 24 23:13:53 2006 From: marc at gridshield.net (Marc DeTrano) Date: Thu, 24 Aug 2006 15:13:53 -0600 Subject: NSCA only accepts first check In-Reply-To: References: Message-ID: <44EE1691.4070503@gridshield.net> I had this problem with NSCA not too long ago. The fix for me was to edit the init script start function: I changed this line: daemon $NscaBin -s -c $NscaCfg to daemon $NscaBin --daemon -c $NscaCfg Your distro may have something similar (this is out of Mandriva 2006). I am not sure why that change was necessary (not all installations I have exhibit the same problem), but it worked for me. Marc DeTrano >From: "Andrew M. Lyons" >Subject: [Nagios-users] NSCA only accepts first check >To: nagios-users at lists.sourceforge.net >Message-ID: <44ECE2A5.9030303 at accre.vanderbilt.edu> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed > >Hi all, > >I'm trying to configure nsca, and I've run into a problem: NSCA only >accepts the first passive check that is sent to it, and all subsequent >checks fail. > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at trelvik.net Thu Aug 24 23:30:28 2006 From: tom at trelvik.net (Tom Trelvik) Date: Thu, 24 Aug 2006 17:30:28 -0400 Subject: NPRE Could not complete SSL handshake. Message-ID: <82a5ca600608241430w7b6dc0d6qb506d3bd20c7e86a@mail.gmail.com> I'm trying to add some NRPE checks on a couple new remote hosts. On the first I tried, I ended up getting this error: CHECK_NRPE: Error - Could not complete SSL handshake Googling that quickly turned up this: http://www.nagios.org/faqs/viewfaq.php?faq_id=191 And made me realize I was allowing the wrong IP in /etc/xinetd.d/nrpe, and everything started working fine after I'd fixed that. But when I moved on to the next host, I got the same problem again, and it's definitely not the IP this time. I'm using the same versions on both ends, so I believe I can rule out solutions 1 & 2. /etc/xinetd.d/nrpe, /etc/nagios/nrpe.cfg, /dev/random, and /dev/urandom are all owned by root but world readable, so I don't think it's a permissions problem. Which brings me back to solution 5, the IP. So I tried changing the allowed IP to localhost, and then did a "telnet localhost 5666". That connected, and then waited for input from me. But when I changed it back to my nagios monitoring host, and tried "telnet remotehost 5666" from my nagios host, it established a TCP connection just fine, but immediately reported "Connection closed by foreign host" (which is the same behavior I get when trying it from a disallowed host). (And yes, I'm restarting xinetd between these changes.) For comparison, I tried telneting to port 5666 on the host I set up just before this one, which is working, and there the connection was established and then it waited for input from me, as it had in my localhost test. Can anybody suggest why it might be immediately closing the connection, despite the IP being accurate? Nagios was installed via apt on a Debian system, and npre & nagios-plugins were installed via rpm on RHEL3 systems. Thanks a ton! Tom ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bill-carlson at uiowa.edu Fri Aug 25 00:04:49 2006 From: bill-carlson at uiowa.edu (Bill Carlson) Date: Thu, 24 Aug 2006 17:04:49 -0500 Subject: NPRE Could not complete SSL handshake. In-Reply-To: <82a5ca600608241430w7b6dc0d6qb506d3bd20c7e86a@mail.gmail.com> References: <82a5ca600608241430w7b6dc0d6qb506d3bd20c7e86a@mail.gmail.com> Message-ID: <20060824220449.GA29828@g.wkks.org> On Thu, Aug 24, 2006 at 05:30:28PM -0400, Tom Trelvik wrote: > Nagios was installed via apt on a Debian system, and npre & > nagios-plugins were installed via rpm on RHEL3 systems. Is nrpe running as a daemon or out of xinetd/inetd? Daemon-mode nrpe uses libwrap, you'll need an nrpe entry in /etc/hosts.allow. The comment in the nrpe.cfg means nothing, allowed_hosts has no effect. -- Bill Carlson -- Systems Administrator bill-carlson at uiowa.edu | Anything is possible, HCIS | given time and money. University of Iowa Hospitals and Clinics | Opinions are mine, not my employer's. | ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Aug 25 00:29:53 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 24 Aug 2006 18:29:53 -0400 Subject: Showing Down but all service indicators are green In-Reply-To: <200608241508.18665.bob.debolt@starblanket.ca> References: <200608241508.18665.bob.debolt@starblanket.ca> Message-ID: > I have installed Nagios 2.5 and all the other latest items > via RPM form Dag Wieers site. I have installed Nagios > numerous times, RPM's and sources before and have solved this > particular issue before but I am having trouble getting past > it this time. > > Each of the services, including the nagios server all have > the correct results showing on the service detail page but > the host names are showing red. On the status map page all of > the hosts show down. > > I have manually verified, using check_nrpe > each of the remote hosts and manually run each of > the plugins on the nagios server. > All of them return the correct results, thus the correct > results on the pages. > > I feel so much better when I see green. Anyone have the > obvious fix. I remember it was so simple when I got past this before. Sounds like a fairly simple matter of your host checks failing. Try running whatever your host check command is as the Nagios user and that'll probably tell you why, if it doesn't give you an obvious enough answer on the host info page. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at trelvik.net Fri Aug 25 01:28:45 2006 From: tom at trelvik.net (Tom Trelvik) Date: Thu, 24 Aug 2006 19:28:45 -0400 Subject: NPRE Could not complete SSL handshake. In-Reply-To: <20060824220449.GA29828@g.wkks.org> References: <82a5ca600608241430w7b6dc0d6qb506d3bd20c7e86a@mail.gmail.com> <20060824220449.GA29828@g.wkks.org> Message-ID: <82a5ca600608241628q6ca75ceak112347f5def1f3bb@mail.gmail.com> I'm fairly certain I set it up the same way I set up the other that's working via xinetd, but just in case, I've now added "5666: ", but that doesn't seem to have made a difference. Thanks for the suggestion, though. Tom On 8/24/06, Bill Carlson wrote: > On Thu, Aug 24, 2006 at 05:30:28PM -0400, Tom Trelvik wrote: > > Nagios was installed via apt on a Debian system, and npre & > > nagios-plugins were installed via rpm on RHEL3 systems. > > Is nrpe running as a daemon or out of xinetd/inetd? Daemon-mode nrpe uses > libwrap, you'll need an nrpe entry in /etc/hosts.allow. The comment in the > nrpe.cfg means nothing, allowed_hosts has no effect. > > -- > Bill Carlson > -- > Systems Administrator bill-carlson at uiowa.edu | Anything is possible, > HCIS | given time and money. > University of Iowa Hospitals and Clinics | > Opinions are mine, not my employer's. | > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ntserafica at yahoo.com Fri Aug 25 04:38:19 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Thu, 24 Aug 2006 19:38:19 -0700 (PDT) Subject: check_by_ssh not working Message-ID: <20060825023819.50786.qmail@web60417.mail.yahoo.com> Here's the scenario: user John can connect via ssh to SONICSERVER using oracle user without authentication. To verify, i run this command and encountered no problem: ssh -i /home/John/.ssh/id_rsa oracle at SONICSERVER w and the commands run properly. But when i tried this command: [John at SONICSERVER ~]$ /usr/local/nagios/libexec/check_by_ssh -H SONICSERVER -i /home/John/.ssh/id_rsa \ -C "/usr/local/nagios/libexec/check_disk -w 10% -c 5% -e -m" -l oracle It says: CRITICAL - Plugin timed out while executing system call By the way, I also tried : /usr/local/nagios/libexec/check_by_ssh -H SONICSERVER -i /home/oracle/.ssh/authorized_keys -C '/usr/local/nagios/libexec/check_swap -w 50% -c 10%' -l oracle but encounter the same error: CRITICAL - Plugin timed out while executing system call Is there something wrong in the command??? Plugins was own by nagios but i set permission that John can execute it as well. I just notice that most people that uses nagios monitoring via ssh uses dsa not rsa. Is there a diffrence between dsa and rsa when using it to nagios?? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri Aug 25 07:36:23 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 25 Aug 2006 07:36:23 +0200 (CEST) Subject: check_by_ssh not working In-Reply-To: <20060825023819.50786.qmail@web60417.mail.yahoo.com> References: <20060825023819.50786.qmail@web60417.mail.yahoo.com> Message-ID: On Thu, 24 Aug 2006, Nelson Serafica wrote: > Here's the scenario: > > user John can connect via ssh to SONICSERVER using oracle user without authentication. To verify, i run this command and encountered no problem: > > ssh -i /home/John/.ssh/id_rsa oracle at SONICSERVER w > > and the commands run properly. > > But when i tried this command: > > [John at SONICSERVER ~]$ /usr/local/nagios/libexec/check_by_ssh -H SONICSERVER -i /home/John/.ssh/id_rsa \ > -C "/usr/local/nagios/libexec/check_disk -w 10% -c 5% -e -m" -l oracle > > It says: > > CRITICAL - Plugin timed out while executing system call My estimate would be that your nagios user can not read the identity file from John. So either copy or move it to some place where user nagios can read it. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xerofun at gmx.li Fri Aug 25 10:58:26 2006 From: xerofun at gmx.li (xerofun) Date: Fri, 25 Aug 2006 10:58:26 +0200 Subject: View host/service config as authenticated user Message-ID: <44EEBBB2.4010403@gmx.li> Hi, I'm running Nagios v2.0. On the following page are the default cgi permissions, which include the right for every user to read it's own host/service/service command configuration. http://nagios.sourceforge.net/docs/2_0/cgiauth.html#default_rights As I understand this can't be done by using the configuration CGI. "It is important to note that by default no one is authorized for the following... ... Viewing host group, contact, contact group, time period, and command definitions via the configuration CGI" So far so good. But how does a normal authenticated user, who is *not* listed in the cgi.cfg with "authorized_for_configuration_information" would list just it's own host and service configuration? According to the default permissions authenticated contacts are allowed to view host/service/service command configuration information. Here's the setup I'm testing with (just the names): contact: test-contact contact_group: test-group (member: "test-contact") Host: test (contact_group: "test-group") Service: test-svc (contact_group "test-group") Now when logging in to the webinterface as user "test-contact", I can't find a way to view only the config for host "test" or service "test-svc" or for the related service commands. Is there any link I didn't find? Thanks, Lars ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From d.bolderman at gmail.com Fri Aug 25 13:19:12 2006 From: d.bolderman at gmail.com (D.J. Bolderman) Date: Fri, 25 Aug 2006 13:19:12 +0200 Subject: Excluding host in hostgroups.cfg Message-ID: Hi all, I cannot exclude certain hosts from my hostgroups.cfg. My nagios.cfg shows: use_regexp_matching=1 use_true_regexp_matching=1 define hostgroup { hostgroup_name ping-servers alias Pingable servers members s_sv.*,s_ups.*,s_fw.*,s_rt.* } The hostgroup above works, however when I change it into this: define hostgroup { hostgroup_name ping-servers alias Pingable servers members s_sv.*,s_ups.*,s_fw.*,s_rt.*,!s_sv_mail } It shows : Error: Could not find any host matching '!s_sv_mail' Host s_sv_mail exists, so it has something to do with the exclamation mark ? Thanks, Dick ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From radhiilu at yahoo.com Fri Aug 25 14:31:32 2006 From: radhiilu at yahoo.com (Sekhar) Date: Fri, 25 Aug 2006 05:31:32 -0700 (PDT) Subject: Help needed from experts for Juniper SA4000 monitoring Message-ID: <20060825123132.3178.qmail@web60724.mail.yahoo.com> Hi, I am having two Juniper SA4000 devices i need to monitor those devices using snmp.Can some one help me how to monitor these devices or plugins or OID's to monitor the following CPU/Memory/Swap/Disk space/Fan status/Power status/RAID status Logged in users I really need experts help on this. Thanks --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2?/min or less. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwhitted at pantek.com Fri Aug 25 17:57:19 2006 From: mwhitted at pantek.com (Matt Whitted) Date: Fri, 25 Aug 2006 11:57:19 -0400 Subject: Showing Down but all service indicators are green In-Reply-To: References: Message-ID: <44EF1DDF.7050004@pantek.com> >> Each of the services, including the nagios server all have >> the correct results showing on the service detail page but >> the host names are showing red. On the status map page all of >> the hosts show down. >> >> I have manually verified, using check_nrpe >> each of the remote hosts and manually run each of >> the plugins on the nagios server. >> All of them return the correct results, thus the correct >> results on the pages. >> >> I feel so much better when I see green. Anyone have the >> obvious fix. I remember it was so simple when I got past this before. > > Sounds like a fairly simple matter of your host checks failing. Try > running whatever your host check command is as the Nagios user and > that'll probably tell you why, if it doesn't give you an obvious enough > answer on the host info page. The default host check is check_ping with some mildly liberal thresholds. If you look for the host check command in your config files, you'll probably find a 50-100ms threshold pre-configured. If your hosts are across the public Internet, sometimes those values will need adjusted. Your host status page should tell you what the actual round trip time is as a basis for choosing the correct values. Matt -- Pantek, Inc. - http://www.pantek.com/ - info at pantek.com +1-877-LINUX-FIX - Expert Open Source Software IT Services. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From derek.olsen at qsent.com Fri Aug 25 18:22:08 2006 From: derek.olsen at qsent.com (Derek Olsen) Date: Fri, 25 Aug 2006 09:22:08 -0700 Subject: Excluding host in hostgroups.cfg In-Reply-To: References: Message-ID: <44EF23B0.9020304@qsent.com> DJ. I dont know the underlying details but if you change use_true_regexp_matching=1 to use_true_regexp_matching=0 And try it again you'll find it works. To use the wildcard notation you show in your examples members s_sv.*,s_ups.*,s_fw.*,s_rt.* you dont need to have use_true_regexp_matching enabled. Anyhoo hope this helps out. Deet. D.J. Bolderman wrote: >Hi all, > >I cannot exclude certain hosts from my hostgroups.cfg. My nagios.cfg shows: > >use_regexp_matching=1 >use_true_regexp_matching=1 > >define hostgroup { > hostgroup_name ping-servers > alias Pingable servers > members s_sv.*,s_ups.*,s_fw.*,s_rt.* > } > >The hostgroup above works, however when I change it into this: > >define hostgroup { > hostgroup_name ping-servers > alias Pingable servers > members s_sv.*,s_ups.*,s_fw.*,s_rt.*,!s_sv_mail > } > >It shows : Error: Could not find any host matching '!s_sv_mail' > >Host s_sv_mail exists, so it has something to do with the exclamation mark ? > >Thanks, >Dick > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david.latorre at zertia.es Fri Aug 25 19:49:47 2006 From: david.latorre at zertia.es (David Latorre) Date: Fri, 25 Aug 2006 19:49:47 +0200 Subject: Host checks - Retry interval Message-ID: <44EF383B.3030709@zertia.es> Hi, everyone. We would like to know if there is any way of modifying the interval between host checks, I mean, something similar to "retry interval" for services. Checking out our logs and reading the documentation I guess this it?s not possible, it seems that nagios, when checking the state of a host, performs the "max_check_attempts" at most checks one inmediately after another, without any interval between them. Is there any way to change this behavior? Our reason for this is that sometimes there are little losses in conectivity but the host hasn?t gone actually down, so it would be better waiting some time in the host check, as it can be done with services, so that we don?t get notified unnecessarily. I guess the only way of getting through this would be playing with notifications but if someone has any other idea or some suggestions about this, I would really appreciate it... Thanks in advance. David Latorre -- David Latorre Administrador de Sistemas Zertia Telecomunicaciones www.zertia.es david.latorre at zertia.es +34916619277 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From R.Ford at pindar.com Fri Aug 25 20:39:13 2006 From: R.Ford at pindar.com (Rob Ford) Date: Fri, 25 Aug 2006 19:39:13 +0100 Subject: Rob Ford is out of the office. Message-ID: I will be out of the office starting 25/08/2006 and will not return until 04/09/2006. I will respond to your message when I return. *********************************************************************************** This e-mail and attachments are intended for the above name only and may be confidential. If they have come to you in error, you must take no action based on them, nor must copy or show them to anyone; please reply to this e-mail and report the error. Security warning: Please note that this e-mail has been created in the knowledge that the internet is not a one hundred percent secure communication medium. We advise that you understand and observe this lack of security when e-mailing us. Virus: Although we have taken steps to ensure that this e-mail and attachments are free from any virus, we advise that in keeping with good practice the recipient should ensure they are actually virus free. If you have received this e-mail in error please notify: postmaster at pindar.com This message has been scanned for viruses by MailControl - www.mailcontrol.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nospam001-lists at jankoh.dyndns.org Fri Aug 25 20:13:08 2006 From: nospam001-lists at jankoh.dyndns.org (Jan Kohnert) Date: Fri, 25 Aug 2006 20:13:08 +0200 Subject: Host checks - Retry interval In-Reply-To: <44EF383B.3030709@zertia.es> References: <44EF383B.3030709@zertia.es> Message-ID: <200608252013.14760.nospam001-lists@jankoh.dyndns.org> David Latorre schrieb: > Hi, everyone. Hi, > We would like to know if there is any way of modifying the interval > between host checks, I mean, something similar to "retry interval" for > services. Maybe I simply misunderstood your question, but whouldn't normal_check_interval and retry_check_interval exactly give the desired behaviour? This is fo 1.4, so I don't know of the names changed in 2.X... -- MfG Jan OpenPGP Fingerprint: 0E9B 4052 C661 5018 93C3 4E46 651A 7A28 4028 FF7A -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at trelvik.net Fri Aug 25 21:25:22 2006 From: tom at trelvik.net (Tom Trelvik) Date: Fri, 25 Aug 2006 15:25:22 -0400 Subject: NPRE Could not complete SSL handshake. In-Reply-To: <82a5ca600608241430w7b6dc0d6qb506d3bd20c7e86a@mail.gmail.com> References: <82a5ca600608241430w7b6dc0d6qb506d3bd20c7e86a@mail.gmail.com> Message-ID: <82a5ca600608251225n7ded3138hccf85dc9c85a24a9@mail.gmail.com> On 8/24/06, Tom Trelvik wrote: > CHECK_NRPE: Error - Could not complete SSL handshake Okay, when I remove the nrpe file from /etc/xinetd.d, restart xinetd, and telnet to port 5666 from my nagios system, I get a connection refused instead of "Connection closed by foreign host." So it's clearly running out of xinetd and not getting filtered by any firewall in between, I've also verified the IP is set correctly in the xinetd config, and the relevant files are all world readable: $ ls -l /etc/xinetd.d/nrpe /etc/nagios/nrpe.cfg /dev/*rand* crw-r--r-- 1 root root 1, 8 Jun 24 2004 /dev/random crw-r--r-- 1 root root 1, 9 Dec 8 2005 /dev/urandom -rw-r--r-- 1 root root 6.9K Aug 24 16:49 /etc/nagios/nrpe.cfg -rw-r--r-- 1 root root 479 Aug 25 14:55 /etc/xinetd.d/nrpe I also installed nagios-plugins from the same rpm files on this system and the one that is working on, and am using the same configuration files on both, so I'm not sure what else to look for. Can anybody think of any other way I could troubleshoot this or any other information that might help? Thanks a ton, Tom ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at trelvik.net Fri Aug 25 21:54:26 2006 From: tom at trelvik.net (Tom Trelvik) Date: Fri, 25 Aug 2006 15:54:26 -0400 Subject: NPRE Could not complete SSL handshake. In-Reply-To: <82a5ca600608251225n7ded3138hccf85dc9c85a24a9@mail.gmail.com> References: <82a5ca600608241430w7b6dc0d6qb506d3bd20c7e86a@mail.gmail.com> <82a5ca600608251225n7ded3138hccf85dc9c85a24a9@mail.gmail.com> Message-ID: <82a5ca600608251254o308f483frd9669d2402e81095@mail.gmail.com> I'm really sorry, I did try your /etc/hosts.allow suggestion, but I must have done something wrong, because when I tried changing hosts.deny from ALL: ALL EXCEPT localhost to ALL: ALL EXCEPT localhost,myip it suddenly started working. So it obviously was a tcpwrappers issue after all, sorry for mistakenly concluding otherwise. Thank you very much for the suggestion! Tom ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From d.bolderman at gmail.com Fri Aug 25 22:47:06 2006 From: d.bolderman at gmail.com (D.J. Bolderman) Date: Fri, 25 Aug 2006 22:47:06 +0200 Subject: Excluding host in hostgroups.cfg In-Reply-To: <44EF23B0.9020304@qsent.com> References: <44EF23B0.9020304@qsent.com> Message-ID: On 8/25/06, Derek Olsen wrote: > I dont know the underlying details but if you change > > use_true_regexp_matching=1 > to > use_true_regexp_matching=0 > > And try it again you'll find it works. To use the wildcard notation > you show in your examples > > members s_sv.*,s_ups.*,s_fw.*,s_rt.* > > you dont need to have use_true_regexp_matching enabled. Anyhoo hope > this helps out. Hi Derek, I made the change you suggested, but the problem persists. Thanks, Dick > D.J. Bolderman wrote: > > >Hi all, > > > >I cannot exclude certain hosts from my hostgroups.cfg. My nagios.cfg shows: > > > >use_regexp_matching=1 > >use_true_regexp_matching=1 > > > >define hostgroup { > > hostgroup_name ping-servers > > alias Pingable servers > > members s_sv.*,s_ups.*,s_fw.*,s_rt.* > > } > > > >The hostgroup above works, however when I change it into this: > > > >define hostgroup { > > hostgroup_name ping-servers > > alias Pingable servers > > members s_sv.*,s_ups.*,s_fw.*,s_rt.*,!s_sv_mail > > } > > > >It shows : Error: Could not find any host matching '!s_sv_mail' > > > >Host s_sv_mail exists, so it has something to do with the exclamation mark ? > > > >Thanks, > >Dick ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Fri Aug 25 23:20:38 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Fri, 25 Aug 2006 18:20:38 -0300 Subject: streaming monitor? Message-ID: <1156540838.31559.5.camel@localhost> Does anyone here know about a plugin to monitor streaming served by MMS? AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From creyes at co.ibm.com Sat Aug 26 01:06:38 2006 From: creyes at co.ibm.com (Carlos Mauricio Reyes Sanmiguel) Date: Fri, 25 Aug 2006 18:06:38 -0500 Subject: cannot stop notifications!! Message-ID: Hi, I?ve been working with nagios for a while, I like it a lot, but now i?m having some major problems with notifications. I have a server that flaps a lot because of a poor channel, i configured nagios with the external commands options enable, and it seems to work, but now, this server is sending too many messages, almost 1000 a day, that is driving me crazy.., I try to disable notifications from the web page, and it appears to have taken the command, it appears in red in the bottom of the page, but when the page refresh is not disable anymore.... and it continues to send messages.. the last change i did, was to modify the configuration file directly, the notifications option from workhours to none... and it continues to send the messages.. Does anybody know how i can make it to take the changes? Any sugestion will be appreciated.. thanks.. Creyes. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mfrazier at achievedata.com Sat Aug 26 01:17:46 2006 From: mfrazier at achievedata.com (Malcolm Frazier) Date: Fri, 25 Aug 2006 16:17:46 -0700 Subject: cannot stop notifications!! In-Reply-To: References: Message-ID: <44EF851A.9020104@achievedata.com> I had the same problem you seem to have, I could not disable notifications from the nagios web interface so what I did was went into my nagios.cfg file and around line 622 you'll see something like "enable_notifications=1" change that 1 to a 0 and that should effectively disable any nagios notifications. (I also disabled my nagios event handlers this way). Hope that helps you. Carlos Mauricio Reyes Sanmiguel wrote: > > Hi, > > I?ve been working with nagios for a while, I like it a lot, but now > i?m having some major problems with notifications. I have a server > that flaps a lot because of a poor channel, i configured nagios with > the external commands options enable, and it seems to work, but now, > this server is sending too many messages, almost 1000 a day, that is > driving me crazy.., I try to disable notifications from the web page, > and it appears to have taken the command, it appears in red in the > bottom of the page, but when the page refresh is not disable > anymore.... and it continues to send messages.. the last change i did, > was to modify the configuration file directly, the notifications > option from workhours to none... and it continues to send the messages.. > > Does anybody know how i can make it to take the changes? > > Any sugestion will be appreciated.. > > thanks.. > > Creyes. > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.375 / Virus Database: 268.11.5/425 - Release Date: 8/22/2006 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Aug 26 11:18:02 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 26 Aug 2006 11:18:02 +0200 (CEST) Subject: cannot stop notifications!! In-Reply-To: <44EF851A.9020104@achievedata.com> References: <44EF851A.9020104@achievedata.com> Message-ID: On Fri, 25 Aug 2006, Malcolm Frazier wrote: > I had the same problem you seem to have, I could not disable > notifications from the nagios web interface so what I did was went into > my nagios.cfg file and around line 622 you'll see something like > "enable_notifications=1" change that 1 to a 0 and that should > effectively disable any nagios notifications. (I also disabled my nagios > event handlers this way). Hope that helps you. Seems like quite a bit of overkill. If you want to disable notifications for 1 host then change the settings for that host. Likewise for the services. If the webinterfce will not let you do it you can always change the settings for that host/services. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.touche at touche.fr.st Sat Aug 26 12:13:58 2006 From: julien.touche at touche.fr.st (julien Touche) Date: Sat, 26 Aug 2006 12:13:58 +0200 Subject: nrpe & hpux 11.23/parisc Message-ID: <44F01EE6.8080007@touche.fr.st> i'm trying to use nrpe (2.5.1) on hp-ux and encounters problems. compile is ok with gcc 4 provided by HP (32bit/GNUBase or 64bits/gcc-g++), but execution gives nothing joined the output of tusc but it doesn't help me much. # tusc /path/to/nrpe -c -d do someone know of similar problems ? thanks Regards Julien -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: nrpe.tusc URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.systems at seznam.cz Sat Aug 26 21:20:57 2006 From: it.systems at seznam.cz (=?iso-8859-2?Q?Ing=20Peter=20Jevo=B9?=) Date: Sat, 26 Aug 2006 21:20:57 +0200 (CEST) Subject: Strange output from check_snmp Message-ID: <608.5953-31949-455225113-1156620057@seznam.cz> Hi When I run check_snmp with verbose parameter I get: monit:/tmp/install/gwfl-nagios-plugins-2.1 # /usr/local/nagios/libexec/check_snmp -v -H 10.1.1.1 -P 1 -C string -o .1.3.6.1.4.1.9.2.1.58.0 /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 -c string 10.1.1.1:161 .1.3.6.1.4.1.9.2.1.58.0 iso.3.6.1.4.1.9.2.1.58.0 = INTEGER: 5 SNMP OK - 5 | iso.3.6.1.4.1.9.2.1.58.0=???;;;; monit:/tmp/install/gwfl-nagios-plugins-2.1 # PuTTY -bash: PuTTY: command not found monit:/tmp/install/gwfl-nagios-plugins-2.1 # It worked without problem before but I reinstalled system with Suse 10.1 and there is net-snmp-5.3.0.1-21 net-snmp-devel-5.3.0.1-21 Of course, I compiled nagios-plugins with this new snmp package I tried to install also other plugin from nagiosexachange.org like check_snmp-1.4 and gwfl-nagios-plugins-2.1 but make failed because of snmp problems src/check_snmp.c:170: warning: passing argument 2 of ?check_snmp_intervals? from incompatible pointer type src/check_snmp.c:173: warning: passing argument 2 of ?check_snmp_strings? from incompatible pointer type src/check_snmp.c:176: warning: passing argument 2 of ?check_snmp_regexes? from incompatible pointer type src/check_snmp.c:179: warning: passing argument 2 of ?check_snmp_simple? from incompatible pointer type src/check_snmp.c: At top level: src/check_snmp.c:186: warning: ?struct variable_list? declared inside parameter list src/check_snmp.c:187: error: conflicting types for ?check_snmp_var_type? ./inc/check_snmp.h:107: error: previous declaration of ?check_snmp_var_type? was here src/check_snmp.c: In function ?check_snmp_var_type?: src/check_snmp.c:188: error: dereferencing pointer to incomplete type src/check_snmp.c:189: error: ?SNMP_NOSUCHOBJECT? undeclared (first use in this function) src/check_snmp.c:190: error: ?SNMP_NOSUCHINSTANCE? undeclared (first use in this function) src/check_snmp.c: In function ?check_snmp_get_value?: src/check_snmp.c:203: error: ?ASN_APPLICATION? undeclared (first use in this function) src/check_snmp.c: In function ?check_snmp_var_type?: src/check_snmp.c:195: warning: control reaches end of non-void function make: *** [src/check_snmp.o] Error 1 Thanks a lot Pet ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Sun Aug 27 12:21:44 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Sun, 27 Aug 2006 11:21:44 +0100 Subject: (No output!) Errors in Nagios 2.4 Message-ID: <44F17238.8010001@mailnetwork.co.uk> Hi, I've been using Nagios for around 5 months now with no problems. I've recently added a new server onto my network, which has added somewhere in the region of another 3 hosts and 12 services onto Nagios. Since then I now keep getting random errors in the "Status Information" for services only. For example I've got a HTTP monitor which monitors http://photos.andyshellam.eu:80, and this has started saying "Name or service not known" or "(No output!)" and labelled with either an OK or CRITICAL state (when the site is actually OK.) I've also got an SMTP check which should be CRITICAL as the server's not yet up and running - Nagios labelled this as OK with an "(No output!)" message. An SSH connection has also started failing, saying "Server returned:" in the Status Information box with a CRITICAL status, even though the server was up and running (as it's on the same machine as Nagios.) Lastly, an NRPE check started failing, saying "Cannot resolve 'tcp' as service name". In all the above cases, if I force an active check, all the problems return to the status they should be, but within 30 minutes or so (services are checked every 5 minutes) they start spewing these random errors again. Any ideas? This is Nagios 2.4 with plugins 1.4.3, NRPE 2.5.2 on a Fedora Core 5 machine. Thanks Andy. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Aug 27 13:42:33 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 27 Aug 2006 13:42:33 +0200 (CEST) Subject: (No output!) Errors in Nagios 2.4 In-Reply-To: <44F17238.8010001@mailnetwork.co.uk> References: <44F17238.8010001@mailnetwork.co.uk> Message-ID: On Sun, 27 Aug 2006, Andy Shellam wrote: > I've been using Nagios for around 5 months now with no problems. I've > recently added a new server onto my network, which has added somewhere > in the region of another 3 hosts and 12 services onto Nagios. > > Since then I now keep getting random errors in the "Status Information" > for services only. > > For example I've got a HTTP monitor which monitors > http://photos.andyshellam.eu:80, and this has started saying "Name or > service not known" or "(No output!)" and labelled with either an OK or > CRITICAL state (when the site is actually OK.) I think you could improve the likelyhood of getting help by providing: - host definition (+ template if needed) - service definition (+ template if needed) - checkcommand definition - Results of check command as user nagios from the commandline Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Sun Aug 27 16:48:37 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Sun, 27 Aug 2006 15:48:37 +0100 Subject: (No output!) Errors in Nagios 2.4 In-Reply-To: References: <44F17238.8010001@mailnetwork.co.uk> Message-ID: <44F1B0C5.7050306@mailnetwork.co.uk> Hugo, I didn't think it relevant to post full details of hosts/services as sometimes the commands work and sometimes they don't. It's not a problem with command syntax, specific host or service - it's a global thing. If I run the command manually they work fine, as shown below. Here's an example of a failing PostgreSQL service: "(Return code of 127 is out of bounds - plugin may be missing)" Run it manually: > su -c '/usr/local/nagios/libexec/check_pgsql -H -P 5432 -d > -l -w 30 -c 60' - nagios > OK - database (0 > sec.)|time=0.000000s;30.000000;60.000000;0.000000 If I force the service to re-poll for an active check then that error will clear and come up OK, but then another service will fail. Currently I've got 3 failures on services that are actually up and working. Take another example - the SSH service on the Nagios machine - currently reading "CRITICAL - Server answer:". The flapping state is "Percent State Change:72.70%" which suggests the service is coming up and down extremely randomly, however the machine and SSH service is working fine. The command for this is: define command { command_name Check_SSH command_line /usr/local/nagios/libexec/check_ssh -H $ARG1$ -p 3322 } And the service definition: define service { host_name Perth,Sydney-1 use Service_Template service_description Encrypted Remote Access - SSH check_command Check_SSH!$HOSTADDRESS$ } And the same for running a HTTP service which is reading "(No status!)" manually: > [root at dns zones]# su -c '/usr/local/nagios/libexec/check_http -H > www.andyshellam.eu -N -p 80 -A "Nagios/2.4/dns.mailnetwork.co.uk" -f > follow -w 30 -c 60 -t 120' - nagios > HTTP OK HTTP/1.1 200 OK - 1023 bytes in 0.006 seconds > |time=0.006282s;30.000000;60.000000;0.000000 size=1023B;;;0 Andy. Hugo van der Kooij wrote: > On Sun, 27 Aug 2006, Andy Shellam wrote: > > >> I've been using Nagios for around 5 months now with no problems. I've >> recently added a new server onto my network, which has added somewhere >> in the region of another 3 hosts and 12 services onto Nagios. >> >> Since then I now keep getting random errors in the "Status Information" >> for services only. >> >> For example I've got a HTTP monitor which monitors >> http://photos.andyshellam.eu:80, and this has started saying "Name or >> service not known" or "(No output!)" and labelled with either an OK or >> CRITICAL state (when the site is actually OK.) >> > > I think you could improve the likelyhood of getting help by providing: > - host definition (+ template if needed) > - service definition (+ template if needed) > - checkcommand definition > - Results of check command as user nagios from the commandline > > Hugo. > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sun Aug 27 17:22:00 2006 From: marc at ena.com (Marc Powell) Date: Sun, 27 Aug 2006 10:22:00 -0500 Subject: cannot stop notifications!! Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Carlos Mauricio Reyes > Sanmiguel > Sent: Friday, August 25, 2006 6:07 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] cannot stop notifications!! > > > Hi, > > I?ve been working with nagios for a while, I like it a lot, but now i?m > having some major problems with notifications. I have a server that flaps > a lot because of a poor channel, i configured nagios with the external > commands options enable, and it seems to work, but now, this server is > sending too many messages, almost 1000 a day, that is driving me crazy.., > I try to disable notifications from the web page, and it appears to have > taken the command, it appears in red in the bottom of the page, but when > the page refresh is not disable anymore.... and it continues to send > messages.. the last change i did, was to modify the configuration file > directly, the notifications option from workhours to none... and it > continues to send the messages.. > > Does anybody know how i can make it to take the changes? It sounds to me that you have more than one nagios daemon running. Stop nagios then use ps/kill to kill any nagios processes that remain then retart nagios. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sun Aug 27 17:25:14 2006 From: marc at ena.com (Marc Powell) Date: Sun, 27 Aug 2006 10:25:14 -0500 Subject: (No output!) Errors in Nagios 2.4 Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Andy Shellam > Sent: Sunday, August 27, 2006 5:22 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] (No output!) Errors in Nagios 2.4 > > Hi, > > I've been using Nagios for around 5 months now with no problems. I've > recently added a new server onto my network, which has added somewhere > in the region of another 3 hosts and 12 services onto Nagios. > > Since then I now keep getting random errors in the "Status Information" > for services only. Verify that you don't have multiple nagios daemons running. See my last post. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Sun Aug 27 17:40:32 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Sun, 27 Aug 2006 16:40:32 +0100 Subject: (No output!) Errors in Nagios 2.4 In-Reply-To: References: Message-ID: <44F1BCF0.3070506@mailnetwork.co.uk> Hi Marc, Thanks for the reply. I'd thought of this as well, as I did have some double-notifications being sent out when I originally installed Nagios a few months back. However, here is the output of "ps auxwww|grep nagios" at this minute: nagios 25891 0.0 0.0 18716 1304 ? Ssl 10:48 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg root 28664 0.0 0.0 4700 676 pts/0 S+ 16:35 0:00 grep nagios Now if I catch it while it's doing a check, I get the following: nagios 25891 0.0 0.0 18716 1304 ? Ssl 10:48 0:01 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 30205 0.0 0.0 18720 1308 ? S 16:37 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 30206 0.0 0.0 4904 736 ? S 16:37 0:00 /usr/local/nagios/libexec/check_ping -H 84.18.200.160 -p 10 -w 500,50% -c 1000,100% nagios 30215 0.0 0.0 1680 528 ? S 16:37 0:00 /bin/ping -n -U -w 20 -c 10 84.18.200.160 root 30226 0.0 0.0 4696 672 pts/0 S+ 16:37 0:00 grep nagios Notice the 2 daemons - is this by design? If I stop the nagios daemon, all processes exit so I just get "grep nagios" listed. On my SMTP check as well, at the moment it is reported it as "OK - (No output!)" when really it should be "CRITICAL - Connection refused" as the SMTP service is not running. Thanks Andy. Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Andy Shellam >> Sent: Sunday, August 27, 2006 5:22 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] (No output!) Errors in Nagios 2.4 >> >> Hi, >> >> I've been using Nagios for around 5 months now with no problems. I've >> recently added a new server onto my network, which has added somewhere >> in the region of another 3 hosts and 12 services onto Nagios. >> >> Since then I now keep getting random errors in the "Status >> > Information" > >> for services only. >> > > Verify that you don't have multiple nagios daemons running. See my last > post. > > -- > Marc > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,44f1b998143291623913134! > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david.latorre at zertia.es Mon Aug 28 11:31:52 2006 From: david.latorre at zertia.es (David Latorre) Date: Mon, 28 Aug 2006 11:31:52 +0200 Subject: Host checks - Retry interval In-Reply-To: <44F2B180.5060303@zertia.es> References: <44F2B180.5060303@zertia.es> Message-ID: <44F2B808.8010106@zertia.es> Hi, We?re also using nagios 1.4 and with "retry interval" I meant retry_check_interval, but the problem is that this parameter only affects service checks, not host checks that are made automatically by nagios when a service fails, to find out if the host is down or is the service what is actually down. Apparently, there are no means (or I haven?t found) of modifying the "retry_check_interval" for host checks, so I was asking if anyone knows any workaround for this? Maybe with the escalations file... any suggestions in this way? Thanks David >------------------------------ > >Message: 19 >Date: Fri, 25 Aug 2006 20:13:08 +0200 >From: Jan Kohnert >Subject: Re: [Nagios-users] Host checks - Retry interval >To: nagios-users at lists.sourceforge.net >Message-ID: <200608252013.14760.nospam001-lists at jankoh.dyndns.org> >Content-Type: text/plain; charset="iso-8859-1" > >David Latorre schrieb: >> Hi, everyone. > >Hi, > >> We would like to know if there is any way of modifying the interval >> between host checks, I mean, something similar to "retry interval" for >> services. > >Maybe I simply misunderstood your question, but whouldn't >normal_check_interval and retry_check_interval exactly give the desired >behaviour? This is fo 1.4, so I don't know of the names changed in 2.X... > >-- >MfG Jan > >OpenPGP Fingerprint: >0E9B 4052 C661 5018 93C3 4E46 651A 7A28 4028 FF7A > > -- David Latorre Administrador de Sistemas Zertia Telecomunicaciones www.zertia.es david.latorre at zertia.es +34916619277 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muaddib at databit7.com Mon Aug 28 14:34:33 2006 From: muaddib at databit7.com (Robin-David Hammond%KB3IEN) Date: Mon, 28 Aug 2006 12:34:33 +0000 (UTC) Subject: Periodic failure of cgi. Message-ID: [Tue Aug 22 09:21:18 2006] [error] [client 192.168.102.128] Premature end of script headers: status.cgi [Wed Aug 23 07:47:47 2006] [error] [client 192.168.102.128] Premature end of script headers: status.cgi [Thu Aug 24 04:29:19 2006] [error] [client 192.168.102.128] Premature end of script headers: extinfo.cgi [Thu Aug 24 14:50:53 2006] [error] [client 192.168.102.128] Premature end of script headers: status.cgi [Thu Aug 24 22:38:11 2006] [error] [client 192.168.102.128] Premature end of script headers: status.cgi It seems like every 12 hours or so a web page stops loading, once the cgi has broken once, the client does not accept the 'Reload' header and the frame sits blank until the user clicks on a monitoring link again. Any ideas how to get more debuging info out of this cgi? Robin-David Hammond KB3IEN ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Mon Aug 28 15:53:37 2006 From: knobdy at gmail.com (Brian Loe) Date: Mon, 28 Aug 2006 08:53:37 -0500 Subject: (No output!) Errors in Nagios 2.4 In-Reply-To: <44F1BCF0.3070506@mailnetwork.co.uk> References: <44F1BCF0.3070506@mailnetwork.co.uk> Message-ID: <3c4611bc0608280653r63929063l30ee04fc265b5fad@mail.gmail.com> Assuming you stop/started the service after modifying your hosts and services config files, is it possible you used the rc/init script? Have you killed the service (with the kill command) and then restarted it yet? I'd try that... I was under the impression that nagios will spawn more processes during checks so that it can check several hosts at a time. On 8/27/06, Andy Shellam wrote: > Hi Marc, > > Thanks for the reply. > > I'd thought of this as well, as I did have some double-notifications > being sent out when I originally installed Nagios a few months back. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Aug 28 16:11:45 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Mon, 28 Aug 2006 15:11:45 +0100 Subject: (No output!) Errors in Nagios 2.4 In-Reply-To: <3c4611bc0608280653r63929063l30ee04fc265b5fad@mail.gmail.com> References: <44F1BCF0.3070506@mailnetwork.co.uk> <3c4611bc0608280653r63929063l30ee04fc265b5fad@mail.gmail.com> Message-ID: <44F2F9A1.80403@mailnetwork.co.uk> Hi Brian Whenever I'd changed the configuration I always used "killall -HUP nagios." The machine does use the rc init scripts on bootup and shutdown. Several times I've kill'd the nagios process so absolutely nothing of nagios was running, removed all the state information from nagios/var, then used the rc init script to fire it back up again. I understand Nagios spawns more processes, I just thought it strange it would spawn another daemon during a check? Anyway, last night we had some awful problems on that machine (files not being found when they were actually there - probably explaining the "127 - plugin not found" message.) I rebooted the machine last night and kicked Nagios off at shortly before midnight. Out of my 17 services and 5 hosts, there are only two services that are playing up now - the rest have been in the same (correct) state for 15 and half hours now. The 2 that are playing up still is an nrpe check which executes a check_disk and check_swap command on another machine. The status logs of the 2 services since midnight are shown below. I have no idea where "tcp" comes in, as it's not present in any of the commands ("/usr/local/nagios/libexec/check_nrpe -H $ARG1$ -p 5666 -t 60 -c $ARG2$") - $ARG1$ is $HOSTADDRESS$ and $ARG2$ is "check_endeavour" and "check_swap" for the 2 checks respectively. The NRPE on the remote machine for these two commands reads: command[check_endeavour]=/usr/local/nagios/libexec/check_disk -p /endeavour -w 10% -c 5% command[check_swap]=/usr/local/nagios/libexec/check_swap -w 10% -c 5% Is it possible this machine is having difficulty reading the /etc/services file, hence not being able to map a protocol number? ### START STATUS LOG 2 ### 28-08-2006 00:00:00 28-08-2006 05:50:49 0d 5h 50m 49s SERVICE OK (HARD) DISK OK - free space: /endeavour 135492 MB (94% inode=100%): 28-08-2006 05:50:49 28-08-2006 05:56:32 0d 0h 5m 43s SERVICE UNKNOWN (HARD) Cannot map "tcp" to protocol number 28-08-2006 05:56:32 28-08-2006 14:32:36 0d 8h 36m 4s SERVICE OK (HARD) DISK OK - free space: /endeavour 135492 MB (94% inode=100%): 28-08-2006 14:32:36 28-08-2006 14:38:33 0d 0h 5m 57s SERVICE UNKNOWN (HARD) Cannot map "tcp" to protocol number 28-08-2006 14:38:33 28-08-2006 14:55:34 0d 0h 17m 1s+ SERVICE OK (HARD) DISK OK - free space: /endeavour 135482 MB (94% inode=100%): ### END STATUS LOG 2 ### ### START STATUS LOG 2 ### 28-08-2006 00:00:00 28-08-2006 05:50:40 0d 5h 50m 40s SERVICE OK (HARD) SWAP OK - 100% free (7828 MB out of 7828 MB) 28-08-2006 05:50:40 28-08-2006 05:56:32 0d 0h 5m 52s SERVICE UNKNOWN (HARD) Cannot map "tcp" to protocol number 28-08-2006 05:56:32 28-08-2006 15:00:36 0d 9h 4m 4s+ SERVICE OK (HARD) SWAP OK - 100% free (7828 MB out of 7828 MB) ### END STATUS LOG 2 ### Thanks Andy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Aug 28 17:12:48 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 28 Aug 2006 11:12:48 -0400 Subject: (No output!) Errors in Nagios 2.4 In-Reply-To: <44F2F9A1.80403@mailnetwork.co.uk> References: <44F2F9A1.80403@mailnetwork.co.uk> Message-ID: > The 2 that are playing up still is an nrpe check which > executes a check_disk and check_swap command on another > machine. The status logs of the 2 services since midnight > are shown below. > > I have no idea where "tcp" comes in, as it's not present in > any of the commands ("/usr/local/nagios/libexec/check_nrpe -H > $ARG1$ -p 5666 -t 60 -c $ARG2$") - $ARG1$ is $HOSTADDRESS$ > and $ARG2$ is "check_endeavour" and "check_swap" for the 2 > checks respectively. The NRPE on the remote machine for > these two commands reads: > > command[check_endeavour]=/usr/local/nagios/libexec/check_disk > -p /endeavour -w 10% -c 5% > command[check_swap]=/usr/local/nagios/libexec/check_swap -w 10% -c 5% > > Is it possible this machine is having difficulty reading the > /etc/services file, hence not being able to map a protocol number? Have you checked the system logs on both the client and the Nagios server? This looks suspiciously like a "too many open files" kind of error. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mfrank at dps.state.vt.us Mon Aug 28 17:22:59 2006 From: mfrank at dps.state.vt.us (Michael Frank) Date: Mon, 28 Aug 2006 11:22:59 -0400 Subject: (No output!) Nagios 2.5 Message-ID: Hello all, I first sent this to the plugins mailing list but I think this has more to do with Nagios core since I am now having the problem with two different plug-ins. They both give me correct output when I run the checks manually but Nagios consistently gives me a result of (No output!). The check below always had a Critical level for the No Output but another check that I am doing gives a Warning level. How can there be two different results from having "(No output!)." I do not see any errors in any of my log files. Below is the information from my previous email. I am trying get check_snmp_win.pl to work. I am able to run the exact command that Nagios is running without any problems and I get output, but when I run the check though Nagios it says "No output!" I am able to run other checks without any problems. I see at http://www.manubulon.com/nagios/faq.html#FAQ8 that there is a problem with the embedded perl in Nagios so I make sure that I ran the script using another version of perl. I am unable to find the p1.pl file it is talking about patching. # 'check_win_proc_snmp' define command{ command_name check_win_proc_snmp command_line /opt/ActivePerl-5.8/bin/perl /usr/local/nagios/libexec/check_snmp_win.pl -H HOST -C COMMUNITY -p PORT -n SERVICE_TO_CHECK -N 1 } I have also tried using /usr/local/bin/perl and there has been no change. I am able to run the check manually without any problems but can't run it though Nagios. Any help you can give will be great. Thanks, Michael Michael Frank mfrank at dps.state.vt.us Network Administrator (802) 241-5393 VT Dept of Public Safety 103 S Main, Waterbury 05671 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mfrazier at achievedata.com Mon Aug 28 17:35:49 2006 From: mfrazier at achievedata.com (Malcolm Frazier) Date: Mon, 28 Aug 2006 08:35:49 -0700 Subject: cannot stop notifications!! In-Reply-To: References: <44EF851A.9020104@achievedata.com> Message-ID: <44F30D55.7010603@achievedata.com> Umm okay Hugo you say what to do but not how to do it, great. Hugo van der Kooij wrote: > On Fri, 25 Aug 2006, Malcolm Frazier wrote: > > >> I had the same problem you seem to have, I could not disable >> notifications from the nagios web interface so what I did was went into >> my nagios.cfg file and around line 622 you'll see something like >> "enable_notifications=1" change that 1 to a 0 and that should >> effectively disable any nagios notifications. (I also disabled my nagios >> event handlers this way). Hope that helps you. >> > > Seems like quite a bit of overkill. If you want to disable notifications > for 1 host then change the settings for that host. Likewise for the > services. > > If the webinterfce will not let you do it you can always change the > settings for that host/services. > > Hugo. > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Aug 28 17:41:01 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Mon, 28 Aug 2006 16:41:01 +0100 Subject: (No output!) Nagios 2.5 In-Reply-To: References: Message-ID: <44F30E8D.9050200@mailnetwork.co.uk> Hi Michael, I've not long reported the same sort of error in 2.4. On my machine a reboot has *appeared* to sort it (keeping fingers and things crossed.) If I forced Nagios to re-do the check it would come back fine, but in most scheduled checks it would report "No output!" and an incorrect status (i.e. OK when it should be CRITICAL.) It seemed completely random to which plugin caused the failure, so it wasn't something I could attribute to a specific plugin (all mine bar 2 are standard anyway.) Patrick on this list has suggested to look in the server logs for "too many open files" errors and the like. Andy. Michael Frank wrote: > > Hello all, > > I first sent this to the plugins mailing list but I think this has > more to do with Nagios core since I am now having the problem with two > different plug-ins. They both give me correct output when I run the > checks manually but Nagios consistently gives me a result of (No > output!). The check below always had a Critical level for the No > Output but another check that I am doing gives a Warning level. How > can there be two different results from having ?(No output!).? I do > not see any errors in any of my log files. > > Below is the information from my previous email. > > I am trying get check_snmp_win.pl to work. I am able to run the exact > command that Nagios is running without any problems and I get output, > but when I run the check though Nagios it says ?No output!? I am able > to run other checks without any problems. > > I see at http://www.manubulon.com/nagios/faq.html#FAQ8 that there is a > problem with the embedded perl in Nagios so I make sure that I ran the > script using another version of perl. I am unable to find the p1.pl > file it is talking about patching. > > # 'check_win_proc_snmp' > > define command{ > > command_name check_win_proc_snmp > > command_line /opt/ActivePerl-5.8/bin/perl > /usr/local/nagios/libexec/check_snmp_win.pl -H HOST -C COMMUNITY -p > PORT -n SERVICE_TO_CHECK -N 1 > > } > > I have also tried using /usr/local/bin/perl and there has been no > change. I am able to run the check manually without any problems but > can?t run it though Nagios. > > Any help you can give will be great. > > Thanks, > > Michael > > Michael Frank mfrank at dps.state.vt.us > > Network Administrator (802) 241-5393 > > VT Dept of Public Safety 103 S Main, Waterbury 05671 > > !DSPAM:37,44f30a8d143292255019441! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > !DSPAM:37,44f30a8d143292255019441! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,44f30a8d143292255019441! > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Aug 28 17:55:39 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Mon, 28 Aug 2006 16:55:39 +0100 Subject: (No output!) Errors in Nagios 2.4 In-Reply-To: References: Message-ID: <44F311FB.4010501@mailnetwork.co.uk> Hi Patrick Nothing telling in the logs as far as I can see. On the Nagios server: > Aug 28 14:32:36 dns nagios: SERVICE ALERT: Sydney-1;Disk Space on > /endeavour;UNKNOWN;HARD;1;Cannot map "tcp" to protocol number That's the only line for that time and date. On the client, absolutely nothing since the NRPE daemon was started: Aug 27 10:23:40 sydney-1 nrpe[2505]: Starting up daemon Aug 27 10:23:40 sydney-1 nrpe[2505]: Listening for connections on port 5666 Aug 27 10:23:40 sydney-1 nrpe[2505]: Allowing connections from: 127.0.0.1,84.18.200.160 One thing I had noticed is there were 8 services that were checked at that exact time. Don't know if this could be a factor in it or not. I'm in the process of setting up a Nagios 2.5 server - I'm going to use exactly the same configuration files and plugins, stop the 2.4 server and let the 2.5 server run for a couple of days. If I don't get any of these errors then I'll know it's a server issue. THanks Andy. Morris, Patrick wrote: >> The 2 that are playing up still is an nrpe check which >> executes a check_disk and check_swap command on another >> machine. The status logs of the 2 services since midnight >> are shown below. >> >> I have no idea where "tcp" comes in, as it's not present in >> any of the commands ("/usr/local/nagios/libexec/check_nrpe -H >> $ARG1$ -p 5666 -t 60 -c $ARG2$") - $ARG1$ is $HOSTADDRESS$ >> and $ARG2$ is "check_endeavour" and "check_swap" for the 2 >> checks respectively. The NRPE on the remote machine for >> these two commands reads: >> >> command[check_endeavour]=/usr/local/nagios/libexec/check_disk >> -p /endeavour -w 10% -c 5% >> command[check_swap]=/usr/local/nagios/libexec/check_swap -w 10% -c 5% >> >> Is it possible this machine is having difficulty reading the >> /etc/services file, hence not being able to map a protocol number? >> > > Have you checked the system logs on both the client and the Nagios > server? This looks suspiciously like a "too many open files" kind of > error. > > !DSPAM:37,44f30806143291559514578! > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From creyes at co.ibm.com Mon Aug 28 18:07:13 2006 From: creyes at co.ibm.com (Carlos Mauricio Reyes Sanmiguel) Date: Mon, 28 Aug 2006 11:07:13 -0500 Subject: cannot stop notifications!! Message-ID: Hi there Mark.. Thanks, you were right, i stoped the service and verify the process, and there were a lot of them running, don?t know why, but i kill them all, and restart the service and it seems that it took the changes.. I?ll be checking today... Thank you again.. regards.. Creyes Domingo, 27 de Agosto de 2006 10:19 a.m. To: cc: From: "Marc Powell" Subject: Re: [Nagios-users] cannot stop notifications!! > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Carlos Mauricio Reyes > Sanmiguel > Sent: Friday, August 25, 2006 6:07 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] cannot stop notifications!! > > > Hi, > > I?ve been working with nagios for a while, I like it a lot, but now i?m > having some major problems with notifications. I have a server that flaps > a lot because of a poor channel, i configured nagios with the external > commands options enable, and it seems to work, but now, this server is > sending too many messages, almost 1000 a day, that is driving me crazy.., > I try to disable notifications from the web page, and it appears to have > taken the command, it appears in red in the bottom of the page, but when > the page refresh is not disable anymore.... and it continues to send > messages.. the last change i did, was to modify the configuration file > directly, the notifications option from workhours to none... and it > continues to send the messages.. > > Does anybody know how i can make it to take the changes? It sounds to me that you have more than one nagios daemon running. Stop nagios then use ps/kill to kill any nagios processes that remain then retart nagios. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kevin.andersen at 247realmedia.com Mon Aug 28 18:23:15 2006 From: kevin.andersen at 247realmedia.com (Andersen, Kevin J.) Date: Mon, 28 Aug 2006 10:23:15 -0600 Subject: cannot stop notifications!! In-Reply-To: References: Message-ID: <055490680E9D0E498A57AE92414EECE8010F7BAE@VS5.EXCHPROD.USA.NET> I've noticed that you should not immediately restart nagios after sending the stop command. Some processes will continue to run, and if you restart too quickly - you'll end up with the mess you had. Send the stop command and wait until you see all nagios processes exit. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Carlos Mauricio Reyes Sanmiguel Sent: Monday, August 28, 2006 12:07 PM To: Marc Powell Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] cannot stop notifications!! Hi there Mark.. Thanks, you were right, i stoped the service and verify the process, and there were a lot of them running, don?t know why, but i kill them all, and restart the service and it seems that it took the changes.. I?ll be checking today... Thank you again.. regards.. Creyes Domingo, 27 de Agosto de 2006 10:19 a.m. To: cc: From: "Marc Powell" Subject: Re: [Nagios-users] cannot stop notifications!! > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Carlos Mauricio Reyes > Sanmiguel > Sent: Friday, August 25, 2006 6:07 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] cannot stop notifications!! > > > Hi, > > I?ve been working with nagios for a while, I like it a lot, but now > i?m having some major problems with notifications. I have a server > that flaps a lot because of a poor channel, i configured nagios with > the external commands options enable, and it seems to work, but now, > this server is sending too many messages, almost 1000 a day, that is > driving me crazy.., I try to disable notifications from the web page, > and it appears to have taken the command, it appears in red in the > bottom of the page, but when the page refresh is not disable > anymore.... and it continues to send messages.. the last change i did, > was to modify the configuration file directly, the notifications > option from workhours to none... and it continues to send the messages.. > > Does anybody know how i can make it to take the changes? It sounds to me that you have more than one nagios daemon running. Stop nagios then use ps/kill to kill any nagios processes that remain then retart nagios. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sth at noiseplant.com Mon Aug 28 19:33:43 2006 From: sth at noiseplant.com (Sam Hooker) Date: Mon, 28 Aug 2006 13:33:43 -0400 (EDT) Subject: SELinux issue with nagios after upgrade to Centos 4.2 Message-ID: Hi there, (I don't know if this'll get packed into the correct thread, but I tried. It's in response to John Stevens' post bearing the same subject line from 10/20/2005.) Thanks for posting this, John: we've been experiencing the same issue using Dag's RPMs (which are generally excellent). The one thing I'd add is that, under CentOS 4.2 and 4.3, I got syntax errors from the recommended fix. (The quoting was what got me.) What worked in the end was to simply ditch the double-quotes: sudo -u $Nagios touch $NagiosVar/nagios.log $NagiosSav Cheers, -sth sam hooker|sth at noiseplant.com|http://www.noiseplant.com tail -f /var/llog/llama > Hi All, > Just in case this affects others on the list, I thought I would drop a line. > I have a Centos 4 system running Nagios 1.3 as installed from the dag > repository rpm. It has been working fine for a long time now (since I sorted > out some typos in the config:( ). Last week I upgraded to the latest Centos > 4.2. The first sign of any trouble was the system hung on boot, at the > "Starting Nagios" message. After booting in interactive mode and NOT > starting nagios, the system came up fine. Tried to start nagios with the > init script and it gave me a message like: > Your default context is user_u:system_r:unconfined_t. > > Do you want to choose a different one? [n] > > Accepting the default allowed nagios to start. After digging into the init > script, I discovered that the only problem was the use of su to touch the > various log files. The line looks like: > su -l $Nagios -c "touch $NagiosVar/nagios.log $NagiosSav" > and changing it to use sudo instead, fixed the problem. The sudo line looks > like this: > sudo -u $Nagios "touch $NagiosVar/nagios.log $NagiosSav" > > Now the system boots fine. The main reason for this (wild guess) is that su > does not change the security context of the user invoking it to that of the > user it is trying to be, but sudo does. The message is saying "well, you > want to be the nagios user, but your security context is root's, care to > change to something more apropriate?" WIth sudo, it all just changes. I am > guessing (once again, wildly) that this is due to tighter context checking > in this newer version of selinux. > > I thought I would let everyone now as I have not seen any messages like this > so far on the list (or may have skimmed over them if they were not clearly > referring to this problem). If someone could explain in more detail why this > occurred I would be interested. > > BTW, is there any work being done on a SELinux security context for nagios, > other than the web stuff hamideh daliri posted a while ago? It would seem > like a good idea given the criticality of nagios in a network. Not that I > have seen any reports of expoits to nagios, nsca or nrpe, but it would be > nice tomake sure it plays well with the other children ;) > > Regards ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Aug 28 19:58:23 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 28 Aug 2006 19:58:23 +0200 (CEST) Subject: cannot stop notifications!! In-Reply-To: <44F30D55.7010603@achievedata.com> References: <44EF851A.9020104@achievedata.com> <44F30D55.7010603@achievedata.com> Message-ID: On Mon, 28 Aug 2006, Malcolm Frazier wrote: > Umm okay Hugo you say what to do but not how to do it, great. Well I assumed that everyone has configured their hosts and services at one time or another. So I guessed this nudge was enough to go in the config section for the individual host/services instead of doing something globally. One can only assume people have access to the documentation and occasionaly use it. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard.schneidermayer at arz.co.at Mon Aug 28 20:01:29 2006 From: richard.schneidermayer at arz.co.at (richard.schneidermayer at arz.co.at) Date: Mon, 28 Aug 2006 20:01:29 +0200 Subject: =?iso-8859-1?q?Richard_Schneidermayer/ARZ/AT_ist_a?= =?iso-8859-1?q?u=DFer_Haus=2E?= Message-ID: Ich werde ab 28.08.2006 nicht im B?ro sein. Ich kehre zur?ck am 10.09.2006. Ich werde Ihre Nachricht nach meiner R?ckkehr beantworten. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From imarks at comcast.net Mon Aug 28 23:21:13 2006 From: imarks at comcast.net (Ian) Date: Mon, 28 Aug 2006 17:21:13 -0400 Subject: SELinux issue with nagios after upgrade to Centos 4.2 In-Reply-To: References: Message-ID: <44F35E49.1010100@comcast.net> From what I have seen posted in some forums and by Stephen Smalley, the correct way of to do transitions with "su" is by using the /sbin/runuser command. Example of what I use. /sbin/runuser - $NagiosUser -c "touch $NagiosVarDir/nagios.log $NagiosRetentionFile" Ian Sam Hooker wrote: > Hi there, > > (I don't know if this'll get packed into the correct thread, but I tried. > It's in response to John Stevens' post bearing the same subject line from > 10/20/2005.) > > Thanks for posting this, John: we've been experiencing the same issue > using Dag's RPMs (which are generally excellent). The one thing I'd add is > that, under CentOS 4.2 and 4.3, I got syntax errors from the recommended > fix. (The quoting was what got me.) What worked in the end was to simply > ditch the double-quotes: > > sudo -u $Nagios touch $NagiosVar/nagios.log $NagiosSav > > Cheers, > > -sth > > sam hooker|sth at noiseplant.com|http://www.noiseplant.com > > tail -f /var/llog/llama > > >> Hi All, >> Just in case this affects others on the list, I thought I would drop a >> > line. > >> I have a Centos 4 system running Nagios 1.3 as installed from the dag >> repository rpm. It has been working fine for a long time now (since I >> > sorted > >> out some typos in the config:( ). Last week I upgraded to the latest >> > Centos > >> 4.2. The first sign of any trouble was the system hung on boot, at the >> "Starting Nagios" message. After booting in interactive mode and NOT >> starting nagios, the system came up fine. Tried to start nagios with the >> init script and it gave me a message like: >> Your default context is user_u:system_r:unconfined_t. >> >> Do you want to choose a different one? [n] >> >> Accepting the default allowed nagios to start. After digging into the >> > init > >> script, I discovered that the only problem was the use of su to touch >> > the > >> various log files. The line looks like: >> su -l $Nagios -c "touch $NagiosVar/nagios.log $NagiosSav" >> and changing it to use sudo instead, fixed the problem. The sudo line >> > looks > >> like this: >> sudo -u $Nagios "touch $NagiosVar/nagios.log $NagiosSav" >> >> Now the system boots fine. The main reason for this (wild guess) is that >> > su > >> does not change the security context of the user invoking it to that of >> > the > >> user it is trying to be, but sudo does. The message is saying "well, you >> want to be the nagios user, but your security context is root's, care to >> change to something more apropriate?" WIth sudo, it all just changes. I >> > am > >> guessing (once again, wildly) that this is due to tighter context >> > checking > >> in this newer version of selinux. >> >> I thought I would let everyone now as I have not seen any messages like >> > this > >> so far on the list (or may have skimmed over them if they were not >> > clearly > >> referring to this problem). If someone could explain in more detail why >> > this > >> occurred I would be interested. >> >> BTW, is there any work being done on a SELinux security context for >> > nagios, > >> other than the web stuff hamideh daliri posted a while ago? It would >> > seem > >> like a good idea given the criticality of nagios in a network. Not that >> > I > >> have seen any reports of expoits to nagios, nsca or nrpe, but it would >> > be > >> nice tomake sure it plays well with the other children ;) >> >> Regards >> > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JHuber at ch2m.net Tue Aug 29 00:17:25 2006 From: JHuber at ch2m.net (Jeremy Huber) Date: Mon, 28 Aug 2006 16:17:25 -0600 Subject: SNMP monitoring intelligence? Message-ID: <6CF3819508532549973C029FDBE336C036D1D7@msiesp-e2k02.esp.msi.local> If someone could point me in the right direction, I'd appreciate it... I've got a case where I need to watch 2 interfaces on a router. If Int1 is up and Int2 is down, that's ok. If Int1 is down, but Int2 is up, that's a warning. If both are down, that's critical. In addition, the interfaces may change per device (ie: on one router it's an ethernet, on another is a serial). I've used Nagios for a while now, but never had to write my own plugins or anything like that, so if there's a RTFM response somewhere, that works too. Thanks! Jeremy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From conigliaro at getproactivenow.com Tue Aug 29 00:51:02 2006 From: conigliaro at getproactivenow.com (mike conigliaro) Date: Mon, 28 Aug 2006 18:51:02 -0400 Subject: to anyone monitoring windows machines with nagios (wmi, etc.) Message-ID: <44F37356.30401@getproactivenow.com> hey guys, i recently started a project to simplify windows monitoring with nagios. my goal was to create a comprehensive set of plugins similar to the official nagios plugins for *nix, but for win32 nrpe daemons. so far, i have wmi plugins for monitoring basic performance metrics like cpu, memory, disk, swap, service state, etc. i've also written some basic snmp, tcp, and icmp plugins, so this project is not at all limited to monitoring windows machines. a very nice side effect of this project was ending up with a simple object oriented framework for writing future plugins. this has improved my plugin development time immensely. for example, its now possible for me to write a brand new, fully-functional wmi plugin from start-to-finish in literally 2 minutes! the project page is here: http://nagiospluginsnt.getproactivenow.com i hope someone out there finds this stuff useful, and im interested in any feedback you might have. -- Mike Conigliaro ProActive Technologies conigliaro at getproactivenow.com 203.239.0440 ext:317 www.getproactivenow.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevorwarren at gmail.com Tue Aug 29 01:28:37 2006 From: trevorwarren at gmail.com (Trevor Warren) Date: Tue, 29 Aug 2006 04:58:37 +0530 Subject: to anyone monitoring windows machines with nagios (wmi, etc.) In-Reply-To: <44F37356.30401@getproactivenow.com> References: <44F37356.30401@getproactivenow.com> Message-ID: <559e3cb60608281628h7e77cef7w36cdae3ac99fe61e@mail.gmail.com> Hello Mike, You indeed have an interesting project here. Was trying to find documentation towards understanding how it works but couldnt make any progress. Am guessing......, You configure a service on the nagios box to call the nagiosnt plugin over nrpe which can then call any other windows machine using wmi. Is this how it works???. Thanks and Regards Mike. Trevor On 8/29/06, mike conigliaro wrote: > > hey guys, > > i recently started a project to simplify windows monitoring with > nagios. my > goal was to create a comprehensive set of plugins similar to the official > nagios > plugins for *nix, but for win32 nrpe daemons. so far, i have wmi plugins > for > monitoring basic performance metrics like cpu, memory, disk, swap, service > state, etc. i've also written some basic snmp, tcp, and icmp plugins, so > this > project is not at all limited to monitoring windows machines. > > a very nice side effect of this project was ending up with a simple object > oriented framework for writing future plugins. this has improved my > plugin > development time immensely. for example, its now possible for me to write > a > brand new, fully-functional wmi plugin from start-to-finish in literally 2 > minutes! > > the project page is here: > > http://nagiospluginsnt.getproactivenow.com > > i hope someone out there finds this stuff useful, and im interested in any > feedback you might have. > > -- > Mike Conigliaro > ProActive Technologies > conigliaro at getproactivenow.com > 203.239.0440 ext:317 > www.getproactivenow.com > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ___________________________________ ( >- / Scaling FreeSoftware & OpenSource \ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ | |_|_ \____________________________________/ _|_| An eye for an eye will soon turn the world blind - MKG "You cannot see me, yet I am the light you see by. You cannot hear me, yet I speak through your voice. You cannot feel me, yet I am the power at work in your hands. I am at work, though you do not understand my ways. I am not strange visions. I am not mysteries. Only in absolute stillness, beyond self, can you know me as I am, and then but as a feeling and a faith. Yet I am here. Yet I hear. Yet I answer. -anon " -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From conigliaro at getproactivenow.com Tue Aug 29 02:22:25 2006 From: conigliaro at getproactivenow.com (Mike Conigliaro) Date: Mon, 28 Aug 2006 20:22:25 -0400 Subject: to anyone monitoring windows machines with nagios (wmi, etc.) In-Reply-To: <559e3cb60608281628h7e77cef7w36cdae3ac99fe61e@mail.gmail.com> References: <44F37356.30401@getproactivenow.com> <559e3cb60608281628h7e77cef7w36cdae3ac99fe61e@mail.gmail.com> Message-ID: <44F388C1.8050709@getproactivenow.com> sorry, documentation is a bit light at this point. =/ your guess is correct. if you have to monitor a network of windows machines, its hard to beat doing it with wmi. unfortunately, you cant query wmi directly from *nix (as far as i know), but you can run an nrpe service on one of your windows machines and "proxy" the checks through that machine. you only need the check_nrpe plugin on the *nix side to do this. my project is simply a collection of plugins, plus a framework for simplifying plugin development in c# .net. i started it because i couldnt find a good replacement for the official nagios plugins for *nix, and i didnt want just a direct win32 port either, because i wanted the power of wmi for windows monitoring. i hope this helps. Trevor Warren wrote: > Hello Mike, > > You indeed have an interesting project here. Was trying to find > documentation towards understanding how it works but couldnt make any > progress. Am guessing......, > > You configure a service on the nagios box to call the nagiosnt plugin over > nrpe which can then call any other windows machine using wmi. Is this > how it > works???. > > Thanks and Regards Mike. > > Trevor > > On 8/29/06, mike conigliaro wrote: >> >> hey guys, >> >> i recently started a project to simplify windows monitoring with >> nagios. my >> goal was to create a comprehensive set of plugins similar to the official >> nagios >> plugins for *nix, but for win32 nrpe daemons. so far, i have wmi plugins >> for >> monitoring basic performance metrics like cpu, memory, disk, swap, >> service >> state, etc. i've also written some basic snmp, tcp, and icmp plugins, so >> this >> project is not at all limited to monitoring windows machines. >> >> a very nice side effect of this project was ending up with a simple >> object >> oriented framework for writing future plugins. this has improved my >> plugin >> development time immensely. for example, its now possible for me to >> write >> a >> brand new, fully-functional wmi plugin from start-to-finish in >> literally 2 >> minutes! >> >> the project page is here: >> >> http://nagiospluginsnt.getproactivenow.com >> >> i hope someone out there finds this stuff useful, and im interested in >> any >> feedback you might have. >> >> -- >> Mike Conigliaro >> ProActive Technologies >> conigliaro at getproactivenow.com >> 203.239.0440 ext:317 >> www.getproactivenow.com >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevorwarren at gmail.com Tue Aug 29 02:25:28 2006 From: trevorwarren at gmail.com (Trevor Warren) Date: Tue, 29 Aug 2006 05:55:28 +0530 Subject: to anyone monitoring windows machines with nagios (wmi, etc.) In-Reply-To: <44F388C1.8050709@getproactivenow.com> References: <44F37356.30401@getproactivenow.com> <559e3cb60608281628h7e77cef7w36cdae3ac99fe61e@mail.gmail.com> <44F388C1.8050709@getproactivenow.com> Message-ID: <559e3cb60608281725x5a7f7748u777a1f766370aec5@mail.gmail.com> Good stuff mike. Keep up the great work. Am going to have this checked out and revert back. Hope you will keep adding to the project when you can. Trevor On 8/29/06, Mike Conigliaro wrote: > > sorry, documentation is a bit light at this point. =/ > > your guess is correct. if you have to monitor a network of windows > machines, its hard to beat doing it with wmi. unfortunately, you cant > query wmi directly from *nix (as far as i know), but you can run an nrpe > service on one of your windows machines and "proxy" the checks through > that machine. you only need the check_nrpe plugin on the *nix side to > do this. > > my project is simply a collection of plugins, plus a framework for > simplifying plugin development in c# .net. i started it because i > couldnt find a good replacement for the official nagios plugins for > *nix, and i didnt want just a direct win32 port either, because i wanted > the power of wmi for windows monitoring. > > i hope this helps. > > > Trevor Warren wrote: > > Hello Mike, > > > > You indeed have an interesting project here. Was trying to find > > documentation towards understanding how it works but couldnt make any > > progress. Am guessing......, > > > > You configure a service on the nagios box to call the nagiosnt plugin > over > > nrpe which can then call any other windows machine using wmi. Is this > > how it > > works???. > > > > Thanks and Regards Mike. > > > > Trevor > > > > On 8/29/06, mike conigliaro wrote: > >> > >> hey guys, > >> > >> i recently started a project to simplify windows monitoring with > >> nagios. my > >> goal was to create a comprehensive set of plugins similar to the > official > >> nagios > >> plugins for *nix, but for win32 nrpe daemons. so far, i have wmi > plugins > >> for > >> monitoring basic performance metrics like cpu, memory, disk, swap, > >> service > >> state, etc. i've also written some basic snmp, tcp, and icmp plugins, > so > >> this > >> project is not at all limited to monitoring windows machines. > >> > >> a very nice side effect of this project was ending up with a simple > >> object > >> oriented framework for writing future plugins. this has improved my > >> plugin > >> development time immensely. for example, its now possible for me to > >> write > >> a > >> brand new, fully-functional wmi plugin from start-to-finish in > >> literally 2 > >> minutes! > >> > >> the project page is here: > >> > >> http://nagiospluginsnt.getproactivenow.com > >> > >> i hope someone out there finds this stuff useful, and im interested in > >> any > >> feedback you might have. > >> > >> -- > >> Mike Conigliaro > >> ProActive Technologies > >> conigliaro at getproactivenow.com > >> 203.239.0440 ext:317 > >> www.getproactivenow.com > >> > >> > ------------------------------------------------------------------------- > >> Using Tomcat but need to do more? Need to support web services, > security? > >> Get stuff done quickly with pre-integrated technology to make your job > >> easier > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache > >> Geronimo > >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > >> > > > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ___________________________________ ( >- / Scaling FreeSoftware & OpenSource \ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ | |_|_ \____________________________________/ _|_| An eye for an eye will soon turn the world blind - MKG "You cannot see me, yet I am the light you see by. You cannot hear me, yet I speak through your voice. You cannot feel me, yet I am the power at work in your hands. I am at work, though you do not understand my ways. I am not strange visions. I am not mysteries. Only in absolute stillness, beyond self, can you know me as I am, and then but as a feeling and a faith. Yet I am here. Yet I hear. Yet I answer. -anon " -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at AdamsInfoServ.Com Tue Aug 29 07:33:55 2006 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Tue, 29 Aug 2006 00:33:55 -0500 Subject: to anyone monitoring windows machines with nagios (wmi, etc.) In-Reply-To: <44F388C1.8050709@getproactivenow.com> References: <44F37356.30401@getproactivenow.com> <559e3cb60608281628h7e77cef7w36cdae3ac99fe61e@mail.gmail.com> <44F388C1.8050709@getproactivenow.com> Message-ID: <20060829053355.GA12009@keroberos> I recall hearing someone else wrote a WMI proxy for this purpose a while ago, though I don't recall the project. Perhaps you should compare? Russell On Mon, Aug 28, 2006 at 08:22:25PM -0400, Mike Conigliaro wrote: > sorry, documentation is a bit light at this point. =/ > > your guess is correct. if you have to monitor a network of windows > machines, its hard to beat doing it with wmi. unfortunately, you cant > query wmi directly from *nix (as far as i know), but you can run an nrpe > service on one of your windows machines and "proxy" the checks through > that machine. you only need the check_nrpe plugin on the *nix side to > do this. > > my project is simply a collection of plugins, plus a framework for > simplifying plugin development in c# .net. i started it because i > couldnt find a good replacement for the official nagios plugins for > *nix, and i didnt want just a direct win32 port either, because i wanted > the power of wmi for windows monitoring. > > i hope this helps. > > > Trevor Warren wrote: > > Hello Mike, > > > > You indeed have an interesting project here. Was trying to find > > documentation towards understanding how it works but couldnt make any > > progress. Am guessing......, > > > > You configure a service on the nagios box to call the nagiosnt plugin over > > nrpe which can then call any other windows machine using wmi. Is this > > how it > > works???. > > > > Thanks and Regards Mike. > > > > Trevor > > > > On 8/29/06, mike conigliaro wrote: > >> > >> hey guys, > >> > >> i recently started a project to simplify windows monitoring with > >> nagios. my > >> goal was to create a comprehensive set of plugins similar to the official > >> nagios > >> plugins for *nix, but for win32 nrpe daemons. so far, i have wmi plugins > >> for > >> monitoring basic performance metrics like cpu, memory, disk, swap, > >> service > >> state, etc. i've also written some basic snmp, tcp, and icmp plugins, so > >> this > >> project is not at all limited to monitoring windows machines. > >> > >> a very nice side effect of this project was ending up with a simple > >> object > >> oriented framework for writing future plugins. this has improved my > >> plugin > >> development time immensely. for example, its now possible for me to > >> write > >> a > >> brand new, fully-functional wmi plugin from start-to-finish in > >> literally 2 > >> minutes! > >> > >> the project page is here: > >> > >> http://nagiospluginsnt.getproactivenow.com > >> > >> i hope someone out there finds this stuff useful, and im interested in > >> any > >> feedback you might have. > >> > >> -- > >> Mike Conigliaro > >> ProActive Technologies > >> conigliaro at getproactivenow.com > >> 203.239.0440 ext:317 > >> www.getproactivenow.com > >> > >> ------------------------------------------------------------------------- > >> Using Tomcat but need to do more? Need to support web services, security? > >> Get stuff done quickly with pre-integrated technology to make your job > >> easier > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache > >> Geronimo > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > >> > > > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjl at topdanmark.dk Tue Aug 29 08:36:25 2006 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Tue, 29 Aug 2006 08:36:25 +0200 Subject: Vedr.: SNMP monitoring intelligence? In-Reply-To: <6CF3819508532549973C029FDBE336C036D1D7@msiesp-e2k02.esp.msi.local> References: <6CF3819508532549973C029FDBE336C036D1D7@msiesp-e2k02.esp.msi.local> Message-ID: Dear Jeremy, Please take a look at some simple plugins written in bash. They are extremely usefull, and you will have the control to write som very specific checks like the one you are asking for. Best regards Thomas "Jeremy Huber" Sendt af: nagios-users-bounces at lists.sourceforge.net 29-08-2006 00:17 Til cc Emne [Nagios-users] SNMP monitoring intelligence? If someone could point me in the right direction, I'd appreciate it... I've got a case where I need to watch 2 interfaces on a router. If Int1 is up and Int2 is down, that's ok. If Int1 is down, but Int2 is up, that's a warning. If both are down, that's critical. In addition, the interfaces may change per device (ie: on one router it's an ethernet, on another is a serial). I've used Nagios for a while now, but never had to write my own plugins or anything like that, so if there's a RTFM response somewhere, that works too. Thanks! Jeremy ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joe_cocker_00 at yahoo.com Tue Aug 29 10:17:35 2006 From: joe_cocker_00 at yahoo.com (joe cocker) Date: Tue, 29 Aug 2006 01:17:35 -0700 (PDT) Subject: nagios 2.5 reload problem Message-ID: <20060829081735.59760.qmail@web57212.mail.re3.yahoo.com> hi, i have a problem with nagios reload (version 2.5). the nagios reload procedure is using kill -HUB process-id moretimes it works, but sometimes the nagios process is only killed not reloaded and nagios is not running! is it a nagios bug ? thanks ! joe __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 From mfleige at rhenus.de Tue Aug 29 10:42:06 2006 From: mfleige at rhenus.de (Marcus Fleige) Date: Tue, 29 Aug 2006 10:42:06 +0200 Subject: Problems with service scheduling Message-ID: <44F3FDDE.2030901@rhenus.de> Hi list, i recently ran into problems with the service scheduling inside my nagios installation and i guess i need some help. I'm running Nagios 2.5 with roundabout 300 Hosts ans 2800 services on a 4-CPU Xeon machine with 2 GB RAM. Services are actively monitored. Thing is: I changed the configuration last week to better fit our needs. That included a lot of renaming of Services, Contacts, Contactgroups and Escalations. After I finished, i restarted the nagios daemon yesterday morning at about 9am. Result: the process doesn't start monitoring. I looked into the scheduling queue, and it told me it will start the monitoring at 5pm in the evening. Over the day, i tried to analyse the problem. I reviewed the config, although Nagios verificates it to be good, finding nothing. Restart of the process has no effect, the scheduling queue doesn't change. I tried with the old config (praise svn!), and the Process starts as usual, generating a new scheduling queue and beginning the monitoring. As the only file influencing the schedule queue is the main config file and altough I did not change that, i copied it again from the old to the new config. It didn't show any effect, at least it shows the error seems to live in the host/service/escalation area of my config. When i restarted the Nagios daemon at 4:50pm, waiting till 5pm, i began to monitor as he was expected to. That worked till today morning, when at around 9am (again!) the scheduling queue showed up with the 5pm-thing again. I recompiled nagios with DEBUG1-3 to get some more information. After validating te config, it shows the following: [...] Completed service verification checks Completed host verification checks Completed hostgroup verification checks Completed servicegroup verification checks Completed contact verification checks Completed contact group verification checks Completed service escalation checks Completed service dependency checks Completed host escalation checks Completed host dependency checks Completed command checks Completed command checks Completed extended host info checks Completed extended service info checks Completed circular path checks Completed circular host and service dependency checks Completed global event handler command checks Completed obsessive compulsive processor command checks $0: Cannot enter daemon mode with DEBUG option(s) enabled. We'll run as a foreground process instead... COMMAND FILE THREAD: 1077427120 Preferred Time: 1156839911 --> Tue Aug 29 10:25:11 2006 Next Valid Time: 1156863600 --> Tue Aug 29 17:00:00 2006 Preferred Time: 1156839911 --> Tue Aug 29 10:25:11 2006 Next Valid Time: 1156863600 --> Tue Aug 29 17:00:00 2006 [...] Host 'AP001' should not be scheduled Host 'AP002' should not be scheduled Host 'AP003' should not be scheduled Host 'AP004' should not be scheduled Host 'AP005' should not be scheduled [...] Total scheduled services: 2837 Service Interleave factor: 1 Total service interleave blocks: 2837 Service inter-check delay: 1.0 Current Interleave Block: 0 Service 'Network: Ping' on host 'AP001' CIB: 0, IBI: 1, TIB: 2837, SIF: 1 Mult factor: 2837 Preferred Check Time: 1156842748 --> Tue Aug 29 11:12:28 2006 Preferred Time: 1156842748 --> Tue Aug 29 11:12:28 2006 Next Valid Time: 1156863600 --> Tue Aug 29 17:00:00 2006 Actual Check Time: 1156863600 --> Tue Aug 29 17:00:00 2006 [...] As you can see, i also changed the service interleaving from smart to dumb with an interleave factor of 1 to cirumvent the scheduling logic. In vain, i guess.... :-( Now, for my questions: Has anyone seen such behaviour already? Where is that "Next Valid Time" in the Debug-Output from? How is it generated? Is there any tool beside the daemon itself to validate the config files? Thanks for reading all the way down here and please excuse any lingual errors. Regards, Marcus Fleige -- EOF ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mfleige at rhenus.de Tue Aug 29 11:19:06 2006 From: mfleige at rhenus.de (Marcus Fleige) Date: Tue, 29 Aug 2006 11:19:06 +0200 Subject: Problems with service scheduling In-Reply-To: <44F3FDDE.2030901@rhenus.de> References: <44F3FDDE.2030901@rhenus.de> Message-ID: <44F4068A.7050500@rhenus.de> OMFG! I finally found my error. As usual, it sat 30cm in front of my screen. :-( My Graphs and a look into the source told me about the error: Monitoring was delayed between 8am and 5pm. That is exactly the timeperiod i defined for workhours. And workhours are cut away from every other timeperiod, including 24/7... I guess i need another cup of coffee... Sorry for the noise on the list! Regards, Marcus Fleige -- EOF ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigo.maceno at gmail.com Tue Aug 29 13:20:28 2006 From: rodrigo.maceno at gmail.com (Rodrigo Maceno) Date: Tue, 29 Aug 2006 08:20:28 -0300 Subject: Scripts nagios.... Message-ID: <27acffb00608290420p7e1ee5fbt514182afb5184db7@mail.gmail.com> Hi, Do anyone have scripts like to view CPU temperature, the utility memory.... And would like to share with me?? Thanks, PS: Sorry by my english.. :) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Tue Aug 29 13:32:06 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Tue, 29 Aug 2006 12:32:06 +0100 Subject: Scripts nagios.... In-Reply-To: <27acffb00608290420p7e1ee5fbt514182afb5184db7@mail.gmail.com> References: <27acffb00608290420p7e1ee5fbt514182afb5184db7@mail.gmail.com> Message-ID: <44F425B6.4020604@mailnetwork.co.uk> Try www.nagiosexchange.org - I know there's a check_mem script on there to check physical memory usage. The official Nagios plugins (http://sourceforge.net/projects/nagiosplug/) contains check_sensors which I believe will check CPU temperature etc using lmsensors, and check_swap and check_disk to check the swap memory and physical storage memory usage plus tons more. This is assuming it's a Unix system you're monitoring. Andy. Rodrigo Maceno wrote: > Hi, > > Do anyone have scripts like to view CPU temperature, the utility > memory.... And would like to share with me?? > > Thanks, > PS: Sorry by my english.. :) > !DSPAM:37,44f42383143291129136908! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > !DSPAM:37,44f42383143291129136908! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,44f42383143291129136908! > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Aug 29 16:44:50 2006 From: marc at ena.com (Marc Powell) Date: Tue, 29 Aug 2006 09:44:50 -0500 Subject: SNMP monitoring intelligence? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jeremy Huber > Sent: Monday, August 28, 2006 5:17 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SNMP monitoring intelligence? > > If someone could point me in the right direction, I'd appreciate it... > > I've got a case where I need to watch 2 interfaces on a router. If Int1 > is up and Int2 is down, that's ok. If Int1 is down, but Int2 is up, > that's a warning. If both are down, that's critical. > > In addition, the interfaces may change per device (ie: on one router it's > an ethernet, on another is a serial). We have the same kind of design challenge except we could have an arbitrary number of interfaces on a router to check, some we care about and some we don't. We resolved it by 'marking' the interface descriptions in a special way -- Loopback 7 Description !~#2 Serial 1/0 Description !~@ Serial 2/0 Description Serial 3/0 Description !~@ !~@ is used on interfaces that we are interested in watching. !~#x is the total number of interesting interfaces I should see. I then use snmpwalk to look through ifAlias looking for either. Once that's done I look at ifOperStatus for each interface marked !~@ for status. If one is down I append it to the plugin output. Once through I compare the total seen to the total expected to account for instances where a card can fail completely. We always exit critical but could exit on warning if an arbitrary number of interfaces were down. This works for every interface type I've been interested in except for ISDN (serial, ether, faste, etc). -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mike.Bickham at yoomedia.com Tue Aug 29 17:18:56 2006 From: Mike.Bickham at yoomedia.com (Mike Bickham) Date: Tue, 29 Aug 2006 16:18:56 +0100 Subject: Statusmap.cgi not displaying hosts/icons Message-ID: Hi, I hope that this is the right forum, and that someone can help. I cannot get the statusmap.cgi to work in Nagios. I have searched the web, installed what i think I need and still no luck. When I load the statusmap.cgi I get a page with the usual headers and information, but no map. I get different results when I look at the webpage, depending on whether I select 'User-supplied coords' or Circular. When I look at the source for the webpage I get this: This shows that there is an image, but there are no hosts/icons on this image, it is blank. Additionally if I look at the 'circular' option I get the following error message: "You have not supplied any host drawing coordinates, so you cannot use this layout method." Unfortunately I have included the coords in the hostextinfo.cfg file. So I am unsure why no icons/hosts are being drawn. I have compiled NAGIOS with all the relevant options (I think), and added all the relevant libraries. Additionally the statusmap.cgi page wont display the hosts even if I use GIFs or JPEGs. I am lost!! If anyone can help I would be very grateful. In the event I cannot get this to work, can anyone suggest any other tools/apps I can use for generating the statusmap? Some information regarding my installation System: Fedora Core 5 Nagios: 2.5 GCLibc: 2.4-4 (glibc, glibc-common, glibc-devel, glibc-headers, glibc-kernheaders) GD Library libpng libiconv-1.9.2 Output from 'ldd statusmap.cgi' linux-gate.so.1 => (0x0031a000) libgd.so.1.8 => /usr/lib/libgd.so.1.8 (0x0098e000) libz.so.1 => /usr/lib/libz.so.1 (0x0093d000) libm.so.6 => /lib/libm.so.6 (0x00916000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00c9b000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x0064d000) libc.so.6 => /lib/libc.so.6 (0x007db000) libXpm.so.4 => /usr/lib/libXpm.so.4 (0x0097b000) libX11.so.6 => /usr/lib/libX11.so.6 (0x00a72000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00c31000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00bb1000) /lib/ld-linux.so.2 (0x007be000) libXau.so.6 => /usr/lib/libXau.so.6 (0x00976000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00a6a000) libdl.so.2 => /lib/libdl.so.2 (0x00910000) libexpat.so.0 => /lib/libexpat.so.0 (0x00b83000) (Note, it looks like linux-gate.so.1 and /lib/ld-linux.so.2 may not be necessary, but correct me if i am wrong) Section from /usr/local/nagios/etc/hostextinfo.cfg define hostextinfo{ host_name server1 notes This is the primary Netware file server notes_url http://webserver.localhost.localdomain/hostinfo.pl?host=netware1 icon_image redhat.png icon_image_alt RedHat 7.2 vrml_image novell40.png statusmap_image redhat.gif 2d_coords 100,250 3d_coords 100.0,50.0,75.0 } I am now at a loss to know what is wrong. Please can someone help. Best Regards, Michael. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From muaddib at databit7.com Tue Aug 29 18:39:17 2006 From: muaddib at databit7.com (Robin-David Hammond%KB3IEN) Date: Tue, 29 Aug 2006 16:39:17 +0000 (UTC) Subject: mountlist.c:187: error: case label does not reduce to an integer constant Message-ID: I just downloaded the lasted? modules, MD5 (nagios-plugins-1.4.3.tar.gz) = 2c40fc69d51cc979e85150870a1daa93 did ./configure and tired both make and gmake to no avail. It seems there is a missing header file. Does any one know anything about this? Robin-David Hammond KB3IEN ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigo.maceno at gmail.com Tue Aug 29 18:41:23 2006 From: rodrigo.maceno at gmail.com (Rodrigo Maceno) Date: Tue, 29 Aug 2006 13:41:23 -0300 Subject: Problem with Check_mem Message-ID: <27acffb00608290941s1eb6d5d9ha48b59d14365df06@mail.gmail.com> Hello, I got the check_mem plugin at the site www.nagiosexchange.org and when I try ot run with NRPE, it shows me the follow error: CHECK_NRPE: No output returned from daemon. Could anyone help me? Thanks, Rodrigo. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Aug 29 19:19:05 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 29 Aug 2006 13:19:05 -0400 Subject: mountlist.c:187: error: case label does not reduce to an integer constant In-Reply-To: References: Message-ID: > I just downloaded the lasted? modules, > > MD5 (nagios-plugins-1.4.3.tar.gz) = 2c40fc69d51cc979e85150870a1daa93 > > > did ./configure and tired both make and gmake to no avail. It > seems there is a missing header file. Does any one know > anything about this? Configure output would be a big help here. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Ringe at web.de Tue Aug 29 21:24:53 2006 From: Peter.Ringe at web.de (Peter Ringe) Date: Tue, 29 Aug 2006 21:24:53 +0200 Subject: nagiosgraph and embedded perl Message-ID: <44F49485.3030602@web.de> Hi all together, actually I run Nagios 2.5 and 2.5, Plugins 1.4.2 and nagiosgraph 0.8.2 on RH EL4 When configuring Nagios without embedded Perl and without perlcache (during the configure-stage) everything including processing perfomance data works well. When recompiling Nagios (version 2.4 or version 2.5 makes no difference) with embedded Perl and perlcache Nagios and all my Plugins works fine, but the insert.pl-Script does'nt seem to work any longer. Even with debug-Level 5 in nagiosgraph.conf, there is no output in the nagiosgraph.log There may be a some problem with using embedded perl for insert.pl. Does anyone know about such a problem? PS: Just using a wrapper insert.sh, which just calls insert.pl with all the options passed through. everything works fine again. With this constructions I just aovided to run insert.pl inside ePN but use the standard perl interpreter instead. Regards, Peter ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdaily at apparatus.net Tue Aug 29 21:33:33 2006 From: jdaily at apparatus.net (John R. Daily) Date: Tue, 29 Aug 2006 15:33:33 -0400 Subject: nagiosgraph and embedded perl In-Reply-To: <44F49485.3030602@web.de> References: <44F49485.3030602@web.de> Message-ID: <2E817171-79FF-4211-929A-845C19A627AE@apparatus.net> I encountered the same problem, and configured Nagios to invoke insert.pl as "/usr/bin/perl /insert.pl" instead, as per someone's suggestion from long ago to avoid ePN for home-grown Perl plugins. -John On Aug 29, 2006, at 3:24 PM, Peter Ringe wrote: > Hi all together, > > actually I run Nagios 2.5 and 2.5, Plugins 1.4.2 and nagiosgraph 0.8.2 > on RH EL4 > > When configuring Nagios without embedded Perl and without perlcache > (during the configure-stage) > everything including processing perfomance data works well. > > When recompiling Nagios (version 2.4 or version 2.5 makes no > difference) > with embedded Perl and perlcache Nagios and all my Plugins works fine, > but the insert.pl-Script does'nt seem to work any longer. Even with > debug-Level 5 in nagiosgraph.conf, there is no output in the > nagiosgraph.log > > > There may be a some problem with using embedded perl for insert.pl. > Does > anyone know about such a problem? > > PS: Just using a wrapper insert.sh, which just calls insert.pl with > all > the options passed through. everything works fine again. With this > constructions I just aovided to run insert.pl inside ePN but use the > standard perl interpreter instead. > > > Regards, Peter > > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null John R. Daily Apparatus, Inc. 912 N. Delaware St. Indianapolis, IN 46202 (317) 254-8488 Ext. 320 jdaily at apparatus.net ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Ringe at web.de Tue Aug 29 22:37:29 2006 From: Peter.Ringe at web.de (Peter Ringe) Date: Tue, 29 Aug 2006 22:37:29 +0200 Subject: nagiosgraph and embedded perl In-Reply-To: <2E817171-79FF-4211-929A-845C19A627AE@apparatus.net> References: <44F49485.3030602@web.de> <2E817171-79FF-4211-929A-845C19A627AE@apparatus.net> Message-ID: <44F4A589.6050008@web.de> Thanks, so there may be a principal problem with nagiosgraph and ePN. Does anyone know a solution? Does anyone known an other pert-Tool, which doesn't confict with ePn, but fills in RRDs? Peter John R. Daily schrieb: > I encountered the same problem, and configured Nagios to invoke > insert.pl as "/usr/bin/perl /insert.pl" instead, as per > someone's suggestion from long ago to avoid ePN for home-grown Perl > plugins. > > -John > > On Aug 29, 2006, at 3:24 PM, Peter Ringe wrote: > > >> Hi all together, >> >> actually I run Nagios 2.5 and 2.5, Plugins 1.4.2 and nagiosgraph 0.8.2 >> on RH EL4 >> >> When configuring Nagios without embedded Perl and without perlcache >> (during the configure-stage) >> everything including processing perfomance data works well. >> >> When recompiling Nagios (version 2.4 or version 2.5 makes no >> difference) >> with embedded Perl and perlcache Nagios and all my Plugins works fine, >> but the insert.pl-Script does'nt seem to work any longer. Even with >> debug-Level 5 in nagiosgraph.conf, there is no output in the >> nagiosgraph.log >> >> >> There may be a some problem with using embedded perl for insert.pl. >> Does >> anyone know about such a problem? >> >> PS: Just using a wrapper insert.sh, which just calls insert.pl with >> all >> the options passed through. everything works fine again. With this >> constructions I just aovided to run insert.pl inside ePN but use the >> standard perl interpreter instead. >> >> >> Regards, Peter >> >> >> >> ---------------------------------------------------------------------- >> --- >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel? >> cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > John R. Daily > Apparatus, Inc. > 912 N. Delaware St. > Indianapolis, IN 46202 > (317) 254-8488 Ext. 320 > jdaily at apparatus.net > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frcaen at gmail.com Tue Aug 29 23:30:26 2006 From: frcaen at gmail.com (Francois Caen) Date: Tue, 29 Aug 2006 14:30:26 -0700 Subject: SNMP monitoring intelligence? In-Reply-To: References: Message-ID: <58cfe2840608291430r4d40353bg411a23cf2d8e0ff2@mail.gmail.com> On 8/29/06, Marc Powell wrote: > Loopback 7 > Description !~#2 So this loopback is just a placeholder for the total number of interfaces? Interesting design. Have you released that plugin? -- Francois Caen, RHCE, CCNA SpiderMaker, LLC ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frcaen at gmail.com Wed Aug 30 02:05:54 2006 From: frcaen at gmail.com (Francois Caen) Date: Tue, 29 Aug 2006 17:05:54 -0700 Subject: are my checks orphaned? Message-ID: <58cfe2840608291705q4a80a91s14f98c99bd94d0ca@mail.gmail.com> Hello all, Running the latest Dag RPMs on CentOS. A couple times in the last month, I've had 1-2 service checks that stop occuring. I see them "stuck" at the top of my Scheduling Queue, with a "next check" that is in the past and not changing. I've manually rescheduled the checks to the present time/date and they start working again. Is this a symptom of orphaned service checks? Anyone else seen this? Did you fix it with check_for_orphaned_services=1 ? Thanks, Francois Caen ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Aug 30 02:43:00 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 29 Aug 2006 20:43:00 -0400 Subject: nagiosgraph and embedded perl In-Reply-To: <44F4A589.6050008@web.de> References: <44F4A589.6050008@web.de> Message-ID: > Thanks, > > so there may be a principal problem with nagiosgraph and ePN. > Does anyone know a solution? > Does anyone known an other pert-Tool, which doesn't confict > with ePn, but fills in RRDs? I use nagiosgraph on servers with embedded perl enabled, and haven't run into this problem. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Murray.Barton at woodside.com.au Wed Aug 30 05:17:33 2006 From: Murray.Barton at woodside.com.au (Barton, Murray M.) Date: Wed, 30 Aug 2006 11:17:33 +0800 Subject: building NRPE statically Message-ID: <17EBC05307239C4896ED25244F42A801023810F2@permls05.wde.woodside.com.au> Hi, is there any way to build nrpe statically? I have to deploy across a large number of solaris boxes and I don't want to have to install openssl on all of them as well. ./configure --help didn't give me any clues :( Cheers Murray -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Aug 30 05:20:11 2006 From: marc at ena.com (Marc Powell) Date: Tue, 29 Aug 2006 22:20:11 -0500 Subject: SNMP monitoring intelligence? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Francois Caen > Sent: Tuesday, August 29, 2006 4:30 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] SNMP monitoring intelligence? > > On 8/29/06, Marc Powell wrote: > > Loopback 7 > > Description !~#2 > > So this loopback is just a placeholder for the total number of interfaces? Yes and no. We have private IP's routed on our network assigned to the L7 interface on each router. That way we can always reach the router for monitoring/maintenance as long as one external interface is up. It was a convenient place to put the !~#x designation which is the total number of interfaces with !~@ that should be seen (not necessarily the total number of interfaces). > Interesting design. Have you released that plugin? I hadn't considered it as I didn't think the problem to be widespread and because it requires very specific router configuration. That being said, we've been using it for over a year and a half now for ~350 routers successfully. Pending a code review I don't think that I would be opposed to sharing it. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanleyhopcroft at gmail.com Wed Aug 30 07:26:26 2006 From: stanleyhopcroft at gmail.com (Stanley Hopcroft) Date: Wed, 30 Aug 2006 15:26:26 +1000 Subject: (No output!) Nagios 2.5 In-Reply-To: <44F30E8D.9050200@mailnetwork.co.uk> References: <44F30E8D.9050200@mailnetwork.co.uk> Message-ID: Dear Sir, I am writing to thank you for your letter and say, On 29/08/06, Andy Shellam wrote: > Hi Michael, > > I've not long reported the same sort of error in 2.4. On my machine a > reboot has *appeared* to sort it (keeping fingers and things crossed.) > If I forced Nagios to re-do the check it would come back fine, but in > most scheduled checks it would report "No output!" and an incorrect > status (i.e. OK when it should be CRITICAL.) This may be off target but, if you are using embedded Perl (nagios -v or -m or perhaps you are using a Dag Wieers RPM) the plugin may not be playing well with embedded Perl. If it is embedded Perl, you can either report a bug in the plugin to the Nag plugins list or stop using embedded Perl. The quick way to work around the problem if it is ePN is to write a wrapper shell script like so #!/bin/sh exec $@ # You will need to rename the plugin and worry about whether you want $@ or $*. HTH. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanleyhopcroft at gmail.com Wed Aug 30 07:37:20 2006 From: stanleyhopcroft at gmail.com (Stanley Hopcroft) Date: Wed, 30 Aug 2006 15:37:20 +1000 Subject: Handy tip for distinguishing power from prover outages or frivolous rubbish ? Message-ID: Dear Folks, This may be useless to most but it meets a need for us that others may have. We buy 'data carriage' from an unreliable carrier in locations where both power and data services often fail (so badly that even the local gambling den has all the lights go out in their slot machines). To help us determine whether a failure is flaky power or flaky provider, we have an event handler that 1 looks up the FAX number corresp to the host_name (in a DB) 2 forks a process to dial the FAX and if it fails to connect, submits a passive service check result that power is off at the site. (The production incarnation is not complete yet so the first cut will only send an SMS with the FAX number to the on call number so they can dial it manually). Lastly, calling the FAX is a well known way of checking power if you don't have out of band management (hint, it is nice to have). Having Nagios call it reduces considerably the burden of reacting to alerts especially with providers that have a huge number of hoops to jump through before the SLA clock starts to tick. Yours sincerely. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Wed Aug 30 09:54:39 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Wed, 30 Aug 2006 09:54:39 +0200 Subject: timeouts and performance info Message-ID: <20060830075439.GA7248@eric.schwarzvogel.de> Hi! I have the following values in my nagios.cfg: service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 As far as I know, those values are in seconds. What I wonder is why I still have Service and Host Checks that take longer than fifteen minutes to complete. This shouldn't be the case the way I under stand it. Here's my curren perf info: Active Service Checks: <= 1 minute: 81 (4.6%) <= 5 minutes: 1719 (97.4%) <= 15 minutes: 1727 (97.9%) <= 1 hour: 1727 (97.9%) Since program start: 1727 (97.9%) and Check Execution Time: 0.00 sec 12.92 sec 0.275 sec Check Latency: 0.00 sec 204.30 sec 3.043 sec Percent State Change: 0.00% 15.46% 0.02% Active Hosts Checks: <= 1 minute: 0 (0.0%) <= 5 minutes: 3 (1.2%) <= 15 minutes: 3 (1.2%) <= 1 hour: 4 (1.6%) Since program start: 27 (10.8%) and Check Execution Time: 0.02 sec 10.05 sec 0.208 sec Check Latency: 0.00 sec 17.48 sec 0.204 sec Percent State Change: 0.00% 0.00% 0.00% Am I the only one seeing a discrepancy here? The only way I can make sense of this is that the "<= 15 minutes" means "time from being scheduled to actually starting the plugin". In that case I wonder what makes it take so long, the machine should be beefy neough (dual PIV Xeon 2.8Ghz, 2G of RAM). Any hints/thoughts are appreciated. Regards, Tobias ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From acuevasrumin at gmail.com Wed Aug 30 10:09:59 2006 From: acuevasrumin at gmail.com (angel cuevas rumin) Date: Wed, 30 Aug 2006 10:09:59 +0200 Subject: Too many warnings and critical in Connectivity service(check_ping) Message-ID: <58c1ea0608300109p5821239fm2ccc121b0e10025e@mail.gmail.com> Hi everybody, I installed nagios on a Linux Mandriva 2006 monitroting a LAN. I have many warnings and critical alerts in the connectivity service which is a command based on check_ping sending 5 packets. The parameters configured for these alerts are: ------ Warning: rtt>300ms, loss>25%(our intention is to receive a warning with more than 1 packet lost) ------ Crticial: time>500 ms, loss=100% Everytime we receive an alert, within the following minute the system is recovered from this alert. And those elements which are showing these alerts are working perfectly. Therefore we don't understand why Nagios is showing these alerts. Also we cheked with ethereal these alert events and the information given by ethereal doesn't match with the information given by Nagios. We would appreciate if someone who has had the same problem or if someone who knows sometihng about this problem could help us. P.D: Another problem we found using check_fping (instead check_ping) is that this command doesn't add the sequence number onto the icmp packet which are sent. Thank you very much in advance. Kind Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mfleige at rhenus.de Wed Aug 30 10:28:17 2006 From: mfleige at rhenus.de (Marcus Fleige) Date: Wed, 30 Aug 2006 10:28:17 +0200 Subject: building NRPE statically In-Reply-To: <17EBC05307239C4896ED25244F42A801023810F2@permls05.wde.woodside.com.au> References: <17EBC05307239C4896ED25244F42A801023810F2@permls05.wde.woodside.com.au> Message-ID: <44F54C21.5090304@rhenus.de> Hi Murray, Barton, Murray M. wrote: > Hi, > is there any way to build nrpe statically? I have to deploy across a > large number of solaris boxes and I don't want to have to install > > openssl on all of them as well. ./configure --help didn't give me any > clues :( > I am not an developer, but try the following: LDFLAGS="-static" ./configure make all Works for me. Regards, Marcus Fleige -- EOF ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morten.bekkelund at ergo.no Wed Aug 30 12:19:03 2006 From: morten.bekkelund at ergo.no (Morten Bekkelund) Date: Wed, 30 Aug 2006 12:19:03 +0200 Subject: passing a $ to nagios Message-ID: <1156933143.5255.44.camel@localhost.localdomain> Hey. I'm trying to monitor some mssql cluster services on windows. MS obviously think its a good idea to use a $ as a separator in their names. Ex: mssql$something I'm having problems passing this to nagios. Tried several forms of escaping, doubleescaping (with backslashes) and tried " and ' around the commands both in services.cfg and commands.cfg but no luck as of yet. I get different results in my output depending on how i use the " and ' and the escapechar. Seems nagios recognises the $something as a macro and gives it another $ in the output like this : $something$ If i doubleescape i get : mssql\$ (nothing more) If i singleescape i get : mssql$ (nothing more) ..regardless of my use of ' and " it seems. Any clues how to pass this correctly to nagios? Thanks in advance. Here's what the config looks like: commands.cfg ------------ define command{ command_name check_nt_service command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$ } services.cfg ------------ define service { use generic-service-bk service_description SQLPRD01 SQL Service check_command check_nt_service!mssql$sqlprd01 freshness_threshold 600 process_perf_data 0 notifications_enabled 1 hosts bkmvsql01i contact_groups bmk } -- Med vennlig hilsen, Morten Bekkelund Driftskonsulent ErgoGroup AS Nydalsveien 28 P.O.Box 4364 Nydalen www.ergogroup.no ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Wed Aug 30 12:24:20 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Wed, 30 Aug 2006 11:24:20 +0100 Subject: passing a $ to nagios In-Reply-To: <1156933143.5255.44.camel@localhost.localdomain> References: <1156933143.5255.44.camel@localhost.localdomain> Message-ID: Use the double-dollar (as written in the docs) services.cfg ------------ define service { use generic-service-bk service_description SQLPRD01 SQL Service check_command check_nt_service!mssql$$sqlprd01 freshness_threshold 600 process_perf_data 0 notifications_enabled 1 hosts bkmvsql01i contact_groups bmk } Internet morten.bekkelund at ergo.no@lists.sourceforge.net - 30/08/2006 11:19 Please respond to morten.bekkelund at ergo.no Sent by: nagios-users-bounces at lists.sourceforge.net To: nagios-users cc: Subject: [Nagios-users] passing a $ to nagios Hey. I'm trying to monitor some mssql cluster services on windows. MS obviously think its a good idea to use a $ as a separator in their names. Ex: mssql$something I'm having problems passing this to nagios. Tried several forms of escaping, doubleescaping (with backslashes) and tried " and ' around the commands both in services.cfg and commands.cfg but no luck as of yet. I get different results in my output depending on how i use the " and ' and the escapechar. Seems nagios recognises the $something as a macro and gives it another $ in the output like this : $something$ If i doubleescape i get : mssql\$ (nothing more) If i singleescape i get : mssql$ (nothing more) ...regardless of my use of ' and " it seems. Any clues how to pass this correctly to nagios? Thanks in advance. Here's what the config looks like: commands.cfg ------------ define command{ command_name check_nt_service command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$ } services.cfg ------------ define service { use generic-service-bk service_description SQLPRD01 SQL Service check_command check_nt_service!mssql$sqlprd01 freshness_threshold 600 process_perf_data 0 notifications_enabled 1 hosts bkmvsql01i contact_groups bmk } This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morten.bekkelund at ergo.no Wed Aug 30 12:28:52 2006 From: morten.bekkelund at ergo.no (Morten Bekkelund) Date: Wed, 30 Aug 2006 12:28:52 +0200 Subject: passing a $ to nagios In-Reply-To: References: Message-ID: <1156933732.22107.0.camel@localhost.localdomain> oh great! thanks, i've missed that :) On Wed, 2006-08-30 at 11:24 +0100, rob.moss at uk.bnpparibas.com wrote: > Use the double-dollar (as written in the docs) > > services.cfg > ------------ > define service { > use generic-service-bk > service_description SQLPRD01 SQL Service > check_command check_nt_service!mssql$$sqlprd01 > freshness_threshold 600 > process_perf_data 0 > notifications_enabled 1 > hosts bkmvsql01i > contact_groups bmk > } > > > > > > Internet > morten.bekkelund at ergo.no@lists.sourceforge.net - 30/08/2006 11:19 > > > Please respond to morten.bekkelund at ergo.no > > Sent by: nagios-users-bounces at lists.sourceforge.net > > > > To: nagios-users > > cc: > > > Subject: [Nagios-users] passing a $ to nagios > > Hey. > > I'm trying to monitor some mssql cluster services on windows. > MS obviously think its a good idea to use a $ as a separator in their > names. Ex: mssql$something > I'm having problems passing this to nagios. Tried several forms of > escaping, doubleescaping (with backslashes) and tried " and ' around the > commands both in services.cfg and commands.cfg but no luck as of yet. > > I get different results in my output depending on how i use the " and ' > and the escapechar. > Seems nagios recognises the $something as a macro and gives it another $ > in the output like this : $something$ > If i doubleescape i get : mssql\$ (nothing more) > If i singleescape i get : mssql$ (nothing more) > ...regardless of my use of ' and " it seems. > > > Any clues how to pass this correctly to nagios? Thanks in advance. > > Here's what the config looks like: > > commands.cfg > ------------ > define command{ > command_name check_nt_service > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > SERVICESTATE -l $ARG1$ > } > > services.cfg > ------------ > define service { > use generic-service-bk > service_description SQLPRD01 SQL Service > check_command check_nt_service!mssql$sqlprd01 > freshness_threshold 600 > process_perf_data 0 > notifications_enabled 1 > hosts bkmvsql01i > contact_groups bmk > } > > > > > This message and any attachments (the "message") is > intended solely for the addressees and is confidential. > If you receive this message in error, please delete it and > immediately notify the sender. Any use not in accord with > its purpose, any dissemination or disclosure, either whole > or partial, is prohibited except formal approval. The internet > can not guarantee the integrity of this message. > BNP PARIBAS (and its subsidiaries) shall (will) not > therefore be liable for the message if modified. > > ********************************************************************************************** > > BNP Paribas Private Bank London Branch is authorised > by CECEI & AMF and is regulated by the Financial Services > Authority for the conduct of its investment business in > the United Kingdom. > > BNP Paribas Securities Services London Branch is authorised > by CECEI & AMF and is regulated by the Financial Services > Authority for the conduct of its investment business in > the United Kingdom. > > BNP Paribas Fund Services UK Limited is authorised and > regulated by the Financial Services Authority > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Med vennlig hilsen, Morten Bekkelund Driftskonsulent ErgoGroup AS Nydalsveien 28 P.O.Box 4364 Nydalen www.ergogroup.no ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morten.bekkelund at ergo.no Wed Aug 30 12:40:08 2006 From: morten.bekkelund at ergo.no (Morten Bekkelund) Date: Wed, 30 Aug 2006 12:40:08 +0200 Subject: passing a $ to nagios In-Reply-To: <1156933732.22107.0.camel@localhost.localdomain> References: <1156933732.22107.0.camel@localhost.localdomain> Message-ID: <1156934408.22107.3.camel@localhost.localdomain> little extra note to this one... i had to use ' to make it work ... like this : check_command check_nt_service!'SQLAgent$$SQLPRD01' On Wed, 2006-08-30 at 12:28 +0200, Morten Bekkelund wrote: > oh great! > > thanks, i've missed that :) > > > On Wed, 2006-08-30 at 11:24 +0100, rob.moss at uk.bnpparibas.com wrote:put > > Use the double-dollar (as written in the docs) > > > > services.cfg > > ------------ > > define service { > > use generic-service-bk > > service_description SQLPRD01 SQL Service > > check_command check_nt_service!mssql$$sqlprd01 > > freshness_threshold 600 > > process_perf_data 0 > > notifications_enabled 1 > > hosts bkmvsql01i > > contact_groups bmk > > } > > > > > > > > > > > > Internet > > morten.bekkelund at ergo.no@lists.sourceforge.net - 30/08/2006 11:19 > > > > > > Please respond to morten.bekkelund at ergo.no > > > > Sent by: nagios-users-bounces at lists.sourceforge.net > > > > > > > > To: nagios-users > > > > cc: > > > > > > Subject: [Nagios-users] passing a $ to nagios > > > > Hey. > > > > I'm trying to monitor some mssql cluster services on windows. > > MS obviously think its a good idea to use a $ as a separator in their > > names. Ex: mssql$something > > I'm having problems passing this to nagios. Tried several forms of > > escaping, doubleescaping (with backslashes) and tried " and ' around the > > commands both in services.cfg and commands.cfg but no luck as of yet. > > > > I get different results in my output depending on how i use the " and ' > > and the escapechar. > > Seems nagios recognises the $something as a macro and gives it another $ > > in the output like this : $something$ > > If i doubleescape i get : mssql\$ (nothing more) > > If i singleescape i get : mssql$ (nothing more) > > ...regardless of my use of ' and " it seems. > > > > > > Any clues how to pass this correctly to nagios? Thanks in advance. > > > > Here's what the config looks like: > > > > commands.cfg > > ------------ > > define command{ > > command_name check_nt_service > > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > > SERVICESTATE -l $ARG1$ > > } > > > > services.cfg > > ------------ > > define service { > > use generic-service-bk > > service_description SQLPRD01 SQL Service > > check_command check_nt_service!mssql$sqlprd01 > > freshness_threshold 600 > > process_perf_data 0 > > notifications_enabled 1 > > hosts bkmvsql01i > > contact_groups bmk > > } > > > > > > > > > > This message and any attachments (the "message") is > > intended solely for the addressees and is confidential. > > If you receive this message in error, please delete it and > > immediately notify the sender. Any use not in accord with > > its purpose, any dissemination or disclosure, either whole > > or partial, is prohibited except formal approval. The internet > > can not guarantee the integrity of this message. > > BNP PARIBAS (and its subsidiaries) shall (will) not > > therefore be liable for the message if modified. > > > > ********************************************************************************************** > > > > BNP Paribas Private Bank London Branch is authorised > > by CECEI & AMF and is regulated by the Financial Services > > Authority for the conduct of its investment business in > > the United Kingdom. > > > > BNP Paribas Securities Services London Branch is authorised > > by CECEI & AMF and is regulated by the Financial Services > > Authority for the conduct of its investment business in > > the United Kingdom. > > > > BNP Paribas Fund Services UK Limited is authorised and > > regulated by the Financial Services Authority > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null -- Med vennlig hilsen, Morten Bekkelund Driftskonsulent ErgoGroup AS Nydalsveien 28 P.O.Box 4364 Nydalen www.ergogroup.no ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ranjeetk at aztecsoft.com Wed Aug 30 13:40:48 2006 From: ranjeetk at aztecsoft.com (Ranjeet Kumar) Date: Wed, 30 Aug 2006 17:10:48 +0530 Subject: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages Message-ID: <93F0E3CFC1ABB646B8808894FC7CDD250675A3DD@azindbaex01.aztec.soft> Hi, I configured the Nagios on Fedora Core 4. I am getting results locally. I configure another fedora linux as client and configure NRPE. Here also I am getting all results except the ping. Here I am getting error "You must specify a server address or host name " I also configured debian linux as client and configure NRPE. Here I am not getting any results. It gives message "CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages". On remote server i.e. debain linux it gives error message: - Aug 30 16:31:45 debianserver snmpd[3426]: Connection from 192.168.157.53 Aug 30 16:31:45 debianserver last message repeated 3 times Aug 30 16:31:51 debianserver identd[26372]: started Aug 30 16:31:54 debianserver snmpd[3426]: [smux_accept] accepted fd 11 from 192.168.157.53:46122 Aug 30 16:31:57 debianserver snmpd[3426]: Connection from 192.168.157.53 Aug 30 16:32:04 debianserver last message repeated 66 times Aug 30 16:33:07 debianserver nrpe[26380]: Error: Request contained command arguments, but argument option is not enabled! Aug 30 16:33:07 debianserver nrpe[26380]: Client request was invalid, bailing out... Aug 30 16:34:16 debianserver nrpe[26382]: Error: Request contained command arguments, but argument option is not enabled! Aug 30 16:34:16 debianserver nrpe[26382]: Client request was invalid, bailing out... Please help me in solving this issue. I used following version: - Nagios 2.5.2 Nagios-plugin 1.4.3 NRPE 2.5.2 Thanks, Ranjeet The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. www.aztecsoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Aug 30 13:59:21 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Wed, 30 Aug 2006 12:59:21 +0100 Subject: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages In-Reply-To: <93F0E3CFC1ABB646B8808894FC7CDD250675A3DD@azindbaex01.aztec.soft> References: <93F0E3CFC1ABB646B8808894FC7CDD250675A3DD@azindbaex01.aztec.soft> Message-ID: <44F57D99.2080009@mailnetwork.co.uk> By default on NRPE you are not allowed to use commandline arguments, that is - passing something like "check_nrpe -H debianserver -p 5666 -c check_ping!$HOSTADDRESS$", and having in your nrpe.cfg "command[check_ping]=/usr/local/nagios/libexec/check_ping -H $ARG1$". This is dangerous in that a client connecting to the daemon could execute an aribitrary command against check_ping (consider this: a hacker sends "127.0.0.1 && rm -rf /" as an argument to check_ping, and your system will execute "/usr/local/nagios/libexec/check_ping -H 127.0.0.1 && rm -f /") Therefore command arguments are disabled in NRPE by default, so you would have to hard-code your checks on the local machine. (e.g. command[check_ping]=/usr/local/nagios/libexec/check_ping -H localhost), and simply use "check_nrpe -H debianserver -p 5666 -c check_ping". If you are aware of the danger, have applied appropriate connection limitations (i.e. firewalling, changing nrpe port, only allowing certain IPs to connect) and want to use command arguments, then you have to add an extra command to the ./configure line of the NRPE on the client and enable a command argument setting in nrpe.cfg. You'll have to read nrpe.cfg for the details as I cannot remember off-hand what they are. Andy. Ranjeet Kumar wrote: > > Hi, > > I configured the Nagios on Fedora Core 4. I am getting results > locally. I configure another fedora linux as client and configure > NRPE. Here also I am getting all results except the ping. > > Here I am getting error ?You must specify a server address or host name ? > > I also configured debian linux as client and configure NRPE. Here I am > not getting any results. It gives message ?CHECK_NRPE: Received 0 > bytes from daemon. Check the remote server logs for error messages?. > On remote server i.e. debain linux it gives error message: - > > Aug 30 16:31:45 debianserver snmpd[3426]: Connection from 192.168.157.53 > > Aug 30 16:31:45 debianserver last message repeated 3 times > > Aug 30 16:31:51 debianserver identd[26372]: started > > Aug 30 16:31:54 debianserver snmpd[3426]: [smux_accept] accepted fd 11 > from 192.168.157.53:46122 > > Aug 30 16:31:57 debianserver snmpd[3426]: Connection from 192.168.157.53 > > Aug 30 16:32:04 debianserver last message repeated 66 times > > Aug 30 16:33:07 debianserver nrpe[26380]: Error: Request contained > command arguments, but argument option is not enabled! > > Aug 30 16:33:07 debianserver nrpe[26380]: Client request was invalid, > bailing out... > > Aug 30 16:34:16 debianserver nrpe[26382]: Error: Request contained > command arguments, but argument option is not enabled! > > Aug 30 16:34:16 debianserver nrpe[26382]: Client request was invalid, > bailing out... > > Please help me in solving this issue. > > I used following version: - > > Nagios 2.5.2 > > Nagios-plugin 1.4.3 > > NRPE 2.5.2 > > Thanks, > > Ranjeet > > !DSPAM:37,44f5780d143293298057255! > > The information contained in, or attached to, this e-mail, contains > confidential information and is intended solely for the use of the > individual or entity to whom they are addressed and is subject to > legal privilege. If you have received this e-mail in error you should > notify the sender immediately by reply e-mail, delete the message from > your system and notify your system manager. Please do not copy it for > any purpose, or disclose its contents to any other person. The views > or opinions presented in this e-mail are solely those of the author > and do not necessarily represent those of the company. The recipient > should check this e-mail and any attachments for the presence of > viruses. The company accepts no liability for any damage caused, > directly or indirectly, by any virus transmitted in this email. > > www.aztecsoft.com > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > !DSPAM:37,44f5780d143293298057255! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,44f5780d143293298057255! > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stalkert at gmail.com Wed Aug 30 15:03:48 2006 From: stalkert at gmail.com (Joost Saanen) Date: Wed, 30 Aug 2006 15:03:48 +0200 Subject: reset 'service details' when restarting Nagios Message-ID: <5aaf39590608300603w555c3419s78bef9e38898df39@mail.gmail.com> Hey, I just upgraded nagios 1.*. to nagios 2.5., This works fine. Is it possible to reset the 'service details' when I restart Nagios? I changed the path of my plugins but when I restart Nagios, all my services are still "Critical".Nagios didn't do any update? Regards, Joost -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Aug 30 15:21:15 2006 From: marc at ena.com (Marc Powell) Date: Wed, 30 Aug 2006 08:21:15 -0500 Subject: timeouts and performance info Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Tobias Klausmann > Sent: Wednesday, August 30, 2006 2:55 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] timeouts and performance info > > Hi! > > I have the following values in my nagios.cfg: > > service_check_timeout=60 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 > > As far as I know, those values are in seconds. What I wonder is > why I still have Service and Host Checks that take longer than > fifteen minutes to complete. This shouldn't be the case the way I > under stand it. Here's my curren perf info: The timeouts above apply from when a particular plugin starts to when it completes (check execution time). As noted below, this time on average for you is 12.92 seconds. They don't affect when a plugin is scheduled to run. > Active Service Checks: > <= 1 minute: 81 (4.6%) > <= 5 minutes: 1719 (97.4%) > <= 15 minutes: 1727 (97.9%) > <= 1 hour: 1727 (97.9%) > Since program start: 1727 (97.9%) This seems mostly normal for a 5 minute check_interval. The small difference between the 5 and 15 minute counts is normal as checks may be just starting to execute or still in progress at the 5 minute mark. It does appear that you have some number of services that are not scheduled for execution or are executing at really long intervals. Look at Service Detail and sort by last check. Re-examine your configuration for those services that do not appear to be scheduled properly. > and > > Check Execution Time: 0.00 sec 12.92 sec 0.275 sec > Check Latency: 0.00 sec 204.30 sec 3.043 sec > Percent State Change: 0.00% 15.46% 0.02% Looks pretty good to me. The high max check latency number may have been a one-off event. If that number regularly changes and is always very high then you might want to verify that you're not starving nagios for check by running /path/to/nagios/bin/nagios -s /path/to/nagios/etc/nagios and make sure you meet or exceed it's recommended values. > > Active Hosts Checks: > <= 1 minute: 0 (0.0%) > <= 5 minutes: 3 (1.2%) > <= 15 minutes: 3 (1.2%) > <= 1 hour: 4 (1.6%) > Since program start: 27 (10.8%) > > and > > Check Execution Time: 0.02 sec 10.05 sec 0.208 sec > Check Latency: 0.00 sec 17.48 sec 0.204 sec > Percent State Change: 0.00% 0.00% 0.00% These look normal and expected. You've had 27 service failures since program start necessitating host checks. > Am I the only one seeing a discrepancy here? The only discrepancy I see is likely due to configuration. You probably have check intervals or timeperiods misconfigured for ~30 services. > The only way I can make sense of this is that the "<= 15 minutes" > means "time from being scheduled to actually starting the > plugin". In that case I wonder what makes it take so long, the Check Latency is that number. On average nagios is able to run your checks within 3.043 seconds of when they are scheduled to run. The number you are referring to is just a simple count of the number of plugins that have been run in that time interval. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ranjeetk at aztecsoft.com Wed Aug 30 15:46:08 2006 From: ranjeetk at aztecsoft.com (Ranjeet Kumar) Date: Wed, 30 Aug 2006 19:16:08 +0530 Subject: Nagios - Ping - You must specify a server address or host name Message-ID: <93F0E3CFC1ABB646B8808894FC7CDD25067A508B@azindbaex01.aztec.soft> Hi, I am able to get all information from the server except ping. It gives the error "You must specify a server address or host name ". Please help me in solving this issue. I am using following: Nagios 2.5 Nagios-plugins 1.4.3 NRPE 2.5.2 OS: Fedora Core 4 Thanks, Ranjeet The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. www.aztecsoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Wed Aug 30 15:43:43 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Wed, 30 Aug 2006 15:43:43 +0200 Subject: timeouts and performance info In-Reply-To: References: Message-ID: <20060830134343.GA7374@eric.schwarzvogel.de> Hi! On Wed, 30 Aug 2006, Marc Powell wrote: > > Active Service Checks: > > <= 1 minute: 81 (4.6%) > > <= 5 minutes: 1719 (97.4%) > > <= 15 minutes: 1727 (97.9%) > > <= 1 hour: 1727 (97.9%) > > Since program start: 1727 (97.9%) > > This seems mostly normal for a 5 minute check_interval. The small > difference between the 5 and 15 minute counts is normal as checks may be > just starting to execute or still in progress at the 5 minute mark. It > does appear that you have some number of services that are not scheduled > for execution or are executing at really long intervals. Look at Service > Detail and sort by last check. Re-examine your configuration for those > services that do not appear to be scheduled properly. I have a few services that are disabled entirely (don't check actively, don't accept passive checks). Would they count in the above statistic? They seem to fit in with the missing 2.1% (100-97.9). Also, I saw a few checks that were last run about ~20 minutes ago. Those are log checks via NRPE that complete within <1s (no noticeable delay) if run directly on the machine (as user nagios of course). It seems acceptable (and I neither know why it would take 20 minutes nor how to find out why), so I'm willing to let it slide ;). > Looks pretty good to me. The high max check latency number may have been > a one-off event. If that number regularly changes and is always very > high then you might want to verify that you're not starving nagios for > check by running /path/to/nagios/bin/nagios -s > /path/to/nagios/etc/nagios and make sure you meet or exceed it's > recommended values. I guessed as much for the one-off event. It doesn't change, so I feel somewhat safe. As for the recommended values (-s), Nagios says it's okay the way it is. > > Active Hosts Checks: > > <= 1 minute: 0 (0.0%) > > <= 5 minutes: 3 (1.2%) > > <= 15 minutes: 3 (1.2%) > > <= 1 hour: 4 (1.6%) > > Since program start: 27 (10.8%) > > > > and > > > > Check Execution Time: 0.02 sec 10.05 sec 0.208 > sec > > Check Latency: 0.00 sec 17.48 sec 0.204 > sec > > Percent State Change: 0.00% 0.00% 0.00% > > These look normal and expected. You've had 27 service failures since > program start necessitating host checks. That is in line with what I'd expect. > > Am I the only one seeing a discrepancy here? > > The only discrepancy I see is likely due to configuration. You probably > have check intervals or timeperiods misconfigured for ~30 services. About that number of services are disabled entirely right now, so if they count into the statistic, it explains the figures. > > The only way I can make sense of this is that the "<= 15 minutes" > > means "time from being scheduled to actually starting the > > plugin". In that case I wonder what makes it take so long, the > > Check Latency is that number. On average nagios is able to run your > checks within 3.043 seconds of when they are scheduled to run. The > number you are referring to is just a simple count of the number of > plugins that have been run in that time interval. So it means "in the last N minutes, this many services completed" and *not* "this many services needed N minutes to complete (from being started to delivering the retval)"? That would be an eye opener for me :) Regards & Thanks, Tobias -- You don't need eyes to see, you need vision. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mfrank at dps.state.vt.us Wed Aug 30 13:48:51 2006 From: mfrank at dps.state.vt.us (Michael Frank) Date: Wed, 30 Aug 2006 07:48:51 -0400 Subject: (No output!) Nagios 2.5 Message-ID: Thank you Andy, The problem happens with embedded Perl and without. I have also had it happen with a check written in C++ now. I have tried recompiling and installing Nagios with and without embedded Perl and I still get the same problem. I am thinking of installing Nagios 2.4 and seeing if I still have the problem. Right now I am only having the problem with two checks. One person suggested to me to make sure that the script is outputting on standard out and not error and I will be investigating that today. -Michael -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Stanley Hopcroft Sent: Wednesday, August 30, 2006 1:26 AM To: Andy Shellam Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] (No output!) Nagios 2.5 Dear Sir, I am writing to thank you for your letter and say, On 29/08/06, Andy Shellam wrote: > Hi Michael, > > I've not long reported the same sort of error in 2.4. On my machine a > reboot has *appeared* to sort it (keeping fingers and things crossed.) > If I forced Nagios to re-do the check it would come back fine, but in > most scheduled checks it would report "No output!" and an incorrect > status (i.e. OK when it should be CRITICAL.) This may be off target but, if you are using embedded Perl (nagios -v or -m or perhaps you are using a Dag Wieers RPM) the plugin may not be playing well with embedded Perl. If it is embedded Perl, you can either report a bug in the plugin to the Nag plugins list or stop using embedded Perl. The quick way to work around the problem if it is ePN is to write a wrapper shell script like so #!/bin/sh exec $@ # You will need to rename the plugin and worry about whether you want $@ or $*. HTH. ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elizar.palad at gmail.com Wed Aug 30 16:04:15 2006 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Wed, 30 Aug 2006 22:04:15 +0800 Subject: no graph like hobbit or BB Message-ID: Hi list, Im a nagios user for more than a year now... I just came across hobbit.. it has an awesome reporting tool and a graph.. how come i don't see nagios'? or i can't make it work? -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Aug 30 16:42:39 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Wed, 30 Aug 2006 15:42:39 +0100 Subject: Nagios - Ping - You must specify a server address or host name In-Reply-To: <93F0E3CFC1ABB646B8808894FC7CDD25067A508B@azindbaex01.aztec.soft> References: <93F0E3CFC1ABB646B8808894FC7CDD25067A508B@azindbaex01.aztec.soft> Message-ID: <44F5A3DF.5060407@mailnetwork.co.uk> Hi Ranjeet Can you post your command string for this plugin and similarly the host/service that uses this command? I'm using exactly the same versions as you except it's on Fedora 5, and not had a problem (both local and remote commands.) Mine are as follows: Command definition: define command { command_name Check_PING command_line /usr/local/nagios/libexec/check_ping -H $ARG1$ -p 10 -w 500,50% -c 1000,100% } In the host definitions: check_command Check_PING!$HOSTADDRESS$ Regards Andy. Ranjeet Kumar wrote: > > Hi, > > I am able to get all information from the server except ping. It gives > the error ?You must specify a server address or host name ?. > > Please help me in solving this issue. > > I am using following: > > Nagios 2.5 > > Nagios-plugins 1.4.3 > > NRPE 2.5.2 > > OS: Fedora Core 4 > > Thanks, > > Ranjeet > > !DSPAM:37,44f59566143294315349427! > > The information contained in, or attached to, this e-mail, contains > confidential information and is intended solely for the use of the > individual or entity to whom they are addressed and is subject to > legal privilege. If you have received this e-mail in error you should > notify the sender immediately by reply e-mail, delete the message from > your system and notify your system manager. Please do not copy it for > any purpose, or disclose its contents to any other person. The views > or opinions presented in this e-mail are solely those of the author > and do not necessarily represent those of the company. The recipient > should check this e-mail and any attachments for the presence of > viruses. The company accepts no liability for any damage caused, > directly or indirectly, by any virus transmitted in this email. > > www.aztecsoft.com > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > !DSPAM:37,44f59566143294315349427! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,44f59566143294315349427! > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Aug 30 16:50:54 2006 From: marc at ena.com (Marc Powell) Date: Wed, 30 Aug 2006 09:50:54 -0500 Subject: timeouts and performance info Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Tobias Klausmann > Sent: Wednesday, August 30, 2006 8:44 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] timeouts and performance info > > Hi! > > On Wed, 30 Aug 2006, Marc Powell wrote: > > > Active Service Checks: > > > <= 1 minute: 81 (4.6%) > > > <= 5 minutes: 1719 (97.4%) > > > <= 15 minutes: 1727 (97.9%) > > > <= 1 hour: 1727 (97.9%) > > > Since program start: 1727 (97.9%) > > > I have a few services that are disabled entirely (don't check > actively, don't accept passive checks). Would they count in the > above statistic? They seem to fit in with the missing 2.1% > (100-97.9). Also, I saw a few checks that were last run about ~20 Without reviewing the code, that is what I expect to be the case. > > > > Check Latency is that number. On average nagios is able to run your > > checks within 3.043 seconds of when they are scheduled to run. The > > number you are referring to is just a simple count of the number of > > plugins that have been run in that time interval. > > So it means "in the last N minutes, this many services completed" > and *not* "this many services needed N minutes to complete (from > being started to delivering the retval)"? That would be an eye > opener for me :) That is a correct interpretation. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at t-online.hu Wed Aug 30 19:33:07 2006 From: zsitfa at t-online.hu (Horvath Tamas) Date: Wed, 30 Aug 2006 19:33:07 +0200 Subject: How Expect plugin woks under Nagios Message-ID: <20060830173301.C8629E60DCA@mail.t-online.hu> Hi! I wrote an expect plug-in to check PIX startup config checksum. It works from command line when I started it as nagios user. But it does not work from Nagios. Does anybody have any experience with expect plugins? Thanks in advance, Tamas! ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigo.maceno at gmail.com Wed Aug 30 21:05:07 2006 From: rodrigo.maceno at gmail.com (Rodrigo Maceno) Date: Wed, 30 Aug 2006 16:05:07 -0300 Subject: Logged in as ? Message-ID: <27acffb00608301205r77a7198ax52209193534970b4@mail.gmail.com> Hello, I have an archive htpasswd.users at the /usr/local/nagios/etc directory and when I remove the line 'default_user_name' at the cgi.cfg archive and I try to logging in the Nagios with a user, it shows me the follow message: Logged in as ?. I don't know what can be causing it. Could anyone help me?? Thanks, Rodrigo. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Wed Aug 30 21:25:03 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 30 Aug 2006 16:25:03 -0300 Subject: nagios-1.4.1 vs nagios 2-5 logging Message-ID: <1156965903.21816.13.camel@localhost> Hello, I am running nagios-1.4.1 as well as nagios-2.5. In the nagios-1.4.1 logfile, i have some entries like: [1156965483] Warning: Message queue contained results for service 'SM Daemon' on host 'sedna16-b'. The service could not be found! I need to know if there is the same logging in nagios-2.5, because i need it to auto-configure a service when it isn't configured yet, when new servers gets into the cluster. These service results came in by syslog-ng directly to central nagios, and with a script that parses the log, it would be easy to create a service entry and reload nagios configs. Does anyone knows about this logging feature of nagios-2.5? TIA, Marcel AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Aug 30 21:45:53 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 30 Aug 2006 15:45:53 -0400 Subject: Logged in as ? In-Reply-To: <27acffb00608301205r77a7198ax52209193534970b4@mail.gmail.com> References: <27acffb00608301205r77a7198ax52209193534970b4@mail.gmail.com> Message-ID: > I have an archive htpasswd.users at the /usr/local/nagios/etc > directory and when I remove the line 'default_user_name' at > the cgi.cfg archive and I try to logging in the Nagios with a > user, it shows me the follow message: Logged in as ?. I don't > know what can be causing it. Could anyone help me?? Is the user you are logging in with configured as a Nagios contact? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From plauda at rx30.com Wed Aug 30 22:23:12 2006 From: plauda at rx30.com (Peter Lauda) Date: Wed, 30 Aug 2006 16:23:12 -0400 Subject: Force notification? Message-ID: <01b301c6cc72$1df56f80$9600000a@peter> have read as much doc on notifications as I can find. Everything refers to the idea that Nagios will send notifications for hosts or service that experience a HARD state change. Well, Ok... but I want to monitor a service, say a process by name on an nrpe monitored server. If the number of that named process drops below X I want to get a notification. Is this possible or is there some way that I can force that situation to CREATE a HARD state change? I always see it in the logs as a SOFT change and of course, no notification. Any advice very much welcome. --p -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Wed Aug 30 22:27:46 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Wed, 30 Aug 2006 13:27:46 -0700 Subject: Force notification? In-Reply-To: <01b301c6cc72$1df56f80$9600000a@peter> References: <01b301c6cc72$1df56f80$9600000a@peter> Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4440258@raptor.redhawk.info> I'm sure others may have more information, but in order to create a notification you need to "create" a hard state change. Having said that, you would need to run some sort of check command that would check what you wanted, in your case it would be a number of named process. Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Peter Lauda Sent: Wednesday, August 30, 2006 1:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Force notification? have read as much doc on notifications as I can find. Everything refers to the idea that Nagios will send notifications for hosts or service that experience a HARD state change. Well, Ok... but I want to monitor a service, say a process by name on an nrpe monitored server. If the number of that named process drops below X I want to get a notification. Is this possible or is there some way that I can force that situation to CREATE a HARD state change? I always see it in the logs as a SOFT change and of course, no notification. Any advice very much welcome. --p -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Wed Aug 30 22:28:50 2006 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Wed, 30 Aug 2006 16:28:50 -0400 Subject: nrpe & hpux 11.23/parisc In-Reply-To: <44F01EE6.8080007@touche.fr.st> References: <44F01EE6.8080007@touche.fr.st> Message-ID: Julien, I'm afraid I can't be much help other than to say "me too". I played with it for a bit on the same platform and could not get it to work either. I was hoping someone else had had some luck getting it to work... Mark -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of julien Touche Sent: Saturday, August 26, 2006 6:14 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nrpe & hpux 11.23/parisc i'm trying to use nrpe (2.5.1) on hp-ux and encounters problems. compile is ok with gcc 4 provided by HP (32bit/GNUBase or 64bits/gcc-g++), but execution gives nothing joined the output of tusc but it doesn't help me much. # tusc /path/to/nrpe -c -d do someone know of similar problems ? thanks Regards Julien ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From plauda at rx30.com Wed Aug 30 22:35:58 2006 From: plauda at rx30.com (Peter Lauda) Date: Wed, 30 Aug 2006 16:35:58 -0400 Subject: Force notification? References: <8C18BAD1F46B2245B0A08BCF1A823DD4440258@raptor.redhawk.info> Message-ID: <01d401c6cc73$e63b7740$9600000a@peter> Well... I have nrpe running on the box where I want this process monitored. So perhaps I didn't explain well enough. The check I need for the named process is easy enough using check_nrpe/nrpe and the check_total_procs plugin with the -c "command name" for the process itself. So the check is working fine but even when it fails basd on my threshold values for the # of these processes I want to see, the state change is only SOFT - critical. Does that make more sense? Thanks... --p ----- Original Message ----- From: Mike Koponick To: Peter Lauda ; nagios-users at lists.sourceforge.net Sent: Wednesday, August 30, 2006 4:27 PM Subject: RE: [Nagios-users] Force notification? I'm sure others may have more information, but in order to create a notification you need to "create" a hard state change. Having said that, you would need to run some sort of check command that would check what you wanted, in your case it would be a number of named process. Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Peter Lauda Sent: Wednesday, August 30, 2006 1:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Force notification? have read as much doc on notifications as I can find. Everything refers to the idea that Nagios will send notifications for hosts or service that experience a HARD state change. Well, Ok... but I want to monitor a service, say a process by name on an nrpe monitored server. If the number of that named process drops below X I want to get a notification. Is this possible or is there some way that I can force that situation to CREATE a HARD state change? I always see it in the logs as a SOFT change and of course, no notification. Any advice very much welcome. --p -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Segura at cabelas.com Wed Aug 30 22:43:42 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Wed, 30 Aug 2006 14:43:42 -0600 Subject: Force notification? Message-ID: <2D0245E43DEC724F81592D697F05689903AD5CC9@SIDHQEXCHMB1.Cabelas.Corp> The change becomes HARD after max_check_attempts, no? So just set max_check_attempts to 1. ?? ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Peter Lauda Sent: Wednesday, August 30, 2006 2:36 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Force notification? Well... I have nrpe running on the box where I want this process monitored. So perhaps I didn't explain well enough. The check I need for the named process is easy enough using check_nrpe/nrpe and the check_total_procs plugin with the -c "command name" for the process itself. So the check is working fine but even when it fails basd on my threshold values for the # of these processes I want to see, the state change is only SOFT - critical. Does that make more sense? Thanks... --p ----- Original Message ----- From: Mike Koponick To: Peter Lauda ; nagios-users at lists.sourceforge.net Sent: Wednesday, August 30, 2006 4:27 PM Subject: RE: [Nagios-users] Force notification? I'm sure others may have more information, but in order to create a notification you need to "create" a hard state change. Having said that, you would need to run some sort of check command that would check what you wanted, in your case it would be a number of named process. Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Peter Lauda Sent: Wednesday, August 30, 2006 1:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Force notification? have read as much doc on notifications as I can find. Everything refers to the idea that Nagios will send notifications for hosts or service that experience a HARD state change. Well, Ok... but I want to monitor a service, say a process by name on an nrpe monitored server. If the number of that named process drops below X I want to get a notification. Is this possible or is there some way that I can force that situation to CREATE a HARD state change? I always see it in the logs as a SOFT change and of course, no notification. Any advice very much welcome. --p -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From plauda at rx30.com Wed Aug 30 22:53:46 2006 From: plauda at rx30.com (Peter Lauda) Date: Wed, 30 Aug 2006 16:53:46 -0400 Subject: Force notification? References: <2D0245E43DEC724F81592D697F05689903AD5CC9@SIDHQEXCHMB1.Cabelas.Corp> Message-ID: <021201c6cc76$63205b70$9600000a@peter> Thats great! It gets the HARD state change right away. For some reason now I don't get a notification. I can dig into that but I think you got me on the right track. Cheers! --p ----- Original Message ----- From: Aaron Segura To: Peter Lauda ; nagios-users at lists.sourceforge.net Sent: Wednesday, August 30, 2006 4:43 PM Subject: RE: [Nagios-users] Force notification? The change becomes HARD after max_check_attempts, no? So just set max_check_attempts to 1. ?? ------------------------------------------------------------------------------ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Peter Lauda Sent: Wednesday, August 30, 2006 2:36 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Force notification? Well... I have nrpe running on the box where I want this process monitored. So perhaps I didn't explain well enough. The check I need for the named process is easy enough using check_nrpe/nrpe and the check_total_procs plugin with the -c "command name" for the process itself. So the check is working fine but even when it fails basd on my threshold values for the # of these processes I want to see, the state change is only SOFT - critical. Does that make more sense? Thanks... --p ----- Original Message ----- From: Mike Koponick To: Peter Lauda ; nagios-users at lists.sourceforge.net Sent: Wednesday, August 30, 2006 4:27 PM Subject: RE: [Nagios-users] Force notification? I'm sure others may have more information, but in order to create a notification you need to "create" a hard state change. Having said that, you would need to run some sort of check command that would check what you wanted, in your case it would be a number of named process. Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Peter Lauda Sent: Wednesday, August 30, 2006 1:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Force notification? have read as much doc on notifications as I can find. Everything refers to the idea that Nagios will send notifications for hosts or service that experience a HARD state change. Well, Ok... but I want to monitor a service, say a process by name on an nrpe monitored server. If the number of that named process drops below X I want to get a notification. Is this possible or is there some way that I can force that situation to CREATE a HARD state change? I always see it in the logs as a SOFT change and of course, no notification. Any advice very much welcome. --p -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Aug 30 23:05:56 2006 From: marc at ena.com (Marc Powell) Date: Wed, 30 Aug 2006 16:05:56 -0500 Subject: Logged in as ? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rodrigo Maceno > Sent: Wednesday, August 30, 2006 2:05 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Logged in as ? > > Hello, > > I have an archive htpasswd.users at the /usr/local/nagios/etc directory > and when I remove the line 'default_user_name' at the cgi.cfg archive and > I try to logging in the Nagios with a user, it shows me the follow > message: Logged in as ?. I don't know what can be causing it. Could anyone > help me?? Check your .htaccess file in the ~nagios/sbin directory. Make sure it's readable by your web server and looks like the documentation. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Aug 30 23:09:27 2006 From: marc at ena.com (Marc Powell) Date: Wed, 30 Aug 2006 16:09:27 -0500 Subject: Logged in as ? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Marc Powell > Sent: Wednesday, August 30, 2006 4:06 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Logged in as ? > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Rodrigo Maceno > > Sent: Wednesday, August 30, 2006 2:05 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Logged in as ? > > > > Hello, > > > > I have an archive htpasswd.users at the /usr/local/nagios/etc > directory > > and when I remove the line 'default_user_name' at the cgi.cfg archive > and > > I try to logging in the Nagios with a user, it shows me the follow > > message: Logged in as ?. I don't know what can be causing it. Could > anyone > > help me?? > > Check your .htaccess file in the ~nagios/sbin directory. Make sure it's > readable by your web server and looks like the documentation. Actually I forgot that the new recommended approach if via httpd.conf configuration entirely. Make sure that you have the relevant httpd.conf entries for your sbin directory as indicated at http://nagios.sourceforge.net/docs/2_0/installweb.html and have restarted your web server. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frcaen at gmail.com Thu Aug 31 00:26:34 2006 From: frcaen at gmail.com (Francois Caen) Date: Wed, 30 Aug 2006 15:26:34 -0700 Subject: are my checks orphaned? In-Reply-To: <58cfe2840608291705q4a80a91s14f98c99bd94d0ca@mail.gmail.com> References: <58cfe2840608291705q4a80a91s14f98c99bd94d0ca@mail.gmail.com> Message-ID: <58cfe2840608301526v757bb009ob63df45fe9d454d1@mail.gmail.com> Come one people, has nobody here ever had to use check_for_orphaned_services=1 ??? -- Francois Caen, RHCE, CCNA ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.touche at touche.fr.st Thu Aug 31 00:30:28 2006 From: julien.touche at touche.fr.st (julien Touche) Date: Thu, 31 Aug 2006 00:30:28 +0200 Subject: nrpe & hpux 11.23/parisc In-Reply-To: References: Message-ID: <44F61184.1000907@touche.fr.st> Frost, Mark {PBG} wrote on 30/08/2006 22:28: > I'm afraid I can't be much help other than to say "me too". I played > with it for a bit on the same platform and could not get it to work > either. don't know why, but i recompile today and it work ... strange. Regards Julien ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From weaselkeeper at gmail.com Thu Aug 31 02:02:33 2006 From: weaselkeeper at gmail.com (Jim Richardson) Date: Wed, 30 Aug 2006 17:02:33 -0700 Subject: are my checks orphaned? In-Reply-To: <58cfe2840608301526v757bb009ob63df45fe9d454d1@mail.gmail.com> References: <58cfe2840608291705q4a80a91s14f98c99bd94d0ca@mail.gmail.com> <58cfe2840608301526v757bb009ob63df45fe9d454d1@mail.gmail.com> Message-ID: <7f17308a0608301702u67dca4bcq43837db0464f7f33@mail.gmail.com> On 8/30/06, Francois Caen wrote: > > Come one people, has nobody here ever had to use > check_for_orphaned_services=1 ??? I haven't run into this problem yet, and have check_for_orphaned_services=0 in my config. Is it always the same service or machine/host? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frcaen at gmail.com Thu Aug 31 03:32:10 2006 From: frcaen at gmail.com (Francois Caen) Date: Wed, 30 Aug 2006 18:32:10 -0700 Subject: are my checks orphaned? In-Reply-To: <7f17308a0608301702u67dca4bcq43837db0464f7f33@mail.gmail.com> References: <58cfe2840608291705q4a80a91s14f98c99bd94d0ca@mail.gmail.com> <58cfe2840608301526v757bb009ob63df45fe9d454d1@mail.gmail.com> <7f17308a0608301702u67dca4bcq43837db0464f7f33@mail.gmail.com> Message-ID: <58cfe2840608301832o33741a19mc7de81d7b5fc9e23@mail.gmail.com> On 8/30/06, Jim Richardson wrote: > I haven't run into this problem yet, and have check_for_orphaned_services=0 > in my config. > > Is it always the same service or machine/host? No, different services/hosts, but it seems to occur mostly (and maybe exclusively) with checks that are failing while the host is down. Thank you Jim, -- Francois Caen, RHCE, CCNA ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Aug 31 04:25:36 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 30 Aug 2006 22:25:36 -0400 Subject: are my checks orphaned? In-Reply-To: <58cfe2840608301526v757bb009ob63df45fe9d454d1@mail.gmail.com> References: <58cfe2840608301526v757bb009ob63df45fe9d454d1@mail.gmail.com> Message-ID: > Come one people, has nobody here ever had to use > check_for_orphaned_services=1 ??? Sure, I've used it. Have you tried it to see if it fixes your problem? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanleyhopcroft at gmail.com Thu Aug 31 05:29:51 2006 From: stanleyhopcroft at gmail.com (Stanley Hopcroft) Date: Thu, 31 Aug 2006 13:29:51 +1000 Subject: How Expect plugin woks under Nagios In-Reply-To: <20060830173301.C8629E60DCA@mail.t-online.hu> References: <20060830173301.C8629E60DCA@mail.t-online.hu> Message-ID: Dear Sir, I am writing to thank you for your letter and say, On 31/08/06, Horvath Tamas wrote: > Hi! > > I wrote an expect plug-in to check PIX startup config checksum. > > It works from command line when I started it as nagios user. > > But it does not work from Nagios. Yep. They work as well as TCL/Expect in my dull hands can be 'expected' to. My suggestion is you don't want the pain of spawn, send, expect partic with the quoting nightmare and TCL to boot. Have a look at Net::Telnet::Cisco eg to pluck out DTP negotiation from trunks $x = Net::Telnet::Cisco->new( Host => $sw, Timeout => $TIMEOUT, Errmode => 'return', $debug ? (Input_Log => *STDERR) : (), ) or do { warn qq<## Net::Telnet::Cisco constructor failed for "$sw", timed out connecting to device.> ; next } ; unless ( $x->login(Password => $pw) ) { warn qq<## Net::Telnet::Cisco login method failed for "$sw".> ; } else { print "$sw.\n" ; print "$sw Enable.\n" ; unless ( $x->enable($epw) ) { warn qq<## Net::Telnet::Cisco enable method failed for "$sw".> ; } else { print "$sw conf t.\n" ; $x->cmd("conf t") ; $x->cmd("int Gi $if") ; $x->cmd("switchport mode trunk") ; $x->cmd("switchport nonegotiate") ; $x->cmd("exit") ; $x->cmd("exit") ; $x->cmd("quit") ; } } } If you really don't like Perl, then other alternatives are 1 Python Expect 2 Rancid clogin. > > Does anybody have any experience with expect plugins? > > Thanks in advance, Tamas! > HTH Yours sincerely. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Murray.Barton at woodside.com.au Thu Aug 31 05:30:51 2006 From: Murray.Barton at woodside.com.au (Barton, Murray M.) Date: Thu, 31 Aug 2006 11:30:51 +0800 Subject: building NRPE statically Message-ID: <17EBC05307239C4896ED25244F42A801023810FD@permls05.wde.woodside.com.au> I'm not a developer either :) I have tried what you suggested here is the output from configure- LDFLAGS="-static" ./configure checking for a BSD-compatible install... ./install-sh -c checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables Thanks Murray -----Original Message----- From: Marcus Fleige [mailto:mfleige at rhenus.de] Sent: Wednesday, 30 August 2006 4:28 PM To: Barton, Murray M. Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] building NRPE statically Hi Murray, Barton, Murray M. wrote: > Hi, > is there any way to build nrpe statically? I have to deploy across a > large number of solaris boxes and I don't want to have to install > > openssl on all of them as well. ./configure --help didn't give me > any > clues :( > I am not an developer, but try the following: LDFLAGS="-static" ./configure make all Works for me. Regards, Marcus Fleige -- EOF ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frcaen at gmail.com Thu Aug 31 06:37:37 2006 From: frcaen at gmail.com (Francois Caen) Date: Wed, 30 Aug 2006 21:37:37 -0700 Subject: are my checks orphaned? In-Reply-To: References: <58cfe2840608301526v757bb009ob63df45fe9d454d1@mail.gmail.com> Message-ID: <58cfe2840608302137yc360182k3cb5eaa432624450@mail.gmail.com> On 8/30/06, Morris, Patrick wrote: > Sure, I've used it. Before that, did you have the same problem I did, with checks getting "stuck" at the top of the queue? > Have you tried it to see if it fixes your problem? I did today. I'll know for sure in a few days if it did or not. -- Francois Caen, RHCE, CCNA ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Aug 31 07:34:56 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 31 Aug 2006 01:34:56 -0400 Subject: are my checks orphaned? In-Reply-To: <58cfe2840608302137yc360182k3cb5eaa432624450@mail.gmail.com> References: <58cfe2840608302137yc360182k3cb5eaa432624450@mail.gmail.com> Message-ID: > On 8/30/06, Morris, Patrick wrote: > > Sure, I've used it. > > Before that, did you have the same problem I did, with checks > getting "stuck" at the top of the queue? Yes, a very similar problem, on an impementation several versions of Nagios ago. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jd at op5.se Thu Aug 31 09:56:56 2006 From: jd at op5.se (Johannes Dagemark) Date: Thu, 31 Aug 2006 09:56:56 +0200 Subject: IBM Director Message-ID: <44F69648.6000700@op5.se> Hello fellows I have been struggling with monitoring IBM servers using check_snmp and a lot of diffrent OID's but I fail to provide a good monitoring... It would be really nice if there were a plugin for IBM like the check_compaq_insight.pl available in the contrib section of nagiosplugins. Any takers? Im willing to pay for it Best Regards Johannes Dagemark op5 AB Phone: +46317740432 Cell: +46733709024 Email: jd at op5.se ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mfleige at rhenus.de Thu Aug 31 10:05:33 2006 From: mfleige at rhenus.de (Marcus Fleige) Date: Thu, 31 Aug 2006 10:05:33 +0200 Subject: no graph like hobbit or BB In-Reply-To: References: Message-ID: <44F6984D.4070109@rhenus.de> Hi Elizar, Elizar M. Palad wrote: > Hi list, > > Im a nagios user for more than a year now... > I just came across hobbit.. it has an awesome reporting tool > and a graph.. > > how come i don't see nagios'? > or i can't make it work? As the website says, hobbitmon is an development based on bigbrother, adding graphs and reporting. When you compare it to nagios, you should have a look to the 'reporting' section in nagios' navigation on the left. Nagios itself is not capable of diffencing between more than 4 states (ok, warning, critical, unknown), the reporting can only tell you something about availability of a host or service. For long term graphs, you have to extend your nagios installation with an addon like NagiosGrapher, PerfParse etc. - have a look at http://www.nagiosexchange.org. Regards, Marcus Fleige -- EOF ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lennart.kvam at softronic.se Thu Aug 31 13:01:34 2006 From: lennart.kvam at softronic.se (lennart.kvam at softronic.se) Date: Thu, 31 Aug 2006 13:01:34 +0200 Subject: Number of Notifications!? Message-ID: <308D3417BAD2104895AE72D879B815B6029891AA@stsstomail01.softronic.se> Hello all Nagios gurus! I have a irritating problem, when a service goes down/critical i get a notification every second minute! Thats irritating:) I`w also read the docs on notifications but still ? havent solved it! Can anyone help me please?:) Here are som of my config: snip Nagios.cfg: command_check_interval=-1 log_notifications=1 interval_length=60 enable_notifications=1 status_update_interval=15 Minimal.cfg: define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define service{ name generic-service ; The 'name' of this service template 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 1 ; 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 failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define host{ use generic-host ; Name of host template to use host_name STSSTOSIG alias STSSTOSIG address 111.111.111.111 check_command check-host-alive max_check_attempts 10 notification_interval 0 notification_period 24x7 notification_options d,u,r, notifications_enabled 1 contact_groups admins } define service { use generic-service ; check_ping host_name STSSTOSIG service_description PING is_volatile 1 max_check_attempts 5 normal_check_interval 2 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 1 freshness_threshold 420 event_handler_enabled 1 low_flap_threshold 0 high_flap_threshold 0 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 0 contact_groups oas-hd,admins notification_interval 0 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 register 1 check_command check_ping!100.0,20%!500.0,60% } This is what i have in my minimal:) Something should be wrong...or? Thanks Lelle __\/__ . / ^ ^ \ . |\| (o)(o) |/| #---------------------.OOOo----O0----oOOO.-------------------# # Lennart Kvam # # Softronic AB, Ringv?gen 100, 118 60 Stockholm # # Tel: 0708-813279 Vx:08-51909000 # # lennart.kvam at softronic.se # #______________________Oooo._______________# .oooO ( ) ( ) ) / \ ( (_/ \_) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Aug 31 13:06:09 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 31 Aug 2006 12:06:09 +0100 Subject: Number of Notifications!? In-Reply-To: <308D3417BAD2104895AE72D879B815B6029891AA@stsstomail01.softronic.se> References: <308D3417BAD2104895AE72D879B815B6029891AA@stsstomail01.softronic.se> Message-ID: <44F6C2A1.3030404@googlemail.com> go and look in your nagios.cfg file for which config files it's actually using, I don't think most people use minimal, but you won't know until you look there. then find the service definition and change line notification_interval 0 to notification_interval 60 to have it email you once an hour when a service is down (assuming you haven't changed the default interval length in nagios.cfg) That should sort it lennart.kvam at softronic.se wrote: > Hello all Nagios gurus! > > I have a irritating problem, when a service goes down/critical i get a > notification every second minute! Thats irritating:) > > I`w also read the docs on notifications but still ? havent solved it! > Can anyone help me please?:) > Here are som of my config: snip > > Nagios.cfg: > command_check_interval=-1 > log_notifications=1 > interval_length=60 > enable_notifications=1 > status_update_interval=15 > > > Minimal.cfg: > > define host{ > name generic-host ; The name of > this host template > notifications_enabled 1 ; Host notifications > are enabled > event_handler_enabled 1 ; Host event handler > is enabled > flap_detection_enabled 1 ; Flap detection is > enabled > failure_prediction_enabled 1 ; Failure prediction > is enabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! > } > > define service{ > name generic-service ; The 'name' of this > service template > 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 1 ; 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 > failure_prediction_enabled 1 ; Failure prediction > is enabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > } > > > define host{ > use generic-host ; Name of host > template to use > host_name STSSTOSIG > alias STSSTOSIG > address 111.111.111.111 > check_command check-host-alive > max_check_attempts 10 > notification_interval 0 > notification_period 24x7 > notification_options d,u,r, > notifications_enabled 1 > contact_groups admins > } > > > define service { > use generic-service ; check_ping > host_name STSSTOSIG > service_description PING > is_volatile 1 > max_check_attempts 5 > normal_check_interval 2 > retry_check_interval 1 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > parallelize_check 1 > obsess_over_service 1 > check_freshness 1 > freshness_threshold 420 > event_handler_enabled 1 > low_flap_threshold 0 > high_flap_threshold 0 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 0 > contact_groups oas-hd,admins > notification_interval 0 > notification_period 24x7 > notification_options w,u,c,r > notifications_enabled 1 > register 1 > check_command check_ping!100.0,20%!500.0,60% > } > > This is what i have in my minimal:) Something should be wrong...or? > > Thanks > Lelle > > __\/__ > . / ^ ^ \ . -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Zimmer at oppenheim.de Thu Aug 31 13:10:59 2006 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Thu, 31 Aug 2006 13:10:59 +0200 Subject: Number of Notifications!? Message-ID: Are you sure your service isn?t flapping? have you checked the event-log? Greetz,Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de E-Mail: thomas.zimmer at oppenheim.de -----Urspr?ngliche Nachricht----- Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von lennart.kvam at softronic.se Gesendet: Donnerstag, 31. August 2006 13:02 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Number of Notifications!? Hello all Nagios gurus! I have a irritating problem, when a service goes down/critical i get a notification every second minute! Thats irritating:) I`w also read the docs on notifications but still ? havent solved it! Can anyone help me please?:) Here are som of my config: snip Nagios.cfg: command_check_interval=-1 log_notifications=1 interval_length=60 enable_notifications=1 status_update_interval=15 Minimal.cfg: define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define service{ name generic-service ; The 'name' of this service template 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 1 ; 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 failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define host{ use generic-host ; Name of host template to use host_name STSSTOSIG alias STSSTOSIG address 111.111.111.111 check_command check-host-alive max_check_attempts 10 notification_interval 0 notification_period 24x7 notification_options d,u,r, notifications_enabled 1 contact_groups admins } define service { use generic-service ; check_ping host_name STSSTOSIG service_description PING is_volatile 1 max_check_attempts 5 normal_check_interval 2 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 1 freshness_threshold 420 event_handler_enabled 1 low_flap_threshold 0 high_flap_threshold 0 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 0 contact_groups oas-hd,admins notification_interval 0 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 register 1 check_command check_ping!100.0,20%!500.0,60% } This is what i have in my minimal:) Something should be wrong...or? Thanks Lelle __\/__ . / ^ ^ \ . |\| (o)(o) |/| #---------------------.OOOo----O0----oOOO.-------------------# # Lennart Kvam # # Softronic AB, Ringv?gen 100, 118 60 Stockholm # # Tel: 0708-813279 Vx:08-51909000 # # lennart.kvam at softronic.se # #______________________Oooo._______________# .oooO ( ) ( ) ) / \ ( (_/ \_) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Zimmer, Thomas (Produktservices und Betrieb).vcf Type: text/x-vcard Size: 264 bytes Desc: Zimmer, Thomas (Produktservices und Betrieb).vcf URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lennart.kvam at softronic.se Thu Aug 31 13:38:08 2006 From: lennart.kvam at softronic.se (lennart.kvam at softronic.se) Date: Thu, 31 Aug 2006 13:38:08 +0200 Subject: Number of Notifications!? Message-ID: <308D3417BAD2104895AE72D879B815B6029891AC@stsstomail01.softronic.se> Hi! thanks for a fast answer! Here are the configfiles i`m using # Plugin commands (service and host check commands) # Arguments are likely to change between different releases of the # plugins, so you should use the same config file provided with the # plugin release rather than the one provided with Nagios. cfg_file=/usr/local/nagios/etc/checkcommands.cfg # Misc commands (notification and event handler commands, etc) cfg_file=/usr/local/nagios/etc/misccommands.cfg # You can split other types of object definitions across several # config files if you wish (as done here), or keep them all in a # single config file. cfg_file=/usr/local/nagios/etc/minimal.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg #cfg_file=/usr/local/nagios/etc/contactgroups.cfg #cfg_file=/usr/local/nagios/etc/contacts.cfg #cfg_file=/usr/local/nagios/etc/dependencies.cfg #cfg_file=/usr/local/nagios/etc/hostgroups.cfg #cfg_file=/usr/local/nagios/etc/hosts.cfg #cfg_file=/usr/local/nagios/etc/services.cfg #cfg_file=/usr/local/nagios/etc/timeperiods.cfg # Extended host/service info definitions are now stored along with # other object definitions: cfg_file=/usr/local/nagios/etc/hostextinfo.cfg cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg I will try this now....i`ll let you know if it works:) Thanks Lelle ________________________________ Fr?n: Hari Sekhon [mailto:hpsekhon at googlemail.com] Skickat: den 31 augusti 2006 13:06 Till: Kvam Lennart Kopia: nagios-users at lists.sourceforge.net ?mne: Re: [Nagios-users] Number of Notifications!? go and look in your nagios.cfg file for which config files it's actually using, I don't think most people use minimal, but you won't know until you look there. then find the service definition and change line notification_interval 0 to notification_interval 60 to have it email you once an hour when a service is down (assuming you haven't changed the default interval length in nagios.cfg) That should sort it lennart.kvam at softronic.se wrote: Hello all Nagios gurus! I have a irritating problem, when a service goes down/critical i get a notification every second minute! Thats irritating:) I`w also read the docs on notifications but still ? havent solved it! Can anyone help me please?:) Here are som of my config: snip Nagios.cfg: command_check_interval=-1 log_notifications=1 interval_length=60 enable_notifications=1 status_update_interval=15 Minimal.cfg: define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define service{ name generic-service ; The 'name' of this service template 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 1 ; 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 failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define host{ use generic-host ; Name of host template to use host_name STSSTOSIG alias STSSTOSIG address 111.111.111.111 check_command check-host-alive max_check_attempts 10 notification_interval 0 notification_period 24x7 notification_options d,u,r, notifications_enabled 1 contact_groups admins } define service { use generic-service ; check_ping host_name STSSTOSIG service_description PING is_volatile 1 max_check_attempts 5 normal_check_interval 2 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 1 freshness_threshold 420 event_handler_enabled 1 low_flap_threshold 0 high_flap_threshold 0 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 0 contact_groups oas-hd,admins notification_interval 0 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 register 1 check_command check_ping!100.0,20%!500.0,60% } This is what i have in my minimal:) Something should be wrong...or? Thanks Lelle __\/__ . / ^ ^ \ . -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ranjeetk at aztecsoft.com Thu Aug 31 13:55:46 2006 From: ranjeetk at aztecsoft.com (Ranjeet Kumar) Date: Thu, 31 Aug 2006 17:25:46 +0530 Subject: check_ping: %s: Warning threshold must be integer or percentage! Message-ID: <93F0E3CFC1ABB646B8808894FC7CDD25067F6A69@azindbaex01.aztec.soft> Hi, In case of check_ping it throws error "check_ping: %s: Warning threshold must be integer or percentage! " Server (Fedora Core 4) Command details in service section check_command check_ping!100.0,20%!500.0,60% Command # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } check command on client (Debain) command[check_ping]=/usr/lib/nagios/plugins/check_ping -H $ARG1$ -w $ARG2$ -c $AGR3$ -p 5 I am using following server & client configuration: - Server : Fedora Core 4 Nagios ver 2.5 Nagios Plugin ver 1.4.3 NRPE ver 2.5.2 Client : Debian (2.6.16 kernel) Nagios Plugin ver 1.4.6 Nagios NRPE : 2.0.7 Please help me in solving this issue. Thanks, Ranjeet The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. www.aztecsoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From art at caa.is Thu Aug 31 14:05:30 2006 From: art at caa.is (Arnar =?ISO-8859-1?Q?=DE=F3rarinsson?=) Date: Thu, 31 Aug 2006 12:05:30 +0000 Subject: IBM Director In-Reply-To: <44F69648.6000700@op5.se> References: <44F69648.6000700@op5.se> Message-ID: <1157025931.25725.6.camel@black148> Hello I'm having the same problem monitoring our IBM AIX5.3 servers. Currently using check_snmp to monitor a few things but really need to be able to do more. /Arnar On Thu, 2006-08-31 at 09:56 +0200, Johannes Dagemark wrote: > Hello fellows > > I have been struggling with monitoring IBM servers using check_snmp and > a lot of diffrent OID's but I fail to provide a good monitoring... > > It would be really nice if there were a plugin for IBM like the > check_compaq_insight.pl available in the contrib section of nagiosplugins. > > Any takers? Im willing to pay for it > > Best Regards > Johannes Dagemark > op5 AB > Phone: +46317740432 > Cell: +46733709024 > Email: jd at op5.se > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- -- Regards Arnar Thorarinsson Software Programmer / System Administrator Systems Department, Air Traffic Services Phone : +354 569 4289 ------------------------------------------ Icelandic Civil Aviation Administration Reykjavik Airport IS 121 Reykjavik Iceland http://www.caa.is ------------------------------------------ Thessi tolvupostur og vidhengi hans geta innihaldid trunadarupplysingar og er eingongu aetladur theim sem hann er stiladur a. Oheimil medferd tolvuposts thessa og vidhengja hans getur vardad skadabota- og refsiabyrgd samkvaemt logum um fjarskipti. Efni tolvupostsins og vidhengja er a abyrgd sendanda ef thad tengist ekki starfsemi Flugmalastjornar Islands. Ef Thu ert ekki skradur mottakandi og hefur fengid skeytid vegna mistaka, vinsamlegast hafdu strax samband vid sendanda. ------------ This e-mail and its attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ranjeetk at aztecsoft.com Thu Aug 31 14:15:44 2006 From: ranjeetk at aztecsoft.com (Ranjeet Kumar) Date: Thu, 31 Aug 2006 17:45:44 +0530 Subject: Nagios - Ping - You must specify aserver Message-ID: <93F0E3CFC1ABB646B8808894FC7CDD25067F6B38@azindbaex01.aztec.soft> Hi Andy, In my case I used the following configuration : - # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } In service definition: - check_command check_nrpe!check_ping!100.0,20%!500.0,60% Please help me in solving this issue. Thanks, Ranjeet Hi Ranjeet Can you post your command string for this plugin and similarly the host/service that uses this command? I'm using exactly the same versions as you except it's on Fedora 5, and not had a problem (both local and remote commands.) Mine are as follows: Command definition: define command { command_name Check_PING command_line /usr/local/nagios/libexec/check_ping -H $ARG1$ -p 10 -w 500,50% -c 1000,100% } In the host definitions: check_command Check_PING!$HOSTADDRESS$ Regards Andy. Ranjeet Kumar wrote: > > Hi, > > I am able to get all information from the server except ping. It gives > the error ?You must specify a server address or host name ?. > > Please help me in solving this issue. > > I am using following: > > Nagios 2.5 > > Nagios-plugins 1.4.3 > > NRPE 2.5.2 > > OS: Fedora Core 4 > > Thanks, > > Ranjeet > Thanks, Ranjeet The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. www.aztecsoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Aug 31 14:21:44 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Thu, 31 Aug 2006 13:21:44 +0100 Subject: Nagios - Ping - You must specify a server In-Reply-To: <93F0E3CFC1ABB646B8808894FC7CDD25067A56DF@azindbaex01.aztec.soft> References: <93F0E3CFC1ABB646B8808894FC7CDD25067A56DF@azindbaex01.aztec.soft> Message-ID: <44F6D458.30808@mailnetwork.co.uk> Hi Ranjeet, I see you're trying to use check_nrpe to pass the arguments of check_ping to? It's a case of what exactly are you trying to do here? There are 2 things I can see you're trying to do: 1. Ping host $HOSTADDRESS$ from the Nagios machine 2. Send a request via NRPE to another machine to ask it to ping $HOSTADDRESS$ and send the result back to the Nagios machine However you're trying to pass "check_ping!100.0,20%!500.0,60%" as arguments to check_nrpe - can you post your check_nrpe command_line as well? Note that on the machine that's running the NRPE daemon, you must have the check_ping command configured, and if you want to be able to pass arguments to the NRPE daemon, you must have configured it correctly (see the nrpe.cfg file.) Post your check_nrpe command on yuor Nagios machine, and also your nrpe.cfg file from the client. Andy. Ranjeet Kumar wrote: > > Hi Andy, > > > > In my case I used the following configuration : - > > > > # 'check_ping' command definition > > define command{ > > command_name check_ping > > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ > -c $ARG2$ -p 5 > > } > > > > In service definition: - > > check_command check_nrpe!check_ping!100.0,20%!500.0,60% > > > > Please help me in solving this issue. > > > > Thanks, > > Ranjeet > > > > Hi Ranjeet > > > > Can you post your command string for this plugin and similarly the > > host/service that uses this command? > > I'm using exactly the same versions as you except it's on Fedora 5, and > > not had a problem (both local and remote commands.) Mine are as follows: > > > > Command definition: > > > > define command { > > command_name Check_PING > > command_line /usr/local/nagios/libexec/check_ping -H $ARG1$ -p 10 -w > > 500,50% -c 1000,100% > > } > > > > In the host definitions: > > > > check_command Check_PING!$HOSTADDRESS$ > > > > Regards > > > > Andy. > > > > Ranjeet Kumar wrote: > > > > > > Hi, > > > > > > I am able to get all information from the server except ping. It gives > > > the error ?You must specify a server address or host name ?. > > > > > > Please help me in solving this issue. > > > > > > I am using following: > > > > > > Nagios 2.5 > > > > > > Nagios-plugins 1.4.3 > > > > > > NRPE 2.5.2 > > > > > > OS: Fedora Core 4 > > > > > > Thanks, > > > > > > Ranjeet > > > > > > > !DSPAM:37,44f677cf143291534120704! > > The information contained in, or attached to, this e-mail, contains > confidential information and is intended solely for the use of the > individual or entity to whom they are addressed and is subject to > legal privilege. If you have received this e-mail in error you should > notify the sender immediately by reply e-mail, delete the message from > your system and notify your system manager. Please do not copy it for > any purpose, or disclose its contents to any other person. The views > or opinions presented in this e-mail are solely those of the author > and do not necessarily represent those of the company. The recipient > should check this e-mail and any attachments for the presence of > viruses. The company accepts no liability for any damage caused, > directly or indirectly, by any virus transmitted in this email. > > www.aztecsoft.com > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Aug 31 14:30:37 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Thu, 31 Aug 2006 13:30:37 +0100 Subject: check_ping: %s: Warning threshold must be integer or percentage! In-Reply-To: <93F0E3CFC1ABB646B8808894FC7CDD25067F6A69@azindbaex01.aztec.soft> References: <93F0E3CFC1ABB646B8808894FC7CDD25067F6A69@azindbaex01.aztec.soft> Message-ID: <44F6D66D.9040106@mailnetwork.co.uk> Ranjeet, Only just got this e-mail after I'd replied! OK this is what's happening. Firstly, check_ping on your Nagios machine is ignored by nrpe - as that contains it's own command definitions. So, here: command[check_ping]=/usr/lib/nagios/plugins/check_ping -H $ARG1$ -w $ARG2$ -c $AGR3$ -p 5 it's expecting the hostname as argument 1, the warning threshold as argument 2 and the critical threshold as argument 3. (depending on what your check_nrpe command reads (something like "check_nrpe -H $HOSTADDRESS$ -p 5666 -c $ARG1$"), what Nagios is actually passing is: "check_ping!100.0,20%!500.0,60%", so your client machine is reading the host (argument 1) as 100.0,20%, the warning threshold (argument 2) as 500.0,60% and the critical threshold as blank. Also notice your typo in command[check_ping]: $AGR3$ should be $ARG3$ Andy. Ranjeet Kumar wrote: > > Hi, > > In case of check_ping it throws error ?check_ping: %s: Warning > threshold must be integer or percentage! ? > > Server (Fedora Core 4) > > Command details in service section > > check_command check_ping!100.0,20%!500.0,60% > > Command > > # 'check_ping' command definition > > define command{ > > command_name check_ping > > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 > > } > > check command on client (Debain) > > command[check_ping]=/usr/lib/nagios/plugins/check_ping -H $ARG1$ -w > $ARG2$ -c $AGR3$ -p 5 > > I am using following server & client configuration: - > > Server : Fedora Core 4 > > Nagios ver 2.5 > > Nagios Plugin ver 1.4.3 > > NRPE ver 2.5.2 > > Client : Debian (2.6.16 kernel) > > Nagios Plugin ver 1.4.6 > > Nagios NRPE : 2.0.7 > > Please help me in solving this issue. > > Thanks, > > Ranjeet > > !DSPAM:37,44f6cd04143291392681367! > > The information contained in, or attached to, this e-mail, contains > confidential information and is intended solely for the use of the > individual or entity to whom they are addressed and is subject to > legal privilege. If you have received this e-mail in error you should > notify the sender immediately by reply e-mail, delete the message from > your system and notify your system manager. Please do not copy it for > any purpose, or disclose its contents to any other person. The views > or opinions presented in this e-mail are solely those of the author > and do not necessarily represent those of the company. The recipient > should check this e-mail and any attachments for the presence of > viruses. The company accepts no liability for any damage caused, > directly or indirectly, by any virus transmitted in this email. > > www.aztecsoft.com > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > !DSPAM:37,44f6cd04143291392681367! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,44f6cd04143291392681367! > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elizar.palad at gmail.com Thu Aug 31 15:02:00 2006 From: elizar.palad at gmail.com (Elizar M. Palad) Date: Thu, 31 Aug 2006 21:02:00 +0800 Subject: no graph like hobbit or BB In-Reply-To: <44F6984D.4070109@rhenus.de> References: <44F6984D.4070109@rhenus.de> Message-ID: thanks for the info you guys, will check them out. On 8/31/06, Marcus Fleige wrote: > Hi Elizar, > > Elizar M. Palad wrote: > > Hi list, > > > > Im a nagios user for more than a year now... > > I just came across hobbit.. it has an awesome reporting tool > > and a graph.. > > > > how come i don't see nagios'? > > or i can't make it work? > > As the website says, hobbitmon is an development based on bigbrother, > adding graphs and reporting. > > When you compare it to nagios, you should have a look to the 'reporting' > section in nagios' navigation on the left. > > Nagios itself is not capable of diffencing between more than 4 states > (ok, warning, critical, unknown), the reporting can only tell you > something about availability of a host or service. For long term graphs, > you have to extend your nagios installation with an addon like > NagiosGrapher, PerfParse etc. - have a look at > http://www.nagiosexchange.org. > > > Regards, > > Marcus Fleige > > -- > EOF > -- ---- Don't Tell Me How Hard You Work.. Show Me How Much You'd Accomplished.. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lennart.kvam at softronic.se Thu Aug 31 15:21:52 2006 From: lennart.kvam at softronic.se (lennart.kvam at softronic.se) Date: Thu, 31 Aug 2006 15:21:52 +0200 Subject: Number of Notifications!? Message-ID: <308D3417BAD2104895AE72D879B815B6029891AE@stsstomail01.softronic.se> no, that did not work:( Now i get mail every 4:th minute:) I only want one... someone ? Regards Lelle ________________________________ Fr?n: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] F?r lennart.kvam at softronic.se Skickat: den 31 augusti 2006 13:38 Till: hpsekhon at googlemail.com Kopia: nagios-users at lists.sourceforge.net ?mne: Re: [Nagios-users] Number of Notifications!? Hi! thanks for a fast answer! Here are the configfiles i`m using # Plugin commands (service and host check commands) # Arguments are likely to change between different releases of the # plugins, so you should use the same config file provided with the # plugin release rather than the one provided with Nagios. cfg_file=/usr/local/nagios/etc/checkcommands.cfg # Misc commands (notification and event handler commands, etc) cfg_file=/usr/local/nagios/etc/misccommands.cfg # You can split other types of object definitions across several # config files if you wish (as done here), or keep them all in a # single config file. cfg_file=/usr/local/nagios/etc/minimal.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg #cfg_file=/usr/local/nagios/etc/contactgroups.cfg #cfg_file=/usr/local/nagios/etc/contacts.cfg #cfg_file=/usr/local/nagios/etc/dependencies.cfg #cfg_file=/usr/local/nagios/etc/hostgroups.cfg #cfg_file=/usr/local/nagios/etc/hosts.cfg #cfg_file=/usr/local/nagios/etc/services.cfg #cfg_file=/usr/local/nagios/etc/timeperiods.cfg # Extended host/service info definitions are now stored along with # other object definitions: cfg_file=/usr/local/nagios/etc/hostextinfo.cfg cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg I will try this now....i`ll let you know if it works:) Thanks Lelle ________________________________ Fr?n: Hari Sekhon [mailto:hpsekhon at googlemail.com] Skickat: den 31 augusti 2006 13:06 Till: Kvam Lennart Kopia: nagios-users at lists.sourceforge.net ?mne: Re: [Nagios-users] Number of Notifications!? go and look in your nagios.cfg file for which config files it's actually using, I don't think most people use minimal, but you won't know until you look there. then find the service definition and change line notification_interval 0 to notification_interval 60 to have it email you once an hour when a service is down (assuming you haven't changed the default interval length in nagios.cfg) That should sort it lennart.kvam at softronic.se wrote: Hello all Nagios gurus! I have a irritating problem, when a service goes down/critical i get a notification every second minute! Thats irritating:) I`w also read the docs on notifications but still ? havent solved it! Can anyone help me please?:) Here are som of my config: snip Nagios.cfg: command_check_interval=-1 log_notifications=1 interval_length=60 enable_notifications=1 status_update_interval=15 Minimal.cfg: define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define service{ name generic-service ; The 'name' of this service template 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 1 ; 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 failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define host{ use generic-host ; Name of host template to use host_name STSSTOSIG alias STSSTOSIG address 111.111.111.111 check_command check-host-alive max_check_attempts 10 notification_interval 0 notification_period 24x7 notification_options d,u,r, notifications_enabled 1 contact_groups admins } define service { use generic-service ; check_ping host_name STSSTOSIG service_description PING is_volatile 1 max_check_attempts 5 normal_check_interval 2 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 1 freshness_threshold 420 event_handler_enabled 1 low_flap_threshold 0 high_flap_threshold 0 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 0 contact_groups oas-hd,admins notification_interval 0 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 register 1 check_command check_ping!100.0,20%!500.0,60% } This is what i have in my minimal:) Something should be wrong...or? Thanks Lelle __\/__ . / ^ ^ \ . -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adawkins at skynet.co.uk Thu Aug 31 15:58:49 2006 From: adawkins at skynet.co.uk (Ashley Dawkins) Date: Thu, 31 Aug 2006 15:58:49 +0200 (CEST) Subject: No output! Message-ID: <20060831135849.84D764F4045@desire.netways.de> Hi list I've spent most of the last week googling for the solution to a problem we're having with Nagios 2.4. All of our checks work fine, apart from our one mysql_query check, which keeps returning "No output!" in Nagios. Even when I change the password to the wrong password, Nagios returns "No output!". When run manually as a standard user, as nagios or as root however, the check command returns the correct reply (QUERY OK). A workmate also wrote a script to run the check and check it's return value, and this also returned a 0. I understand there is a patch for embedded Perl producing this "No output!", but the check commands are not Perl. The command definition is: # 'check_mysql_query' command definition define command{ command_name check_mysql_query command_line $USER1$/check_mysql_query -q $ARG1$ -w $ARG2$ -d $ARG3$ -H $HOSTALIAS$ -u $ARG4$ -p $ARG5$ } Here is the check_command taken from the service definition: check_mysql_query!"select count(ProductName) from Products where ProductID=1;"!1!database!username!password Is there anything we can do to fix this? - Ashley ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Thu Aug 31 16:06:31 2006 From: knobdy at gmail.com (Brian Loe) Date: Thu, 31 Aug 2006 09:06:31 -0500 Subject: IBM Director In-Reply-To: <1157025931.25725.6.camel@black148> References: <44F69648.6000700@op5.se> <1157025931.25725.6.camel@black148> Message-ID: <3c4611bc0608310706qe979c5aw98d563a158914751@mail.gmail.com> I'm monitoring a couple of 5.3 boxen with Cacti (nothing in Nagios other than a ping) and it works okay... the AIX snmp implementation isn't much fun though, and to view more of the MIB you'll need to enable it. I had more luck with v3 than v1. Might look at upgrading snmp...? On 8/31/06, Arnar ??rarinsson wrote: > Hello > I'm having the same problem monitoring our IBM AIX5.3 servers. > Currently using check_snmp to monitor a few things but really need to be > able to do more. > > > /Arnar > On Thu, 2006-08-31 at 09:56 +0200, Johannes Dagemark wrote: > > Hello fellows > > > > I have been struggling with monitoring IBM servers using check_snmp and > > a lot of diffrent OID's but I fail to provide a good monitoring... > > > > It would be really nice if there were a plugin for IBM like the > > check_compaq_insight.pl available in the contrib section of nagiosplugins. > > > > Any takers? Im willing to pay for it > > > > Best Regards > > Johannes Dagemark > > op5 AB > > Phone: +46317740432 > > Cell: +46733709024 > > Email: jd at op5.se > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > -- > -- > Regards > Arnar Thorarinsson > > Software Programmer / System Administrator > Systems Department, Air Traffic Services > Phone : +354 569 4289 > ------------------------------------------ > Icelandic Civil Aviation Administration > Reykjavik Airport > IS 121 Reykjavik > Iceland > http://www.caa.is > ------------------------------------------ > > > Thessi tolvupostur og vidhengi hans geta innihaldid > trunadarupplysingar og er eingongu aetladur theim sem hann er > stiladur a. > Oheimil medferd tolvuposts thessa og vidhengja hans getur vardad > skadabota- og refsiabyrgd samkvaemt logum um fjarskipti. Efni > tolvupostsins og vidhengja er a abyrgd sendanda ef thad tengist > ekki starfsemi Flugmalastjornar Islands. Ef Thu ert ekki skradur > mottakandi og hefur fengid skeytid vegna mistaka, vinsamlegast > hafdu strax samband vid sendanda. > > ------------ > > > This e-mail and its attachments is intended only for the person or > entity to which it is addressed and may contain confidential > and/or privileged material. Any review, retransmission, > dissemination or other use of, or taking of any action in > reliance upon, this information by persons or entities other than > the intended recipient is prohibited. > If you received this in error, please contact the sender and > delete the material from any computer. > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From georgiebryan at gmail.com Thu Aug 31 16:06:48 2006 From: georgiebryan at gmail.com (George Bryan) Date: Thu, 31 Aug 2006 15:06:48 +0100 Subject: NDO and HA Message-ID: <9c98ad650608310706m6a92cf7dw2a9f75c5a7751abd@mail.gmail.com> Hi all, i'm a bit lost here and i need some help. I need to setup a nagios monitoring environement with high avaliability and load balancing. When i was ressearching this i first considered the option of doing it with nsca and just submiting the checks passively to my visualization servers. Other option i considered was just configuring the checks on the visualization servers and run nrpe on the monitorization servers and let them handle the checks on demand, don't know if this is possible but in this case i could use a standard tcp load balancing setup. I had a good feeling about this but never tried it. After some ressearch i found about ndoutils and read that by nagios 3.0 we should have a php based front-end, etc etc.. So i setup a fairly simple environment with nagios 2.5 and ndotuils and i the database is getting well populated, however, and i may have missed something here, the visualization part of nagios doesn't seem to do anything with the database. So is this funcionality not done yet? I wanted to follow this route because it would mean that the upgrade to 3.0 wouldn't be as hard. Am i wrong thinking this? Is there any way to get this to work currently? I tried nagios-cvs but it seems to be the same. So i'm stuck. Should i just ditch ndo and go with the nrpe setup for the time being? Any pitfalls anyone wants to share? cheers George ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Thu Aug 31 16:10:13 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Fri, 1 Sep 2006 00:10:13 +1000 Subject: security & suid/sudo plugins Message-ID: <610cb7a00608310710pc220f1n59d4cea23c322272@mail.gmail.com> Hi, I have a difficult customer who won't sign off changes based on the security risk using suid plugins, for example, check_logfiles. What does one do about this situation? Regards, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Aug 31 16:14:05 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Thu, 31 Aug 2006 15:14:05 +0100 Subject: Logged in as ? In-Reply-To: References: Message-ID: <44F6EEAD.7040703@mailnetwork.co.uk> Hi, I also have this problem. I'd like my users to have different rights dependent on their login name, but I can't use anything unless "default_user_name" is set, and then it always assumes the role of the default user. I've got a htpasswd.users file in /usr/local/nagios/etc which is readable and writeable by nagios, and readable to the webserver group. All users are authenticated via an SQL authentication module, and basic authentication succeeds, so I can't see this would make a difference. Here's my SQL authentication configuration from Apache. Note that AuthUserFile needs to be /dev/null or it will circumvent the SQL authentication and take the password from AuthUserFile instead of the database. It is company policy that all users are authenticated from this database. Note that basic authentication works - it seems to be Nagios is not reading the logged in user ID. An example user is "andyshellam." Which field in the contacts configuration needs to match the authenticated user ID? Here are my configuration files (sensitive values replaced with bracketed expressions): */usr/local/apache2/conf/httpd_auth.conf* AuthType Basic AuthUserFile /dev/null AuthBasicAuthoritative Off Auth_PG_host (DB_HOSTNAME) Auth_PG_port (DB_PORT) Auth_PG_user (DB_USER) Auth_PG_pwd (DB_PASSWORD) Auth_PG_database (DB_NAME) Auth_PG_pwd_table (DB_USERS_TABLE) Auth_PG_uid_field (DB_USER_ID_COLUMN) Auth_PG_pwd_field (DB_PASSWORD_COLUMN) Require valid-user */usr/local/nagios/etc/htpasswd.users* andyshellam:(PASSWORD) */usr/local/nagios/etc/nagcfg/contacts.cfg* define contactgroup { contactgroup_name NetServe alias NetServe Business and Customer Support members andyshellam } define contact { contact_name andyshellam alias andyshellam service_notification_period always host_notification_period always host_notification_options d,u,r,f host_notification_commands Send_HostAlert service_notification_options w,u,r,f,c service_notification_commands Send_ServiceAlert email (EMAIL_ADDRESS) pager (PAGER_TO_EMAIL_GATEWAY) } Many thanks Andy. --- Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Marc Powell >> Sent: Wednesday, August 30, 2006 4:06 PM >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Logged in as ? >> >> >> >> >>> -----Original Message----- >>> From: nagios-users-bounces at lists.sourceforge.net >>> > [mailto:nagios-users- > >>> bounces at lists.sourceforge.net] On Behalf Of Rodrigo Maceno >>> Sent: Wednesday, August 30, 2006 2:05 PM >>> To: nagios-users at lists.sourceforge.net >>> Subject: [Nagios-users] Logged in as ? >>> >>> Hello, >>> >>> I have an archive htpasswd.users at the /usr/local/nagios/etc >>> >> directory >> >>> and when I remove the line 'default_user_name' at the cgi.cfg >>> > archive > >> and >> >>> I try to logging in the Nagios with a user, it shows me the follow >>> message: Logged in as ?. I don't know what can be causing it. Could >>> >> anyone >> >>> help me?? >>> >> Check your .htaccess file in the ~nagios/sbin directory. Make sure >> > it's > >> readable by your web server and looks like the documentation. >> > > Actually I forgot that the new recommended approach if via httpd.conf > configuration entirely. Make sure that you have the relevant httpd.conf > entries for your sbin directory as indicated at > http://nagios.sourceforge.net/docs/2_0/installweb.html and have > restarted your web server. > > -- > Marc > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,44f5fe9a143292131316873! > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Aug 31 16:29:41 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Thu, 31 Aug 2006 15:29:41 +0100 Subject: SMART hard-disk monitoring Message-ID: <44F6F255.7080100@mailnetwork.co.uk> Has anyone got a check plugin working for monitoring SMART hard disk status thresholds? The only one I found on nagiosexchange (check_smartmon) needs to be run as root to get permission to read the drive stats, and also doesn't work - it causes the below Python trace-back: Traceback (most recent call last): File "./check_smartmon", line 254, in ? (healthStatus, temperature) = parseOutput(healthStatusOutput, temperatureOutput) File "./check_smartmon", line 163, in parseOutput healthStatus = parts[-1] IndexError: list index out of range I've just ran smartctl and it appears you do need to be root, so if I can find a working plugin I can just sudo the nagios user. Any ideas? Thanks Andy. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Aug 31 16:34:04 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 31 Aug 2006 15:34:04 +0100 Subject: security & suid/sudo plugins In-Reply-To: <610cb7a00608310710pc220f1n59d4cea23c322272@mail.gmail.com> References: <610cb7a00608310710pc220f1n59d4cea23c322272@mail.gmail.com> Message-ID: <44F6F35C.3040304@googlemail.com> Alexander Harvey wrote: > Hi, > > I have a difficult customer who won't sign off changes based on the > security risk using suid plugins, for example, check_logfiles. What > does one do about this situation? > > Regards, > Alex > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null use sudo, that's what it's for. Hari Sekhon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Aug 31 16:40:35 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 31 Aug 2006 15:40:35 +0100 Subject: Number of Notifications!? In-Reply-To: <308D3417BAD2104895AE72D879B815B6029891AE@stsstomail01.softronic.se> References: <308D3417BAD2104895AE72D879B815B6029891AE@stsstomail01.softronic.se> Message-ID: <44F6F4E3.7040305@googlemail.com> lennart.kvam at softronic.se wrote: > no, that did not work:( Now i get mail every 4:th minute:) I only want > one... someone ? > > Regards > Lelle > > ------------------------------------------------------------------------ > *Fr?n:* nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] *F?r > *lennart.kvam at softronic.se > *Skickat:* den 31 augusti 2006 13:38 > *Till:* hpsekhon at googlemail.com > *Kopia:* nagios-users at lists.sourceforge.net > *?mne:* Re: [Nagios-users] Number of Notifications!? > > Hi! > thanks for a fast answer! > Here are the configfiles i`m using > > # Plugin commands (service and host check commands) > # Arguments are likely to change between different releases of the > # plugins, so you should use the same config file provided with the > # plugin release rather than the one provided with Nagios. > cfg_file=/usr/local/nagios/etc/checkcommands.cfg > > # Misc commands (notification and event handler commands, etc) > cfg_file=/usr/local/nagios/etc/misccommands.cfg > > # You can split other types of object definitions across several > # config files if you wish (as done here), or keep them all in a > # single config file. > > *cfg_file=/usr/local/nagios/etc/minimal.cfg* > cfg_file=/usr/local/nagios/etc/escalations.cfg > > #cfg_file=/usr/local/nagios/etc/contactgroups.cfg > #cfg_file=/usr/local/nagios/etc/contacts.cfg > #cfg_file=/usr/local/nagios/etc/dependencies.cfg > #cfg_file=/usr/local/nagios/etc/hostgroups.cfg > #cfg_file=/usr/local/nagios/etc/hosts.cfg > #cfg_file=/usr/local/nagios/etc/services.cfg > #cfg_file=/usr/local/nagios/etc/timeperiods.cfg > > # Extended host/service info definitions are now stored along with > # other object definitions: > cfg_file=/usr/local/nagios/etc/hostextinfo.cfg > cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg > > I will try this now....i`ll let you know if it works:) > > Thanks > Lelle > > ------------------------------------------------------------------------ > *Fr?n:* Hari Sekhon [mailto:hpsekhon at googlemail.com] > *Skickat:* den 31 augusti 2006 13:06 > *Till:* Kvam Lennart > *Kopia:* nagios-users at lists.sourceforge.net > *?mne:* Re: [Nagios-users] Number of Notifications!? > > go and look in your nagios.cfg file for which config files it's > actually using, I don't think most people use minimal, but you won't > know until you look there. > > then find the service definition and change line > > notification_interval 0 > > to > > notification_interval 60 > > to have it email you once an hour when a service is down (assuming you > haven't changed the default interval length in nagios.cfg) > > > That should sort it > > > > lennart.kvam at softronic.se wrote: >> Hello all Nagios gurus! >> >> I have a irritating problem, when a service goes down/critical i get >> a notification every second minute! Thats irritating:) >> >> I`w also read the docs on notifications but still ? havent solved it! >> Can anyone help me please?:) >> Here are som of my config: snip >> >> Nagios.cfg: >> command_check_interval=-1 >> log_notifications=1 >> interval_length=60 >> enable_notifications=1 >> status_update_interval=15 >> >> >> Minimal.cfg: >> >> define host{ >> name generic-host ; The name of >> this host template >> notifications_enabled 1 ; Host notifications >> are enabled >> event_handler_enabled 1 ; Host event handler >> is enabled >> flap_detection_enabled 1 ; Flap detection is >> enabled >> failure_prediction_enabled 1 ; Failure prediction >> is enabled >> process_perf_data 1 ; Process performance >> data >> retain_status_information 1 ; Retain status >> information across program restarts >> retain_nonstatus_information 1 ; Retain non-status >> information across program restarts >> register 0 ; DONT REGISTER THIS >> DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! >> } >> >> define service{ >> name generic-service ; The 'name' of this >> service template >> 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 1 ; 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 >> failure_prediction_enabled 1 ; Failure prediction >> is enabled >> process_perf_data 1 ; Process performance >> data >> retain_status_information 1 ; Retain status >> information across program restarts >> retain_nonstatus_information 1 ; Retain non-status >> information across program restarts >> register 0 ; DONT REGISTER THIS >> DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! >> } >> >> >> define host{ >> use generic-host ; Name of >> host template to use >> host_name STSSTOSIG >> alias STSSTOSIG >> address 111.111.111.111 >> check_command check-host-alive >> max_check_attempts 10 >> notification_interval 0 >> notification_period 24x7 >> notification_options d,u,r, >> notifications_enabled 1 >> contact_groups admins >> } >> >> >> define service { >> use generic-service ; check_ping >> host_name STSSTOSIG >> service_description PING >> is_volatile 1 >> max_check_attempts 5 >> normal_check_interval 2 >> retry_check_interval 1 >> active_checks_enabled 1 >> passive_checks_enabled 1 >> check_period 24x7 >> parallelize_check 1 >> obsess_over_service 1 >> check_freshness 1 >> freshness_threshold 420 >> event_handler_enabled 1 >> low_flap_threshold 0 >> high_flap_threshold 0 >> flap_detection_enabled 1 >> process_perf_data 1 >> retain_status_information 1 >> retain_nonstatus_information 0 >> contact_groups oas-hd,admins >> notification_interval 0 >> notification_period 24x7 >> notification_options w,u,c,r >> notifications_enabled 1 >> register 1 >> check_command check_ping!100.0,20%!500.0,60% >> } >> >> This is what i have in my minimal:) Something should be wrong...or? >> >> Thanks >> Lelle >> >> __\/__ >> . / ^ ^ \ . as someone suggested, investigate flap detection. I haven't looked at this myself since I have always had this working consistently, unless the thing times out or the service is rebooted or something. you may also want to look at the timeout option that most plugins provide, perhaps it doesn't get a response in the time and this flags critical, which may appear as flapping and may explain why you get emails every few mins instead of once every hour or two... you could try running the check manually a lot of times and finding if it does occasionally fail for any reason. You can script this in Bash (I love that) or in something else you know, Perl or Python.... save the results to a log file to see what the returns are over time. If you timestamp each log entry then you can compare the emails you're getting against the log to see if the check was succeeding at that point. Or you could try the nagios history first off to compare. If the service really is flapping then you need to fix that, not nagios. food for thought. Hari Sekhon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Aug 31 16:43:05 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 31 Aug 2006 15:43:05 +0100 Subject: security & suid/sudo plugins In-Reply-To: <610cb7a00608310738l3258da8fva406c8affb6ed91@mail.gmail.com> References: <610cb7a00608310710pc220f1n59d4cea23c322272@mail.gmail.com> <44F6F35C.3040304@googlemail.com> <610cb7a00608310738l3258da8fva406c8affb6ed91@mail.gmail.com> Message-ID: <44F6F579.7090004@googlemail.com> Alexander Harvey wrote: > I am using sudo, except that customer won't sign the change!:-) > > On 9/1/06, *Hari Sekhon* > wrote: > > Alexander Harvey wrote: > Hi, > > I have a difficult customer who won't sign off changes based on > the security risk using suid plugins, for example, check_logfiles. > What does one do about this situation? > > Regards, > Alex > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > use sudo, that's what it's for. > > > > Hari Sekhon > > tell the muppet customer that sudo is safer and was designed for this purpose. No other account can use the command with the elevated privilege and that no other user can use that account, especially if you lock it and /bin/false it as well for 2 level protection that the account can't be used by anybody (apart from root, by which point you're already hosed and that will be the least of your worries). Hari Sekhon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at kilala.nl Thu Aug 31 16:43:21 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Thu, 31 Aug 2006 16:43:21 +0200 Subject: security & suid/sudo plugins In-Reply-To: <44F6F35C.3040304@googlemail.com> References: <610cb7a00608310710pc220f1n59d4cea23c322272@mail.gmail.com> <44F6F35C.3040304@googlemail.com> Message-ID: On 31 Aug, 2006, at 16:34, Hari Sekhon wrote: >> I have a difficult customer who won't sign off changes based on >> the security risk using suid plugins, for example, check_logfiles. >> What does one do about this situation? >> > > use sudo, that's what it's for. > And then -don't- use sudo to run the script, but use sudo to run the actual command that's needed to read the logfile. Possibly even defining the actual arguments that will be given to the command. It's a bitch when it comes to upkeep, but it is the safest way of going about this... Using a suid script is asking for trouble... Anyone could change the script to read "rm -rf /*" Cheers! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.moss at uk.bnpparibas.com Thu Aug 31 16:41:38 2006 From: rob.moss at uk.bnpparibas.com (rob.moss at uk.bnpparibas.com) Date: Thu, 31 Aug 2006 15:41:38 +0100 Subject: security & suid/sudo plugins In-Reply-To: <44F6F35C.3040304@googlemail.com> References: <44F6F35C.3040304@googlemail.com> Message-ID: Or create a group with the owner of the logfiles + user that NRPE runs under so that the group can read the logfile Internet hpsekhon at googlemail.com@lists.sourceforge.net - 31/08/2006 15:34 Sent by: nagios-users-bounces at lists.sourceforge.net To: alexh19740110 cc: nagios-users Subject: Re: [Nagios-users] security & suid/sudo plugins Alexander Harvey wrote: Hi, I have a difficult customer who won't sign off changes based on the security risk using suid plugins, for example, check_logfiles. What does one do about this situation? Regards, Alex ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null use sudo, that's what it's for. Hari Sekhon ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. ********************************************************************************************** BNP Paribas Private Bank London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Securities Services London Branch is authorised by CECEI & AMF and is regulated by the Financial Services Authority for the conduct of its investment business in the United Kingdom. BNP Paribas Fund Services UK Limited is authorised and regulated by the Financial Services Authority ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Aug 31 16:49:49 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 31 Aug 2006 15:49:49 +0100 Subject: security & suid/sudo plugins In-Reply-To: References: <610cb7a00608310710pc220f1n59d4cea23c322272@mail.gmail.com> <44F6F35C.3040304@googlemail.com> Message-ID: <44F6F70D.5010504@googlemail.com> Thomas Sluyter wrote: > On 31 Aug, 2006, at 16:34, Hari Sekhon wrote: > > >>> I have a difficult customer who won't sign off changes based on >>> the security risk using suid plugins, for example, check_logfiles. >>> What does one do about this situation? >>> >>> >> use sudo, that's what it's for. >> >> > > And then -don't- use sudo to run the script, but use sudo to run the > actual command that's needed to read the logfile. Possibly even > defining the actual arguments that will be given to the command. It's > a bitch when it comes to upkeep, but it is the safest way of going > about this... > > Using a suid script is asking for trouble... Anyone could change the > script to read "rm -rf /*" > > Cheers! > > > Thomas > > > yeah well that was implied in the go learn how to use sudo properly hint... sorry I should have been more explicit in that. Only sudo the specific command (ie the plugin itself) and only for the one user. Done. Hari Sekhon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From happy at usg.edu Thu Aug 31 17:43:35 2006 From: happy at usg.edu (Mark Plaksin) Date: Thu, 31 Aug 2006 11:43:35 -0400 Subject: Making passive checks notify like active checks--race condition? Message-ID: We want our passive checks to notify like active checks. What if we make a plugin which does nothing but report the current state (and description) of a service? Define it like this in checkcommands.cfg: define command{ command_name repeater command_line $USER1$/repeater_homebrew $SERVICESTATEID$ $SERVICEOUTPUT$ } and the plugin itself is brain dead: -------------------- #!/bin/sh exit=$1 shift echo $* exit $exit -------------------- We run this plugin as an *active* check so that we get the notification behavior we want and then a passive check to actually check the service and submit results. Are there any problems with this? It seems like there could be a race condition in which the active check starts running, the passive check submits results that for the service that indicate a state change, and then the active check returns its results and nobody ever knows about the state change the passive check was trying to report. It seems to depend on how Nagios is coded. I know a little C but I'm sure it would take me a long long time to figure out this detail :) Thanks! And Thanks for Nagios which is awesome! ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 From patrick.morris at hp.com Thu Aug 31 18:10:25 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 31 Aug 2006 12:10:25 -0400 Subject: Making passive checks notify like activechecks--race condition? In-Reply-To: References: Message-ID: > We want our passive checks to notify like active checks. > What if we make a plugin which does nothing but report the > current state (and description) of a service? Define it like > this in checkcommands.cfg: > define command{ > command_name repeater > command_line $USER1$/repeater_homebrew $SERVICESTATEID$ > $SERVICEOUTPUT$ > } > > and the plugin itself is brain dead: > -------------------- > #!/bin/sh > > exit=$1 > shift > > echo $* > exit $exit > -------------------- > > We run this plugin as an *active* check so that we get the > notification behavior we want and then a passive check to > actually check the service and submit results. I'm not sure what you're trying to accomplish here, but passive checks *do* notify like active checks. Maybe you just need to set max_check_attempts to "1" in your service definition? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From happy at usg.edu Thu Aug 31 18:17:36 2006 From: happy at usg.edu (Mark Plaksin) Date: Thu, 31 Aug 2006 12:17:36 -0400 Subject: [Nagios-users] Making passive checks notify like activechecks--race condition? In-Reply-To: (Patrick Morris's message of "Thu, 31 Aug 2006 12:10:25 -0400") References: Message-ID: "Morris, Patrick" writes: >> We want our passive checks to notify like active checks. >> What if we make a plugin which does nothing but report the >> current state (and description) of a service? Define it like >> this in checkcommands.cfg: >> define command{ >> command_name repeater >> command_line $USER1$/repeater_homebrew $SERVICESTATEID$ >> $SERVICEOUTPUT$ >> } >> >> and the plugin itself is brain dead: >> -------------------- >> #!/bin/sh >> >> exit=$1 >> shift >> >> echo $* >> exit $exit >> -------------------- >> >> We run this plugin as an *active* check so that we get the >> notification behavior we want and then a passive check to >> actually check the service and submit results. > > I'm not sure what you're trying to accomplish here, but passive checks > *do* notify like active checks. > > Maybe you just need to set max_check_attempts to "1" in your service > definition? They notify once when the state changes but they don't continue to notify like active checks do. Either that or we're on drugs and have hosed up our configuration :) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 From patrick.morris at hp.com Thu Aug 31 18:31:01 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 31 Aug 2006 12:31:01 -0400 Subject: Logged in as ? In-Reply-To: <44F6EEAD.7040703@mailnetwork.co.uk> References: <44F6EEAD.7040703@mailnetwork.co.uk> Message-ID: > I also have this problem. I'd like my users to have > different rights dependent on their login name, but I can't > use anything unless "default_user_name" is set, and then it > always assumes the role of the default user. > I've got a htpasswd.users file in /usr/local/nagios/etc which > is readable and writeable by nagios, and readable to the > webserver group. > > All users are authenticated via an SQL authentication module, > and basic authentication succeeds, so I can't see this would > make a difference. > Here's my SQL authentication configuration from Apache. Note > that AuthUserFile needs to be /dev/null or it will circumvent > the SQL authentication and take the password from > AuthUserFile instead of the database. It is company policy > that all users are authenticated from this database. > > Note that basic authentication works - it seems to be Nagios > is not reading the logged in user ID. Have you set up authentication for both the HTML pages *and* the CGIs? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 31 18:42:42 2006 From: marc at ena.com (Marc Powell) Date: Thu, 31 Aug 2006 11:42:42 -0500 Subject: [Nagios-devel] Making passive checks notify like activechecks--race condition? Message-ID: > -----Original Message----- > From: nagios-devel-bounces at lists.sourceforge.net [mailto:nagios-devel- > bounces at lists.sourceforge.net] On Behalf Of Mark Plaksin > Sent: Thursday, August 31, 2006 10:44 AM > To: nagios-devel at lists.sourceforge.net > Cc: nagios-users at lists.sourceforge.net > Subject: [Nagios-devel] Making passive checks notify like activechecks-- > race condition? > > We want our passive checks to notify like active checks. What if we make > a What do you mean by this? Notifications work exactly the same for both active and passive checks. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigo.maceno at gmail.com Thu Aug 31 18:47:31 2006 From: rodrigo.maceno at gmail.com (Rodrigo Maceno) Date: Thu, 31 Aug 2006 13:47:31 -0300 Subject: Logged in as ? In-Reply-To: <44F6EEAD.7040703@mailnetwork.co.uk> References: <44F6EEAD.7040703@mailnetwork.co.uk> Message-ID: <27acffb00608310947t286f8006h23c276052959ed80@mail.gmail.com> I solved this problem creating a .htaccess archive at the /usr/local/nagios/bin... Then I configured the minimal.cfg archive defining the contacts with the htpasswd.users archive's users... 2006/8/31, Andy Shellam : > > Hi, > > I also have this problem. I'd like my users to have different rights > dependent on their login name, but I can't use anything unless > "default_user_name" is set, and then it always assumes the role of the > default user. > I've got a htpasswd.users file in /usr/local/nagios/etc which is > readable and writeable by nagios, and readable to the webserver group. > > All users are authenticated via an SQL authentication module, and basic > authentication succeeds, so I can't see this would make a difference. > Here's my SQL authentication configuration from Apache. Note that > AuthUserFile needs to be /dev/null or it will circumvent the SQL > authentication and take the password from AuthUserFile instead of the > database. It is company policy that all users are authenticated from > this database. > > Note that basic authentication works - it seems to be Nagios is not > reading the logged in user ID. > > An example user is "andyshellam." Which field in the contacts > configuration needs to match the authenticated user ID? > > Here are my configuration files (sensitive values replaced with > bracketed expressions): > > */usr/local/apache2/conf/httpd_auth.conf* > > AuthType Basic > AuthUserFile /dev/null > AuthBasicAuthoritative Off > Auth_PG_host (DB_HOSTNAME) > Auth_PG_port (DB_PORT) > Auth_PG_user (DB_USER) > Auth_PG_pwd (DB_PASSWORD) > Auth_PG_database (DB_NAME) > Auth_PG_pwd_table (DB_USERS_TABLE) > Auth_PG_uid_field (DB_USER_ID_COLUMN) > Auth_PG_pwd_field (DB_PASSWORD_COLUMN) > Require valid-user > > */usr/local/nagios/etc/htpasswd.users* > > andyshellam:(PASSWORD) > > */usr/local/nagios/etc/nagcfg/contacts.cfg* > > define contactgroup { > contactgroup_name NetServe > alias NetServe Business and Customer > Support > members andyshellam > } > > define contact { > contact_name andyshellam > alias andyshellam > service_notification_period always > host_notification_period always > host_notification_options d,u,r,f > host_notification_commands Send_HostAlert > service_notification_options w,u,r,f,c > service_notification_commands Send_ServiceAlert > email (EMAIL_ADDRESS) > pager (PAGER_TO_EMAIL_GATEWAY) > } > > Many thanks > > Andy. > > --- > > Marc Powell wrote: > > > >> -----Original Message----- > >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > >> bounces at lists.sourceforge.net] On Behalf Of Marc Powell > >> Sent: Wednesday, August 30, 2006 4:06 PM > >> To: nagios-users at lists.sourceforge.net > >> Subject: Re: [Nagios-users] Logged in as ? > >> > >> > >> > >> > >>> -----Original Message----- > >>> From: nagios-users-bounces at lists.sourceforge.net > >>> > > [mailto:nagios-users- > > > >>> bounces at lists.sourceforge.net] On Behalf Of Rodrigo Maceno > >>> Sent: Wednesday, August 30, 2006 2:05 PM > >>> To: nagios-users at lists.sourceforge.net > >>> Subject: [Nagios-users] Logged in as ? > >>> > >>> Hello, > >>> > >>> I have an archive htpasswd.users at the /usr/local/nagios/etc > >>> > >> directory > >> > >>> and when I remove the line 'default_user_name' at the cgi.cfg > >>> > > archive > > > >> and > >> > >>> I try to logging in the Nagios with a user, it shows me the follow > >>> message: Logged in as ?. I don't know what can be causing it. Could > >>> > >> anyone > >> > >>> help me?? > >>> > >> Check your .htaccess file in the ~nagios/sbin directory. Make sure > >> > > it's > > > >> readable by your web server and looks like the documentation. > >> > > > > Actually I forgot that the new recommended approach if via httpd.conf > > configuration entirely. Make sure that you have the relevant httpd.conf > > entries for your sbin directory as indicated at > > http://nagios.sourceforge.net/docs/2_0/installweb.html and have > > restarted your web server. > > > > -- > > Marc > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make your job > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > !DSPAM:37,44f5fe9a143292131316873! > > > > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigo.maceno at gmail.com Thu Aug 31 18:50:02 2006 From: rodrigo.maceno at gmail.com (Rodrigo Maceno) Date: Thu, 31 Aug 2006 13:50:02 -0300 Subject: Creating privilegies... Message-ID: <27acffb00608310950o598be726n5d398663168bc69@mail.gmail.com> Hello, I have a hostgroup with some hosts and I would like that only some users have access to this hosts. How do I do it?? Thanks, Rodrigo. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Aug 31 18:54:31 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 31 Aug 2006 17:54:31 +0100 Subject: Creating privilegies... In-Reply-To: <27acffb00608310950o598be726n5d398663168bc69@mail.gmail.com> References: <27acffb00608310950o598be726n5d398663168bc69@mail.gmail.com> Message-ID: <44F71447.7000802@googlemail.com> use a contact group. see docs. Hari Rodrigo Maceno wrote: > Hello, > > I have a hostgroup with some hosts and I would like that only some > users have access to this hosts. How do I do it?? > > Thanks, > Rodrigo. > ------------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From happy at usg.edu Thu Aug 31 18:58:33 2006 From: happy at usg.edu (Mark Plaksin) Date: Thu, 31 Aug 2006 12:58:33 -0400 Subject: [Nagios-devel] Making passive checks notify like activechecks--race condition? References: Message-ID: "Marc Powell" writes: >> -----Original Message----- >> From: nagios-devel-bounces at lists.sourceforge.net [mailto:nagios-devel- >> bounces at lists.sourceforge.net] On Behalf Of Mark Plaksin >> Sent: Thursday, August 31, 2006 10:44 AM >> To: nagios-devel at lists.sourceforge.net >> Cc: nagios-users at lists.sourceforge.net >> Subject: [Nagios-devel] Making passive checks notify like > activechecks-- >> race condition? >> >> We want our passive checks to notify like active checks. What if we > make >> a > > What do you mean by this? Notifications work exactly the same for both > active and passive checks. For us, passive services only notify once per state change. It's been that way ever since we started using Nagios 1.x. We're running 2.2 now (soon to be 2.5). I'll be happy to be told we're just dumb and our config is wrong :) I have tried and tried to find a problem in our configuration that causes this. Several threads on the -user list suggest other people have had the same problem. We use a service template (below) for both active checks and passive checks. The only difference being that for passive checks we set these: active_checks_enabled 0 passive_checks_enabled 1 max_check_attempts 1 Our service template: define service{ name generic-service ; The 'name' of this service template is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 15 retry_check_interval 1 notification_interval 15 notification_period 24x7 notification_options w,c,u,r notifications_enabled 1 ; Service notifications are enabled 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' event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction 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! } ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigo.maceno at gmail.com Thu Aug 31 19:07:43 2006 From: rodrigo.maceno at gmail.com (Rodrigo Maceno) Date: Thu, 31 Aug 2006 14:07:43 -0300 Subject: Creating privilegies... In-Reply-To: <44F71447.7000802@googlemail.com> References: <27acffb00608310950o598be726n5d398663168bc69@mail.gmail.com> <44F71447.7000802@googlemail.com> Message-ID: <27acffb00608311007t3a9923b2h3ab58c2dfdad9fc@mail.gmail.com> Ok, I created a contact group ... but now I want that the users, when logged in, see only the hosts that I allowed. Is it possible?? Thanks, Rodrigo. 2006/8/31, Hari Sekhon : > > use a contact group. see docs. > > Hari > > > > Rodrigo Maceno wrote: > > Hello, > > I have a hostgroup with some hosts and I would like that only some users > have access to this hosts. How do I do it?? > > Thanks, > Rodrigo. > > ------------------------------ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Aug 31 19:17:07 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 31 Aug 2006 13:17:07 -0400 Subject: Creating privilegies... In-Reply-To: <27acffb00608311007t3a9923b2h3ab58c2dfdad9fc@mail.gmail.com> References: <27acffb00608311007t3a9923b2h3ab58c2dfdad9fc@mail.gmail.com> Message-ID: > Ok, I created a contact group ... but now I want that the > users, when logged in, see only the hosts that I allowed. Is > it possible?? That's what Nagios does by default. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From derek.olsen at qsent.com Thu Aug 31 19:39:11 2006 From: derek.olsen at qsent.com (Derek Olsen) Date: Thu, 31 Aug 2006 10:39:11 -0700 Subject: SMART hard-disk monitoring In-Reply-To: <44F6F255.7080100@mailnetwork.co.uk> References: <44F6F255.7080100@mailnetwork.co.uk> Message-ID: <44F71EBF.5090007@qsent.com> Andy. I've attached the check_smart we use. I think it's a barely modified version of the one that comes with the nagios plugins. In the script we use the output of /sbin/sfdisk -s to find out which scsi disks are on the local box because we ran into problems using the output of scsiinfo. So our sudoers file is configured to allow the nagios user to run /sbin/sfisk -s and /usr/sbin/smartctl. This works for us. Hope it helps. Deet. > Has anyone got a check plugin working for monitoring SMART hard disk > status thresholds? > > The only one I found on nagiosexchange (check_smartmon) needs to be run > as root to get permission to read the drive stats, and also doesn't work > - it causes the below Python trace-back: > > Traceback (most recent call last): > File "./check_smartmon", line 254, in ? > (healthStatus, temperature) = parseOutput(healthStatusOutput, > temperatureOutput) > File "./check_smartmon", line 163, in parseOutput > healthStatus = parts[-1] > IndexError: list index out of range > > > I've just ran smartctl and it appears you do need to be root, so if I > can find a working plugin I can just sudo the nagios user. > > Any ideas? > > Thanks > > Andy. > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_smart URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richy at daviesinc.com Thu Aug 31 20:08:24 2006 From: richy at daviesinc.com (Richard Galvez) Date: Thu, 31 Aug 2006 14:08:24 -0400 Subject: unique computers in a hostgroup Message-ID: <1157047704.4674.8.camel@atari.localhost> Hello, I'm new to the list and had a rather quick question. I have nagios2 installed on a debian testing system, and it's monitoring a hostgroup for each cabinet I monitor (currently have only one cabinet of 42 U's setup). I have three service checks set up for this group (cabinet1) which are http, ftp, and disk space. The problem comes up with a few machines (3) that do not have ftp set up, so nagios is constantly returning a critical error. I need to make exceptions in this group for those systems.. and when I start adding things like mysql checks, and custom plugins, I need to make some systems that don't have mysql and such things on them. Is this possible? --Richard ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Thu Aug 31 20:41:13 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Thu, 31 Aug 2006 14:41:13 -0400 Subject: unique computers in a hostgroup Message-ID: I have the same issue, where I have a large main group, say mysql-servers, and some run ntpd while others run xntpd. I have had to set up different groups which I name accordingly -- mysql-servers-ntp and mysql-servers-xntpd. In the case of one group of servers, I have 7 different 'custom' groups to take into account different computers. This is extremely cumbersome, as nearly every group has exceptions. :-) If anyone has a better more elegent method of dealing with this, than please please speak up. Janet -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Richard Galvez Sent: August 31, 2006 2:08 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] unique computers in a hostgroup Hello, I'm new to the list and had a rather quick question. I have nagios2 installed on a debian testing system, and it's monitoring a hostgroup for each cabinet I monitor (currently have only one cabinet of 42 U's setup). I have three service checks set up for this group (cabinet1) which are http, ftp, and disk space. The problem comes up with a few machines (3) that do not have ftp set up, so nagios is constantly returning a critical error. I need to make exceptions in this group for those systems.. and when I start adding things like mysql checks, and custom plugins, I need to make some systems that don't have mysql and such things on them. Is this possible? --Richard ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 31 20:56:47 2006 From: marc at ena.com (Marc Powell) Date: Thu, 31 Aug 2006 13:56:47 -0500 Subject: Number of Notifications!? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of lennart.kvam at softronic.se > Sent: Thursday, August 31, 2006 6:02 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Number of Notifications!? > > Hello all Nagios gurus! > > I have a irritating problem, when a service goes down/critical i get a > notification every second minute! Thats irritating:) > > I`w also read the docs on notifications but still ? havent solved it! Can > anyone help me please?:) > Here are som of my config: snip [chop] > define service { > use generic-service ; check_ping > host_name STSSTOSIG > service_description PING > is_volatile 1 Here you're telling nagios to notify for every check received that is not OK. Your normal_check_interval is 1 so you receive a notification every minute when the service is not OK. Remove this line or set it to 0. http://nagios.sourceforge.net/docs/2_0/volatileservices.html -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Aug 31 21:03:17 2006 From: marc at ena.com (Marc Powell) Date: Thu, 31 Aug 2006 14:03:17 -0500 Subject: No output! Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Ashley Dawkins > Sent: Thursday, August 31, 2006 8:59 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] No output! > > Hi list > > > > I've spent most of the last week googling for the solution to a > problem we're having with Nagios 2.4. All of our checks work fine, > apart from our one mysql_query check, which keeps returning "No > output!" in Nagios. Even when I change the password to the wrong > password, Nagios returns "No output!". When run manually as a standard > user, as nagios or as root however, the check command returns the > correct reply (QUERY OK). A workmate also wrote a script to run > the check and check it's return value, and this also returned a > 0. > [snip] > > The command definition is: > > # 'check_mysql_query' command definition > > define command{ > > command_name check_mysql_query > > command_line $USER1$/check_mysql_query -q $ARG1$ -w $ARG2$ > -d $ARG3$ -H $HOSTALIAS$ -u $ARG4$ -p $ARG5$ > > } > > Here is the check_command taken from the service definition: > > check_mysql_query!"select count(ProductName) from Products where > ProductID=1;"!1!database!username!password > > > > Is there anything we can do to fix this? You should first verify that nagios is running the command you expect it is. Change your command definition to be -- define command{ command_name check_mysql_query command_line echo '$USER1$/check_mysql_query -q $ARG1$ -w $ARG2$ -d $ARG3$ -H $HOSTALIAS$ -u $ARG4$ -p $ARG5$' >>/tmp/nagios.check.log } Examine the contents of /tmp/nagios.check.log after a failed run to verify it's what you expect. Try running the command exactly as it's shown in /tmp/nagios.check.log as the nagios user. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From derek.olsen at qsent.com Thu Aug 31 21:27:07 2006 From: derek.olsen at qsent.com (Derek Olsen) Date: Thu, 31 Aug 2006 12:27:07 -0700 Subject: SMART hard-disk monitoring In-Reply-To: <44F7342E.20000@mailnetwork.co.uk> References: <44F6F255.7080100@mailnetwork.co.uk> <44F71EBF.5090007@qsent.com> <44F7342E.20000@mailnetwork.co.uk> Message-ID: <44F7380B.4050903@qsent.com> Andy. The output if their is a problem will look like this. The notification will only include the device that is in a down state. ***** Nagios ***** Notification Type: PROBLEM Service: DiskDrives Host: the.name.of.host Address: the.name.of.host State: CRITICAL Date/Time: Thu Aug 17 09:55:02 PDT 2006 Documentation: https://where.the.docs.be Additional Info: DOWN=(/dev/sdg) I believe this plugin can only detect when a drive is down and wont do much for predicting when a failure is going to happen soon. Hope this helps. Deet. > Hi Deet, > > Thanks very much for this script, had to do a minor touch of hacking, > but it also proves your script will work on SATA drives as well (at > least those SATA drives that Linux emulates as SCSI.) > > All I've touched is: > my $scsi_disks = `/usr/bin/sudo /sbin/sfdisk -s |/bin/grep -i > sd[a-z] |/bin/cut -f1 -d:`; > > /usr/bin/grep and /usr/bin/cut are in /bin/grep and /bin/cut on my > system (Fedora 5.) > > $val = `/usr/bin/sudo /usr/sbin/smartctl -d ata -s on $drive &> > /dev/null || /bin/echo MISSING`; > > In the above line I had to add the "-d ata" argument to smartctl to > read the SATA drives as ATA drives, not SCSIs. > > The script outputs "UP=(/dev/sda /dev/sdb)". > > Can I just ask what the criteria is for the script to class a drive as > failed/failing according to SMART? > > Many thanks again for sharing, it's extremely helpful! > > Regards > > Andy. > > PS. I couldn't reply to the list as I've got a problem with my DNS > server, and Sourceforge's server is bouncing any mail I send :( If > you could post what I've done to get SATA drives working, it may come > in handy for somebody too. > > --- > > Derek Olsen wrote: >> >> Andy. >> I've attached the check_smart we use. I think it's a barely modified >> version of the one that comes with the nagios plugins. In the >> script we use the output of /sbin/sfdisk -s to find out which scsi >> disks are on the local box because we ran into problems using the >> output of scsiinfo. So our sudoers file is configured to allow the >> nagios user to run /sbin/sfisk -s and /usr/sbin/smartctl. >> >> This works for us. Hope it helps. >> Deet. >>> Has anyone got a check plugin working for monitoring SMART hard disk >>> status thresholds? >>> >>> The only one I found on nagiosexchange (check_smartmon) needs to be >>> run as root to get permission to read the drive stats, and also >>> doesn't work - it causes the below Python trace-back: >>> >>> Traceback (most recent call last): >>> File "./check_smartmon", line 254, in ? >>> (healthStatus, temperature) = parseOutput(healthStatusOutput, >>> temperatureOutput) >>> File "./check_smartmon", line 163, in parseOutput >>> healthStatus = parts[-1] >>> IndexError: list index out of range >>> >>> >>> I've just ran smartctl and it appears you do need to be root, so if >>> I can find a working plugin I can just sudo the nagios user. >>> >>> Any ideas? >>> >>> Thanks >>> >>> Andy. >>> >>> ------------------------------------------------------------------------- >>> >>> Using Tomcat but need to do more? Need to support web services, >>> security? >>> Get stuff done quickly with pre-integrated technology to make your >>> job easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>> Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. ::: Messages without supporting info will risk >>> being sent to /dev/null >>> >> >> >> >> !DSPAM:37,44f71ed4143297115289336! >> ------------------------------------------------------------------------ >> >> #!/usr/bin/perl -w >> >> # >> # This script checks the hard drives on a system for S.M.A.R.T. health >> # indicators. Only supports SCSI right now. >> # >> # >> use strict; >> >> my $debug = 0; >> my @disk_up; >> my @disk_down; >> my @disks; >> my $scsi_disks = `/usr/bin/sudo /sbin/sfdisk -s |/usr/bin/grep -i >> sd[a-z] |/usr/bin/cut -f1 -d:`; >> >> push @disks, split(' ', $scsi_disks); >> >> unless ( scalar @disks ) { >> print "0 No disks to monitor\n"; >> exit 0; >> } >> >> print "Monitoring: @disks\n" if $debug; >> >> for ( @disks ) { >> my $drive = $_; >> if($drive =~ /\/dev\/sd/) { >> my $val; >> >> $val = `/usr/bin/sudo /usr/sbin/smartctl -s on $drive &> >> /dev/null || /bin/echo MISSING`; >> if ( $val eq "MISSING\n" ) { >> push @disk_down, $drive; >> next; >> } >> >> $val = `/usr/bin/sudo /usr/sbin/smartctl -H $drive`; >> if ( $val =~ /SMART Health Status\: OK/g ) { >> print "$_ is OK\n" if $debug; >> push @disk_up, $drive; >> } else { >> print "$_ is BAD\n" if $debug; >> push @disk_down, $drive; >> } >> } >> } >> >> my $ret = 0; # OK >> if ( scalar @disk_down ) { >> print "DOWN=(@disk_down)\n"; >> exit 2; >> } >> print "UP=(@disk_up) " if ( scalar @disk_up ); >> print "DOWN=(@disk_down) " if ( scalar @disk_down ); >> print "\n"; >> >> exit 0; >> >> >> !DSPAM:37,44f71ed4143297115289336! >> > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.touche at touche.fr.st Thu Aug 31 23:39:01 2006 From: julien.touche at touche.fr.st (julien Touche) Date: Thu, 31 Aug 2006 23:39:01 +0200 Subject: security & suid/sudo plugins In-Reply-To: <610cb7a00608310710pc220f1n59d4cea23c322272@mail.gmail.com> References: <610cb7a00608310710pc220f1n59d4cea23c322272@mail.gmail.com> Message-ID: <44F756F5.3080606@touche.fr.st> Alexander Harvey wrote on 31/08/2006 16:10: > I have a difficult customer who won't sign off changes based on the > security > risk using suid plugins, for example, check_logfiles. What does one do > about > this situation? $ cat /usr/local/share/doc/nagios-plugins/README.OpenBSD Some nagios plugins need elevated privileges to run properly. As the code quality of these plugins is not really good, they are not installed suid root by default, but instead I suggest running them with systrace's privilege elevation feature. This way they are run as _nagios, but single syscalls are run as root. 1) Create a preliminary systrace policy for the plugin. # cd ${PREFIX}/libexec/nagios # systrace -A -d /tmp ./ This creates a policy for the plugin in /tmp. 2) Refine the policy and configure privilege elevation as required. This is an example, permitting the bind(2) syscall as root. native-bind: sockaddr eq "inet-[0.0.0.0]:68" then permit as root 3) Copy the systrace policy to /etc/systrace. 4) Run visudo as root and configure sudo for user _nagios like this. _nagios ALL=NOPASSWD: /bin/systrace -a -c 550\:550 \ ${PREFIX}/libexec/nagios/ 5) Configure the respective command in nagios. define command { command_name check_dhcp command_line sudo /bin/systrace -a -c 550:550 $USER1$/ } 6) In case of problems, systrace will log to /var/log/messages. Regards Julien ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null