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 wo