From g.vickers at qut.edu.au Mon Dec 1 00:45:26 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Mon, 01 Dec 2003 09:45:26 +1000 Subject: Monitoring Windows Network Share Message-ID: <5.2.0.9.2.20031201094521.022127e8@imap.qut.edu.au> Edward, Here is a script (check_share) that I wrote that uses smbclient to check shares on Windows hosts: #!/bin/bash IPADDRESS=$1 SHARE=$2 smbclient //$IPADDRESS/$SHARE -U -W -c "exit" &> /dev/null if [ $? = "0" ]; then EXIT="0" && STDIO="At IP $IPADDRESS, share: \"$SHARE\" present." else EXIT="2" && STDIO="Could not list share: \"$SHARE\" on $IPADDRESS" fi echo $STDIO exit $EXIT HTH, Greg At 04:31 AM 29/11/2003, Crotty, Edward wrote: >All, > >I am looking for any infromation / check suggestions to monitor a Windows >share. > >I am doing the obvious, check_disk_smb, to see if I can mount the disk or >not at given intervals but I am also trying to find someone that may have a >similar situation to me. > >For whatever reason, a machine is seemingly over time not responding to new >incoming mount requests for a given share. However, nothing appears in the >log (ie a service coming down etc). > >Is there a check that is either contrib'd or something I am not thinking of >besides check_disk_smb that may have a output that would monitor an RPC >error related to this problem or something along those lines? I know there >is the check_rpc, but I am not sure how that will help me drill down to the >level I need at this point. > >Thanks, >-ed > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >Does SourceForge.net help you be more productive? Does it >help you create better code? SHARE THE LOVE, and help us help >YOU! Click Here: http://sourceforge.net/donate/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjarvis at portal.com Mon Dec 1 01:50:07 2003 From: cjarvis at portal.com (Chris Jarvis) Date: Sun, 30 Nov 2003 16:50:07 -0800 Subject: SNMP Support for Nagios Message-ID: Hello, I was wondering if any one could point me to a FAQ on adding SNMP support to Nagios? So far I have been unsuccessful getting it to work. I am running Nagios 1.1 on Red Hat 9.0 using the 1.3.1-5 plug-in RPMs built by DAG Wieers. There are a number of dependencies for the check_snmp command such as net-snmp which requires a number of perl modules. I have installed most of the perl modules but am getting hung up on perl(Term::ReadKey) and perl (Tk) module missing. I have downloaded perl(Term::ReadKey) from Red Hat but am unable to install and I can not find the perl (Tk) module. Can any one point me to an alternate source for Perl RPM's? Sorry if this is a clueless newbie question. I am more of a network guy that a linux guy... :-) Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Mon Dec 1 02:24:55 2003 From: mpowell at ena.com (Marc Powell) Date: Sun, 30 Nov 2003 19:24:55 -0600 Subject: SNMP Support for Nagios Message-ID: <370ACCFA5BB3B346A31222E5559BF91F014DA1@mismail2.ena.com> -----Original Message----- From: Chris Jarvis [mailto:cjarvis at portal.com] Sent: Sun 11/30/2003 6:50 PM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] SNMP Support for Nagios Hello, I was wondering if any one could point me to a FAQ on adding SNMP support to Nagios? So far I have been unsuccessful getting it to work. I am running Nagios 1.1 on Red Hat 9.0 using the 1.3.1-5 plug-in RPMs built by DAG Wieers. There are a number of dependencies for the check_snmp command such as net-snmp which requires a number of perl modules. I have installed most of the perl modules but am getting hung up on perl(Term::ReadKey) and perl (Tk) module missing. I have downloaded perl(Term::ReadKey) from Red Hat but am unable to install and I can not find the perl (Tk) module. Can any one point me to an alternate source for Perl RPM?s? Install from CPAN instead. No need to go hunting for RPM's. /usr/bin/perl -MCPAN -e 'install Term::Readkey' /usr/bin/perl -MCPAN -e 'install Tk' (you may be able to get away with -e 'install Term::Readkey Tk' or http://www.cpan.org and search for the tarballs. There really is no specific FAQ on installation. net-snmp has it's own installation documentation. After it's installed, run 'make distclean && ./configure && make && make install' in the nagios plugins tarball that you downloaded. configure should automatically deted the net-snmp installation and compile the check_snmp plugin. -- Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave at compata.com Mon Dec 1 03:57:46 2003 From: dave at compata.com (Dave Close) Date: Sun, 30 Nov 2003 18:57:46 -0800 Subject: Delayed notification Message-ID: <200312010257.hB12vkm04528@biz.compata.com> I apologize if I'm just blind or dense. I've tried to find the answer to my question in the Nagios documentation, but that which came with the program and that on the Web. I've also searched the list archives. But I may not have a good search term... I would like to delay paging until an event has occurred more than once without an intervening recovery. That is, if Nagios checks a host or service every five minutes, when it finds a problem, it sends notice by email on the first occurrence, but it does not send a page until the third consecutive problem. I'm finding a lot of transient issues. They happen but recover in just a few minutes. I do want Nagios to detect the problems and log them, for the record. I just don't want to bother with a page unless the problem continues for some time. Is there some way to do this? Dave Close, Compata, Costa Mesa CA "Politics is the business of getting dave at compata.com, +1 714 434 7359 power and privilege without dhclose at alumni.caltech.edu possessing merit." - P. J. O'Rourke ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Mon Dec 1 04:47:30 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Sun, 30 Nov 2003 19:47:30 -0800 Subject: Delayed notification In-Reply-To: <200312010257.hB12vkm04528@biz.compata.com> References: <200312010257.hB12vkm04528@biz.compata.com> Message-ID: <26806155.1070221650@cadabra-dsl.stanford.edu> --On Sunday, November 30, 2003 6:57 PM -0800 Dave Close wrote: > I apologize if I'm just blind or dense. I've tried to find the answer to > my question in the Nagios documentation, but that which came with the > program and that on the Web. I've also searched the list archives. But I > may not have a good search term... > > I would like to delay paging until an event has occurred more than once > without an intervening recovery. That is, if Nagios checks a host or > service every five minutes, when it finds a problem, it sends notice by > email on the first occurrence, but it does not send a page until the > third consecutive problem. > > I'm finding a lot of transient issues. They happen but recover in just a > few minutes. I do want Nagios to detect the problems and log them, for > the record. I just don't want to bother with a page unless the problem > continues for some time. > > Is there some way to do this? Why not use the escalation method, and have nagios send email on the first problem, and then 'escalate' on the third occurrence to the pager? --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damian at sentex.net Mon Dec 1 04:52:46 2003 From: damian at sentex.net (Damian Gerow) Date: Sun, 30 Nov 2003 22:52:46 -0500 Subject: Delayed notification In-Reply-To: <200312010257.hB12vkm04528@biz.compata.com> References: <200312010257.hB12vkm04528@biz.compata.com> Message-ID: <20031201035246.GA51594@sentex.net> Thus spake Dave Close (dave at compata.com) [30/11/03 22:06]: > I apologize if I'm just blind or dense. I've tried to find the answer to > my question in the Nagios documentation, but that which came with the > program and that on the Web. I've also searched the list archives. But I > may not have a good search term... > > I would like to delay paging until an event has occurred more than once > without an intervening recovery. That is, if Nagios checks a host or > service every five minutes, when it finds a problem, it sends notice by > email on the first occurrence, but it does not send a page until the > third consecutive problem. Set up an escalation for the service or services that you want to delay, and have the initial notification go to bitbucket@ (or another address that just /dev/null's everything sent to it): define service { host_name hostname.domain.tld service_description SMTP check_command check_smtp use service-template contact_groups nobody } define serviceescalation{ host_name hostname.domain.tld service_description SMTP first_notification 2 last_notification 5000 notification_interval 5 contact_groups normal-contact-group } Where 'nobody' has a sole member called 'bitbucket', whose contact address is 'bitbucket at localhost'. > I'm finding a lot of transient issues. They happen but recover in just a > few minutes. I do want Nagios to detect the problems and log them, for > the record. I just don't want to bother with a page unless the problem > continues for some time. Perhaps, instead of telling Nagios to not notify you of these things, you should figure out the source of the transient-ness, and fix that instead? Just a suggestion. - Damian ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Mon Dec 1 05:01:45 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Mon, 01 Dec 2003 14:01:45 +1000 Subject: Delayed notification In-Reply-To: <200312010257.hB12vkm04528@biz.compata.com> References: <200312010257.hB12vkm04528@biz.compata.com> Message-ID: <5.2.0.9.2.20031201134444.01e41008@imap.qut.edu.au> Dave, I can give you two solutions, neither of which you may want to implement :P 1. Tell Nagios to log soft state changes (log_service_retries=<0/1> in your nagios.cfg) which will result in your history containing all events, and modify your services definition so that a service won't move to a hard state (and generate notifications) until your definition of 'some time' e.g. normal_check_interval 5, retry_check_interval 5, max_check_attempts 3 - means that a service will be checked every five minutes, when it first fails, it will then stay in that soft state for the next 15 minutes ('some time' later) then move to a hard state and generate notifications. 2. Use service escalations for your contacts. (See Object Configuration, Service Escalation Definitions) e.g. If you want to generate an email on the first hard state, then send a page when that hard state remains for 15+ minutes, this is possible by defining a contact for email for the first hard state, then when the hard state persists for 15+ minutes, escalate the notification to a contact that can be paged. GL, Greg At 12:57 PM 01/12/2003, Dave Close wrote: >I apologize if I'm just blind or dense. I've tried to find the answer to >my question in the Nagios documentation, but that which came with the >program and that on the Web. I've also searched the list archives. But I >may not have a good search term... > >I would like to delay paging until an event has occurred more than once >without an intervening recovery. That is, if Nagios checks a host or >service every five minutes, when it finds a problem, it sends notice by >email on the first occurrence, but it does not send a page until the >third consecutive problem. > >I'm finding a lot of transient issues. They happen but recover in just a >few minutes. I do want Nagios to detect the problems and log them, for >the record. I just don't want to bother with a page unless the problem >continues for some time. > >Is there some way to do this? > >Dave Close, Compata, Costa Mesa CA "Politics is the business of getting >dave at compata.com, +1 714 434 7359 power and privilege without >dhclose at alumni.caltech.edu possessing merit." - P. J. O'Rourke > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >Does SourceForge.net help you be more productive? Does it >help you create better code? SHARE THE LOVE, and help us help >YOU! Click Here: http://sourceforge.net/donate/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave at compata.com Mon Dec 1 06:42:41 2003 From: dave at compata.com (Dave Close) Date: Sun, 30 Nov 2003 21:42:41 -0800 Subject: Delayed notification In-Reply-To: Your message of "Sun, 30 Nov 2003 18:57:46 PST." <200312010257.hB12vkm04528@biz.compata.com> References: <200312010257.hB12vkm04528@biz.compata.com> Message-ID: <200312010542.hB15gfm11160@biz.compata.com> I wrote: >I would like to delay paging until an event has occurred more than once >without an intervening recovery. That is, if Nagios checks a host or >service every five minutes, when it finds a problem, it sends notice by >email on the first occurrence, but it does not send a page until the >third consecutive problem. Thank you, Quanah, Damian, and Greg. I'm trying escalation; time will tell if I did it right. But "escalation" seems to have been the key word I was missing. >I'm finding a lot of transient issues. They happen but recover in just a >few minutes. I do want Nagios to detect the problems and log them, for >the record. I just don't want to bother with a page unless the problem >continues for some time. Damian asks why I don't fix the true cause. I know the cause: it is that the machine is overloaded and underpowered. I'm building my case. -- Dave Close, Compata, Costa Mesa CA "What right does Congress have to go dave at compata.com, +1 714 434 7359 around making laws just because they dhclose at alumni.caltech.edu deem it necessary?" -- Marion Barry ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From 4job at mail.ru Mon Dec 1 08:07:59 2003 From: 4job at mail.ru (Alexey Korobkin) Date: Mon, 1 Dec 2003 10:07:59 +0300 Subject: check_nt and USEDDISKSPACE References: <5.2.0.9.2.20031127163556.01899b30@imap.qut.edu.au> <5.2.0.9.2.20031127231017.02505ea0@imap.qut.edu.au> <5.2.0.9.2.20031201164615.026269f0@imap.qut.edu.au> Message-ID: <002501c3b7d9$e26a2820$61086d6a@rnd.samsung.ru> Dear Greg, Mon, 01 Dec 2003 16:46:35 +1000, Greg Vickers -> Alexey Korobkin: GV> What version of check_nt are you using? Is it a really old version from GV> netsaint? I've looked through the code for check_nt from plugins 1.3.1 GV> and the usage you detail will test for 558.70% warning level and 558.72% GV> critical level! You might want to test your service check further. Ough, you're right, thank you. I was wrong when told you to use 558.xx values instead of yy%. I'm sorry for this misleading. -- With best regards, Alexey Korobkin. mailto:4job at mail.ru ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bclark at rocketseed.com Mon Dec 1 10:11:22 2003 From: bclark at rocketseed.com (Brent Clark) Date: Mon, 01 Dec 2003 11:11:22 +0200 Subject: mysql plugin Message-ID: <3FCB05BA.30601@rocketseed.com> Hi Could someone please give me a few pointer on why mysql would show me the following MY: (-1,-1.000000) Ive compared the nagios plugins on my other monitoring boxes, and all seem fine. I intially thought it was the mysql.h headers missing, but all seems fine. Compared the version of mysql on this box, to some of my other boxes, and all are running the same version. Could this be a mysql problem or a nagios problem. Kind Regards Brent Clark Brent Clark Tel: +27 21 657 6700 Fax: +27 21 657 6701 Cell: bclark at rocketseed.com http://v3.rocketseed.com/RocketSeed/mail/433a33383a37343631303a32363136323a2d323a333734 ROCKETSEED (Pty) Ltd Letterstedt House, Newlands on Main, Main Road, Claremont, South Africa DISCLAIMER: This message contains confidential information for the addressee named above. If you are not the intended recipient of this message, you are hereby notified that you must not disseminate, copy or take any action in reliance on it. Any views expressed in this message are those of the individual sender unless otherwise stated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: MTk2LjcuMTkuNjg= Type: image/gif Size: 5900 bytes Desc: not available URL: From talm99 at hotmail.com Mon Dec 1 09:24:46 2003 From: talm99 at hotmail.com (Tal M) Date: Mon, 01 Dec 2003 03:24:46 -0500 Subject: Nrpe plugin problem – CRC32 Message-ID: Hi, I?m attempting configures check_smb.sh with check_nrpe from the nagios-plugins-1.3.1 contrib. I can successfully run check_smb.sh on the remote machine via command line, but I receive a CRC32 error when running the check_smb.sh from the server. I get this error also for the other scripts in the nagios-plugins contrib. I don't have this problem when I run the load, disk space etc. I am running NRPE Plugin Version: 2.0 in the server and in the remote machine. When I look in the /var/log/messages I don't see any error in the log. This is the log from /var/log/messages : xinetd[6393]: START: nrpe pid=22559 from=xxx.xxx.xxx.xxx nrpe[22559]: Added command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 nrpe[22559]: Added command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 nrpe[22559]: Added command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/cciss/c0d0p3 nrpe[22559]: Added command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/cciss/c0d0p2 nrpe[22559]: Added command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200 nrpe[22559]: Added command[check_samba]=/usr/local/nagios/libexec/check_smb.sh nrpe[22559]: Handling the connection... nrpe[22559]: Host is asking for command 'check_samba' to be run... nrpe[22559]: Running command: /usr/local/nagios/libexec/check_smb.sh nrpe[22559]: Command completed with return code 0 and output: Total Users:10 Total Files:30 nrpe[22559]: Return Code: 0, Output: Total Users:10 Total Files:30 Can someone help? Regards, Tal. _________________________________________________________________ Is there a gadget-lover on your gift list? MSN Shopping has lined up some good bets! http://shopping.msn.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klmuthu at eudoramail.com Mon Dec 1 10:03:42 2003 From: klmuthu at eudoramail.com (k.l. muthu kumar) Date: Mon, 01 Dec 2003 14:33:42 +0530 Subject: nagmin installation Message-ID: Hi all, I have nagios installed & running with mysql database support. I want to install nagmin to create rrd graphs. Can anyone guide me the installation procedure for nagmin. when installing will it creates its own database or will it integrate with nagios database. Thanks, Muthu Need a new email address that people can remember Check out the new EudoraMail at http://www.eudoramail.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rp40265 at rp-plus.de Mon Dec 1 03:56:27 2003 From: rp40265 at rp-plus.de (=?iso-8859-1?Q?Manfred_Gn=E4dig?=) Date: Mon, 1 Dec 2003 03:56:27 +0100 Subject: AW: Load Average on extern Server In-Reply-To: <7599912E-2351-11D8-8701-000393950CC2@karlsbakk.net> References: <7599912E-2351-11D8-8701-000393950CC2@karlsbakk.net> Message-ID: <004d01c3b7b6$bc8d3ed0$6402a8c0@ACERMGP> Hallo, i trie to setup nrpe with ?daemon, but the Problem is, I get allweys this ERROR. # /usr/lib/nagios/plugins/check_nrpe -H RemoteIP-Adress -p 5666 -t 600 -c check_load CHECK_NRPE: Error - Could not complete SSL handshake. I have read in the Mailinglist, that many people have the same Problem . Me by it is not so easy to stop this ERROR. Now I like to try to start the nrpe with initd. But I don?t understand, what I have to write to the initd.conf and what I have to write to the hosts.allow I will be verry happy, if somebody can help me to fix this Problem. Thanks and mutch greatings Manfred -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ralf at RalfGross.de Mon Dec 1 10:46:06 2003 From: Ralf at RalfGross.de (Ralf Gross) Date: Mon, 1 Dec 2003 10:46:06 +0100 (CET) Subject: reenable notifications Message-ID: <36342.53.122.192.14.1070271966.squirrel@webmail.ssorgflar.de> Hi, I created some host/service entries with notifications disabeld. Now I want to enable notifications for this hosts/services. notifications_enabled 1 After doing a reload, nothing changed, the notifications are still disabled. According to the Retention Notes, I could use retain_nonstatus_information 0 to enable notifications, but this is not a recommended way. Is there a better way to reenable, or disable, notifications on 20 hosts, besides changing options via cgi (Enable notifications for this host & Enable notifications for all services on this host) for every single host/service? tia Ralf ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sguilbaud at oceanet-technology.com Mon Dec 1 10:45:16 2003 From: sguilbaud at oceanet-technology.com (Sebastien Guilbaud) Date: Mon, 01 Dec 2003 10:45:16 +0100 Subject: check_apc_ups.pl errors In-Reply-To: References: Message-ID: <3FCB0DAC.6040907@oceanet-technology.com> >>fwlogs# ./check_apc_ups.pl >>Bareword "utils" not allowed while "strict subs" in use at ./check_apc_ups.pl line 15. >>Bareword "pm" not allowed while "strict subs" in use at ./check_apc_ups.pl line 15. >>BEGIN not safe after errors--compilation aborted at ./check_apc_ups.pl line 16. >> >>use strict; >>use Getopt::Long; >>use vars qw($opt_V $opt_h $opt_H $opt_T $opt_t $opt_R $opt_r $opt_L $opt_l $PROGNAME); >>use lib utils.pm; >>use utils qw(%ERRORS &print_revision &support &usage); >>sub print_help (); >>sub print_usage (); >>sub get_snmp_int_val ($); >>sub escalate_exitval ($); > > utils.pm is normally fixed by the configure/make process. > > change the "use lib utils.pm;" line to point to the > directory containging > utils.pm - usually "use lib /usr/local/nagios/libexec;" check_apc_ups.pl does work for me, but this plugin does not seem to obey "nagios plugin rules" : Nagios (CVS version) tells me "Current Status : unknown" Anyone working on this plugin ?? Patches welcome ?? have a nice day ! -- S?bastien Guilbaud -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From andre at peixoto.com.br Mon Dec 1 13:58:26 2003 From: andre at peixoto.com.br (andre at peixoto.com.br) Date: Mon, 1 Dec 2003 10:58:26 -0200 Subject: check_log Message-ID: People, Sorry to bring this subject up again, but i still cannot solve it... Problem: check_log does not send notifications Description: i'm checking a local a file (/var/log/auth.log), i have chmoded it to be readable by others. i have set old file to be same to a place where nagios has write permissions. The web interface shows the correct info (it shows ok state when nothing happens, and it shows critical state when my pattern is found). I have used complex patterns at first, and then change to simple patterns, like "BAD" (without the quotes), and still not working. Something that i noticed is that /var/log/maillog is not even touched when this service reaches critical state. Marc has already tried to help, changing the printf command to echo, but it doesn't solved the problem... Files: # # CYCLOPE # define host{ use generic-host host_name cyclope alias Cyclope address 96.1.1.22 } services.cfg ------------ # # CYCLOPE AUTH LOG # define service{ use generic-service host_name cyclope service_description AUTH_LOG contact_groups producao check_command check_log!/var/log/auth.log!/var/tmp/auth.log.nagios!'.*BAD.*\|.*FAIL.*\|.*REFUSED.*' } checkcommands.cfg ------------------ # 'check_log' command definition define command{ command_name check_log command_line $USER1$/check_log -F $ARG1$ -O $ARG2$ -q $ARG3$ } misccommands.cfg ------------------ # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } Info: Operating System: FreeBSD 4.9 Stable Release Nagios version: 1.1 (from ports collection) Nagio plugins version: 1.3.0 (from ports collection) Any help apreciatted Obrigado, Andr? Luiz de Lemos Barros 3218-5617/9102-0145 Equipe de Suporte Peixoto -------------- next part -------------- An HTML attachment was scrubbed... URL: From Edward.Crotty at dowjones.com Mon Dec 1 14:01:42 2003 From: Edward.Crotty at dowjones.com (Crotty, Edward) Date: Mon, 1 Dec 2003 08:01:42 -0500 Subject: Monitoring Windows Network Share Message-ID: <6D51028899FFD111A95500805FA74657101656F5@sbkmxsmb04> That does help in getting a quick and dirty script, so thanks! What I am also interested in however is the rpc information that is associated with the windows share... In other words, what would a proper check using check_rpc be to see the rpc status of a windows share... IE, for a un*x box, I could - check_rpc -H 127.0.0.1 -C nfs Is there an equivalent in the windows world? If I'm off / this doesnt make sense, feel free to shoot me a message off the list. Thanks, -ed -----Original Message----- From: Greg Vickers [mailto:g.vickers at qut.edu.au] Sent: Sunday, November 30, 2003 6:45 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring Windows Network Share Edward, Here is a script (check_share) that I wrote that uses smbclient to check shares on Windows hosts: #!/bin/bash IPADDRESS=$1 SHARE=$2 smbclient //$IPADDRESS/$SHARE -U -W -c "exit" &> /dev/null if [ $? = "0" ]; then EXIT="0" && STDIO="At IP $IPADDRESS, share: \"$SHARE\" present." else EXIT="2" && STDIO="Could not list share: \"$SHARE\" on $IPADDRESS" fi echo $STDIO exit $EXIT HTH, Greg At 04:31 AM 29/11/2003, Crotty, Edward wrote: >All, > >I am looking for any infromation / check suggestions to monitor a Windows >share. > >I am doing the obvious, check_disk_smb, to see if I can mount the disk or >not at given intervals but I am also trying to find someone that may have a >similar situation to me. > >For whatever reason, a machine is seemingly over time not responding to new >incoming mount requests for a given share. However, nothing appears in the >log (ie a service coming down etc). > >Is there a check that is either contrib'd or something I am not thinking of >besides check_disk_smb that may have a output that would monitor an RPC >error related to this problem or something along those lines? I know there >is the check_rpc, but I am not sure how that will help me drill down to the >level I need at this point. > >Thanks, >-ed > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >Does SourceForge.net help you be more productive? Does it >help you create better code? SHARE THE LOVE, and help us help >YOU! Click Here: http://sourceforge.net/donate/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wim.degeeter at bt.com Mon Dec 1 14:53:00 2003 From: wim.degeeter at bt.com (wim.degeeter at bt.com) Date: Mon, 1 Dec 2003 13:53:00 -0000 Subject: help : nrpe problem Message-ID: Hi, I've configured nrpe on remote servers but I have a problem when I try to get a status for disk space. It works fine for check_users, check_procs, check_ftp, etc but for check_disk I always get an OK status. See my manual checks included ./check_users -w 30 -c 40 USERS CRITICAL - 44 users currently logged in ./check_users -w 40 -c 50 USERS WARNING - 44 users currently logged in ./check_users -w 60 -c 80 USERS OK - 44 users currently logged in ./check_disk -w 20 -c 10 -p /dev/dsk/c1t0d0s3 DISK OK [2158231 kB (52%) free on /dev/dsk/c1t0d0s3] ./check_disk -w 60 -c 50 -p /dev/dsk/c1t0d0s3 DISK OK [2158231 kB (52%) free on /dev/dsk/c1t0d0s3] ./check_disk -w 70 -c 60 -p /dev/dsk/c1t0d0s3 DISK OK [2158231 kB (52%) free on /dev/dsk/c1t0d0s3] Anyone an idea why I get always an OK status back?? Thanks and regards, Wim -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpratt at moinfo.com Mon Dec 1 15:31:29 2003 From: mpratt at moinfo.com (Michael Pratt) Date: Mon, 1 Dec 2003 08:31:29 -0600 Subject: Two questions Message-ID: <4B63F5F5A4CB934FA82D5393A1D947E5F415C7@s3mail.s3systems.com> 1. Logged in as ? What is it that I need to change to get the Login name to be displayed on Nagios? When I enable use_authentication I cannot access any displays even after setting full access to everything under the administrator. Is there a trick to this? Or am I missing something? Should rights be granted at a file level? NT_CPU LOAD Next question This is what I have under checkcommands.cfg #Check NT CPU LOAD define command{ command_name check_nt_cpuload command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l $ARG1$ } under services.cfg I have: define service{ use generic-service ; Name of service template to use host_name host service_description NT CPU Load is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nt_cpuload!10,80,95,60,80,95,1440,80,95 } When I look at my nagios screen after it refreshes I get the following: HOST NT CPU Load UNKNOWN 12-01-2003 08:29:55 5d 21h 23m 20s 3/3 check_nt: Unknown argument: (null) Is there something missing here? Thanks! God Bless! Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From fernando_prates at hotmail.com Mon Dec 1 19:06:00 2003 From: fernando_prates at hotmail.com (Fernando Prates) Date: Mon, 01 Dec 2003 18:06:00 +0000 Subject: information Message-ID: An HTML attachment was scrubbed... URL: From jpmb2 at rjnet.com.br Mon Dec 1 21:27:19 2003 From: jpmb2 at rjnet.com.br (=?iso-8859-1?Q?Jo=E3o Paulo?=) Date: Mon, 1 Dec 2003 18:27:19 -0200 Subject: Notifications have stopped. Message-ID: <200312012027.hB1KRL1g018257@locutus.rjnet.com.br> I have recently made a script to send SMS when nagios alarms. It worked for about a week, and then suddenly stopped working. I?ve checked every configuration I made to Nagios and they are all correct. After debugging, I?ve come down to the conclusion that nagios has really stopped notifying when a host goes down, because the notification log does not include "notify-by-email", as it used to. Can anyone tell me what could be wrong... or what are all the parameters needed for the notification to work correctly. Thanks in advance!! Jo?o Paulo ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From albert.tobey at priority-health.com Tue Dec 2 00:30:50 2003 From: albert.tobey at priority-health.com (Al Tobey) Date: Mon, 01 Dec 2003 18:30:50 -0500 Subject: Nagios::Cmd version 0.04 Message-ID: <1070321450.1389.187.camel@linuxws1.internal.priority-health.com> I put a new release of Nagios::Cmd up on CPAN. This one should have fixed most of the outstanding bugs. It can be found at http://www.cpan.org/authors/id/T/TO/TOBEYA/ or installed with "perl -MCPAN -e 'install Nagios::Cmd'". Version 0.05 will probably follow on closely as it will add compatibility with Nagios::Object. Notable change between 0.01 and 0.04: * improved test script * added new_anyfile constructor which can submit commands to any type of file (i.e. /dev/null or a flat text file). * added service_check() and host_check() aliases for submitting passive service/host checks (passive host checks will be in Nagios 2.0 unless Ethan changed his mind). * fixed reported bugs Please send all bug reports directly to me at this address, or the one listed in the POD of the module. -Al Tobey ** ** ** PRIVILEGED AND CONFIDENTIAL ** ** ** This email transmission contains privileged and confidential information intended only for the use of the individual or entity named above. Any unauthorized review, use, disclosure or distribution is prohibited and may be a violation of law. If you are not the intended recipient or a person responsible for delivering this message to an intended recipient, please delete the email and immediately notify the sender via the email return address or mailto:postmaster at priority-health.com. Thank you. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Tue Dec 2 02:51:20 2003 From: jrhett at isite.net (Joe Rhett) Date: Mon, 1 Dec 2003 17:51:20 -0800 Subject: StatusMap Showing "Nagios Process" In-Reply-To: <004c01c3b70a$dba44e00$830d270a@culpdom.home> References: <004c01c3b70a$dba44e00$830d270a@culpdom.home> Message-ID: <20031202015119.GB26763@isite.net> It's an icon that is used in the map generation. You can replace it. On Sun, Nov 30, 2003 at 01:26:15AM -0500, David Culp wrote: > Has anyone seen and solved the issue of a "Nagios Process" icon on the StatusMap. > After many hours, assigning "parents" to all the hosts , and having only 1 root host (our > backbone layer 3 switch). I still have that "Nagios Process" icon on the map ... > > Thanks for any input, > David > -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomas.lofstrand at gp.se Tue Dec 2 00:10:20 2003 From: thomas.lofstrand at gp.se (=?ISO-8859-1?Q?Thomas_L=F6fstrand?=) Date: Tue, 02 Dec 2003 00:10:20 +0100 Subject: Q: NRPE 2.0 compile problems Solaris 2.6 Message-ID: <3FCBCA5C.9040100@gp.se> Hi, I'm having trouble compiling NRPE 2.0 on a Solaris 2.6 box. I get this when I do: make all gpspux08(ksh)> make all cd ./src/; make ; cd .. gcc -g -O2 -I/opt/dist/pkg/sparc/5.6/openssl-0.9.7a/include/openssl -I/opt/dist/pkg/sparc/5.6/openssl-0.9.7a/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/opt/dist/pkg/sparc/5.6/openssl-0.9.7a/lib -lssl -lcrypto -lnsl -lsocket nrpe.c: In function `wait_for_connections': nrpe.c:520: `socklen_t' undeclared (first use in this function) nrpe.c:520: (Each undeclared identifier is reported only once nrpe.c:520: for each function it appears in.) nrpe.c:520: parse error before `addrlen' nrpe.c:619: `addrlen' undeclared (first use in this function) *** Error code 1 make: Fatal error: Command failed for target `nrpe' Current working directory /opt/utils/development/other/nagios/5.6/nrpe-2.0/src *** Error code 1 make: Fatal error: Command failed for target `all' gpspux08(ksh)> Can anyone please help? Regards, Thomas ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Tue Dec 2 10:31:35 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Tue, 2 Dec 2003 09:31:35 -0000 Subject: help : nrpe problem Message-ID: You've missed out the % at the end of -c 50%... -----Original Message----- From: wim.degeeter at bt.com [mailto:wim.degeeter at bt.com] Sent: Monday, December 01, 2003 1:53 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] help : nrpe problem Hi, I've configured nrpe on remote servers but I have a problem when I try to get a status for disk space. It works fine for check_users, check_procs, check_ftp, etc but for check_disk I always get an OK status. See my manual checks included ./check_users -w 30 -c 40 USERS CRITICAL - 44 users currently logged in ./check_users -w 40 -c 50 USERS WARNING - 44 users currently logged in ./check_users -w 60 -c 80 USERS OK - 44 users currently logged in ./check_disk -w 20 -c 10 -p /dev/dsk/c1t0d0s3 DISK OK [2158231 kB (52%) free on /dev/dsk/c1t0d0s3] ./check_disk -w 60 -c 50 -p /dev/dsk/c1t0d0s3 DISK OK [2158231 kB (52%) free on /dev/dsk/c1t0d0s3] ./check_disk -w 70 -c 60 -p /dev/dsk/c1t0d0s3 DISK OK [2158231 kB (52%) free on /dev/dsk/c1t0d0s3] Anyone an idea why I get always an OK status back?? Thanks and regards, Wim This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rp40265 at rp-plus.de Tue Dec 2 11:30:49 2003 From: rp40265 at rp-plus.de (=?iso-8859-1?Q?Manfred_Gn=E4dig?=) Date: Tue, 2 Dec 2003 11:30:49 +0100 Subject: Monito fore "100 requests currently being processed" Message-ID: <00be01c3b8bf$5e0b5090$6402a8c0@ACERMGP> Hallo, I like to monitor my Apache Server Status ? requests currently being processed? If there is les then ?100 requests? it shell be OK If there is exactly (ore more) ?100 requests? it shell be -> Warning ore CRITICAL How can I do this? I know how to do something like this: # /usr/lib/nagios/plugins/check_http -H www.myServer.com -u /server-status -s "100 requests" HTTP CRITICAL: string not found But I have to change ?HTTP CRITICAL? with ?OK? ! Ore maybe you have another Id to monitor the ? requests currently being processed?? Maybe there is another method to make a Statistic fore ?requests currently being processed? Where I can see by witch day and time the Server was doing how many ?currently requests?? If somebody can help me, I will be very happy. Thanks and mutch greatings Manfred -------------- next part -------------- An HTML attachment was scrubbed... URL: From a.cherrington at notes.manchester.gov.uk Tue Dec 2 11:21:06 2003 From: a.cherrington at notes.manchester.gov.uk (Alwyn Cherrington) Date: Tue, 2 Dec 2003 10:21:06 +0000 Subject: SMS messaging Message-ID: I was looking for an alternative SMS application, can you help? I tried to access these sites from the Nagios Documentation links and was told by my Internet administrator : The first dump is web based email via http not ftp. Web based email is blocked and will remain so. The second screen dump shows that a password is required by the site so there is nothing we can do. I didn't send the fourth screen dump SprintPCS (SMS phones) Gnokii (SMS software for contacting Nokia phones via GSM network) SMS Client (command line utility for sending messages to pagers and mobile phones) regards, Alwyn Cherrington ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. Please contact internet.administrators at notes.manchester.gov.uk with any queries. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 32021 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 32127 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 19039 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 18374 bytes Desc: not available URL: From Tom.DeBlende at dhl.com Tue Dec 2 12:08:25 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Tue, 02 Dec 2003 12:08:25 +0100 Subject: SMS messaging In-Reply-To: References: Message-ID: <3FCC72A9.2010804@dhl.com> www.smsclient.org Alwyn Cherrington wrote: > > I was looking for an alternative SMS application, can you help? > > I tried to access these sites from the Nagios Documentation links and > was told by my Internet administrator : > > The first dump is web based email via http not ftp. Web based email is > blocked and will remain so. > > The second screen dump shows that a password is required by the site > so there is nothing we can do. > > > I didn't send the fourth screen dump > > * _SprintPCS_ > > (SMS phones) > * > > o > > > o _Gnokii_ (SMS software for > contacting Nokia phones via GSM network) > o > > > + _SMS Client_ (command > line utility for sending messages to pagers and > mobile phones) > + > > > > regards, > > Alwyn Cherrington > > | > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > This footnote also confirms that this email message has been swept > for the presence of computer viruses. > > Please contact internet.administrators at notes.manchester.gov.uk > with any queries. > | ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHeylin at WeberShandwick.com Tue Dec 2 12:17:31 2003 From: AHeylin at WeberShandwick.com (Heylin, Alex) Date: Tue, 2 Dec 2003 11:17:31 -0000 Subject: SMS messaging Message-ID: Try www.sendmytxt.co.uk - I have a small C app supplied by them to interface to it, that's great for Nagios. They're also very willing to work with you to intergrate SMS into almost anything. Hope that helps? Alex -----Original Message----- From: Alwyn Cherrington [mailto:a.cherrington at notes.manchester.gov.uk] Sent: 02 December 2003 10:21 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMS messaging I was looking for an alternative SMS application, can you help? I tried to access these sites from the Nagios Documentation links and was told by my Internet administrator : The first dump is web based email via http not ftp. Web based email is blocked and will remain so. The second screen dump shows that a password is required by the site so there is nothing we can do. I didn't send the fourth screen dump * SprintPCS (SMS phones) * * * Gnokii (SMS software for contacting Nokia phones via GSM network) * * SMS Client (command line utility for sending messages to pagers and mobile phones) * regards, Alwyn Cherrington ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. Please contact internet.administrators at notes.manchester.gov.uk with any queries. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT5892610.gif Type: image/gif Size: 32021 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT5892611.gif Type: image/gif Size: 32127 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT5892612.gif Type: image/gif Size: 19039 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT5892613.gif Type: image/gif Size: 18374 bytes Desc: not available URL: From g.vickers at qut.edu.au Tue Dec 2 00:13:39 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Tue, 02 Dec 2003 09:13:39 +1000 Subject: help : nrpe problem In-Reply-To: References: Message-ID: <5.2.0.9.2.20031202091155.02a26968@imap.qut.edu.au> Wim, Your warning and critical values are the wrong way around - you have '-w 60 -c 50' when the config should read '-w 50 -c 60' Try changing your values around the other way and see what the check returns. Greg At 11:53 PM 01/12/2003, wim.degeeter at bt.com wrote: >Hi, > > > >Ive configured nrpe on remote servers but I have a problem when I try to >get a status for disk space. > >It works fine for check_users, check_procs, check_ftp, etc but for >check_disk I always get an OK status. > >See my manual checks included > > > >./check_users -w 30 -c 40 > >USERS CRITICAL - 44 users currently logged in > > > >./check_users -w 40 -c 50 > >USERS WARNING - 44 users currently logged in > > > >./check_users -w 60 -c 80 > >USERS OK - 44 users currently logged in > > > >./check_disk -w 20 -c 10 -p /dev/dsk/c1t0d0s3 > >DISK OK [2158231 kB (52%) free on /dev/dsk/c1t0d0s3] > > > >./check_disk -w 60 -c 50 -p /dev/dsk/c1t0d0s3 > >DISK OK [2158231 kB (52%) free on /dev/dsk/c1t0d0s3] > > > >./check_disk -w 70 -c 60 -p /dev/dsk/c1t0d0s3 > >DISK OK [2158231 kB (52%) free on /dev/dsk/c1t0d0s3] > > > >Anyone an idea why I get always an OK status back?? > >Thanks and regards, > >Wim ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 -------------- next part -------------- An HTML attachment was scrubbed... URL: From g.vickers at qut.edu.au Tue Dec 2 00:10:40 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Tue, 02 Dec 2003 09:10:40 +1000 Subject: information In-Reply-To: References: Message-ID: <5.2.0.9.2.20031202090923.01c3ea50@imap.qut.edu.au> Fernando, Try www.apache.org for a download, or check your Linux distribution's homepage for an apache package (RPM for Redhad, DEB for debian) In the Nagios documentation there is good information about configuring Apache for use with Nagios. Greg At 04:06 AM 02/12/2003, Fernando Prates wrote: >Hello > >I?m from Brazil and a new user, I?m a trainee in a hospital in Macei?. I >am asking for help to configure nagios, I?m having a lot of problems.We >don?t have apache here, I don?t know how to procedure and I know that to >configure nagios I need apache, how can I get apache by Linux to download, >install and to configure it, I am not manage it > >Thank you, > >Fernando Prates > > > > > > > > > >---------- >MSN Messenger: converse com os seus amigos online. >Instale gr?tis. Clique aqui. >------------------------------------------------------- This SF.net email >is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be >more productive? Does it help you create better code? SHARE THE LOVE, and >help us help YOU! Click Here: http://sourceforge.net/donate/ >_______________________________________________ Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please >include Nagios version, plugin version (-v) and OS when reporting any >issue. ::: Messages without supporting info will risk being sent to /dev/null ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Todd.Hought at echostar.com Tue Dec 2 15:22:16 2003 From: Todd.Hought at echostar.com (Hought, Todd) Date: 02 Dec 2003 07:22:16 -0700 Subject: Tru64 NRPE Message-ID: <1070374936.26549.23.camel@122-02> I know someone had posted a link to this a while back, but sure enough I can't find it now. Does anyone have the location of the NRPE plugin that was compiled to run on tru64? or perhaps a short readme on how to build it myself? Thanks in advance. -T ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpratt at moinfo.com Tue Dec 2 16:01:58 2003 From: mpratt at moinfo.com (Michael Pratt) Date: Tue, 2 Dec 2003 09:01:58 -0600 Subject: Novell Agents? Message-ID: <4B63F5F5A4CB934FA82D5393A1D947E5F40FF2@s3mail.s3systems.com> Are there any Novell agents out there for Nagios Like the one for NT? God Bless Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim_wootton at yahoo.com Tue Dec 2 16:06:04 2003 From: tim_wootton at yahoo.com (=?iso-8859-1?q?Tim=20Wootton?=) Date: Tue, 2 Dec 2003 15:06:04 +0000 (GMT) Subject: check_freshness and check_period Message-ID: <20031202150604.32512.qmail@web41606.mail.yahoo.com> Do freshness checks only take place during the check_period or do they carry on regardless? if b) is there a way I can define that I only want freshness checking some of the time. I have a service at the far end of a distributed architecture, that only needs to be checked over the weekend. The remote machine stops sending passive test results as per the time_period that I've defined, but I don't see anywhere how to stop the central box from deciding the service has gone stale. I tried setting its check_period to the same time_period I defined for the remote box but Its still forcing a service check when the freshness threshold expires. Tim ________________________________________________________________________ Download Yahoo! Messenger now for a chance to win Live At Knebworth DVDs http://www.yahoo.co.uk/robbiewilliams ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Tue Dec 2 16:30:27 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 2 Dec 2003 15:30:27 -0000 Subject: Novell Agents? Message-ID: <0EBC45FCABFC95428EBFC3A51B368C9501C9C3B7@jessica.herefordshire.gov.uk> Yes, you can use MRTGEXT from http://forge.novell.com/modules/xfmod/project/?mrtgext with check_nwstat.c. Use the version of the latter from nagios plugins CVS for a few checks I've added: http://cvs.sourceforge.net/viewcvs.py/nagiosplug/nagiosplug/plugins/check_nw stat.c Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Michael Pratt Sent: 02 December 2003 15:02 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Novell Agents? Are there any Novell agents out there for Nagios Like the one for NT? God Bless Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ton.Voon at egg.com Tue Dec 2 16:29:56 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Tue, 2 Dec 2003 15:29:56 -0000 Subject: Q: NRPE 2.0 compile problems Solaris 2.6 Message-ID: Thomas, The fix for this is to add: #define socklen_t int in nrpe.c just after #define NASTY_METACHARS. It should be fixed in CVS. Ton > -----Original Message----- > From: Thomas L?fstrand [mailto:thomas.lofstrand at gp.se] > Sent: Monday, December 01, 2003 11:10 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Q: NRPE 2.0 compile problems Solaris 2.6 > > > Hi, > > I'm having trouble compiling NRPE 2.0 on a Solaris 2.6 box. > > I get this when I do: make all > > > gpspux08(ksh)> make all > cd ./src/; make ; cd .. > gcc -g -O2 -I/opt/dist/pkg/sparc/5.6/openssl-0.9.7a/include/openssl > -I/opt/dist/pkg/sparc/5.6/openssl-0.9.7a/include > -DHAVE_CONFIG_H -o nrpe > nrpe.c utils.c -L/opt/dist/pkg/sparc/5.6/openssl-0.9.7a/lib -lssl > -lcrypto -lnsl -lsocket > nrpe.c: In function `wait_for_connections': > nrpe.c:520: `socklen_t' undeclared (first use in this function) > nrpe.c:520: (Each undeclared identifier is reported only once > nrpe.c:520: for each function it appears in.) > nrpe.c:520: parse error before `addrlen' > nrpe.c:619: `addrlen' undeclared (first use in this function) > *** Error code 1 > make: Fatal error: Command failed for target `nrpe' > Current working directory > /opt/utils/development/other/nagios/5.6/nrpe-2.0/src > *** Error code 1 > make: Fatal error: Command failed for target `all' > > gpspux08(ksh)> > > Can anyone please help? > > Regards, > Thomas > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam_ml at spacething.org Tue Dec 2 17:24:01 2003 From: sam_ml at spacething.org (Sam Stickland) Date: Tue, 2 Dec 2003 16:24:01 -0000 Subject: SMS messaging References: Message-ID: <01dd01c3b8f0$bed6dd00$fb00a8c0@office.toastedmedia.net> I suspose it would be remiss of me not to mention the company I work for ;) http://www.toastedmedia.net . If you contact me off list I can set you up a test account, and help you with the integration. Sam ----- Original Message ----- From: Alwyn Cherrington To: nagios-users at lists.sourceforge.net Sent: Tuesday, December 02, 2003 10:21 AM Subject: [Nagios-users] SMS messaging I was looking for an alternative SMS application, can you help? I tried to access these sites from the Nagios Documentation links and was told by my Internet administrator : The first dump is web based email via http not ftp. Web based email is blocked and will remain so. The second screen dump shows that a password is required by the site so there is nothing we can do. I didn't send the fourth screen dump a.. SprintPCS (SMS phones) b.. a.. b.. Gnokii (SMS software for contacting Nokia phones via GSM network) c.. a.. SMS Client (command line utility for sending messages to pagers and mobile phones) b.. regards, Alwyn Cherrington ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. Please contact internet.administrators at notes.manchester.gov.uk with any queries. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 32021 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 32127 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 19039 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 18374 bytes Desc: not available URL: From tobeya at tobert.org Tue Dec 2 17:32:30 2003 From: tobeya at tobert.org (Al Tobey) Date: Tue, 02 Dec 2003 11:32:30 -0500 Subject: SMS messaging In-Reply-To: References: Message-ID: <1070382750.1476.73.camel@linuxws1.internal.priority-health.com> http://search.cpan.org/~tobeya/Net-SNPP-1.16/ http://search.cpan.org/~tobeya/Net-SNPP-1.16/lib/Net/SNPP.pm If you download and install the Net::SNPP package, it includes perl utilities for sending e-pages. They should be pretty easy to customize, too. Almost every wireless provider supports SNPP. You may run into problems if your firewall is blocking the outbound port you need. -Al Tobey On Tue, 2003-12-02 at 05:21, Alwyn Cherrington wrote: > I was looking for an alternative SMS application, can you help? > > I tried to access these sites from the Nagios Documentation links and > was told by my Internet administrator : > > The first dump is web based email via http not ftp. Web based email is > blocked and will remain so. > > The second screen dump shows that a password is required by the site > so there is nothing we can do. > > > I didn't send the fourth screen dump > * SprintPCS (SMS phones) > * > > * Gnokii (SMS software for contacting Nokia phones via > GSM network) > * > > * SMS Client (command line utility for sending > messages to pagers and mobile phones) > * > > > regards, > > Alwyn Cherrington > > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > This footnote also confirms that this email message has been swept > for the presence of computer viruses. > > Please contact internet.administrators at notes.manchester.gov.uk > with any queries. -- Al Tobey tobert.org ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DOlbersen at stbernard.com Tue Dec 2 17:39:41 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Tue, 2 Dec 2003 08:39:41 -0800 Subject: SMS messaging Message-ID: Depending on your cellular provider, they may have an email to SMS gateway already created. In the US, at least Cingular has such a gateway. The email address is typically in the form of: @ _____ David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 -----Original Message----- From: Alwyn Cherrington [mailto:a.cherrington at notes.manchester.gov.uk] Sent: Tuesday, December 02, 2003 2:21 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMS messaging I was looking for an alternative SMS application, can you help? I tried to access these sites from the Nagios Documentation links and was told by my Internet administrator : The first dump is web based email via http not ftp. Web based email is blocked and will remain so. The second screen dump shows that a password is required by the site so there is nothing we can do. I didn't send the fourth screen dump * SprintPCS (SMS phones) * * * Gnokii (SMS software for contacting Nokia phones via GSM network) * * SMS Client (command line utility for sending messages to pagers and mobile phones) * regards, Alwyn Cherrington ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. Please contact internet.administrators at notes.manchester.gov.uk with any queries. _____ Teach CanIt if this mail (ID 314471) is spam: Spam Not spam Forget previous vote -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT468410.gif Type: image/gif Size: 32021 bytes Desc: ATT468410.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT468411.gif Type: image/gif Size: 32127 bytes Desc: ATT468411.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT468412.gif Type: image/gif Size: 19039 bytes Desc: ATT468412.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT468413.gif Type: image/gif Size: 18374 bytes Desc: ATT468413.gif URL: From anders.holm at elivefree.net Tue Dec 2 17:41:51 2003 From: anders.holm at elivefree.net (Anders Holm) Date: Tue, 02 Dec 2003 16:41:51 +0000 Subject: SMS messaging In-Reply-To: <1070382750.1476.73.camel@linuxws1.internal.priority-health.com> References: <1070382750.1476.73.camel@linuxws1.internal.priority-health.com> Message-ID: <3FCCC0CF.30503@elivefree.net> Hi Al. Just a slight correction/clarification here, since this confused me a tad bit initially. I work with supporting a SMS gateway software, so I come across a number of protocols used for SMS. What confused me was what I thought initially to be a typo, but alas no it wasn't. OTOH, SNPP is a protocol for pagers, and not for SMS. The most common protocol I see for SMS is a protocol named SMPP. Just so people are aware of what they'll be getting, I mean... ;) //Anders// Al Tobey wrote: > http://search.cpan.org/~tobeya/Net-SNPP-1.16/ > http://search.cpan.org/~tobeya/Net-SNPP-1.16/lib/Net/SNPP.pm > > If you download and install the Net::SNPP package, it includes perl > utilities for sending e-pages. They should be pretty easy to customize, > too. Almost every wireless provider supports SNPP. You may run into > problems if your firewall is blocking the outbound port you need. > > -Al Tobey > > On Tue, 2003-12-02 at 05:21, Alwyn Cherrington wrote: > >>I was looking for an alternative SMS application, can you help? >> >>I tried to access these sites from the Nagios Documentation links and >>was told by my Internet administrator : >> >>The first dump is web based email via http not ftp. Web based email is >>blocked and will remain so. >> >>The second screen dump shows that a password is required by the site >>so there is nothing we can do. >> >> >>I didn't send the fourth screen dump >> * SprintPCS (SMS phones) >> * >> >> * Gnokii (SMS software for contacting Nokia phones via >> GSM network) >> * >> >> * SMS Client (command line utility for sending >> messages to pagers and mobile phones) >> * >> >> >> regards, >> >> Alwyn Cherrington >> >> >> >> >>********************************************************************** >>This email and any files transmitted with it are confidential and >>intended solely for the use of the individual or entity to whom they >>are addressed. If you have received this email in error please notify >>the system manager. >> >>This footnote also confirms that this email message has been swept >>for the presence of computer viruses. >> >>Please contact internet.administrators at notes.manchester.gov.uk >>with any queries. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.pounsett at cira.ca Tue Dec 2 18:09:47 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 2 Dec 2003 12:09:47 -0500 (EST) Subject: Delayed notification In-Reply-To: <200312010257.hB12vkm04528@biz.compata.com> References: <200312010257.hB12vkm04528@biz.compata.com> Message-ID: On Sun, 30 Nov 2003, Dave Close wrote: > I apologize if I'm just blind or dense. I've tried to find the answer to > my question in the Nagios documentation, but that which came with the > program and that on the Web. I've also searched the list archives. But I > may not have a good search term... Unless I'm misunderstanding your question, this is what the max_check_attempts host and service parameter is for. http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service For both hosts and services, it sets the number of check retries Nagios performs between first discovering a problem and actually reporting it. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.pounsett at cira.ca Tue Dec 2 18:19:19 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 2 Dec 2003 12:19:19 -0500 (EST) Subject: SMS messaging In-Reply-To: References: Message-ID: On Tue, 2 Dec 2003, Alwyn Cherrington wrote: > I was looking for an alternative SMS application, can you help? > > I tried to access these sites from the Nagios Documentation links and was > told by my Internet administrator : I use qpage.. It provides an SNPP server and client, and will talk TAP to your cell carrier. http://www.qpage.org/ I find the TAP functionality particularly useful... if the network is down, it doesn't matter if my cell carrier has an email->SMS gateway because email isn't going anywhere. This allows me to send my pages out of band. There's a list of TAP gateway numbers on the qpage web site, but you may have to contact your carrier for a number anyway. Many of the numbers listed are for the carriers' paging networks only, and are not set up to carry messages to the SMS network. Quite often the TAP->SMS phone number is listed on the carrier's web site, as well. HTH -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tobeya at tobert.org Tue Dec 2 18:32:57 2003 From: tobeya at tobert.org (Al Tobey) Date: Tue, 02 Dec 2003 12:32:57 -0500 Subject: SMS messaging In-Reply-To: <3FCCC0CF.30503@elivefree.net> References: <1070382750.1476.73.camel@linuxws1.internal.priority-health.com> <3FCCC0CF.30503@elivefree.net> Message-ID: <1070386377.1476.155.camel@linuxws1.internal.priority-health.com> On Tue, 2003-12-02 at 11:41, Anders Holm wrote: > Hi Al. > > Just a slight correction/clarification here, since this confused me a > tad bit initially. > > I work with supporting a SMS gateway software, so I come across a number > of protocols used for SMS. What confused me was what I thought initially > to be a typo, but alas no it wasn't. OTOH, SNPP is a protocol for > pagers, and not for SMS. The most common protocol I see for SMS is a > protocol named SMPP. You are actually right. SNPP may not fall under the SMS umbrella, but for the purposes of what most people want to do with Nagios, it works just fine and is actually better in my experience. With SNPPv3, I can set up response codes which I can then retrieve to do things like acknowledgements and other various commands. I don't know what other providers provide as far as SMS goes, but my experience with Nextel has been that SNPP is superior, especially if you want 2-way messaging. Their SMS service also has a more limited message size, which is annoyingly only 256 characters, while SNPP allows up to 2048 IIRC. If anybody wants it, I can send out a kermit script for sending TAP messages that can be used as a backup in case of internet connection failure. If you're not the DIY kind of person, check out sendpage http://sendpage.cpoint.net/ . > Just so people are aware of what they'll be getting, I mean... ;) Of course. > //Anders// > > Al Tobey wrote: > > > http://search.cpan.org/~tobeya/Net-SNPP-1.16/ > > http://search.cpan.org/~tobeya/Net-SNPP-1.16/lib/Net/SNPP.pm > > > > If you download and install the Net::SNPP package, it includes perl > > utilities for sending e-pages. They should be pretty easy to customize, > > too. Almost every wireless provider supports SNPP. You may run into > > problems if your firewall is blocking the outbound port you need. > > > > -Al Tobey > > > > On Tue, 2003-12-02 at 05:21, Alwyn Cherrington wrote: > > > >>I was looking for an alternative SMS application, can you help? > >> > >>I tried to access these sites from the Nagios Documentation links and > >>was told by my Internet administrator : > >> > >>The first dump is web based email via http not ftp. Web based email is > >>blocked and will remain so. > >> > >>The second screen dump shows that a password is required by the site > >>so there is nothing we can do. > >> > >> > >>I didn't send the fourth screen dump > >> * SprintPCS (SMS phones) > >> * > >> > >> * Gnokii (SMS software for contacting Nokia phones via > >> GSM network) > >> * > >> > >> * SMS Client (command line utility for sending > >> messages to pagers and mobile phones) > >> * > >> > >> > >> regards, > >> > >> Alwyn Cherrington > >> > >> > >> > >> > >>********************************************************************** > >>This email and any files transmitted with it are confidential and > >>intended solely for the use of the individual or entity to whom they > >>are addressed. If you have received this email in error please notify > >>the system manager. > >> > >>This footnote also confirms that this email message has been swept > >>for the presence of computer viruses. > >> > >>Please contact internet.administrators at notes.manchester.gov.uk > >>with any queries. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Al Tobey tobert.org ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam_ml at spacething.org Tue Dec 2 18:51:09 2003 From: sam_ml at spacething.org (Sam Stickland) Date: Tue, 2 Dec 2003 17:51:09 -0000 Subject: SMS messaging References: <1070382750.1476.73.camel@linuxws1.internal.priority-health.com> <3FCCC0CF.30503@elivefree.net> Message-ID: <028001c3b8fc$dead13e0$fb00a8c0@office.toastedmedia.net> SMPP is a protocol that's used for interfacing directly with the SMSCs (SMS centres). It's a pretty heavy weight protocol, and I certainly wouldn't recommend it for integrating something like nagios. Moreover, you're only likely to ever be given an SMPP connection if you are buying considerable volume (by which I mean at least tens of thousands of messages a month). Sam ----- Original Message ----- From: "Anders Holm" Cc: "NagiosUsers" Sent: Tuesday, December 02, 2003 4:41 PM Subject: Re: [Nagios-users] SMS messaging > Hi Al. > > Just a slight correction/clarification here, since this confused me a > tad bit initially. > > I work with supporting a SMS gateway software, so I come across a number > of protocols used for SMS. What confused me was what I thought initially > to be a typo, but alas no it wasn't. OTOH, SNPP is a protocol for > pagers, and not for SMS. The most common protocol I see for SMS is a > protocol named SMPP. > > Just so people are aware of what they'll be getting, I mean... ;) > > //Anders// > > Al Tobey wrote: > > > http://search.cpan.org/~tobeya/Net-SNPP-1.16/ > > http://search.cpan.org/~tobeya/Net-SNPP-1.16/lib/Net/SNPP.pm > > > > If you download and install the Net::SNPP package, it includes perl > > utilities for sending e-pages. They should be pretty easy to customize, > > too. Almost every wireless provider supports SNPP. You may run into > > problems if your firewall is blocking the outbound port you need. > > > > -Al Tobey > > > > On Tue, 2003-12-02 at 05:21, Alwyn Cherrington wrote: > > > >>I was looking for an alternative SMS application, can you help? > >> > >>I tried to access these sites from the Nagios Documentation links and > >>was told by my Internet administrator : > >> > >>The first dump is web based email via http not ftp. Web based email is > >>blocked and will remain so. > >> > >>The second screen dump shows that a password is required by the site > >>so there is nothing we can do. > >> > >> > >>I didn't send the fourth screen dump > >> * SprintPCS (SMS phones) > >> * > >> > >> * Gnokii (SMS software for contacting Nokia phones via > >> GSM network) > >> * > >> > >> * SMS Client (command line utility for sending > >> messages to pagers and mobile phones) > >> * > >> > >> > >> regards, > >> > >> Alwyn Cherrington > >> > >> > >> > >> > >>********************************************************************** > >>This email and any files transmitted with it are confidential and > >>intended solely for the use of the individual or entity to whom they > >>are addressed. If you have received this email in error please notify > >>the system manager. > >> > >>This footnote also confirms that this email message has been swept > >>for the presence of computer viruses. > >> > >>Please contact internet.administrators at notes.manchester.gov.uk > >>with any queries. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam_ml at spacething.org Tue Dec 2 18:51:44 2003 From: sam_ml at spacething.org (Sam Stickland) Date: Tue, 2 Dec 2003 17:51:44 -0000 Subject: SMS messaging References: <1070382750.1476.73.camel@linuxws1.internal.priority-health.com> <3FCCC0CF.30503@elivefree.net> Message-ID: <028a01c3b8fc$f3b2da40$fb00a8c0@office.toastedmedia.net> SMPP is a protocol that's used for interfacing directly with the SMSCs (SMS centres). It's a pretty heavy weight protocol, and I certainly wouldn't recommend it for integrating something like nagios. Moreover, you're only likely to ever be given an SMPP connection if you are buying considerable volume (by which I mean at least tens of thousands of messages a month). Sam ----- Original Message ----- From: "Anders Holm" Cc: "NagiosUsers" Sent: Tuesday, December 02, 2003 4:41 PM Subject: Re: [Nagios-users] SMS messaging > Hi Al. > > Just a slight correction/clarification here, since this confused me a > tad bit initially. > > I work with supporting a SMS gateway software, so I come across a number > of protocols used for SMS. What confused me was what I thought initially > to be a typo, but alas no it wasn't. OTOH, SNPP is a protocol for > pagers, and not for SMS. The most common protocol I see for SMS is a > protocol named SMPP. > > Just so people are aware of what they'll be getting, I mean... ;) > > //Anders// > > Al Tobey wrote: > > > http://search.cpan.org/~tobeya/Net-SNPP-1.16/ > > http://search.cpan.org/~tobeya/Net-SNPP-1.16/lib/Net/SNPP.pm > > > > If you download and install the Net::SNPP package, it includes perl > > utilities for sending e-pages. They should be pretty easy to customize, > > too. Almost every wireless provider supports SNPP. You may run into > > problems if your firewall is blocking the outbound port you need. > > > > -Al Tobey > > > > On Tue, 2003-12-02 at 05:21, Alwyn Cherrington wrote: > > > >>I was looking for an alternative SMS application, can you help? > >> > >>I tried to access these sites from the Nagios Documentation links and > >>was told by my Internet administrator : > >> > >>The first dump is web based email via http not ftp. Web based email is > >>blocked and will remain so. > >> > >>The second screen dump shows that a password is required by the site > >>so there is nothing we can do. > >> > >> > >>I didn't send the fourth screen dump > >> * SprintPCS (SMS phones) > >> * > >> > >> * Gnokii (SMS software for contacting Nokia phones via > >> GSM network) > >> * > >> > >> * SMS Client (command line utility for sending > >> messages to pagers and mobile phones) > >> * > >> > >> > >> regards, > >> > >> Alwyn Cherrington > >> > >> > >> > >> > >>********************************************************************** > >>This email and any files transmitted with it are confidential and > >>intended solely for the use of the individual or entity to whom they > >>are addressed. If you have received this email in error please notify > >>the system manager. > >> > >>This footnote also confirms that this email message has been swept > >>for the presence of computer viruses. > >> > >>Please contact internet.administrators at notes.manchester.gov.uk > >>with any queries. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anders.holm at elivefree.net Tue Dec 2 19:13:46 2003 From: anders.holm at elivefree.net (Anders Holm) Date: Tue, 02 Dec 2003 18:13:46 +0000 Subject: SMS messaging In-Reply-To: <028001c3b8fc$dead13e0$fb00a8c0@office.toastedmedia.net> References: <1070382750.1476.73.camel@linuxws1.internal.priority-health.com> <3FCCC0CF.30503@elivefree.net> <028001c3b8fc$dead13e0$fb00a8c0@office.toastedmedia.net> Message-ID: <3FCCD65A.70800@elivefree.net> Hi Sam. Didn't realise I recommended it to anyone. Merely pointed out that SNPP is for pagers, and SMPP is for SMS. Then it is up to each individual to make their choice based on their needs. What can I say?? //Anders// Sam Stickland wrote: > SMPP is a protocol that's used for interfacing directly with the SMSCs (SMS > centres). It's a pretty heavy weight protocol, and I certainly wouldn't > recommend it for integrating something like nagios. Moreover, you're only > likely to ever be given an SMPP connection if you are buying considerable > volume (by which I mean at least tens of thousands of messages a month). > > Sam > > ----- Original Message ----- > From: "Anders Holm" > Cc: "NagiosUsers" > Sent: Tuesday, December 02, 2003 4:41 PM > Subject: Re: [Nagios-users] SMS messaging > > > >>Hi Al. >> >>Just a slight correction/clarification here, since this confused me a >>tad bit initially. >> >>I work with supporting a SMS gateway software, so I come across a number >>of protocols used for SMS. What confused me was what I thought initially >>to be a typo, but alas no it wasn't. OTOH, SNPP is a protocol for >>pagers, and not for SMS. The most common protocol I see for SMS is a >>protocol named SMPP. >> >>Just so people are aware of what they'll be getting, I mean... ;) >> >>//Anders// >> >>Al Tobey wrote: >> >> >>>http://search.cpan.org/~tobeya/Net-SNPP-1.16/ >>>http://search.cpan.org/~tobeya/Net-SNPP-1.16/lib/Net/SNPP.pm >>> >>>If you download and install the Net::SNPP package, it includes perl >>>utilities for sending e-pages. They should be pretty easy to customize, >>>too. Almost every wireless provider supports SNPP. You may run into >>>problems if your firewall is blocking the outbound port you need. >>> >>>-Al Tobey >>> >>>On Tue, 2003-12-02 at 05:21, Alwyn Cherrington wrote: >>> >>> >>>>I was looking for an alternative SMS application, can you help? >>>> >>>>I tried to access these sites from the Nagios Documentation links and >>>>was told by my Internet administrator : >>>> >>>>The first dump is web based email via http not ftp. Web based email is >>>>blocked and will remain so. >>>> >>>>The second screen dump shows that a password is required by the site >>>>so there is nothing we can do. >>>> >>>> >>>>I didn't send the fourth screen dump >>>> * SprintPCS (SMS phones) >>>> * >>>> >>>> * Gnokii (SMS software for contacting Nokia phones via >>>> GSM network) >>>> * >>>> >>>> * SMS Client (command line utility for sending >>>> messages to pagers and mobile phones) >>>> * >>>> >>>> >>>> regards, >>>> >>>> Alwyn Cherrington >>>> >>>> >>>> >>>> >>>>********************************************************************** >>>>This email and any files transmitted with it are confidential and >>>>intended solely for the use of the individual or entity to whom they >>>>are addressed. If you have received this email in error please notify >>>>the system manager. >>>> >>>>This footnote also confirms that this email message has been swept >>>>for the presence of computer viruses. >>>> >>>>Please contact internet.administrators at notes.manchester.gov.uk >>>>with any queries. >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: SF.net Giveback Program. >>Does SourceForge.net help you be more productive? Does it >>help you create better code? SHARE THE LOVE, and help us help >>YOU! Click Here: http://sourceforge.net/donate/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Tue Dec 2 19:18:45 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Tue, 2 Dec 2003 13:18:45 -0500 Subject: Ignore a single recurring outage Message-ID: Forgive me if this has been asked and answered before. If someone can point me to the answer w/o going into the details feel free to do so. Anyway, I have a web service that requests a dynamic page which is generated by a database query. Every night at a given time, the db which this page depends upon is refreshed and the query fails, generating a service down notification. How can I get around this? I would like to disable this service for at least 30 minutes every night. Is there a way to do this with in nagios? ---- Charles H. Baker Unix/Linux Systems Administrator chbaker at ps dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 If you do what you have always done, you will get what you have always gotten. --Paul J. Meyer ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Dec 2 19:33:24 2003 From: jhmartin at toger.us (Jason Martin) Date: Tue, 2 Dec 2003 10:33:24 -0800 (PST) Subject: Ignore a single recurring outage In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Define a check_period that doesn't include the time in which you know it 'll be down. - -Jason Martin On Tue, 2 Dec 2003 chbaker at powersystems.rockwell.com wrote: > Forgive me if this has been asked and answered before. If someone can point > me to the answer w/o going into the details feel free to do so. > > Anyway, I have a web service that requests a dynamic page which is > generated by a database query. Every night at a given time, the db which > this page depends upon is refreshed and the query fails, generating a > service down notification. How can I get around this? I would like to > disable this service for at least 30 minutes every night. Is there a way to > do this with in nagios? > ---- > Charles H. Baker > Unix/Linux Systems Administrator > chbaker at ps dot rockwell dot com > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > If you do what you have always done, you will get what you have always > gotten. --Paul J. Meyer > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/zNr4l2ODWuqVSBMRAuX5AJwPYUyyU0kLSdx/n5gTs8YNLhgTxACfVCA/ MdVIBMewrY9Yh3/geRDzWfM= =TP7S -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cscha at gbpinc.com Tue Dec 2 19:43:17 2003 From: cscha at gbpinc.com (Cory Schafer) Date: Tue, 02 Dec 2003 12:43:17 -0600 Subject: check_nwstat Message-ID: I 'm haveing some difficulty getting check_nwstat to work. I have Nagios version running 1.1. I have other checks and are work correctly. When check tries to work it says "Socket timeout after 10 seconds" I have tried every changing of settings I can think of. I can also run ./check_nwstat -H host -v VPFSYS and it works great. Let me know if anyone needs more info. Any help is very much appreciated. Cory -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.ciordia at goingv.com Tue Dec 2 20:09:23 2003 From: andy.ciordia at goingv.com (Andy Ciordia) Date: Tue, 02 Dec 2003 14:09:23 -0500 Subject: Notification Variables Message-ID: <3FCCE363.6060906@goingv.com> I've been scouring for the variables available and useable with notifications but must be looking in the wrong place. I'd love it if someone could send me a clue. ;) Thanks, -a ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.pounsett at cira.ca Tue Dec 2 20:17:37 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 2 Dec 2003 14:17:37 -0500 (EST) Subject: Notification Variables In-Reply-To: <3FCCE363.6060906@goingv.com> References: <3FCCE363.6060906@goingv.com> Message-ID: On Tue, 2 Dec 2003, Andy Ciordia wrote: > I've been scouring for the variables available and useable with > notifications but must be looking in the wrong place. > > I'd love it if someone could send me a clue. ;) Here you go: http://nagios.sourceforge.net/docs/1_0/macros.html Cheers, -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Dec 2 20:19:22 2003 From: marc at ena.com (Marc Powell) Date: Tue, 2 Dec 2003 13:19:22 -0600 Subject: Notification Variables Message-ID: <370ACCFA5BB3B346A31222E5559BF91F039FED@mismail2.ena.com> http://nagios.sourceforge.net/docs/1_0/macros.html -- Marc > -----Original Message----- > From: Andy Ciordia [mailto:andy.ciordia at goingv.com] > Sent: Tuesday, December 02, 2003 1:09 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notification Variables > > I've been scouring for the variables available and useable with > notifications but must be looking in the wrong place. > > I'd love it if someone could send me a clue. ;) > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Tue Dec 2 20:32:26 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Tue, 2 Dec 2003 14:32:26 -0500 Subject: Ignore a single recurring outage Message-ID: Thanks! I had forgotten all about the timeperiods.cfg. I'll find out tonight if I've defined it properly to ignore the specified time period. ---- Charles H. Baker Unix/Linux Systems Administrator chbaker at ps dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 If you do what you have always done, you will get what you have always gotten. --Paul J. Meyer Jason Martin To: chbaker at powersystems.rockwell.com Sent by: cc: nagios-users at lists.sourceforge.net nagios-users-admin at lists.sour Subject: Re: [Nagios-users] Ignore a single recurring outage ceforge.net 12/02/2003 01:33 PM -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Define a check_period that doesn't include the time in which you know it 'll be down. - -Jason Martin On Tue, 2 Dec 2003 chbaker at powersystems.rockwell.com wrote: > Forgive me if this has been asked and answered before. If someone can point > me to the answer w/o going into the details feel free to do so. > > Anyway, I have a web service that requests a dynamic page which is > generated by a database query. Every night at a given time, the db which > this page depends upon is refreshed and the query fails, generating a > service down notification. How can I get around this? I would like to > disable this service for at least 30 minutes every night. Is there a way to > do this with in nagios? > ---- > Charles H. Baker > Unix/Linux Systems Administrator > chbaker at ps dot rockwell dot com > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > If you do what you have always done, you will get what you have always > gotten. --Paul J. Meyer > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/zNr4l2ODWuqVSBMRAuX5AJwPYUyyU0kLSdx/n5gTs8YNLhgTxACfVCA/ MdVIBMewrY9Yh3/geRDzWfM= =TP7S -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam_ml at spacething.org Tue Dec 2 21:36:09 2003 From: sam_ml at spacething.org (Sam Stickland) Date: Tue, 2 Dec 2003 20:36:09 -0000 Subject: SMS messaging References: <1070382750.1476.73.camel@linuxws1.internal.priority-health.com> <3FCCC0CF.30503@elivefree.net> <028001c3b8fc$dead13e0$fb00a8c0@office.toastedmedia.net> <3FCCD65A.70800@elivefree.net> Message-ID: <02b001c3b913$eb4c28e0$fb00a8c0@office.toastedmedia.net> Sorry, I didn't mean to suggest that you were - just that I wouldn't :) Sam ----- Original Message ----- From: "Anders Holm" To: "Sam Stickland" Cc: "NagiosUsers" Sent: Tuesday, December 02, 2003 6:13 PM Subject: Re: [Nagios-users] SMS messaging > Hi Sam. > > Didn't realise I recommended it to anyone. Merely pointed out that SNPP > is for pagers, and SMPP is for SMS. Then it is up to each individual to > make their choice based on their needs. What can I say?? > > //Anders// > > Sam Stickland wrote: > > > SMPP is a protocol that's used for interfacing directly with the SMSCs (SMS > > centres). It's a pretty heavy weight protocol, and I certainly wouldn't > > recommend it for integrating something like nagios. Moreover, you're only > > likely to ever be given an SMPP connection if you are buying considerable > > volume (by which I mean at least tens of thousands of messages a month). > > > > Sam > > > > ----- Original Message ----- > > From: "Anders Holm" > > Cc: "NagiosUsers" > > Sent: Tuesday, December 02, 2003 4:41 PM > > Subject: Re: [Nagios-users] SMS messaging > > > > > > > >>Hi Al. > >> > >>Just a slight correction/clarification here, since this confused me a > >>tad bit initially. > >> > >>I work with supporting a SMS gateway software, so I come across a number > >>of protocols used for SMS. What confused me was what I thought initially > >>to be a typo, but alas no it wasn't. OTOH, SNPP is a protocol for > >>pagers, and not for SMS. The most common protocol I see for SMS is a > >>protocol named SMPP. > >> > >>Just so people are aware of what they'll be getting, I mean... ;) > >> > >>//Anders// > >> > >>Al Tobey wrote: > >> > >> > >>>http://search.cpan.org/~tobeya/Net-SNPP-1.16/ > >>>http://search.cpan.org/~tobeya/Net-SNPP-1.16/lib/Net/SNPP.pm > >>> > >>>If you download and install the Net::SNPP package, it includes perl > >>>utilities for sending e-pages. They should be pretty easy to customize, > >>>too. Almost every wireless provider supports SNPP. You may run into > >>>problems if your firewall is blocking the outbound port you need. > >>> > >>>-Al Tobey > >>> > >>>On Tue, 2003-12-02 at 05:21, Alwyn Cherrington wrote: > >>> > >>> > >>>>I was looking for an alternative SMS application, can you help? > >>>> > >>>>I tried to access these sites from the Nagios Documentation links and > >>>>was told by my Internet administrator : > >>>> > >>>>The first dump is web based email via http not ftp. Web based email is > >>>>blocked and will remain so. > >>>> > >>>>The second screen dump shows that a password is required by the site > >>>>so there is nothing we can do. > >>>> > >>>> > >>>>I didn't send the fourth screen dump > >>>> * SprintPCS (SMS phones) > >>>> * > >>>> > >>>> * Gnokii (SMS software for contacting Nokia phones via > >>>> GSM network) > >>>> * > >>>> > >>>> * SMS Client (command line utility for sending > >>>> messages to pagers and mobile phones) > >>>> * > >>>> > >>>> > >>>> regards, > >>>> > >>>> Alwyn Cherrington > >>>> > >>>> > >>>> > >>>> > >>>>********************************************************************** > >>>>This email and any files transmitted with it are confidential and > >>>>intended solely for the use of the individual or entity to whom they > >>>>are addressed. If you have received this email in error please notify > >>>>the system manager. > >>>> > >>>>This footnote also confirms that this email message has been swept > >>>>for the presence of computer viruses. > >>>> > >>>>Please contact internet.administrators at notes.manchester.gov.uk > >>>>with any queries. > >> > >> > >> > >>------------------------------------------------------- > >>This SF.net email is sponsored by: SF.net Giveback Program. > >>Does SourceForge.net help you be more productive? Does it > >>help you create better code? SHARE THE LOVE, and help us help > >>YOU! Click Here: http://sourceforge.net/donate/ > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>::: Please include Nagios version, plugin version (-v) and OS when > > > > reporting any issue. > > > >>::: Messages without supporting info will risk being sent to /dev/null > >> > > > > > > > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Tue Dec 2 22:03:54 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Tue, 02 Dec 2003 13:03:54 -0800 Subject: StatusMap Showing "Nagios Process" In-Reply-To: <20031202015119.GB26763@isite.net> References: <004c01c3b70a$dba44e00$830d270a@culpdom.home> <20031202015119.GB26763@isite.net> Message-ID: <676722695.1070370234@cadabra.stanford.edu> --On Monday, December 01, 2003 5:51 PM -0800 Joe Rhett wrote: > It's an icon that is used in the map generation. You can replace it. > > On Sun, Nov 30, 2003 at 01:26:15AM -0500, David Culp wrote: >> Has anyone seen and solved the issue of a "Nagios Process" icon on the >> StatusMap. After many hours, assigning "parents" to all the hosts , and >> having only 1 root host (our backbone layer 3 switch). I still have that >> "Nagios Process" icon on the map ... What I'd really like, is a way to tell nagios what its parents are, so that its icon shows up correctly in our overall map. Is that possible (other than using coordinates)? --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Tue Dec 2 22:36:57 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Tue, 02 Dec 2003 21:36:57 +0000 Subject: check_mailq exim patch and instructions... Message-ID: <3FCD05F9.2050502@exponential-e.com> I search the archives for "exim" looking for a queue checking plugin and used some of this below. I think that the pattern match: if (//0// ) { is incorrect. It should be something like /^0/ as otherwise a message queue of, for instance, 105 messages is treated as an empty mail queue, which is probably not what was intended. Jim >I wanted check_mailq to work with *exim* and a quick modification to the code >was all that was needed. I was unable to find any info on this but it >works. Let me know if theres any questions/problems. > >INSTRUCTIONS >1. touch /usr/bin/mailq >2. echo -e '#!/bin/sh\n/usr/sbin/*exim* -bpc' > /usr/bin/mailq >3. cd /usr/local/nagios/libexec >4. touch check_mailq.patch >5. Copy and paste the code below into this file >6. patch -p0 < check_mailq.patch >7. dont forget to edit utils.pm and set the mailq path to /usr/bin/mailq > > >-------------------PATCH CUT BELOW----------------------------- >--- check_mailq Thu Oct 2 22:29:18 2003 >+++ check_mailq.*exim*patch Thu Oct 2 22:32:33 2003 > -67,9 +67,8 > > # only first line is relevant in this iteration. > while () { >- if (//mqueue//) { > print "$utils::PATH_TO_MAILQ = $_ "if $verbose ; >- if (//empty// ) { >+ if (//0// ) { > $msg = "OK: mailq is empty"; > $msg_q = 0; > $state = $ERRORS{'OK'}; > -89,7 +88,6 > $state = $ERRORS{'CRITICAL'}; > } > >- } > > last; > } >--------------------END CUT--------------------------------------- > > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Tue Dec 2 02:49:19 2003 From: jrhett at isite.net (Joe Rhett) Date: Mon, 1 Dec 2003 17:49:19 -0800 Subject: urlize - how to prevent from use in notifications? In-Reply-To: References: <20031127234432.GA5804@isite.net> <20031129000548.GA2802@isite.net> Message-ID: <20031202014919.GA26763@isite.net> > That WAS a serious reply. It is the method I use in my shop. No, it wasn't a serious reply. It's a hack that doesn't solve the general problem, only a single instance. A bandaid isn't a "serious" response to a sword wound. It may stem the bleeding long enough to get to the hospital, but you're still going to die. The problem isn't how to mangle output for e-mail notification, the problem is that HTML-ized output is only useful for one output. Hacking the input at 1 place and then hacking the output at N places where N equals the total number of output mechanisms is wasteful. The generalized problem is that NO output EXCEPT for the web interface wants urlized output. The database shouldn't be storing URLs that must be decoded before use. These URLs will also suddenly become invalid after an interface change, or an IP address change or anything else. The HTML-modified output should be done closer to the web interface, not altering the input mechanism. As stated in my original post: (which was quoted but apparently ignored) > Before I go digging into the code to determine how to split up the web > and notification output, has someone already solved this problem? The apparent solution (without having finished review of the code) is that the URLize syntax should be stored as another attribute, and performed by the web interface prior to output. The data is stored in raw form, and formated appropriated for the web output. (or any other output mechanism that requests urlized output) That is a serious response. A quick fix isn't a serious response. On Fri, Nov 28, 2003 at 09:48:17PM -0800, Tedman Eng wrote: > That WAS a serious reply. It is the method I use in my shop. > > The original Nagios munged output you get probably looks something like > this: > A HREF=/nagios/cgi-bin/cgi.cgi?host=somehost: CPU:80 /A > > Edit your mail notification command to format however you want, without > tags if your mail reader strips tags. Do this by inserting a few > sed or cut commands in there to make $OUTPUT$ look like this: > > CPU:80 > > or this: > CPU:80 > > A simplified notify-by-email example using the "cut" method: > printf '$SERVICEDESC$ is $SERVICESTATE$ on host $HOSTALIAS$\n\nMore > info:`echo $OUTPUT$ | cut " " -f 3` | /usr/bin/mail $CONTACTEMAIL$' > > HTH, > Tedman > > > "Joe Rhett" wrote in message > news:20031129000548.GA2802 at isite.net... > > They are stripped from $OUTPUT$ by Nagios, not by my commands. > > > > Also, no mail readers will create a link from an anchor tag in the middle > of > > a plain text message. It just won't work. > > > > Serious replies? > > > > On Thu, Nov 27, 2003 at 08:28:40PM -0800, Tedman Eng wrote: > > > Edit the email notification command to put the (< > & and other) bad > shell > > > characters back into the original email, so that the readers of the > email > > > can click the link from within email also. > > > > > > "Joe Rhett" wrote in message > > > news:20031127234432.GA5804 at isite.net... > > > > I've got urlize working just fine for the web interface, but this has > an > > > > unintended side effect of putting HTML into the e-mail notifications. > > > > (with < > & and other bad shell characters stripped out naturally) > > > > > > > > Before I go digging into the code to determine how to split up the web > and > > > > notification output, has someone already solved this problem? > > > > > > > > -- > > > > Joe Rhett Chief > Geek > > > > JRhett at Isite.Net Isite Services, > Inc. > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > > Does SourceForge.net help you be more productive? Does it > > > > help you create better code? SHARE THE LOVE, and help us help > > > > YOU! Click Here: http://sourceforge.net/donate/ > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > reporting any issue. > > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > Does SourceForge.net help you be more productive? Does it > > > help you create better code? SHARE THE LOVE, and help us help > > > YOU! Click Here: http://sourceforge.net/donate/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > > Joe Rhett Chief Geek > > JRhett at Isite.Net Isite Services, Inc. > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Tue Dec 2 23:59:08 2003 From: jrhett at isite.net (Joe Rhett) Date: Tue, 2 Dec 2003 14:59:08 -0800 Subject: StatusMap Showing "Nagios Process" In-Reply-To: <676722695.1070370234@cadabra.stanford.edu> References: <004c01c3b70a$dba44e00$830d270a@culpdom.home> <20031202015119.GB26763@isite.net> <676722695.1070370234@cadabra.stanford.edu> Message-ID: <20031202225908.GB10770@isite.net> There are no 'parents' of Nagios, since the tests originate from Nagios. Nagios doesn't depend on anything to reach itself. On Tue, Dec 02, 2003 at 01:03:54PM -0800, Quanah Gibson-Mount wrote: > > > --On Monday, December 01, 2003 5:51 PM -0800 Joe Rhett > wrote: > > >It's an icon that is used in the map generation. You can replace it. > > > >On Sun, Nov 30, 2003 at 01:26:15AM -0500, David Culp wrote: > >>Has anyone seen and solved the issue of a "Nagios Process" icon on the > >>StatusMap. After many hours, assigning "parents" to all the hosts , and > >>having only 1 root host (our backbone layer 3 switch). I still have that > >>"Nagios Process" icon on the map ... > > > What I'd really like, is a way to tell nagios what its parents are, so that > its icon shows up correctly in our overall map. Is that possible (other > than using coordinates)? > > --Quanah > > > -- > Quanah Gibson-Mount > Principal Software Developer > ITSS/TSS/Computing Systems > ITSS/TSS/Infrastructure Operations > Stanford University > GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Wed Dec 3 00:01:58 2003 From: jrhett at isite.net (Joe Rhett) Date: Tue, 2 Dec 2003 15:01:58 -0800 Subject: SMS messaging In-Reply-To: References: Message-ID: <20031202230158.GC10770@isite.net> > There's a list of TAP gateway numbers on the qpage web site, but you may have > to contact your carrier for a number anyway. Many of the numbers listed are > for the carriers' paging networks only, and are not set up to carry messages > to the SMS network. Quite often the TAP->SMS phone number is listed on the > carrier's web site, as well. As far as I know, only Nextel still accepts TAP delivery to SMS. Everyone else has turned it down over the last year. (cell phone carriers -- most of the alpha-paging providers still support it) -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Wed Dec 3 00:06:01 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Tue, 02 Dec 2003 15:06:01 -0800 Subject: StatusMap Showing "Nagios Process" In-Reply-To: <20031202225908.GB10770@isite.net> References: <004c01c3b70a$dba44e00$830d270a@culpdom.home> <20031202015119.GB26763@isite.net> <676722695.1070370234@cadabra.stanford.edu> <20031202225908.GB10770@isite.net> Message-ID: <4412655.1070377561@cadabra.stanford.edu> --On Tuesday, December 02, 2003 2:59 PM -0800 Joe Rhett wrote: > There are no 'parents' of Nagios, since the tests originate from Nagios. > Nagios doesn't depend on anything to reach itself. Nagios, however, is not the root of the world. Therefore, I think it should have an idea of where its place is in the world it is monitoring. Right now, a normal status map shows something like N | B / | \ a b c whereas reality may be: B / | \ a b c \ N Where N is nagios, a, b & c are routers, and N is on a host that is a child of c, and B is our backbone. This would be a much more useful representation of networks. Nagios automatically assumes that it is the center of the universe, and other than assigning coordinates, there seems no way to break it of this notion. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.pounsett at cira.ca Wed Dec 3 00:11:38 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 2 Dec 2003 18:11:38 -0500 (EST) Subject: StatusMap Showing "Nagios Process" In-Reply-To: <4412655.1070377561@cadabra.stanford.edu> References: <4412655.1070377561@cadabra.stanford.edu> Message-ID: On Tue, 2 Dec 2003, Quanah Gibson-Mount wrote: > > > --On Tuesday, December 02, 2003 2:59 PM -0800 Joe Rhett > wrote: > > > There are no 'parents' of Nagios, since the tests originate from Nagios. > > Nagios doesn't depend on anything to reach itself. > > Nagios, however, is not the root of the world. Therefore, I think it > should have an idea of where its place is in the world it is monitoring. Actually, Nagios is the root of the world. In order for the parent/child relationships to have the desired function (of marking hosts as unreachable if a parent is down) then all of the relationships show how hosts are related to Nagios. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.pounsett at cira.ca Wed Dec 3 00:06:57 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 2 Dec 2003 18:06:57 -0500 (EST) Subject: SMS messaging In-Reply-To: <20031202230158.GC10770@isite.net> References: <20031202230158.GC10770@isite.net> Message-ID: On Tue, 2 Dec 2003, Joe Rhett wrote: > As far as I know, only Nextel still accepts TAP delivery to SMS. Everyone > else has turned it down over the last year. Ah.. up here it still works for most services. I'm currently sending SMS via TAP to Bell Mobility, Rogers/AT&T and Fido (Microcell) phones. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DOlbersen at stbernard.com Wed Dec 3 00:17:08 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Tue, 2 Dec 2003 15:17:08 -0800 Subject: Status Map Showing "Nagios Process" Message-ID: Quanah Gibson-Mount wrote: > Nagios, however, is not the root of the world. Therefore, I think it > should have an idea of where its place is in the world it is monitoring. > > Right now, a normal status map shows something like > > N > | > B > / | \ > a b c > > whereas reality may be: > > B > / | \ > a b c > \ > N It looks like you're trying to turn the status map into a network diagramming tool -- don't do that. The relationships shown in the status map are used to control when notifications are sent out, not to diagram your network topology. In your second diagram, if B goes down then Nagios thinks it can still talk to c. If this is the case then your parents are incorrect. If this is not the case then Nagios is doing what it should: it'll tell you that B is down, and not mention that a, b, and c are down too (because they're children of B). This is the desired and intended behavior. -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Wed Dec 3 00:41:10 2003 From: jrhett at isite.net (Joe Rhett) Date: Tue, 2 Dec 2003 15:41:10 -0800 Subject: StatusMap Showing "Nagios Process" In-Reply-To: <4412655.1070377561@cadabra.stanford.edu> References: <004c01c3b70a$dba44e00$830d270a@culpdom.home> <20031202015119.GB26763@isite.net> <676722695.1070370234@cadabra.stanford.edu> <20031202225908.GB10770@isite.net> <4412655.1070377561@cadabra.stanford.edu> Message-ID: <20031202234110.GA14604@isite.net> > >There are no 'parents' of Nagios, since the tests originate from Nagios. > >Nagios doesn't depend on anything to reach itself. > > Nagios, however, is not the root of the world. Therefore, I think it > should have an idea of where its place is in the world it is monitoring. .. > This would be a much more useful representation of networks. Nagios > automatically assumes that it is the center of the universe, and other than > assigning coordinates, there seems no way to break it of this notion. Nagios _IS_ the center of the universe from it's perspective. REALLY. And why are you complaining about this anyway? Use specified coordinates and make the map look however you want it to look. There are so very many many things wrong with status map, and this really isn't one of them. -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Wed Dec 3 00:42:02 2003 From: jrhett at isite.net (Joe Rhett) Date: Tue, 2 Dec 2003 15:42:02 -0800 Subject: SMS messaging In-Reply-To: References: <20031202230158.GC10770@isite.net> Message-ID: <20031202234202.GB14604@isite.net> Sorry, right let me rephrase "Here in the US ...." On Tue, Dec 02, 2003 at 06:06:57PM -0500, Matt Pounsett wrote: > On Tue, 2 Dec 2003, Joe Rhett wrote: > > > As far as I know, only Nextel still accepts TAP delivery to SMS. Everyone > > else has turned it down over the last year. > > Ah.. up here it still works for most services. I'm currently sending SMS via > TAP to Bell Mobility, Rogers/AT&T and Fido (Microcell) phones. > > > -- > Matt Pounsett CIRA - Canadian Internet Registration Authority > Technical Support Programmer 350 Sparks Street, Suite 1110 > matt.pounsett at cira.ca Ottawa, Ontario, Canada > 613.237.5335 ext. 231 http://www.cira.ca -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30 at yahoo.com Wed Dec 3 01:22:27 2003 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 2 Dec 2003 16:22:27 -0800 (PST) Subject: SMS messaging In-Reply-To: References: Message-ID: <20031203002227.91789.qmail@web21504.mail.yahoo.com> And nextel does snpp as well... Matt Pounsett wrote:On Tue, 2 Dec 2003, Joe Rhett wrote: > As far as I know, only Nextel still accepts TAP delivery to SMS. Everyone > else has turned it down over the last year. Ah.. up here it still works for most services. I'm currently sending SMS via TAP to Bell Mobility, Rogers/AT&T and Fido (Microcell) phones. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now -------------- next part -------------- An HTML attachment was scrubbed... URL: From mserrao at iric.up.pt Wed Dec 3 02:01:53 2003 From: mserrao at iric.up.pt (=?iso-8859-1?Q?M=E1rio_Serr=E3o?=) Date: Wed, 3 Dec 2003 01:01:53 -0000 Subject: check_mailq + nrpe + error Message-ID: <200312030101.hB311mXu015455@dns1.iric.up.pt> Hi all, I've got a problem with the script check_nrpe, when i'm testing on a remote machine the status of the mailq (by check_mailq). All other tests via check_nrpe works and on the target machine (locally) the check_mailq works. Can anybody give me a help? The result of the command: ./check_nrpe -H xxxxxx -c check-mailq is "| mailq =" The result of the command: ./check_mailq -w 20 -c 30 (on the target machine) is CRITICAL: mailq is 32 (threshold c = 30) | mailq = 32 I'm using : nagios-1.0 nagios-plugins-1.3.1 nrpe-1.8 Tx. ----------------------- M?rio Serr?o IRICUP mserrao at iric.up.pt 226073550 ----------------------- ----------------------- M?rio Serr?o IRICUP mserrao at iric.up.pt 226073550 ----------------------- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Dec 3 03:17:45 2003 From: teng at dataway.com (Tedman Eng) Date: Tue, 2 Dec 2003 18:17:45 -0800 Subject: urlize - how to prevent from use in notifications? References: <20031127234432.GA5804@isite.net> <20031129000548.GA2802@isite.net> <20031202014919.GA26763@isite.net> Message-ID: I'm sorry I couldn't help you 'hack' nagios to do what you want. I offered what works for me. No need to flame. Advice is free -- you get what you pay for. -Tedman "Joe Rhett" wrote in message news:20031202014919.GA26763 at isite.net... > > That WAS a serious reply. It is the method I use in my shop. > > No, it wasn't a serious reply. It's a hack that doesn't solve the general > problem, only a single instance. A bandaid isn't a "serious" response to a > sword wound. It may stem the bleeding long enough to get to the hospital, > but you're still going to die. > > The problem isn't how to mangle output for e-mail notification, the > problem is that HTML-ized output is only useful for one output. Hacking > the input at 1 place and then hacking the output at N places where N equals > the total number of output mechanisms is wasteful. > > The generalized problem is that NO output EXCEPT for the web interface > wants urlized output. The database shouldn't be storing URLs that > must be decoded before use. These URLs will also suddenly become invalid > after an interface change, or an IP address change or anything else. > > The HTML-modified output should be done closer to the web interface, not > altering the input mechanism. > > As stated in my original post: (which was quoted but apparently ignored) > > Before I go digging into the code to determine how to split up the web > > and notification output, has someone already solved this problem? > > The apparent solution (without having finished review of the code) is that > the URLize syntax should be stored as another attribute, and performed by > the web interface prior to output. The data is stored in raw form, and > formated appropriated for the web output. (or any other output mechanism > that requests urlized output) > > That is a serious response. A quick fix isn't a serious response. > > On Fri, Nov 28, 2003 at 09:48:17PM -0800, Tedman Eng wrote: > > That WAS a serious reply. It is the method I use in my shop. > > > > The original Nagios munged output you get probably looks something like > > this: > > A HREF=/nagios/cgi-bin/cgi.cgi?host=somehost: CPU:80 /A > > > > Edit your mail notification command to format however you want, without > > tags if your mail reader strips tags. Do this by inserting a few > > sed or cut commands in there to make $OUTPUT$ look like this: > > > > CPU:80 > > > > or this: > > CPU:80 > > > > A simplified notify-by-email example using the "cut" method: > > printf '$SERVICEDESC$ is $SERVICESTATE$ on host $HOSTALIAS$\n\nMore > > info:`echo $OUTPUT$ | cut " " -f 3` | /usr/bin/mail $CONTACTEMAIL$' > > > > HTH, > > Tedman > > > > > > "Joe Rhett" wrote in message > > news:20031129000548.GA2802 at isite.net... > > > They are stripped from $OUTPUT$ by Nagios, not by my commands. > > > > > > Also, no mail readers will create a link from an anchor tag in the middle > > of > > > a plain text message. It just won't work. > > > > > > Serious replies? > > > > > > On Thu, Nov 27, 2003 at 08:28:40PM -0800, Tedman Eng wrote: > > > > Edit the email notification command to put the (< > & and other) bad > > shell > > > > characters back into the original email, so that the readers of the > > email > > > > can click the link from within email also. > > > > > > > > "Joe Rhett" wrote in message > > > > news:20031127234432.GA5804 at isite.net... > > > > > I've got urlize working just fine for the web interface, but this has > > an > > > > > unintended side effect of putting HTML into the e-mail notifications. > > > > > (with < > & and other bad shell characters stripped out naturally) > > > > > > > > > > Before I go digging into the code to determine how to split up the web > > and > > > > > notification output, has someone already solved this problem? > > > > > > > > > > -- > > > > > Joe Rhett Chief > > Geek > > > > > JRhett at Isite.Net Isite Services, > > Inc. > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > > > Does SourceForge.net help you be more productive? Does it > > > > > help you create better code? SHARE THE LOVE, and help us help > > > > > YOU! Click Here: http://sourceforge.net/donate/ > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > reporting any issue. > > > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > > Does SourceForge.net help you be more productive? Does it > > > > help you create better code? SHARE THE LOVE, and help us help > > > > YOU! Click Here: http://sourceforge.net/donate/ > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > -- > > > Joe Rhett Chief Geek > > > JRhett at Isite.Net Isite Services, Inc. > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > Does SourceForge.net help you be more productive? Does it > > > help you create better code? SHARE THE LOVE, and help us help > > > YOU! Click Here: http://sourceforge.net/donate/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -- > Joe Rhett Chief Geek > JRhett at Isite.Net Isite Services, Inc. > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From 4job at mail.ru Wed Dec 3 06:52:44 2003 From: 4job at mail.ru (Alexey Korobkin) Date: Wed, 3 Dec 2003 08:52:44 +0300 Subject: StatusMap Showing "Nagios Process" References: <004c01c3b70a$dba44e00$830d270a@culpdom.home> Message-ID: <003601c3b961$acf37af0$61086d6a@rnd.samsung.ru> Dear David, Sun, 30 Nov 2003 01:26:15 -0500, David Culp -> nagios-users at lists.sourceforge.net: DC> Has anyone seen and solved the issue of a "Nagios Process" icon on the DC> StatusMap. After many hours, assigning "parents" to all the hosts , and DC> having only 1 root host (our backbone layer 3 switch). I still have that DC> "Nagios Process" icon on the map ... Nagios FAQ, http://www.nagios.org/faqs/viewfaq.php?faq_id=81 Title: How do I change the location of the Nagios process icon in the statusmap CGI? FAQ ID: F0081 Submitted By: Ethan Galstad Last Updated: 10/03/2002 Description: User would like to customize the location of the Nagios process icon in the statusmap CGI. Solution: The location of the Nagios process icon is automatically determined and cannot be specified by the user. Its placement depends on what layout method is used in the CGI, as well as the number of hosts you have and the type of host hierarchy you have defined. -- With best regards, Alex. mailto:4job at mail.ru -------------- next part -------------- An HTML attachment was scrubbed... URL: From maca02 at atlas.cz Wed Dec 3 08:26:25 2003 From: maca02 at atlas.cz (=?ISO-8859-2?Q?Tom=E1=B9_Macek?=) Date: Wed, 3 Dec 2003 08:26:25 +0100 (CET) Subject: escalation doesnt work?? Message-ID: Hi, I use nagios with the support of old configuration files syntax at my redhat Linux machine. I need to be informed about the fact, that some node is down, but I don't want to get all the messages, but I want to get the messages 1-5, but not following (6-x). I'm member of a group, that is set at the host: host [hradec]=AP Hradec n. Sv.;10.78.1.3;sy;check-host-alive;5;7;24x7;1;1;1; hostgroup[hra]=hransvi;macek;hradec contactgroup[macek]=Macek;macek-email contact[macek-email]=Tomas Macek;24x7;24x7;0;0;0;0;1;0;notify-by-email;notify-by-email;mymail at domain.com;mymail at domain.com All things work perfectly, but I need to get the messages from the first to five, not 6., 7., 8. and so on. I thought, that this job will do this line... hostgroupescalation[hra]=3-5;macek ... but it doesn't do the job. Is it possible to make things work this way or not? How can I do it? Tomas Macek ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rbilbrey at cymark.com Wed Dec 3 07:57:41 2003 From: rbilbrey at cymark.com (Robert Bilbrey) Date: Wed, 03 Dec 2003 00:57:41 -0600 Subject: nrpe sudo issues on a remote box Message-ID: <20031203065741.29196.qmail@mail.cyberdown.com> I modified the example http-restart script to use sudo to restart coldfusion and apache after they have been down hard twice. The event triggers on the nagios box and the nrpe daemon executes the script. It kills apache and coldfusion, but fails to restart apache (w/o a corrosponding error), coldfusion restarts. The really flaky thing is that if I su to nrpe and run the script, it runs as it should, both services stop and restart. The only differnece in the secure log between both methods of invocation is that when the daemon does it, there is no tty entry. relevant sudoer config: Cmnd_Alias R = /etc/init.d/httpd start,/etc/init.d/httpd stop,/etc/init.d/httpd restart,/usr/sbin/httpd,/etc/init.d/coldfusion stop,/etc/init.d/coldfusion start,/usr/lib/nagios/eventhandlers/http-restart nrpe ALL= NOPASSWD: R secure log entries: (DAEMON Initiated) Dec 2 21:08:28 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/etc/init.d/httpd stop Dec 2 21:08:28 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/etc/init.d/coldfusion stop Dec 2 21:08:29 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/etc/init.d/coldfusion start Dec 2 21:08:29 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/etc/init.d/httpd start Dec 3 00:32:38 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/etc/init.d/httpd stop Dec 3 00:32:40 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/etc/init.d/coldfusion stop Dec 3 00:32:46 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/etc/init.d/coldfusion start Dec 3 00:32:46 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/etc/init.d/httpd start Dec 3 00:33:29 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/etc/init.d/httpd stop Dec 3 00:33:29 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/etc/init.d/coldfusion stop Dec 3 00:33:30 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/etc/init.d/coldfusion start Dec 3 00:33:30 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/etc/init.d/httpd start secure log entries: (Initiated from console as nrpe) Dec 3 01:52:51 cb01 sudo: nrpe : TTY=pts/1 ; PWD=/var/log ; USER=root ; COMMAND=/etc/init.d/httpd stop Dec 3 01:52:53 cb01 sudo: nrpe : TTY=pts/1 ; PWD=/var/log ; USER=root ; COMMAND=/etc/init.d/coldfusion stop Dec 3 01:52:54 cb01 sudo: nrpe : TTY=pts/1 ; PWD=/var/log ; USER=root ; COMMAND=/etc/init.d/coldfusion start Dec 3 01:52:54 cb01 sudo: nrpe : TTY=pts/1 ; PWD=/var/log ; USER=root ; COMMAND=/etc/init.d/httpd start So can anyone enlighten me to what I have missed ? Thanks, Bob ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.murphy at gmx.net Wed Dec 3 09:14:09 2003 From: brian.murphy at gmx.net (Brian Murphy) Date: Wed, 3 Dec 2003 09:14:09 +0100 (MET) Subject: SMS messaging Message-ID: <29215.1070439249@www62.gmx.net> Hi All I have one site where I have a laptop with a serially connected Nokia 6210 attached. Using gnokii to talk to the SMS network through the pre-pay cell phone. If the power goes off at least I will get a stream of messages saying everything has gone, not worried about someone digging up phone cables either. One of the local providers did, and maybe does still provide an email gateway to SMS, but too often there were major delays in the message getting through. Using the phone to send the messages has worked fine so far. -- +++ GMX - die erste Adresse f?r Mail, Message, More +++ Neu: Preissenkung f?r MMS und FreeMMS! http://www.gmx.net ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klmuthu at eudoramail.com Wed Dec 3 10:02:24 2003 From: klmuthu at eudoramail.com (k.l. muthu kumar) Date: Wed, 03 Dec 2003 14:32:24 +0530 Subject: error while compling nagios Message-ID: hi all, When iam say make all iam getting the following error. can anyone pls helpme out to solve this problem. I get the same sort of error when i try to compile without database support. ../xdata/xrddb.c:252: undefined reference to `mysql_real_connect' /tmp/ccty0tWe.o(.text+0x40d):../xdata/xrddb.c:254: undefined reference to `mysql_close' Thanks, Muthu Need a new email address that people can remember Check out the new EudoraMail at http://www.eudoramail.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Quinney at hollandandholland.com Wed Dec 3 10:22:24 2003 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Wed, 3 Dec 2003 09:22:24 +0000 Subject: Nagios hosts showing as down In-Reply-To: References: Message-ID: Dear All, I have a strange problem with Nagios V1.1 using the plugins from v1.3.1. I have a remote router which ordinarily is checked by 'check_http' every x minutes. In some cases the check fails (ADSL) so Nagios will then run the host check command 'check_tcp'. However in some cases this fails and just leaves the error message 'check_tcp: unknown argument (null). The majority of the time though this check runs just fine. My questions is therefore, what am I doing wrong ? I have been running Nagios for some time (great stuff Ethan) and this has only cropped up in the last few months. If anybody has seen this, or can help I would appreciate it greatly. Many thanks Matthew -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tom.Corcoran at meridianp2p.com Wed Dec 3 11:53:25 2003 From: Tom.Corcoran at meridianp2p.com (Tom.Corcoran at meridianp2p.com) Date: Wed, 3 Dec 2003 10:53:25 +0000 Subject: Newbie : Nagios Alerts and email mta! Message-ID: Hi As a newbie I have managed to setup Nagios on RH8 OK, howevere I am not familiar with sendmail or any other linux based email mta, we have a windows email server on another host. Can someone direct me to the simplest solution to forwarding email alerts to my mail server ? Regards Tom Corcoran ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andre at peixoto.com.br Wed Dec 3 12:22:20 2003 From: andre at peixoto.com.br (andre at peixoto.com.br) Date: Wed, 3 Dec 2003 09:22:20 -0200 Subject: Newbie : Nagios Alerts and email mta! In-Reply-To: References: Message-ID: Hello Tom, I'm not too good on sendmail either, but what i needed to do here was to create a sendmail.cf or sendmail.cw file (i don't remember exactly the correct extension. This was the only thing written in the file (the hostname of my email server): paladino.com this cw or cf file is the way to forward mails using sendmail (i guess). Please, someone correct me if i'm wrong! Oh, we needed to configure the paladino.com machine to relay messages from the hostname of my nagios machine.. Andr? Tom.Corcoran at meridianp2p.com Sent by: nagios-users-admin at lists.sourceforge.net 03/12/03 08:53 To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Newbie : Nagios Alerts and email mta! Hi As a newbie I have managed to setup Nagios on RH8 OK, howevere I am not familiar with sendmail or any other linux based email mta, we have a windows email server on another host. Can someone direct me to the simplest solution to forwarding email alerts to my mail server ? Regards Tom Corcoran ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From maca02 at atlas.cz Wed Dec 3 13:37:26 2003 From: maca02 at atlas.cz (=?ISO-8859-2?Q?Tom=E1=B9_Macek?=) Date: Wed, 3 Dec 2003 13:37:26 +0100 (CET) Subject: a newbie queston - escalations Message-ID: Hi all, I found this text in netsaint documentation (see text below) and I don't undertand something: Imagine, that the 3. line would look like this: >>serviceescalation[dev;HTTP]=6-0;managers,everyone;60 Would the nt-admins get the messages number 6-0 ? I just ask, because this group is the default for the service... Thank you very much for help Tom ------------- service[dev]=HTTP;0;24x7;3;5;1;nt-admins;240;24x7;1;1;1;;check_http serviceescalation[dev;HTTP]=3-5;nt-admins,managers;90 serviceescalation[dev;HTTP]=6-0;nt-admins,managers,everyone;60 The default contact group for the service 'HTTP' on host 'dev' is the group named nt-admins. The first (or "lowest") escalation level includes both the nt-admins and managers contact groups. The last (or "highest") escalation level includes the nt-admins, managers, and everyone contact groups. Notice that the nt-admins contact group is included in both escalation definitions. This is done so that they continue to get paged if there are still problems after the first two service notifications are sent out. The managers contact group first appears in the "lower" escalation definition - they are first notified when the third problem notification gets sent out. We want the managers group to continue to be notified if the problem continues past five notifications, so they are also included in the "higher" escalation definition. --------------------- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam_ml at spacething.org Wed Dec 3 12:47:22 2003 From: sam_ml at spacething.org (Sam Stickland) Date: Wed, 3 Dec 2003 11:47:22 -0000 Subject: SMS messaging References: <29215.1070439249@www62.gmx.net> Message-ID: <032d01c3b993$370c9b50$fb00a8c0@office.toastedmedia.net> Be sure to leave the phone off charge for at least a few hours a day, using one of those timer plugs. Otherwise the phone will start switching itself off on a fairy regulary basis after it's been on constant charge for about five months. Sam ----- Original Message ----- From: "Brian Murphy" To: Sent: Wednesday, December 03, 2003 8:14 AM Subject: Re: [Nagios-users] SMS messaging > Hi All > > I have one site where I have a laptop with a serially connected Nokia 6210 > attached. > > Using gnokii to talk to the SMS network through the pre-pay cell phone. If > the power goes off at least I will get a stream of messages saying everything > has gone, not worried about someone digging up phone cables either. > > One of the local providers did, and maybe does still provide an email > gateway to SMS, but too often there were major delays in the message getting > through. Using the phone to send the messages has worked fine so far. > > > -- > +++ GMX - die erste Adresse f?r Mail, Message, More +++ > Neu: Preissenkung f?r MMS und FreeMMS! http://www.gmx.net > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pwh at poggs.co.uk Wed Dec 3 12:52:42 2003 From: pwh at poggs.co.uk (Peter Hicks) Date: Wed, 3 Dec 2003 11:52:42 +0000 (GMT) Subject: SMS messaging In-Reply-To: <032d01c3b993$370c9b50$fb00a8c0@office.toastedmedia.net> References: <032d01c3b993$370c9b50$fb00a8c0@office.toastedmedia.net> Message-ID: On Wed, 3 Dec 2003, Sam Stickland wrote: > Be sure to leave the phone off charge for at least a few hours a day, using > one of those timer plugs. Otherwise the phone will start switching itself > off on a fairy regulary basis after it's been on constant charge for about > five months. The really geeky solution would be to write a Nagios plugin to monitor the battery level on the phone, switching on a charger when the battery gets beneath a certain threshold :-) Peter. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jesusolivan at pickingpack.net Wed Dec 3 12:53:59 2003 From: jesusolivan at pickingpack.net (=?iso-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Wed, 3 Dec 2003 12:53:59 +0100 Subject: Graph reports too wide Message-ID: hi! i've got a service linked to a graphic. Service is executing right at interval i've set (120 secs.) as i've seen at /var/log/messages. RRD is update at heartbeat i've set too (180 secs.). But line of my service at graphic is only drawed every hour, i've tried everything but it didn't worked, help will be greatly appreciated =) command from which rrd was created: rrdtool create deuimata-ping.rrd --step 180 -s 60 DS:ping:GAUGE:180:O:U RRA:AVERAGE:0.5:60:43800 Service at services.cfg: # Service definition define service{ # Name of service template to use use generic-service host_name Deuimata_BCN service_description ping is_volatile 0 check_period 24x7 name ping max_check_attempts 3 normal_check_interval 120 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 24x7 notification_options c,r check_command apan!ping!100.0,20%!500.0,60% } line for service at apan.cfg: Deuimata_BCN;ping;/usr/local/nagios/rrd/deuimata-ping.rrd;ping;ping:LINE2;pi ng round time;Seconds Thanks in advance! ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Wed Dec 3 12:56:39 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Wed, 03 Dec 2003 11:56:39 +0000 Subject: error while compling nagios In-Reply-To: References: Message-ID: <3FCDCF77.8050404@exponential-e.com> k.l. muthu kumar wrote: >No, i did only ./configure as follows.. > >./configure --prefix=/usr/local/nagios \ > --with-cgiurl=/share/nagios-1.1/cgi \ > --with-htmurl=/share/nagios-1.1/html/ \ > --with-nagios-usr=nagios \ > --with-nagios-grp=nagios \ > --with-mysql-inc=/usr/include/mysql \ > --with-mysql-lib=/usr/lib/mysql \ > --with-mysql-xdata > > > Try make clean or make dist clean and then removing the --with-mysql configure options before running configure; make ; make test again ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Wed Dec 3 13:07:42 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Wed, 03 Dec 2003 12:07:42 +0000 Subject: Newbie : Nagios Alerts and email mta! In-Reply-To: References: Message-ID: <3FCDD20E.1040205@exponential-e.com> Tom.Corcoran at meridianp2p.com wrote: >Hi > >As a newbie I have managed to setup Nagios on RH8 OK, howevere I am not >familiar with sendmail or any other linux based email mta, we have a >windows email server on another host. Can someone direct me to the simplest >solution to forwarding email alerts to my mail server ? > > > > This would work for me on Solaris so YMMV on RH8. If you have a sendmail.cf try editing it and finding the DS setting. Put the hostname you want to forward email to after this: # "Smart" relay host (may be null) DSmail.example.com This will send all your email to the smarthost. Obviously the windows server needs to talk smtp. If this doesn't seem OK for you on redhat try google for something like "redhat sendmail smarthost" to configure sendmail to forward all email to a specific server. Jim ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From c.eduardo at estacio.br Wed Dec 3 13:16:35 2003 From: c.eduardo at estacio.br (Eddy) Date: Wed, 3 Dec 2003 10:16:35 -0200 Subject: check https References: Message-ID: <05b001c3b997$4b819690$31150a0a@estacio.domain> Any can help-me about check https ?? Nagios check it?? Tks!!! Cordialmente, Carlos Eduardo Dionizio Analista de Suporte - UNIX Universidade Est?cio de S? Diretoria de Tecnologia da Informa??o ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschelin at hq.nasa.gov Wed Dec 3 14:09:35 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 03 Dec 2003 08:09:35 -0500 Subject: check https In-Reply-To: <05b001c3b997$4b819690$31150a0a@estacio.domain> References: <05b001c3b997$4b819690$31150a0a@estacio.domain> Message-ID: <1070456974.28560.67.camel@unixgod.hq.nasa.gov> What sort of help do you need? I couldn't find one in the scripts so I whipped up a quick-and-dirty perl one for my checks. Carl On Wed, 2003-12-03 at 07:16, Eddy wrote: > Any can help-me about check https ?? > Nagios check it?? > Tks!!! > > Cordialmente, > > Carlos Eduardo Dionizio > Analista de Suporte - UNIX > Universidade Est?cio de S? > Diretoria de Tecnologia da Informa??o > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHeylin at WeberShandwick.com Wed Dec 3 14:17:15 2003 From: AHeylin at WeberShandwick.com (Heylin, Alex) Date: Wed, 3 Dec 2003 13:17:15 -0000 Subject: Nagios hosts showing as down Message-ID: You might find that the "port" entry for the check_tcp check is missing, that has caused this here. As you're using check_http it should be port 80, being the HTTP port. Hope that helps point you in the right direction. Alex -----Original Message----- From: Matthew.Quinney at hollandandholland.com [mailto:Matthew.Quinney at hollandandholland.com] Sent: 03 December 2003 09:22 To: nagios-users at lists.sourceforge.net; nagios-plugs at lists.sourceforge.net Subject: [Nagios-users] Nagios hosts showing as down Dear All, I have a strange problem with Nagios V1.1 using the plugins from v1.3.1. I have a remote router which ordinarily is checked by 'check_http' every x minutes. In some cases the check fails (ADSL) so Nagios will then run the host check command 'check_tcp'. However in some cases this fails and just leaves the error message 'check_tcp: unknown argument (null). The majority of the time though this check runs just fine. My questions is therefore, what am I doing wrong ? I have been running Nagios for some time (great stuff Ethan) and this has only cropped up in the last few months. If anybody has seen this, or can help I would appreciate it greatly. Many thanks Matthew -------------- next part -------------- An HTML attachment was scrubbed... URL: From Daniel.Mesimer at med.va.gov Wed Dec 3 15:10:18 2003 From: Daniel.Mesimer at med.va.gov (Mesimer, Daniel J.) Date: Wed, 3 Dec 2003 06:10:18 -0800 Subject: Extended Information Message-ID: <707BC118BC44D3118E3B0000F81F1E7603F22C5B@VHAKANEXC1> Yes I am using the base logo pack plus some others I downloaded I also have all of the permissions set right, ownership also. I checked my cfg files and the logos themselves. Is there a switch I missed when compiling? Dan Mesimer Kansas City VAMC - IRM -----Original Message----- From: David Gitman [mailto:DGitman at feedroom.com] Sent: Friday, November 28, 2003 5:42 PM To: Alexey Korobkin; Nagios Users Mailing List (E-mail) Subject: RE: [Nagios-users] Extended Information I'm having the same problem. Are you using the base logo pack? [-d] -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Alexey Korobkin Sent: Wednesday, November 26, 2003 6:15 PM To: Nagios Users Mailing List (E-mail) Subject: [Nagios-users] Extended Information Hello, Mesimer,. Wed, 26 Nov 2003 14:33:02 -0800, Mesimer, Daniel J. -> Nagios Users Mailing List (E-mail): MDJ> So I added the following to cgi.cfg MDJ> xedtemplate_config_file= MDJ> I then created the necessary config files for a few of my hosts. But MDJ> nothing that I changed shows up in the statusmap MDJ> NAgios Version: 1.1 MDJ> Yes I have restarted nagios MDJ> Yes I have checked the config files with: nagios -v
Set permissions? -- With best regards, Alexey Korobkin. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andre.bergei at ementor.no Wed Dec 3 15:54:15 2003 From: andre.bergei at ementor.no (Andre Bergei) Date: Wed, 3 Dec 2003 15:54:15 +0100 Subject: Performance data in 1.4 alpha? Message-ID: <3C8515D9676BF9479F7EF3545B63AA22537A5E@100NOOSLMSG001.common.alpharoot.net> Hi group. I'm trying to find out if the nagios plugins support performance data, and from a post at the devel list it says that the 1.4 branch will have support; http://sourceforge.net/mailarchive/message.php?msg_id=5440700 I've just compiled the nagios-plugins-1.4.0alpha1.tar.gz and tried out the check_ping and check_snmp plugins, but the $PERFDATA$ macro is still empty. I have the "process_performance_data" option enabled in my services template. Can anyone confirm if the alpha release (non cvs version) plugins got support for performance? /andr? -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexm at dctd.saic.com Wed Dec 3 16:12:19 2003 From: alexm at dctd.saic.com (Alex Moundalexis) Date: Wed, 03 Dec 2003 10:12:19 -0500 Subject: Excluding hosts from hostgroups? Message-ID: <3FCDFD53.2070203@dctd.saic.com> Is there any undocumented (or perhaps documented that I missed) feature that allows the exclusion of several hosts from a hostgroup? Somethine like this? hostgroup_name linux,sun exclude_hosts nossh-1,nossh-2,etc Suppose I run a service check on SSH, for my linux and sun hostgroups, since 99% of them run SSH. 3 servers don't run SSH, and so I get constant failures. The obvious solution would be to redefine those three hosts into their own group, but I was wondering if something like this existed, or whether it would be considered in the future. Alex ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tech-mail at prupref.com Wed Dec 3 16:14:11 2003 From: tech-mail at prupref.com (McKeever Chris) Date: Wed, 3 Dec 2003 09:14:11 -0600 Subject: StatusMap Showing Message-ID: <200312031514.hB3FEA002488@smtp1.prupref.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From matt.pounsett at cira.ca Wed Dec 3 16:20:35 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 3 Dec 2003 10:20:35 -0500 (EST) Subject: check https In-Reply-To: <1070456974.28560.67.camel@unixgod.hq.nasa.gov> References: <1070456974.28560.67.camel@unixgod.hq.nasa.gov> Message-ID: On 3 Dec 2003, Carl Schelin wrote: > What sort of help do you need? > > I couldn't find one in the scripts so I whipped up a quick-and-dirty > perl one for my checks. The check_http plugin included with the standard Nagios plugins does https. -S, --ssl Connect via SSL -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tech-mail at prupref.com Wed Dec 3 16:21:23 2003 From: tech-mail at prupref.com (McKeever Chris) Date: Wed, 3 Dec 2003 09:21:23 -0600 Subject: Excluding hosts from hostgroups? In-Reply-To: <3FCDFD53.2070203@dctd.saic.com> References: <3FCDFD53.2070203@dctd.saic.com> Message-ID: <200312031521.hB3FLN002552@smtp1.prupref.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From alexm at dctd.saic.com Wed Dec 3 16:31:43 2003 From: alexm at dctd.saic.com (Alex Moundalexis) Date: Wed, 03 Dec 2003 10:31:43 -0500 Subject: Excluding hosts from hostgroups? In-Reply-To: <200312031521.hB3FLN002552@smtp1.prupref.com> References: <200312031521.hB3FLN002552@smtp1.prupref.com> Message-ID: <3FCE01DF.3070106@dctd.saic.com> I could set up host checks, except that it isn't as practical with the quantity of nodes. As well, there are other service checks that must be run on the entire host group. These rogue (and blatantly irritating) machines would be a handful of nodes among dozens that would be omitted from a particular check. I see it as additional granularity. I'll make it work, regardless. Was just curious if the idea had been proposed before. - A McKeever Chris wrote: >On Wed, 03 Dec 2003 10:12 , Alex Moundalexis sent: > > > >>Is there any undocumented (or perhaps documented that I missed) feature >>that allows the exclusion of several hosts from a hostgroup? Somethine >>like this? >> >>hostgroup_name linux,sun >>exclude_hosts nossh-1,nossh-2,etc >> >>Suppose I run a service check on SSH, for my linux and sun hostgroups, >>since 99% of them run SSH. 3 servers don't run SSH, and so I get >>constant failures. The obvious solution would be to redefine those three >>hosts into their own group, but I was wondering if something like this >>existed, or whether it would be considered in the future. >> >> >> > >I am a bit confused..isnt hard though >could you not set up host service checks rather than group checks? >or like you said, just exclude those machines from the group >adding a machine to a group that you then want to exclude it from is a bit confusing. > > >------------------------------------------- >Chris McKeever >If you want to reply directly to me, please use cgmckeever--at--prupref---dot---com >http://www.prupref.com > >---- Prudential Preferred Properties www.prupref.com > > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschelin at hq.nasa.gov Wed Dec 3 16:29:54 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 03 Dec 2003 10:29:54 -0500 Subject: check https In-Reply-To: References: Message-ID: <1070465394.28561.81.camel@unixgod.hq.nasa.gov> On Wed, 2003-12-03 at 10:20, Matt Pounsett wrote: > On 3 Dec 2003, Carl Schelin wrote: > > > What sort of help do you need? > > > > I couldn't find one in the scripts so I whipped up a quick-and-dirty > > perl one for my checks. > > The check_http plugin included with the standard Nagios plugins does https. > > -S, --ssl > Connect via SSL > Must be a library problem. That option isn't available # ./check_http -H host -S check_http: invalid option - SSL is not available Even though it says in the --help text, there's no option specified for SSL and I don't recall an error when I ran configure. Prior to Nagios I was using a script I created to check services and https was one of the items. I removed the excess checks and have been using that to check SSL with no problem. I'll check out configure and see why it couldn't find the ssl libraries. Thanks. Carl ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschelin at hq.nasa.gov Wed Dec 3 17:03:18 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 03 Dec 2003 11:03:18 -0500 Subject: check https In-Reply-To: References: Message-ID: <1070467398.28562.96.camel@unixgod.hq.nasa.gov> On Wed, 2003-12-03 at 10:20, Matt Pounsett wrote: > On 3 Dec 2003, Carl Schelin wrote: > > > What sort of help do you need? > > > > I couldn't find one in the scripts so I whipped up a quick-and-dirty > > perl one for my checks. > > The check_http plugin included with the standard Nagios plugins does https. > > -S, --ssl > Connect via SSL > I recompiled with the --with-openssl switch and it's working now. Now I wonder what else I'm missing :-) Thanks. Carl ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 3 17:12:43 2003 From: marc at ena.com (Marc Powell) Date: Wed, 3 Dec 2003 10:12:43 -0600 Subject: Newbie : Nagios Alerts and email mta! Message-ID: <370ACCFA5BB3B346A31222E5559BF91F039FEF@mismail2.ena.com> This might help -- http://www.nagios.org/faqs/viewfaq.php?faq_id=150 -- Marc > -----Original Message----- > From: Tom.Corcoran at meridianp2p.com [mailto:Tom.Corcoran at meridianp2p.com] > Sent: Wednesday, December 03, 2003 4:53 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Newbie : Nagios Alerts and email mta! > > Hi > > As a newbie I have managed to setup Nagios on RH8 OK, howevere I am not > familiar with sendmail or any other linux based email mta, we have a > windows email server on another host. Can someone direct me to the > simplest > solution to forwarding email alerts to my mail server ? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From root at bmwgroup.com Wed Dec 3 17:24:51 2003 From: root at bmwgroup.com (root) Date: Wed, 3 Dec 2003 17:24:51 +0100 Subject: process duration Message-ID: <200312031624.hB3GOpuS027205@prostep11.muc> Attention: no reply address,it was generated automaticly hi everybody could somebody knows how to monitor duration time of a process? i have to tell nagios if a process is running for over 24 hours any idea pls feedback on 2dor at gmx.net best regards nt ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cumm at pen.eiu.edu Wed Dec 3 18:22:15 2003 From: cumm at pen.eiu.edu (Miljan Markus) Date: Wed, 3 Dec 2003 11:22:15 -0600 Subject: (no subject) Message-ID: <3D6A5436-25B5-11D8-B680-000502C946BD@pen.eiu.edu> I am having trouble receiving notification when a service check fails for some host. I have done the following: -enabled notifications in nagios.cfg -enabled notifications for the hosts and the services in hosts.cfg and services.cfg -there is no scheduled downtime -flapping is disabled -notification period is 24x7, in hosts.cfg, services.cfg and contacts.cfg -notification interval is set to 2 hours for hosts and services -in contacts.cfg, I specified the e-mail address where notifications should be sent -all options for notification are enabled, both for services and hosts, so wucr and dur -I am a member of every contact group I think that I checked all the filters that need to be passed in order for notifications to be sent out, but I could be wrong. Did I miss anything? Please help. Thanks, Miljan ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Wed Dec 3 18:24:59 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 03 Dec 2003 11:24:59 -0600 Subject: (no subject) In-Reply-To: <3D6A5436-25B5-11D8-B680-000502C946BD@pen.eiu.edu> References: <3D6A5436-25B5-11D8-B680-000502C946BD@pen.eiu.edu> Message-ID: <1070472299.22855.45.camel@localhost> It has to fail 3 times (by default) before you get notified. are you taking that into account? On Wed, 2003-12-03 at 11:22, Miljan Markus wrote: > I am having trouble receiving notification when a service check fails > for some host. I have done the following: > -enabled notifications in nagios.cfg > -enabled notifications for the hosts and the services in hosts.cfg and > services.cfg > -there is no scheduled downtime > -flapping is disabled > -notification period is 24x7, in hosts.cfg, services.cfg and > contacts.cfg > -notification interval is set to 2 hours for hosts and services > -in contacts.cfg, I specified the e-mail address where notifications > should be sent > -all options for notification are enabled, both for services and hosts, > so wucr and dur > -I am a member of every contact group > > I think that I checked all the filters that need to be passed in order > for notifications to be sent out, but I could be wrong. Did I miss > anything? Please help. Thanks, > > Miljan > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cumm at pen.eiu.edu Wed Dec 3 18:29:07 2003 From: cumm at pen.eiu.edu (Miljan Markus) Date: Wed, 3 Dec 2003 11:29:07 -0600 Subject: (no subject) In-Reply-To: <1070472299.22855.45.camel@localhost> References: <1070472299.22855.45.camel@localhost> Message-ID: <330161ED-25B6-11D8-B680-000502C946BD@pen.eiu.edu> I did, because if I go to the host where a check has failed it says that a notification has been sent. Could it be something with the macros? On Wednesday, December 3, 2003, at 11:24 AM, jeff vier wrote: > It has to fail 3 times (by default) before you get notified. > are you taking that into account? > > On Wed, 2003-12-03 at 11:22, Miljan Markus wrote: >> I am having trouble receiving notification when a service check fails >> for some host. I have done the following: >> -enabled notifications in nagios.cfg >> -enabled notifications for the hosts and the services in hosts.cfg and >> services.cfg >> -there is no scheduled downtime >> -flapping is disabled >> -notification period is 24x7, in hosts.cfg, services.cfg and >> contacts.cfg >> -notification interval is set to 2 hours for hosts and services >> -in contacts.cfg, I specified the e-mail address where notifications >> should be sent >> -all options for notification are enabled, both for services and >> hosts, >> so wucr and dur >> -I am a member of every contact group >> >> I think that I checked all the filters that need to be passed in order >> for notifications to be sent out, but I could be wrong. Did I miss >> anything? Please help. Thanks, >> >> Miljan >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: SF.net Giveback Program. >> Does SourceForge.net help you be more productive? Does it >> help you create better code? SHARE THE LOVE, and help us help >> YOU! Click Here: http://sourceforge.net/donate/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Wed Dec 3 18:28:02 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 03 Dec 2003 09:28:02 -0800 Subject: check https In-Reply-To: <1070456974.28560.67.camel@unixgod.hq.nasa.gov> References: <05b001c3b997$4b819690$31150a0a@estacio.domain> <1070456974.28560.67.camel@unixgod.hq.nasa.gov> Message-ID: <70531879.1070443682@cadabra.stanford.edu> --On Wednesday, December 03, 2003 8:09 AM -0500 Carl Schelin wrote: > What sort of help do you need? > > I couldn't find one in the scripts so I whipped up a quick-and-dirty > perl one for my checks. Just create a command check_https that uses check_http -S $HOSTADDRESS$ --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Wed Dec 3 18:31:12 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 03 Dec 2003 09:31:12 -0800 Subject: StatusMap Showing "Nagios Process" In-Reply-To: <20031202234110.GA14604@isite.net> References: <004c01c3b70a$dba44e00$830d270a@culpdom.home> <20031202015119.GB26763@isite.net> <676722695.1070370234@cadabra.stanford.edu> <20031202225908.GB10770@isite.net> <4412655.1070377561@cadabra.stanford.edu> <20031202234110.GA14604@isite.net> Message-ID: <70721802.1070443872@cadabra.stanford.edu> --On Tuesday, December 02, 2003 3:41 PM -0800 Joe Rhett wrote: > > > Nagios _IS_ the center of the universe from it's perspective. REALLY. > > And why are you complaining about this anyway? Use specified coordinates > and make the map look however you want it to look. > > There are so very many many things wrong with status map, and this really > isn't one of them. Okay, point taken. I have issues with doing coordinates that have to do with having very widely disbursed systems that I don't want to deal with right now. On a separate note, when running a client/master nagios setup, how do I let nagios know the paths between the parents of the two systems? i.e.: N1 - a - B - b - N2 If a & b are routers, and I have hosts on them, then obviously the parent paths to N1 and N2 are different, so all of the host dependencies by parents depend on which nagios is the master. Do coordinates then become required for nagios to map the dependencies correctly? --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From StrahlR at brandonrha.mb.ca Wed Dec 3 18:49:36 2003 From: StrahlR at brandonrha.mb.ca (Strahl, Rudi) Date: Wed, 3 Dec 2003 11:49:36 -0600 Subject: Statusmap headers Message-ID: <2600AAE14FB2CB449B1DA853FFF558764CC11B@brha-exch-2k.brandonrha.mb.ca> Whenever I'm using the circular format for the statusmap and select a host, I get a server error that delivers the message: Premature end of script headers: statusmap.cgi Every other mode works, which seems a bit strange as its the same statusmap.cgi script. Has anyone else encountered this? Thanks, Rudi "CONFIDENTIALITY NOTICE: This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient you are hereby notified that any distribution, copying, disclosure and use of, or reliance on the contents of this transmission is strictly prohibited. If you have received this transmission in error, please notify us immediately by return e-mail and destroy the transmission by deleting the original message, attachments and all copies." ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From romain.degez at smartjog.com Wed Dec 3 19:14:13 2003 From: romain.degez at smartjog.com (Romain DEGEZ) Date: Wed, 03 Dec 2003 19:14:13 +0100 Subject: Excluding hosts from hostgroups? In-Reply-To: <3FCE01DF.3070106@dctd.saic.com> References: <200312031521.hB3FLN002552@smtp1.prupref.com> <3FCE01DF.3070106@dctd.saic.com> Message-ID: <3FCE27F5.3080709@smartjog.com> Alex Moundalexis wrote: > I could set up host checks, except that it isn't as practical with the > quantity of nodes. As well, there are other service checks that must be > run on the entire host group. These rogue (and blatantly irritating) > machines would be a handful of nodes among dozens that would be omitted > from a particular check. > > I see it as additional granularity. I agree with you. Hostgroup check is a great feature to simplify configuration files but if in this group you don't wan't to run the test on *ONE* machine, you are forced to use host check, -- Romain DEGEZ - romain.degez at smartjog.com Administrateur systemes & reseaux tel : +33.1.49.96.63.19 fax : +33.1.49.96.64.05 Smartjog - www.smartjog.com 82 Rue Beaubourg - 75003 PARIS ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cumm at pen.eiu.edu Wed Dec 3 20:06:03 2003 From: cumm at pen.eiu.edu (Miljan Markus) Date: Wed, 3 Dec 2003 13:06:03 -0600 Subject: check drive space and cpu load on linux machines Message-ID: How can I check drive space and cpu load on linux machines? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cscha at gbpinc.com Wed Dec 3 20:15:19 2003 From: cscha at gbpinc.com (Cory Schafer) Date: Wed, 03 Dec 2003 13:15:19 -0600 Subject: Nwstat Message-ID: I 'm haveing some difficulty getting check_nwstat to work. I have Nagios version running 1.1. I have other checks and are work correctly. When check tries to work it says "Socket timeout after 10 seconds" I have tried every changing of settings I can think of. I can also run ./check_nwstat -H host -v VPFSYS and it works great. I'm using FreeBSD 4.9 Let me know if anyone needs more info. Any help is very much appreciated. Cory -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Dec 3 20:17:22 2003 From: marc at ena.com (Marc Powell) Date: Wed, 3 Dec 2003 13:17:22 -0600 Subject: check drive space and cpu load on linux machines Message-ID: <370ACCFA5BB3B346A31222E5559BF91F039FF1@mismail2.ena.com> > -----Original Message----- > From: Miljan Markus [mailto:cumm at pen.eiu.edu] > Sent: Wednesday, December 03, 2003 1:06 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check drive space and cpu load on linux machines > > How can I check drive space and cpu load on linux machines? There are several ways to do it but using check_nrpe from http://www.nagios.org/download/extras.php is probably the most straightforward. That will allow you to run check_disk and check_load on the remote machines. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lonny at bangtherockstogether.net Wed Dec 3 20:17:40 2003 From: lonny at bangtherockstogether.net (Lonny Selinger) Date: Wed, 3 Dec 2003 13:17:40 -0600 (CST) Subject: check drive space and cpu load on linux machines In-Reply-To: References: Message-ID: <44274.204.83.191.2.1070479060.squirrel@webmail.bangtherockstogether.net> > How can I check drive space and cpu load on linux machines? There are plugins in the plugin package that will do this for you. -- Lonny ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Quinney at hollandandholland.com Wed Dec 3 20:46:28 2003 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Wed, 3 Dec 2003 19:46:28 +0000 Subject: Nagios hosts showing as down In-Reply-To: References: Message-ID: Dear Alex, Thanks for your help. The command works some times though and not others, so I don't think it is the port entry (by which I take it to mean the port number you pass to check_tcp to check). Matthew "Heylin, Alex" 03/12/2003 13:17 To "'Matthew.Quinney at hollandandholland.com'" , nagios-users at lists.sourceforge.net, nagios-plugs at lists.sourceforge.net cc Subject RE: [Nagios-users] Nagios hosts showing as down You might find that the "port" entry for the check_tcp check is missing, that has caused this here. As you're using check_http it should be port 80, being the HTTP port. Hope that helps point you in the right direction. Alex -----Original Message----- From: Matthew.Quinney at hollandandholland.com [mailto:Matthew.Quinney at hollandandholland.com] Sent: 03 December 2003 09:22 To: nagios-users at lists.sourceforge.net; nagios-plugs at lists.sourceforge.net Subject: [Nagios-users] Nagios hosts showing as down Dear All, I have a strange problem with Nagios V1.1 using the plugins from v1.3.1. I have a remote router which ordinarily is checked by 'check_http' every x minutes. In some cases the check fails (ADSL) so Nagios will then run the host check command 'check_tcp'. However in some cases this fails and just leaves the error message 'check_tcp: unknown argument (null). The majority of the time though this check runs just fine. My questions is therefore, what am I doing wrong ? I have been running Nagios for some time (great stuff Ethan) and this has only cropped up in the last few months. If anybody has seen this, or can help I would appreciate it greatly. Many thanks Matthew _____________________________________________________________________ This e-mail has been scanned for viruses by the uuNet Internet Managed Scanning Service - powered by MessageLabs. -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.downs at labs.gte.com Wed Dec 3 20:44:48 2003 From: john.downs at labs.gte.com (John Downs) Date: Wed, 3 Dec 2003 14:44:48 -0500 Subject: Can't start nagios with apache on solaris 8 Message-ID: <017401c3b9d5$e93a71c0$9587c584@vzj1nnluak18p0> A simple question for you nagios gurus. I just installed/configured apache 1.3.28 and nagios 1.1. I followed the nagios installation instructions (and triple checked them). When I try to access nagios as described in the "setting up the web interface" using http://photon/nagios. I get the 404 Not found page. The server is running because I can access the docs directory for apache or where ever I point it to. I followed all the default installation except the nagios-user; I put my login. Is this an apache problem or a nagios problem? Thank you -john -------------- next part -------------- An HTML attachment was scrubbed... URL: From jchambers at shaw.ca Wed Dec 3 20:51:51 2003 From: jchambers at shaw.ca (jason) Date: Wed, 03 Dec 2003 12:51:51 -0700 Subject: Can't start nagios with apache on solaris 8 References: <017401c3b9d5$e93a71c0$9587c584@vzj1nnluak18p0> Message-ID: <017c01c3b9d6$e55c09a0$de49000a@jchambers2k> Try adding the trailing / http://photon/nagios/ Jason. ----- Original Message ----- From: "John Downs" To: Sent: Wednesday, December 03, 2003 12:44 PM Subject: [Nagios-users] Can't start nagios with apache on solaris 8 A simple question for you nagios gurus. I just installed/configured apache 1.3.28 and nagios 1.1. I followed the nagios installation instructions (and triple checked them). When I try to access nagios as described in the "setting up the web interface" using http://photon/nagios. I get the 404 Not found page. The server is running because I can access the docs directory for apache or where ever I point it to. I followed all the default installation except the nagios-user; I put my login. Is this an apache problem or a nagios problem? Thank you -john ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 3 21:04:29 2003 From: marc at ena.com (Marc Powell) Date: Wed, 3 Dec 2003 14:04:29 -0600 Subject: Can't start nagios with apache on solaris 8 Message-ID: <370ACCFA5BB3B346A31222E5559BF91F039FF3@mismail2.ena.com> I'm going to say it's an apache configuration issue _or_ a permissions issue. Your apache error log should provide more useful information. Some common gotcha's: - after adding the nagios specific sections to httpd.conf, you must restart apache. - when using the useradd command to create the nagios user, the home directory is typically created with 700 permission. It needs to be 755 unless you're getting creative with groups in which case you probably know enough that this isn't likely. - make sure that your .configure --with-htmurl and --with-cgiurl parameters correlate to what you've put in httpd.conf. If you're still having problems you'll have to provide more detailed information including the nagios sections of httpd.conf, file and directory permissions, error log information (apache and nagios.log). This all presumes of course that you have the appropriate files in ~nagios/share and ~nagios/libexec. -- Marc ________________________________________ From: John Downs [mailto:john.downs at labs.gte.com] Sent: Wednesday, December 03, 2003 1:45 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Can't start nagios with apache on solaris 8 ? A simple question for you nagios gurus. ? I just installed/configured apache 1.3.28 and nagios 1.1. I followed the nagios installation instructions (and triple checked them).? When I try to access nagios as described in the "setting up the web interface" using http://photon/nagios.? I get the 404 Not found page. ? The server is running because I can access the docs directory for apache or where ever I point it to. I followed all the default installation except the nagios-user; I put my login. ? Is this an apache problem or a nagios problem? ? Thank you -john ? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jvore at moc-fv.k12.ia.us Wed Dec 3 21:15:23 2003 From: jvore at moc-fv.k12.ia.us (Jason Vore) Date: Wed, 3 Dec 2003 14:15:23 -0600 (CST) Subject: Can't start nagios with apache on solaris 8 In-Reply-To: <017c01c3b9d6$e55c09a0$de49000a@jchambers2k> References: <017401c3b9d5$e93a71c0$9587c584@vzj1nnluak18p0> <017c01c3b9d6$e55c09a0$de49000a@jchambers2k> Message-ID: <6756.209.152.101.1.1070482523.squirrel@216.51.142.9> If that doesn't work...double check any firewalls on your system. I had the same problem on RH9, and it was because the firewall was blocking http access. Jason > Try adding the trailing / > http://photon/nagios/ > > Jason. > ----- Original Message ----- > From: "John Downs" > To: > Sent: Wednesday, December 03, 2003 12:44 PM > Subject: [Nagios-users] Can't start nagios with apache on solaris 8 > > > > A simple question for you nagios gurus. > > I just installed/configured apache 1.3.28 and nagios 1.1. I followed the > nagios installation > instructions (and triple checked them). When I try to access nagios as > described in the > "setting up the web interface" using http://photon/nagios. I get the > 404 Not found page. > > The server is running because I can access the docs directory for apache > or where ever > I point it to. I followed all the default installation except the > nagios-user; I put my login. > > Is this an apache problem or a nagios problem? > > Thank you > -john > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Daniel.Mesimer at med.va.gov Wed Dec 3 22:51:23 2003 From: Daniel.Mesimer at med.va.gov (Mesimer, Daniel J.) Date: Wed, 3 Dec 2003 13:51:23 -0800 Subject: Extended Information Message-ID: <707BC118BC44D3118E3B0000F81F1E7603F22C69@VHAKANEXC1> IS there some trick to making Nagios read the extended host information? I have set the following in my cgi.cfg file: xedtemplate_config_file= check and rechecked all permissions and ownership made sure that my images are in the logos directory and restarted nagios *many* times Does anybody have any other ideas to try? Dan Mesimer |> -----Original Message----- |> From: Mesimer, Daniel J. [mailto:Daniel.Mesimer at med.va.gov] |> Sent: Wednesday, December 03, 2003 8:10 AM |> To: 'David Gitman'; Alexey Korobkin; Nagios Users Mailing |> List (E-mail) |> Subject: RE: [Nagios-users] Extended Information |> |> |> Yes I am using the base logo pack plus some others I downloaded |> |> I also have all of the permissions set right, ownership also. |> I checked my cfg files and the logos themselves. |> |> Is there a switch I missed when compiling? |> |> Dan Mesimer |> Kansas City VAMC - IRM |> |> |> |> -----Original Message----- |> From: David Gitman [mailto:DGitman at feedroom.com] |> Sent: Friday, November 28, 2003 5:42 PM |> To: Alexey Korobkin; Nagios Users Mailing List (E-mail) |> Subject: RE: [Nagios-users] Extended Information |> |> |> I'm having the same problem. Are you using the base logo pack? |> |> [-d] |> |> -----Original Message----- |> From: nagios-users-admin at lists.sourceforge.net |> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Alexey |> Korobkin |> Sent: Wednesday, November 26, 2003 6:15 PM |> To: Nagios Users Mailing List (E-mail) |> Subject: [Nagios-users] Extended Information |> |> Hello, Mesimer,. |> |> Wed, 26 Nov 2003 14:33:02 -0800, Mesimer, Daniel J. -> Nagios Users |> Mailing |> List (E-mail): |> |> MDJ> So I added the following to cgi.cfg |> MDJ> xedtemplate_config_file= |> MDJ> I then created the necessary config files for a few of my hosts. |> But |> MDJ> nothing that I changed shows up in the statusmap |> MDJ> NAgios Version: 1.1 |> MDJ> Yes I have restarted nagios |> MDJ> Yes I have checked the config files with: nagios -v
file> |> |> Set permissions? |> -- |> With best regards, Alexey Korobkin. |> |> |> |> ------------------------------------------------------- |> This SF.net email is sponsored by: SF.net Giveback Program. |> Does SourceForge.net help you be more productive? Does it |> help you create better code? SHARE THE LOVE, and help us help |> YOU! Click Here: http://sourceforge.net/donate/ |> _______________________________________________ |> Nagios-users mailing list |> Nagios-users at lists.sourceforge.net |> https://lists.sourceforge.net/lists/listinfo/nagios-users |> ::: Please include Nagios version, plugin version (-v) and OS when |> reporting any issue. |> ::: Messages without supporting info will risk being sent to |> /dev/null |> |> |> |> ------------------------------------------------------- |> This SF.net email is sponsored by: SF.net Giveback Program. |> Does SourceForge.net help you be more productive? Does it |> help you create better code? SHARE THE LOVE, and help us help |> YOU! Click Here: http://sourceforge.net/donate/ |> _______________________________________________ |> Nagios-users mailing list |> Nagios-users at lists.sourceforge.net |> https://lists.sourceforge.net/lists/listinfo/nagios-users |> ::: Please include Nagios version, plugin version (-v) and |> OS when reporting |> any issue. |> ::: Messages without supporting info will risk being sent to |> /dev/null |> |> |> ------------------------------------------------------- |> This SF.net email is sponsored by: SF.net Giveback Program. |> Does SourceForge.net help you be more productive? Does it |> help you create better code? SHARE THE LOVE, and help us help |> YOU! Click Here: http://sourceforge.net/donate/ |> _______________________________________________ |> Nagios-users mailing list |> Nagios-users at lists.sourceforge.net |> https://lists.sourceforge.net/lists/listinfo/nagios-users |> ::: Please include Nagios version, plugin version (-v) and |> OS when reporting any issue. |> ::: Messages without supporting info will risk being sent to |> /dev/null |> ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rajeev.jain.contractor at bcbsa.com Wed Dec 3 23:18:17 2003 From: rajeev.jain.contractor at bcbsa.com (Jain, Rajeev - Contingent Staff) Date: Wed, 3 Dec 2003 16:18:17 -0600 Subject: MQ and Vitria Monitoring Message-ID: <5B87969C64A48F47BE541AAC30B7772DC2B89F@chgmsgprd1.bcbsa.com> Is anyone monitoring MQSeries and Vitria through Nagios? -------------- next part -------------- An HTML attachment was scrubbed... URL: From g.vickers at qut.edu.au Wed Dec 3 23:27:14 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 04 Dec 2003 08:27:14 +1000 Subject: Excluding hosts from hostgroups? In-Reply-To: <3FCDFD53.2070203@dctd.saic.com> References: <3FCDFD53.2070203@dctd.saic.com> Message-ID: <5.2.0.9.2.20031204082343.018e9940@imap.qut.edu.au> Alex, At 01:12 AM 04/12/2003, Alex Moundalexis wrote: >Is there any undocumented (or perhaps documented that I missed) feature >that allows the exclusion of several hosts from a hostgroup? Somethine >like this? > >hostgroup_name linux,sun >exclude_hosts nossh-1,nossh-2,etc AFAIK, In Nagios version 2.0, there is the ability of using Boolean operators in service checks to exclude hosts that are contained in a hostgroup. In versions pre-2.0, you will have to define a whole new hostgroup without those specific machines :/ In the meantime, you could also download 2.0 from CVS and start playing with it. *Or* you could just disable the SSH checks on those hosts and wait until 2.0 is released. >Suppose I run a service check on SSH, for my linux and sun hostgroups, >since 99% of them run SSH. 3 servers don't run SSH, and so I get constant >failures. The obvious solution would be to redefine those three hosts into >their own group, but I was wondering if something like this existed, or >whether it would be considered in the future. > >Alex HTH, Greg ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Wed Dec 3 23:52:38 2003 From: jhmartin at toger.us (Jason Martin) Date: Wed, 3 Dec 2003 14:52:38 -0800 (PST) Subject: MQ and Vitria Monitoring In-Reply-To: <5B87969C64A48F47BE541AAC30B7772DC2B89F@chgmsgprd1.bcbsa.com> References: <5B87969C64A48F47BE541AAC30B7772DC2B89F@chgmsgprd1.bcbsa.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The company I am working with is monitoring Vitria through Nagios and will be monitoring MQ at some point. - -Jason Martin On Wed, 3 Dec 2003, Jain, Rajeev - Contingent Staff wrote: > Is anyone monitoring MQSeries and Vitria through Nagios? > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/zmlAl2ODWuqVSBMRAo34AJ0chO+7K0STQ4jIBB8mXbXSNLsjeACffaI+ 1oKly/l+ndEOQUK7boq5RwE= =ZWGB -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pwebster at ausgeo.com.au Thu Dec 4 00:11:57 2003 From: pwebster at ausgeo.com.au (Patrick Webster) Date: Thu, 4 Dec 2003 10:11:57 +1100 Subject: Multiple hosts/services in services.cfg? Message-ID: <52B61873A3467540AF8D4C08BA3AE52A1614C6@ags01.ausgeo.com.au> Hi Guys, Quick question: Is it possible to check multiple hosts, for multiple services, with one entry in the services.cfg file? Example: let 'nt-servers' = srv1,srv2,srv3,srv4 etc.... Can I use; # Service definition define service{ use generic-service ; Name of service template to use host_name nt-servers service_description NT Specific Data is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups nagios-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check-nt-cpuload check_command check-nt-memuse check_command check-nt-disk check_command check-nt-uptime } .. or something along those lines? Thanks guys! I've read various doco but not 100% sure. Regards, -Patrick ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at pensol.net Thu Dec 4 00:11:01 2003 From: nagios at pensol.net (MT Morales) Date: Wed, 3 Dec 2003 16:11:01 -0700 Subject: Compiling nagios-plugins-1.3.1 on AIX 5.2 Message-ID: <200312032311.hB3NB1IZ024432@pensol.net> Hello, Can someone suggest what the problem may be? I've been trying to compile nagios-plugins-1.3.1 on AIX 5.2 using the gnu compiling tools, and no matter what I do, I get stuck with the following error when "make" tries to link check_disk binary: gcc -g -O2 -L. -o check_disk check_disk.o utils.o ../lib/libnagiosplug.a popen.o -lsnprintf -lsnprintf ld: 0711-317 ERROR: Undefined symbol: .VA_COPY 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. Also according to the the config.log file the getloadavg() function is missing on the system: configure:3837: checking for getloadavg configure:3887: gcc -o conftest -g -O2 conftest.c >&5 ld: 0711-317 ERROR: Undefined symbol: getloadavg So nagios-plugins defines its own getloadavg() in getloadavg.c file, but still it doesn't seem to work properly under AIX 5.2. Any ideas or workaround will be appreciated. Thanks, Tomas ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at pensol.net Thu Dec 4 00:12:44 2003 From: nagios at pensol.net (MT Morales) Date: Wed, 3 Dec 2003 16:12:44 -0700 Subject: Compiling nagios-plugins-1.3.1 on AIX 5.2 Message-ID: <200312032312.hB3NCiTi024760@pensol.net> Hello, Can someone suggest what the problem may be? I've been trying to compile nagios-plugins-1.3.1 on AIX 5.2 using the gnu compiling tools, and no matter what I do, I get stuck with the following error when "make" tries to link check_disk binary: gcc -g -O2 -L. -o check_disk check_disk.o utils.o ../lib/libnagiosplug.a popen.o -lsnprintf -lsnprintf ld: 0711-317 ERROR: Undefined symbol: .VA_COPY 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. Also according to the the config.log file the getloadavg() function is missing on the system: configure:3837: checking for getloadavg configure:3887: gcc -o conftest -g -O2 conftest.c >&5 ld: 0711-317 ERROR: Undefined symbol: getloadavg So nagios-plugins defines its own getloadavg() in getloadavg.c file, but still it doesn't seem to work properly under AIX 5.2. Any ideas or workaround will be appreciated. Thanks, Tomas ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Thu Dec 4 00:25:37 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 03 Dec 2003 15:25:37 -0800 Subject: Multiple hosts/services in services.cfg? In-Reply-To: <52B61873A3467540AF8D4C08BA3AE52A1614C6@ags01.ausgeo.com.au> References: <52B61873A3467540AF8D4C08BA3AE52A1614C6@ags01.ausgeo.com.au> Message-ID: <91986880.1070465137@cadabra.stanford.edu> --On Thursday, December 04, 2003 10:11 AM +1100 Patrick Webster wrote: > Hi Guys, > > Quick question: Is it possible to check multiple hosts, for multiple > services, with one entry in the services.cfg file? Yes, it is undocumented, but you can use: hostgroup_name And, you can even use multiple comma-separated group names. Then all you have to do is keep the hostgroups up to date. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From axiomgrid at yahoo.com Thu Dec 4 00:28:52 2003 From: axiomgrid at yahoo.com (-) Date: Wed, 3 Dec 2003 15:28:52 -0800 (PST) Subject: gd-library problems Message-ID: <20031203232852.89296.qmail@web21407.mail.yahoo.com> currently I am having problems getting the libraries to play nicely. To begin I have consulted the FAQ's and am still getting the :GD, PNG, and/or JPEG libraries could not be located in the configure script. That said, i reinstalled the new GD library and ended with this configuration summary for gd 2.0.15 support for png library: yes support for jpeg library: yes Also in the notation it sources the /etc/ld.so.conf file which I am unable to locate on my system (OS X.2.8) Any ideas would be greatly appreciated. __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pwebster at ausgeo.com.au Thu Dec 4 00:33:44 2003 From: pwebster at ausgeo.com.au (Patrick Webster) Date: Thu, 4 Dec 2003 10:33:44 +1100 Subject: Multiple hosts/services in services.cfg? Message-ID: <52B61873A3467540AF8D4C08BA3AE52A1614C7@ags01.ausgeo.com.au> >Yes, it is undocumented, but you can use: >hostgroup_name Ok thanks guys. Do you know if this will work (multiple checks in one) in the service definition? I tried it once without success. check_command check-nt-cpuload check_command check-nt-memuse check_command check-nt-disk check_command check-nt-uptime Perhaps you can do; check_command check1,check2,check3 ?? Thanks again. -Patrick ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Thu Dec 4 00:50:10 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 03 Dec 2003 15:50:10 -0800 Subject: Multiple hosts/services in services.cfg? In-Reply-To: <52B61873A3467540AF8D4C08BA3AE52A1614C7@ags01.ausgeo.com.au> References: <52B61873A3467540AF8D4C08BA3AE52A1614C7@ags01.ausgeo.com.au> Message-ID: <93459878.1070466610@cadabra.stanford.edu> --On Thursday, December 04, 2003 10:33 AM +1100 Patrick Webster wrote: >> Yes, it is undocumented, but you can use: >> hostgroup_name > > Ok thanks guys. > > Do you know if this will work (multiple checks in one) in the service > definition? I tried it once without success. > > check_command check-nt-cpuload > check_command check-nt-memuse > check_command check-nt-disk > check_command check-nt-uptime > > Perhaps you can do; > check_command check1,check2,check3 > > ?? > > Thanks again. I don't believe so. I set up a service template, and then just have: define service { use ldap-generic-service service_description LDAP bind check check_command check_ldap } etc... That way I only have to change the template (ldap-generic-service). >From what I can tell, *each* check needs its own service description (otherwise you can't set up service dependencies). --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rp40265 at rp-plus.de Thu Dec 4 01:36:53 2003 From: rp40265 at rp-plus.de (=?iso-8859-1?Q?Manfred_Gn=E4dig?=) Date: Thu, 4 Dec 2003 01:36:53 +0100 Subject: check_by_ssh Problem... Message-ID: <000001c3b9fe$ba0cab10$6402a8c0@ACERMGP> Hallo, i have a smal roblem to use check_by_ssh I can run its on the Commandline like this: nagiosserver:~ # /usr/lib/nagios/plugins/check_by_ssh -H ssh-user at 80.190.193.66 -C /usr/libexec/check_procs OK - 53 processes running nagiosserver:~ # But if I put this insite of my Nagios Configuration Files, then I get ?Host key verification failed.? in my Web Interface. What can be the Problem? Thanks a lot Manfred -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Thu Dec 4 02:28:34 2003 From: teng at dataway.com (Tedman Eng) Date: Wed, 3 Dec 2003 17:28:34 -0800 Subject: Graph reports too wide References: Message-ID: Nagios check intervals are in time units (default 60 secs), whereas RRD step intervals are in seconds. This line in your services.cfg looks suspect: > normal_check_interval 120 Try instead: normal_check_interval 2 Also, you might want to change the rrdcreate to use "-s 120" to match. HTH -Tedman "Jes?s Oliv?n" wrote in message news:FEEAKDKELKOALKCAMBCEOEBOCDAA.jesusolivan at pickingpack.net... > hi! > > i've got a service linked to a graphic. Service is executing right at > interval i've set (120 secs.) as i've seen at /var/log/messages. RRD is > update at heartbeat i've set too (180 secs.). But line of my service at > graphic is only drawed every hour, i've tried everything but it didn't > worked, help will be greatly appreciated =) > > command from which rrd was created: > > rrdtool create deuimata-ping.rrd --step 180 -s 60 DS:ping:GAUGE:180:O:U > RRA:AVERAGE:0.5:60:43800 > > Service at services.cfg: > > # Service definition > define service{ > # Name of service template to use > use generic-service > > host_name Deuimata_BCN > service_description ping > is_volatile 0 > check_period 24x7 > name ping > max_check_attempts 3 > normal_check_interval 120 > retry_check_interval 1 > contact_groups admins > notification_interval 120 > notification_period 24x7 > notification_options c,r > check_command apan!ping!100.0,20%!500.0,60% > } > > line for service at apan.cfg: > > Deuimata_BCN;ping;/usr/local/nagios/rrd/deuimata-ping.rrd;ping;ping:LINE2;pi > ng round time;Seconds > > > Thanks in advance! > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Thu Dec 4 02:35:29 2003 From: teng at dataway.com (Tedman Eng) Date: Wed, 3 Dec 2003 17:35:29 -0800 Subject: check_by_ssh Problem... References: <000001c3b9fe$ba0cab10$6402a8c0@ACERMGP> Message-ID: The host keys were likely set up as root user, but Nagios executes them as nagios user. su nagios set up host keys as this user or copy the host keys from root's .ssh/privatekeyfile to nagios user's .ssh directory "Manfred Gn?dig" wrote in message news:000001c3b9fe$ba0cab10$6402a8c0 at ACERMGP... Hallo, i have a smal roblem to use check_by_ssh I can run its on the Commandline like this: nagiosserver:~ # /usr/lib/nagios/plugins/check_by_ssh -H ssh-user at 80.190.193.66 -C /usr/libexec/check_procs OK - 53 processes running nagiosserver:~ # But if I put this insite of my Nagios Configuration Files, then I get "Host key verification failed." in my Web Interface. What can be the Problem? Thanks a lot Manfred ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aggunia at comcast.net Thu Dec 4 04:52:30 2003 From: aggunia at comcast.net (Anthony Gunia) Date: Wed, 03 Dec 2003 21:52:30 -0600 Subject: Can't start nagios with apache on solaris 8 In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F039FF3@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F039FF3@mismail2.ena.com> Message-ID: <3FCEAF7E.6000008@comcast.net> Thanks for posting this info Marc! This was the bit I needed to get Nagios going for me on a RH 7.3 box. Many thanks to all that gave me the other ideas over the past few weeks as well. Anthony aggunia at comcast.net Marc Powell wrote: >I'm going to say it's an apache configuration issue _or_ a permissions issue. Your apache error log should provide more useful information. > >Some common gotcha's: > > - after adding the nagios specific sections to httpd.conf, you must restart apache. > - when using the useradd command to create the nagios user, the home directory is typically created with 700 permission. It needs to be 755 unless you're getting creative with groups in which case you probably know enough that this isn't likely. > - make sure that your .configure --with-htmurl and --with-cgiurl parameters correlate to what you've put in httpd.conf. > >If you're still having problems you'll have to provide more detailed information including the nagios sections of httpd.conf, file and directory permissions, error log information (apache and nagios.log). This all presumes of course that you have the appropriate files in ~nagios/share and ~nagios/libexec. > >-- >Marc > >________________________________________ >From: John Downs [mailto:john.downs at labs.gte.com] >Sent: Wednesday, December 03, 2003 1:45 PM >To: Nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Can't start nagios with apache on solaris 8 > > >A simple question for you nagios gurus. > >I just installed/configured apache 1.3.28 and nagios 1.1. I followed the nagios installation >instructions (and triple checked them). When I try to access nagios as described in the >"setting up the web interface" using http://photon/nagios. I get the 404 Not found page. > >The server is running because I can access the docs directory for apache or where ever >I point it to. I followed all the default installation except the nagios-user; I put my login. > >Is this an apache problem or a nagios problem? > >Thank you >-john > > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >Does SourceForge.net help you be more productive? Does it >help you create better code? SHARE THE LOVE, and help us help >YOU! Click Here: http://sourceforge.net/donate/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ktulu at net2000.com.au Thu Dec 4 10:32:54 2003 From: ktulu at net2000.com.au (ktulu at net2000.com.au) Date: Thu, 4 Dec 2003 20:32:54 +1100 Subject: TCP ping? Message-ID: <1070530373.3fceff46014e3@secure.net2000.com.au> Hi All, I have a situation that I'm sure many of you have some across before - I have several machines in a DMZ that does not allow ICMP packets. I was wondering if there is a plugin that allows "TCP pings" in the same manner that nmap can report a hosts status with: nmap -PT somehost nmap then reports: Host (192.168.1.11) appears to be up. Nmap run completed -- 1 IP addresses (1 host up) scanned in 1 second Any help would be much appreciated! Thanks in advance! Regards, Leigh ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ejl at man.fwltech.com Thu Dec 4 11:20:50 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Thu, 4 Dec 2003 10:20:50 -0000 Subject: Compiling nagios-plugins-1.3.1 on AIX 5.2 Message-ID: <1012BD903945D411915500105A48FF5701C73C19@nt.man.fwltech.com> Sounds like the ./configure isn't picking up the fact that AIX has a va_copy, run ./configure again and look for a line: checking for __va_copy... yes If you don't see it, then maybe you need to hard-code it, if so i'll look through my configure and see what's its detecting it as. Ewan > -----Original Message----- > From: MT Morales [mailto:nagios at pensol.net] > Sent: 03 December 2003 23:13 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Compiling nagios-plugins-1.3.1 on AIX 5.2 > > > > Hello, > > Can someone suggest what the problem may be? I've been trying to > compile nagios-plugins-1.3.1 on AIX 5.2 using the gnu > compiling tools, > and no matter what I do, I get stuck with the following error > when "make" tries to link check_disk binary: > > gcc -g -O2 -L. -o check_disk check_disk.o > utils.o ../lib/libnagiosplug.a popen.o -lsnprintf -lsnprintf > ld: 0711-317 ERROR: Undefined symbol: .VA_COPY > 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. > > > Also according to the the config.log file the getloadavg() > function is > missing on the system: > > configure:3837: checking for getloadavg > configure:3887: gcc -o conftest -g -O2 conftest.c >&5 > ld: 0711-317 ERROR: Undefined symbol: getloadavg > > So nagios-plugins defines its own getloadavg() in getloadavg.c file, > but still it doesn't seem to work properly under AIX 5.2. > > Any ideas or workaround will be appreciated. > Thanks, > Tomas > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dakol at freesurf.fr Thu Dec 4 11:38:24 2003 From: dakol at freesurf.fr (Fabien SEISEN) Date: Thu, 04 Dec 2003 11:38:24 +0100 Subject: TCP ping? In-Reply-To: <1070530373.3fceff46014e3@secure.net2000.com.au> (ktulu@net2000.com.au's message of "Thu, 4 Dec 2003 20:32:54 +1100") References: <1070530373.3fceff46014e3@secure.net2000.com.au> Message-ID: <873cc0kgv3.fsf@dakol.int.seisen.org> ktulu at net2000.com.au writes: > Hi All, > > I have a situation that I'm sure many of you have some across before - I have > several machines in a DMZ that does not allow ICMP packets. I was wondering if > there is a plugin that allows "TCP pings" in the same manner that nmap can > report a hosts status with: i use a custom check_tcp: define command { command_name check-tcp-host1 command_line $USER1$/check_tcp -H 127.0.0.1 -p 15004 } and check_command check-tcp-host1 in a "define host { }" -- Fabien Seisen http://pouxvert.linuxfr.org/ GnuPG ID 1024D/112189D8 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.hearns at clustervision.com Thu Dec 4 14:04:59 2003 From: john.hearns at clustervision.com (John Hearns) Date: Thu, 4 Dec 2003 14:04:59 +0100 (CET) Subject: Event handler on Critical only? Message-ID: Dear All, I have defined an event_handler which will shutdown a machine, should an alarm be reported from check_sensors. Is there any way I can arrange an event_handler to be called on Critical states only, not on Warnings? Is it as simple as examining the value of $STATETYPE$ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.hearns at clustervision.com Thu Dec 4 14:14:29 2003 From: john.hearns at clustervision.com (John Hearns) Date: Thu, 4 Dec 2003 14:14:29 +0100 (CET) Subject: check_sensors - alternatives? Message-ID: Please forgive a second question, this one hopefully more interesting. I'm working on using lm_sensors on compute nodes, to raise alarms when CPUs overtemp or fans fail. The sample check_sensors plugin is rather simple - it simply checks for the string ALARM in the output of lm_sensors. Can anyone point me towards other lm_sensors plugins? Yes, I know I should work on my own - bu deadlines loom and a head start on customising something else would be good. Forgive me if I'm misunderstanding things, but features which would be nice would be: *) an alarm message relating to the problem, eg. FAN1 Fail *) maybe output of the temps/fan speeds for later processing in APAN (that's next on the list - get APAN working. Hints/tips welcome!) *) more sophisticated filtering on alarms. For example, looking at the lm_sensors output below there is a Chassis Intrusion alarm, which I don't want to trigger an alarm state Thanks! sensors output: w83627hf-i2c-0-2d Adapter: SMBus I801 adapter at 1100 Algorithm: Non-I2C SMBus adapter VCore 1: +1.48 V (min = +4.08 V, max = +4.08 V) VCore 2: +3.34 V (min = +4.08 V, max = +4.08 V) +3.3V: +3.32 V (min = +2.97 V, max = +3.63 V) +5V: +4.99 V (min = +4.50 V, max = +5.48 V) +12V: +11.89 V (min = +10.79 V, max = +13.11 V) -12V: -11.41 V (min = -13.21 V, max = -10.90 V) -5V: -2.00 V (min = -5.51 V, max = -4.51 V) V5SB: +5.51 V (min = +4.50 V, max = +5.48 V) ALARM VBat: +3.24 V (min = +2.70 V, max = +3.29 V) fan1: 4753 RPM (min = 3000 RPM, div = 2) fan2: 4720 RPM (min = 3000 RPM, div = 2) fan3: 0 RPM (min = 750 RPM, div = 8) temp1: +35???C (limit = +60???C) sensor = thermistor temp2: +29.0???C (limit = +60???C, hysteresis = +50???C) sensor = thermistor temp3: +29.0???C (limit = +60???C, hysteresis = +50???C) sensor = thermistor vid: +1.400 V alarms: Chassis intrusion detection ALARM beep_enable: Sound alarm disabled ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.downs at labs.gte.com Thu Dec 4 14:56:17 2003 From: john.downs at labs.gte.com (John Downs) Date: Thu, 4 Dec 2003 08:56:17 -0500 Subject: Can't start nagios with apache on solaris 8 References: <370ACCFA5BB3B346A31222E5559BF91F039FF3@mismail2.ena.com> Message-ID: <022d01c3ba6e$63e162b0$9587c584@vzj1nnluak18p0> Found the problem. It was a stupied user error. I cut and pasted the ScriptAlias /nagios/cgi-bin/ stuff and edit in the share stuff but left it as a scriptalias instead of alias. It now works thanks! -john ----- Original Message ----- From: "Marc Powell" To: "John Downs" ; Sent: Wednesday, December 03, 2003 3:04 PM Subject: RE: [Nagios-users] Can't start nagios with apache on solaris 8 > I'm going to say it's an apache configuration issue _or_ a permissions issue. Your apache error log should provide more useful information. > > Some common gotcha's: > > - after adding the nagios specific sections to httpd.conf, you must restart apache. > - when using the useradd command to create the nagios user, the home directory is typically created with 700 permission. It needs to be 755 unless you're getting creative with groups in which case you probably know enough that this isn't likely. > - make sure that your .configure --with-htmurl and --with-cgiurl parameters correlate to what you've put in httpd.conf. > > If you're still having problems you'll have to provide more detailed information including the nagios sections of httpd.conf, file and directory permissions, error log information (apache and nagios.log). This all presumes of course that you have the appropriate files in ~nagios/share and ~nagios/libexec. > > -- > Marc > > ________________________________________ > From: John Downs [mailto:john.downs at labs.gte.com] > Sent: Wednesday, December 03, 2003 1:45 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Can't start nagios with apache on solaris 8 > > > A simple question for you nagios gurus. > > I just installed/configured apache 1.3.28 and nagios 1.1. I followed the nagios installation > instructions (and triple checked them). When I try to access nagios as described in the > "setting up the web interface" using http://photon/nagios. I get the 404 Not found page. > > The server is running because I can access the docs directory for apache or where ever > I point it to. I followed all the default installation except the nagios-user; I put my login. > > Is this an apache problem or a nagios problem? > > Thank you > -john > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Thu Dec 4 15:03:40 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Thu, 4 Dec 2003 14:03:40 -0000 Subject: Compiling nagios-plugins-1.3.1 on AIX 5.2 Message-ID: We received reports that 1.3.1 did not compile successfully on AIX 4/5. The 1.4alpha release should be okay - please try that. Ton > -----Original Message----- > From: Ewan Leith [mailto:ejl at man.fwltech.com] > Sent: Thursday, December 04, 2003 10:21 AM > To: 'MT Morales'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Compiling nagios-plugins-1.3.1 on AIX 5.2 > > > Sounds like the ./configure isn't picking up the fact that AIX has a > va_copy, run ./configure again and look for a line: > > checking for __va_copy... yes > > If you don't see it, then maybe you need to hard-code it, if > so i'll look > through my configure and see what's its detecting it as. > > Ewan > > > -----Original Message----- > > From: MT Morales [mailto:nagios at pensol.net] > > Sent: 03 December 2003 23:13 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Compiling nagios-plugins-1.3.1 on AIX 5.2 > > > > > > > > Hello, > > > > Can someone suggest what the problem may be? I've been trying to > > compile nagios-plugins-1.3.1 on AIX 5.2 using the gnu > > compiling tools, > > and no matter what I do, I get stuck with the following error > > when "make" tries to link check_disk binary: > > > > gcc -g -O2 -L. -o check_disk check_disk.o > > utils.o ../lib/libnagiosplug.a popen.o -lsnprintf -lsnprintf > > ld: 0711-317 ERROR: Undefined symbol: .VA_COPY > > 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. > > > > > > Also according to the the config.log file the getloadavg() > > function is > > missing on the system: > > > > configure:3837: checking for getloadavg > > configure:3887: gcc -o conftest -g -O2 conftest.c >&5 > > ld: 0711-317 ERROR: Undefined symbol: getloadavg > > > > So nagios-plugins defines its own getloadavg() in > getloadavg.c file, > > but still it doesn't seem to work properly under AIX 5.2. > > > > Any ideas or workaround will be appreciated. > > Thanks, > > Tomas > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rajeev.jain.contractor at bcbsa.com Thu Dec 4 15:22:44 2003 From: rajeev.jain.contractor at bcbsa.com (Jain, Rajeev - Contingent Staff) Date: Thu, 4 Dec 2003 08:22:44 -0600 Subject: MQ and Vitria Monitoring Message-ID: <5B87969C64A48F47BE541AAC30B7772DC2B8AC@chgmsgprd1.bcbsa.com> Do you mind explaining how exactly you are doing it? I would appreciate if you could share some scripts -----Original Message----- From: Jason Martin [mailto:jhmartin at toger.us] Sent: Wednesday, December 03, 2003 4:53 PM To: Jain, Rajeev - Contingent Staff Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] MQ and Vitria Monitoring -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The company I am working with is monitoring Vitria through Nagios and will be monitoring MQ at some point. - -Jason Martin On Wed, 3 Dec 2003, Jain, Rajeev - Contingent Staff wrote: > Is anyone monitoring MQSeries and Vitria through Nagios? > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/zmlAl2ODWuqVSBMRAo34AJ0chO+7K0STQ4jIBB8mXbXSNLsjeACffaI+ 1oKly/l+ndEOQUK7boq5RwE= =ZWGB -----END PGP SIGNATURE----- -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andrew.Proctor at capita.co.uk Thu Dec 4 15:15:14 2003 From: Andrew.Proctor at capita.co.uk (Proctor, Andy (CSS)) Date: Thu, 4 Dec 2003 14:15:14 -0000 Subject: check_mssql Message-ID: <7DBC75A20662EE4C8BC92579DDB7E855354B40@IMCR-MAIL> Appreciate help on the following; Nagios is reporting a return status 141 host out of bounds, what does this mean? Running the check manually is no probem, all PATHS and permissions are ok is it a problem with the way in which the plugin returns it's exit code, if so , how do I fix! Thanks in advance. Ps I'm a bit of a newbie so please give as much info. Regards, Andy Proctor Academy Payment Collection & Income Management Capita Software Services mobile:07766 578125 mailto:aproctor at academy.co.uk ********************************************************************************** This email and any files transmitted with it are confidential, and may be subject to legal privilege, and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error or think you may have done so, you may not peruse, use, disseminate, distribute or copy this message. Please notify the sender immediately and delete the original e-mail from your system. Computer viruses can be transmitted by e-mail. Recipients should check this e-mail for the presence of viruses. The Capita Group and its subsidiaries accept no liability for any damage caused by any virus transmitted by this e-mail. *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From colin at trematon.com Thu Dec 4 17:54:37 2003 From: colin at trematon.com (Colin A. White) Date: Thu, 04 Dec 2003 16:54:37 +0000 Subject: Passive checks with NSCA In-Reply-To: <5B87969C64A48F47BE541AAC30B7772DC2B8AC@chgmsgprd1.bcbsa.com> References: <5B87969C64A48F47BE541AAC30B7772DC2B8AC@chgmsgprd1.bcbsa.com> Message-ID: <3FCF66CD.6080705@trematon.com> Greetings all, I was wondering if anyone could give me a quick sanity check before I dive in and break my Nagios install... I'm hoping to deploy the nsca addon (and send_nsca) to passively monitor two debian devices hanging off the end of a DSL line. i.e. the target hosts have dynamic private IPs and do not have resolvable hostnames. I'm aiming to log snmp traps only. Am I right to think this is a 'passive check of a volatile service' in nagios-speak ? I'm wondering now, how to correctly configure the object files for these hosts and their passive services. I notice from the docs "that in order to submit passive service checks to Nagios, a service must have already been defined in the object configuration file" Is this proposed service definition sane?? define service{ host_name unknown service_description TRAP check_command check-host-alive is_volatile 1 active_checks_enabled 0 passive_checks_enabled 1 check_period none max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 notifications_enabled 1 notification_interval 31536000 notification_period 24x7 notification_options w,u,c,r contact_groups linux-admins } I'm also wondering how to handle the hosts.cfg definition which requires an address param as a mandatory field...?? It's this 'gotcha' that has me most stumped. Am I able to use an arbitrary or fake IP and simply use host_name matching to determin whether to accept and log the trap? Any suggestions, comments, ideas, abuse or reading references are most welcome by this nagios beginner. Many Thks -- Colin A. White SCSA, SCNA ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Dec 4 17:55:23 2003 From: marc at ena.com (Marc Powell) Date: Thu, 4 Dec 2003 10:55:23 -0600 Subject: check_mssql Message-ID: <370ACCFA5BB3B346A31222E5559BF91F039FFA@mismail2.ena.com> This link looks particularly pertinent -- http://216.239.37.104/search?q=cache:jc8f2nsUaMUJ:dbforums.com/arch/126/ 2003/5/797601+return+code+141&hl=en&ie=UTF-8 That thread indicates that 141 might be caused by some part of the script receiving a SIGPIPE. Have you tried running the command as the nagios user? I know you said you've run it manually but it is important to try running it as nagios if you haven't. Adding 'set -x' near the top (but after the #!/bin/sh) should help indicate where the failure lies. -- Marc ________________________________________ From: Proctor, Andy (CSS) [mailto:Andrew.Proctor at capita.co.uk] Sent: Thursday, December 04, 2003 8:15 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] check_mssql Appreciate help on the following; Nagios is reporting a return status 141 host out of bounds, what does this mean? Running the check manually is no probem, all PATHS and permissions are ok is it a problem with the way in which the plugin returns it's exit code, if so , how do I fix! Thanks in advance. Ps I'm a bit of a newbie so please give as much info. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Dec 4 18:01:26 2003 From: marc at ena.com (Marc Powell) Date: Thu, 4 Dec 2003 11:01:26 -0600 Subject: Event handler on Critical only? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F039FFB@mismail2.ena.com> > -----Original Message----- > From: John Hearns [mailto:john.hearns at clustervision.com] > Sent: Thursday, December 04, 2003 7:05 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Event handler on Critical only? > > Dear All, > I have defined an event_handler which will shutdown a machine, > should an alarm be reported from check_sensors. > > Is there any way I can arrange an event_handler to be called on Critical > states only, not on Warnings? > Is it as simple as examining the value of $STATETYPE$ $STATETYPE$ will only be HARD or SOFT. You're looking for $SERVICESTATE$ or $HOSTSTATE$. You can't be selective about when Nagios executes the event handler, but you can be particular about whether you actually do anything or not based on those values. The example event handler script on http://nagios.sourceforge.net/docs/1_0/eventhandlers.html does exactly this. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Angel.Javier.Ripa at ie.edu Thu Dec 4 17:14:59 2003 From: Angel.Javier.Ripa at ie.edu (Angel Javier Ripa) Date: Thu, 4 Dec 2003 17:14:59 +0100 Subject: check DNS services Message-ID: <47341.9281923727$1070557883@news.gmane.org> Hi everyone, I am trying to check a dns service running on Windows 2000. When I check the primary DNS server all is ok, but when I check the secondary DNS server I receive the following error: % check_dns -H www.terra.com -s mysecondarydns Segmentation fault (core dumped) Could anyone help me? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mnagel at willingminds.com Thu Dec 4 18:09:45 2003 From: mnagel at willingminds.com (Mark D. Nagel) Date: Thu, 04 Dec 2003 09:09:45 -0800 Subject: Multiple hosts/services in services.cfg? In-Reply-To: <93459878.1070466610@cadabra.stanford.edu> References: <52B61873A3467540AF8D4C08BA3AE52A1614C7@ags01.ausgeo.com.au> <93459878.1070466610@cadabra.stanford.edu> Message-ID: <3FCF6A59.2080308@willingminds.com> Quanah Gibson-Mount wrote: > > > --On Thursday, December 04, 2003 10:33 AM +1100 Patrick Webster > wrote: > >>> Yes, it is undocumented, but you can use: >>> hostgroup_name >> >> >> Ok thanks guys. >> >> Do you know if this will work (multiple checks in one) in the service >> definition? I tried it once without success. >> >> check_command check-nt-cpuload >> check_command check-nt-memuse >> check_command check-nt-disk >> check_command check-nt-uptime >> >> Perhaps you can do; >> check_command check1,check2,check3 >> >> ?? >> >> Thanks again. > > > I don't believe so. I set up a service template, and then just have: > > define service { > use ldap-generic-service > service_description LDAP bind check > check_command check_ldap > } > > etc... That way I only have to change the template > (ldap-generic-service). > >> From what I can tell, *each* check needs its own service description > > (otherwise you can't set up service dependencies). > One really nice function of NagMIN we've found is that you can define service groups (based on service templates) and attach one or more to each host. Behind the scenes, NagMIN uses this to generate the corresponding Nagios configuration, but from my point of view, I get exactly what I want -- for every host, I just check off the service groups that apply. This works well if the host contact is the same as the service contact for all services and the service is generic (not, for example, a specific HTTP content check). If this isn't true, you need to actually define service entries manually with the appropriate contacts. Mark -- Mark D. Nagel, CCIE #3177 Principal Consultant, Willing Minds LLC tel/fax: 949-623-9853, web: http://www.willingminds.com/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Dec 4 18:11:36 2003 From: jhmartin at toger.us (Jason Martin) Date: Thu, 4 Dec 2003 09:11:36 -0800 (PST) Subject: MQ and Vitria Monitoring In-Reply-To: <5B87969C64A48F47BE541AAC30B7772DC2B8AC@chgmsgprd1.bcbsa.com> References: <5B87969C64A48F47BE541AAC30B7772DC2B8AC@chgmsgprd1.bcbsa.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I can't give you the code just yet (waiting for the final OK on that), but I can tell you how it works. Assume that we have two vitria servers, FOO and BAR. They run on Solaris. We also have a solaris host that acts as part of our monitoring system. We installed the vitria software on this third host (we'll call it ZED) but are not actually running any of the Vitria daemons. ZED is running NRPE. The vitria software is installed so that NRPE has access to the vtadmin command as well as the taskmanager / usermanager 'ping' classes. Since Vitria exposes itself via a network port (the VTNAME) all of your vitria commands can be run remotely. We defined each connector and automator as a service and have Nagios call out to ZED. Part of the command parameters is the VTNAME that ZED should use. ZED then uses the propriatary Vitria protocol to ceach out to FOO and BAR. So, that makes one plugin for connectors / automators, one for 'generic businessware', one for taskmanager and one for usermanager. The 'Businesssware ping' java class isn't part of the standard vitria package, I think it came from our development team. In the future we are going to put NRPE on FOO and BAR in order to monitor some statistics about the chanserv.dat / .wal files. Our dev team also built a java daemon that reports on connector backlogs and I wrote a plugin that reads the output of this daemon. As such we also have a _backlog service defined for each connector. - -Jason Martin On Thu, 4 Dec 2003, Jain, Rajeev - Contingent Staff wrote: > Do you mind explaining how exactly you are doing it? > I would appreciate if you could share some scripts > > -----Original Message----- > From: Jason Martin [mailto:jhmartin at toger.us] > Sent: Wednesday, December 03, 2003 4:53 PM > To: Jain, Rajeev - Contingent Staff > Cc: 'nagios-users at lists.sourceforge.net' > Subject: Re: [Nagios-users] MQ and Vitria Monitoring > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > The company I am working with is monitoring Vitria through Nagios and > will be monitoring MQ at some point. > > - -Jason Martin > > On Wed, 3 Dec 2003, Jain, Rajeev - Contingent > Staff wrote: > > > Is anyone monitoring MQSeries and Vitria through Nagios? > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.3.3 (GNU/Linux) > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > iD8DBQE/zmlAl2ODWuqVSBMRAo34AJ0chO+7K0STQ4jIBB8mXbXSNLsjeACffaI+ > 1oKly/l+ndEOQUK7boq5RwE= > =ZWGB > -----END PGP SIGNATURE----- > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/z2rNl2ODWuqVSBMRAj2YAKCO4vxu+K0Av6tlkkX7eAZHFEQodgCcDhcA spXe8E3AGru6uzAPpB5MK5k= =SQin -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Dec 4 18:21:21 2003 From: marc at ena.com (Marc Powell) Date: Thu, 4 Dec 2003 11:21:21 -0600 Subject: Passive checks with NSCA Message-ID: <370ACCFA5BB3B346A31222E5559BF91F039FFD@mismail2.ena.com> > -----Original Message----- > From: Colin A. White [mailto:colin at trematon.com] > Sent: Thursday, December 04, 2003 10:55 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Passive checks with NSCA > > Greetings all, > > I was wondering if anyone could give me a quick sanity check before I > dive in and break my Nagios install... > > I'm hoping to deploy the nsca addon (and send_nsca) to passively monitor > two debian devices hanging off the end of a DSL line. i.e. the target > hosts have dynamic private IPs and do not have resolvable hostnames. I'm > aiming to log snmp traps only. Am I right to think this is a 'passive > check of a volatile service' in nagios-speak ? Yep. > > I'm wondering now, how to correctly configure the object files for these > hosts and their passive services. I notice from the docs "that in > order to submit passive service checks to Nagios, a service must have > already been defined in the object configuration file" Is this proposed > service definition sane?? > > define service{ > host_name unknown > service_description TRAP > check_command check-host-alive > is_volatile 1 > active_checks_enabled 0 > passive_checks_enabled 1 > check_period none > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > notifications_enabled 1 > notification_interval 31536000 > notification_period 24x7 > notification_options w,u,c,r > contact_groups linux-admins > } You must define the service in Nagios so it knows that the passive check isn't bogus. I would use a more descriptive host_name above. Think of it as a label, not as a DNS name. The check_command is fine, it'll never get executed. For a cleaner web interface (without the big red 'X'), consider setting active_checks_enabled to 1 and leaving the check_period set to none. That's a personal preference however. > I'm also wondering how to handle the hosts.cfg definition which requires > an address param as a mandatory field...?? It's this 'gotcha' that has > me most stumped. Am I able to use an arbitrary or fake IP and simply > use host_name matching to determin whether to accept and log the trap? You can use an arbitrary IP (127.0.0.1 for example). If you don't define a check_command in your host block, the IP will never be used ofr anything. Nagios uses the host_name (label) and service_description to make all internal associations and decide whether to accept or ignore the passive check. If you haven't read it, http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html might be useful to you. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Dec 4 18:35:33 2003 From: marc at ena.com (Marc Powell) Date: Thu, 4 Dec 2003 11:35:33 -0600 Subject: TCP ping? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F039FFE@mismail2.ena.com> > -----Original Message----- > From: Fabien SEISEN [mailto:dakol at freesurf.fr] > Sent: Thursday, December 04, 2003 4:38 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] TCP ping? > > ktulu at net2000.com.au writes: > > > Hi All, > > > > I have a situation that I'm sure many of you have some across before - I > have > > several machines in a DMZ that does not allow ICMP packets. I was > wondering if > > there is a plugin that allows "TCP pings" in the same manner that nmap > can > > report a hosts status with: > > i use a custom check_tcp: > define command { > command_name check-tcp-host1 > command_line $USER1$/check_tcp -H 127.0.0.1 -p 15004 > } > > and check_command check-tcp-host1 in a "define host { }" A more flexible way of doing this so you don't have to create custom check commands for every port would look like -- define command { command name check-tcp command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ } define host { host_name foo yada yada yada yada address 127.0.0.1 } define service { host_name foo yada yada yada yada check_command check_tcp!15004 } -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From colin at trematon.com Thu Dec 4 19:02:24 2003 From: colin at trematon.com (Colin A. White) Date: Thu, 04 Dec 2003 18:02:24 +0000 Subject: Passive checks with NSCA In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F039FFD@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F039FFD@mismail2.ena.com> Message-ID: <3FCF76B0.601@trematon.com> Thanks for this check. It seems my object file definitions pass the preflight check and nagios starts up happily... However, when I try run from the debian device : > send_nsca -H nagios.host.com -c send_nsca.cfg I get : > Error: Server closed connection before init packet was received > Error: Could not read init packet from server I've had my firewall admin open tcp-5667 to the nagios host. Should this have been udp-5667 ?? Any suggestions on how to pursue this cryptic error msg? Thks Marc Powell wrote: > > >>-----Original Message----- >>From: Colin A. White [mailto:colin at trematon.com] >>Sent: Thursday, December 04, 2003 10:55 AM >>To: 'nagios-users at lists.sourceforge.net' >>Subject: [Nagios-users] Passive checks with NSCA >> >>Greetings all, >> >>I was wondering if anyone could give me a quick sanity check before I >>dive in and break my Nagios install... >> >>I'm hoping to deploy the nsca addon (and send_nsca) to passively >> >> >monitor > > >>two debian devices hanging off the end of a DSL line. i.e. the target >>hosts have dynamic private IPs and do not have resolvable hostnames. >> >> >I'm > > >>aiming to log snmp traps only. Am I right to think this is a 'passive >>check of a volatile service' in nagios-speak ? >> >> > >Yep. > > > >>I'm wondering now, how to correctly configure the object files for >> >> >these > > >>hosts and their passive services. I notice from the docs "that in >>order to submit passive service checks to Nagios, a service must have >>already been defined in the object configuration file" Is this >> >> >proposed > > >>service definition sane?? >> >>define service{ >> host_name unknown >> service_description TRAP >> check_command check-host-alive >> is_volatile 1 >> active_checks_enabled 0 >> passive_checks_enabled 1 >> check_period none >> max_check_attempts 1 >> normal_check_interval 1 >> retry_check_interval 1 >> notifications_enabled 1 >> notification_interval 31536000 >> notification_period 24x7 >> notification_options w,u,c,r >> contact_groups linux-admins >> } >> >> > >You must define the service in Nagios so it knows that the passive check >isn't bogus. I would use a more descriptive host_name above. Think of it >as a label, not as a DNS name. The check_command is fine, it'll never >get executed. For a cleaner web interface (without the big red 'X'), >consider setting active_checks_enabled to 1 and leaving the check_period >set to none. That's a personal preference however. > > > >>I'm also wondering how to handle the hosts.cfg definition which >> >> >requires > > >>an address param as a mandatory field...?? It's this 'gotcha' that >> >> >has > > >>me most stumped. Am I able to use an arbitrary or fake IP and simply >>use host_name matching to determin whether to accept and log the trap? >> >> > >You can use an arbitrary IP (127.0.0.1 for example). If you don't define >a check_command in your host block, the IP will never be used ofr >anything. Nagios uses the host_name (label) and service_description to >make all internal associations and decide whether to accept or ignore >the passive check. > > >If you haven't read it, >http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html might be useful >to you. > >-- >Marc > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dakol at freesurf.fr Thu Dec 4 19:10:42 2003 From: dakol at freesurf.fr (Fabien SEISEN) Date: Thu, 04 Dec 2003 19:10:42 +0100 Subject: TCP ping? In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F039FFE@mismail2.ena.com> (Marc Powell's message of "Thu, 4 Dec 2003 11:35:33 -0600") References: <370ACCFA5BB3B346A31222E5559BF91F039FFE@mismail2.ena.com> Message-ID: <877k1cihct.fsf@dakol.int.seisen.org> "Marc Powell" writes: > A more flexible way of doing this so you don't have to create custom > check commands for every port would look like -- > > define command { > command name check-tcp > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ > } > > define host { > host_name foo > yada yada > yada yada > address 127.0.0.1 > } > > define service { > host_name foo > yada yada > yada yada > check_command check_tcp!15004 > } sure but, in "host state information", you will have "host assumed to be up" and hosts dependencies won't work. It would be more flexible/convenient to be allowed to add arguments to check_command in a "define host { }" It is only possible on "define service {}" i should write a patch :) cf: docs/1_0/networkreachability.html "If a host check command for a remote host returns a non-OK state, Nagios will "walk" the depency tree (as shown in the figure above) until it reaches the top (or until a parent host check results in an OK state)." -- Fabien Seisen http://pouxvert.linuxfr.org/ GnuPG ID 1024D/112189D8 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lonny at bangtherockstogether.net Thu Dec 4 19:21:02 2003 From: lonny at bangtherockstogether.net (Lonny Selinger) Date: Thu, 4 Dec 2003 12:21:02 -0600 (CST) Subject: Compiling nagios-plugins-1.3.1 on AIX 5.2 In-Reply-To: <200312032312.hB3NCiTi024760@pensol.net> References: <200312032312.hB3NCiTi024760@pensol.net> Message-ID: <50518.24.72.6.129.1070562062.squirrel@webmail.bangtherockstogether.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > So nagios-plugins defines its own getloadavg() in getloadavg.c file, > but still it doesn't seem to work properly under AIX 5.2. > > Any ideas or workaround will be appreciated. > Thanks, > Tomas What version of gcc are you running? What I've got (working) so far: uname -srv && rpm -qa | grep gcc AIX 1 5 gcc-2.9.aix43.010414-3 As you can see I'm using an older version of gcc and I'm not at version 5.2 yet ... but I just successfully compiled v1.3.1 of the plugins - -- Lonny Selinger - -- "Join the army, see the world, meet interesting, exciting people, and kill them." -- Unknown -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE/z3sOKn0J6MGrthgRAtbHAJ4nervOlQtSEnjDOFNjveF89ofhvACg5t7p IaPx+iSouRHjdEcKCxuGuE0= =vPRt -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardo.moura at telway.com.br Thu Dec 4 19:29:41 2003 From: eduardo.moura at telway.com.br (Eduardo Moura) Date: Thu, 4 Dec 2003 16:29:41 -0200 Subject: check_traffic plugin Message-ID: <4F1A91B978EE87478F2447A768883685F452@cbemi-web.cbemi> Dear All, We are using the check_traffic plugin on our network and facing the following problem: - the plug-in read snmp information correctly and return to nagios the correct information, however the graphic is not generated. If we run the plug-in manually the graphic is correctly generated. - We have 5 hosts with this plug-in enabled, the plug-in works with 4 and returns the message (Return code of 13 is out of bounds) with the 5th; Anyone have some piece of advice? Eduardo From marc at ena.com Thu Dec 4 19:37:39 2003 From: marc at ena.com (Marc Powell) Date: Thu, 4 Dec 2003 12:37:39 -0600 Subject: Passive checks with NSCA Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A001@mismail2.ena.com> > -----Original Message----- > From: Colin A. White [mailto:colin at trematon.com] > Sent: Thursday, December 04, 2003 12:02 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Passive checks with NSCA > > Thanks for this check. > > It seems my object file definitions pass the preflight check and nagios > starts up happily... > > However, when I try run from the debian device : > > send_nsca -H nagios.host.com -c send_nsca.cfg > > I get : > > > Error: Server closed connection before init packet was received > > Error: Could not read init packet from server > > I've had my firewall admin open tcp-5667 to the nagios host. Should > this have been udp-5667 ?? > Any suggestions on how to pursue this cryptic error msg? It's TCP. Is there anything in /var/log/* on the server running the NSCA daemon? Did you remember to add the IP of the host sending the checks to allowed_hosts in nsca.cfg (and restart NSCA if necessary). Consider turning on debugging in nsca.cfg also. I presume that you're using the same password and encryption/decryption method on both machines. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From colin at trematon.com Thu Dec 4 19:38:48 2003 From: colin at trematon.com (Colin A. White) Date: Thu, 04 Dec 2003 18:38:48 +0000 Subject: Passive checks with NSCA In-Reply-To: <880E60DA7286AB4CBEECB01B169A63BD1413E85C@NJ-2K-Email1.delphi-tech.com> References: <880E60DA7286AB4CBEECB01B169A63BD1413E85C@NJ-2K-Email1.delphi-tech.com> Message-ID: <3FCF7F38.3080709@trematon.com> Thanks for the feedback, but this was the crux of my original question - the remote host I'm trying to monitor (running send_nsca) has a dynamic private IP... and hence an unresolvable hostname. By commenting out this allowed_hosts in ncsa.cfg on the nagios host, am I effectively allowing any/all hosts to submit passive checks? Or no hosts at all? Thks Colin DTerrell at Delphi-Tech.com wrote: >You need to set the nsca.cfg to allow the client IP addresses on the machine >your sending the passive check to. > >nsca.cfg >... >allowed_hosts=127.0.0.1,xxx.xxx.xxx.xxx >... > > > > >>________________________ >>David A. Terrell >>MIS Engineer, RHCE, A+ >>Delphi Technology, Inc. >>Cambridge, MA 02139 >>617-494-8361 x2024 >> >> >> >> > > >-----Original Message----- >From: Colin A. White [mailto:colin at trematon.com] >Sent: Thursday, December 04, 2003 1:02 PM >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Passive checks with NSCA > > >Thanks for this check. > >It seems my object file definitions pass the preflight check and nagios >starts up happily... > >However, when I try run from the debian device : > > send_nsca -H nagios.host.com -c send_nsca.cfg > >I get : > > > >>Error: Server closed connection before init packet was received >>Error: Could not read init packet from server >> >> > >I've had my firewall admin open tcp-5667 to the nagios host. Should >this have been udp-5667 ?? >Any suggestions on how to pursue this cryptic error msg? > >Thks > >Marc Powell wrote: > > > >> >> >> >> >>>-----Original Message----- >>>From: Colin A. White [mailto:colin at trematon.com] >>>Sent: Thursday, December 04, 2003 10:55 AM >>>To: 'nagios-users at lists.sourceforge.net' >>>Subject: [Nagios-users] Passive checks with NSCA >>> >>>Greetings all, >>> >>>I was wondering if anyone could give me a quick sanity check before I >>>dive in and break my Nagios install... >>> >>>I'm hoping to deploy the nsca addon (and send_nsca) to passively >>> >>> >>> >>> >>monitor >> >> >> >> >>>two debian devices hanging off the end of a DSL line. i.e. the target >>>hosts have dynamic private IPs and do not have resolvable hostnames. >>> >>> >>> >>> >>I'm >> >> >> >> >>>aiming to log snmp traps only. Am I right to think this is a 'passive >>>check of a volatile service' in nagios-speak ? >>> >>> >>> >>> >>Yep. >> >> >> >> >> >>>I'm wondering now, how to correctly configure the object files for >>> >>> >>> >>> >>these >> >> >> >> >>>hosts and their passive services. I notice from the docs "that in >>>order to submit passive service checks to Nagios, a service must have >>>already been defined in the object configuration file" Is this >>> >>> >>> >>> >>proposed >> >> >> >> >>>service definition sane?? >>> >>>define service{ >>> host_name unknown >>> service_description TRAP >>> check_command check-host-alive >>> is_volatile 1 >>> active_checks_enabled 0 >>> passive_checks_enabled 1 >>> check_period none >>> max_check_attempts 1 >>> normal_check_interval 1 >>> retry_check_interval 1 >>> notifications_enabled 1 >>> notification_interval 31536000 >>> notification_period 24x7 >>> notification_options w,u,c,r >>> contact_groups linux-admins >>> } >>> >>> >>> >>> >>You must define the service in Nagios so it knows that the passive check >>isn't bogus. I would use a more descriptive host_name above. Think of it >>as a label, not as a DNS name. The check_command is fine, it'll never >>get executed. For a cleaner web interface (without the big red 'X'), >>consider setting active_checks_enabled to 1 and leaving the check_period >>set to none. That's a personal preference however. >> >> >> >> >> >>>I'm also wondering how to handle the hosts.cfg definition which >>> >>> >>> >>> >>requires >> >> >> >> >>>an address param as a mandatory field...?? It's this 'gotcha' that >>> >>> >>> >>> >>has >> >> >> >> >>>me most stumped. Am I able to use an arbitrary or fake IP and simply >>>use host_name matching to determin whether to accept and log the trap? >>> >>> >>> >>> >>You can use an arbitrary IP (127.0.0.1 for example). If you don't define >>a check_command in your host block, the IP will never be used ofr >>anything. Nagios uses the host_name (label) and service_description to >>make all internal associations and decide whether to accept or ignore >>the passive check. >> >> >>If you haven't read it, >>http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html might be useful >>to you. >> >>-- >>Marc >> >> >> >> > > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >Does SourceForge.net help you be more productive? Does it >help you create better code? SHARE THE LOVE, and help us help >YOU! Click Here: http://sourceforge.net/donate/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting >any issue. >::: Messages without supporting info will risk being sent to /dev/null > > -- Colin A. White SCSA, SCNA Executive Officer Trematon UK Ltd T +44 (0)7973 198931 IM 49636683 www.trematon.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Dec 4 19:41:53 2003 From: marc at ena.com (Marc Powell) Date: Thu, 4 Dec 2003 12:41:53 -0600 Subject: TCP ping? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A002@mismail2.ena.com> > -----Original Message----- > From: Fabien SEISEN [mailto:dakol at freesurf.fr] > Sent: Thursday, December 04, 2003 12:11 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] TCP ping? > > "Marc Powell" writes: > > > A more flexible way of doing this so you don't have to create custom > > check commands for every port would look like -- > > > > define command { > > command name check-tcp > > command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ > > } > > > > define host { > > host_name foo > > yada yada > > yada yada > > address 127.0.0.1 > > } > > > > define service { > > host_name foo > > yada yada > > yada yada > > check_command check_tcp!15004 > > } > > sure but, in "host state information", you will have > "host assumed to be up" and hosts dependencies won't work. > > It would be more flexible/convenient to be allowed to add arguments > to check_command in a "define host { }" > It is only possible on "define service {}" > > i should write a patch :) > AH, gotcha. I can be slow sometimes. Good news is you don't have to write a patch. Already completed for nagios-2.0 -- 6. Host check commands, notification commands and event handler command now accept arguments (using $ARGx$ macros) -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHeylin at WeberShandwick.com Thu Dec 4 19:42:34 2003 From: AHeylin at WeberShandwick.com (Heylin, Alex) Date: Thu, 4 Dec 2003 18:42:34 -0000 Subject: SMS messaging Message-ID: A couple of people have asked for a copy of this app. It's available at http://www.sendmytxt.co.uk/downloads/smt4.zip If you get any problems - contact Alex Kinch on support at sendmytxt.com and he'll be glad to help. Alex -----Original Message----- From: Heylin, Alex [mailto:AHeylin at WeberShandwick.com] Sent: 02 December 2003 11:18 To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] SMS messaging Try www.sendmytxt.co.uk - I have a small C app supplied by them to interface to it, that's great for Nagios. They're also very willing to work with you to intergrate SMS into almost anything. Hope that helps? Alex -----Original Message----- From: Alwyn Cherrington [mailto:a.cherrington at notes.manchester.gov.uk] Sent: 02 December 2003 10:21 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMS messaging I was looking for an alternative SMS application, can you help? I tried to access these sites from the Nagios Documentation links and was told by my Internet administrator : The first dump is web based email via http not ftp. Web based email is blocked and will remain so. The second screen dump shows that a password is required by the site so there is nothing we can do. I didn't send the fourth screen dump * SprintPCS (SMS phones) * * * Gnokii (SMS software for contacting Nokia phones via GSM network) * * SMS Client (command line utility for sending messages to pagers and mobile phones) * regards, Alwyn Cherrington ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. Please contact internet.administrators at notes.manchester.gov.uk with any queries. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT5892610.gif Type: image/gif Size: 32021 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT5892611.gif Type: image/gif Size: 32127 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT5892612.gif Type: image/gif Size: 19039 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT5892613.gif Type: image/gif Size: 18374 bytes Desc: not available URL: From seisen at linuxfr.org Thu Dec 4 20:07:18 2003 From: seisen at linuxfr.org (Fabien SEISEN) Date: Thu, 04 Dec 2003 20:07:18 +0100 Subject: TCP ping? In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A002@mismail2.ena.com> (Marc Powell's message of "Thu, 4 Dec 2003 12:41:53 -0600") References: <370ACCFA5BB3B346A31222E5559BF91F03A002@mismail2.ena.com> Message-ID: <87n0a8h061.fsf@dakol.int.seisen.org> "Marc Powell" writes: >> sure but, in "host state information", you will have >> "host assumed to be up" and hosts dependencies won't work. >> >> It would be more flexible/convenient to be allowed to add arguments >> to check_command in a "define host { }" >> It is only possible on "define service {}" >> >> i should write a patch :) >> > > AH, gotcha. I can be slow sometimes. Good news is you don't have to > write a patch. Already completed for nagios-2.0 -- > > 6. Host check commands, notification commands and event handler > command now accept arguments (using $ARGx$ macros) great, i have just download the CVS HEAD but didn't tried anything yet thanks, -- Fabien Seisen http://pouxvert.linuxfr.org/ GnuPG ID 1024D/112189D8 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From colin at trematon.com Thu Dec 4 20:14:56 2003 From: colin at trematon.com (Colin A. White) Date: Thu, 04 Dec 2003 19:14:56 +0000 Subject: Passive checks with NSCA In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A001@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A001@mismail2.ena.com> Message-ID: <3FCF87B0.9020801@trematon.com> I have set the same password and decrypt method=1 in both nsca.cfg and send_nsca.cfg. For testing, I also entered the currently assigned dynamic IP address of the remote host running send_nsca to allowed_hosts in nsca.cfg on the nagios host (though this isn't going to work for me long term) I set nsca.cfg debug=1 and can see the debug entries in my /var/adm/messages (yes, I'm running Solaris on the nagios end) > Dec 4 18:47:51 falun nsca[9868]: [ID 601491 daemon.notice] Starting > up daemon > Dec 4 18:48:14 falun nsca[9868]: [ID 862360 daemon.error] End of > connection... The 2nd entry appears when I attempt to run send_nsca which eventuall ends with : > Error: Timeout after 10 seconds Not exactly detailed/verbose error messages to work with... Can anyone suggest what's happening here? Thks Colin >>>Error: Server closed connection before init packet was received >>>Error: Could not read init packet from server >>> >>> >>I've had my firewall admin open tcp-5667 to the nagios host. Should >>this have been udp-5667 ?? >>Any suggestions on how to pursue this cryptic error msg? >> >> > >It's TCP. Is there anything in /var/log/* on the server running the NSCA >daemon? Did you remember to add the IP of the host sending the checks to >allowed_hosts in nsca.cfg (and restart NSCA if necessary). Consider >turning on debugging in nsca.cfg also. I presume that you're using the >same password and encryption/decryption method on both machines. > >-- >Marc > > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Dec 4 20:22:50 2003 From: marc at ena.com (Marc Powell) Date: Thu, 4 Dec 2003 13:22:50 -0600 Subject: Passive checks with NSCA Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A004@mismail2.ena.com> > -----Original Message----- > From: Colin A. White [mailto:colin at trematon.com] > Sent: Thursday, December 04, 2003 12:39 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Passive checks with NSCA > > Thanks for the feedback, but this was the crux of my original question > - the remote host I'm trying to monitor (running send_nsca) has a > dynamic private IP... and hence an unresolvable hostname. > > By commenting out this allowed_hosts in ncsa.cfg on the nagios host, am > I effectively allowing any/all hosts to submit passive checks? Or no > hosts at all? Ah, yes. Looking at the code, it'll reject all connections because none will match . I have a potential solution though that may help. A one line code change to nsca.c will allow you to do a rudimentary substring match (starting at the left and working right). This may help you if say the first, second, and/or third octet of the IP is always the same. For example, I could set allowed_hosts=127.0.0.1,12.153.6.,208.182. NSCA will now accept all connections from localhost, any IP's in the 12.153.6 class C or any that start with 208.182. If I had '12.153.6' with no trailing . it would match 12.153.6, 12.153.60, 12.153.61, etc... It does open you up a little from a security perspective, but it's better than accepting from the whole world. By the way, YMMV as far as the functionality of this patch. I've tested it and it appears to work as advertised but I haven't tested all possible values for the allowed_hosts. I would encourage you to use encryption of the data if you're not already using it for the most secure implementation. --- nsca.orig 2003-12-04 13:13:41.000000000 -0600 +++ nsca.c 2003-12-04 13:15:21.000000000 -0600 @@ -1013,7 +1013,8 @@ temp_buffer[sizeof(temp_buffer)-1]='\0'; for(temp_ptr=strtok(temp_buffer,",");temp_ptr!=NULL;temp_ptr=strtok(NULL ,",")){ - if(!strcmp(connecting_host,temp_ptr)) +/* if(!strcmp(connecting_host,temp_ptr)) */ + if(!memcmp(connecting_host,temp_ptr,strlen(temp_ptr))) return 1; } -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Dec 4 20:42:53 2003 From: marc at ena.com (Marc Powell) Date: Thu, 4 Dec 2003 13:42:53 -0600 Subject: Passive checks with NSCA Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A005@mismail2.ena.com> > -----Original Message----- > From: Colin A. White [mailto:colin at trematon.com] > Sent: Thursday, December 04, 2003 1:15 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Passive checks with NSCA > > I have set the same password and decrypt method=1 in both nsca.cfg and > send_nsca.cfg. > > For testing, I also entered the currently assigned dynamic IP address of > the remote host running send_nsca to allowed_hosts in nsca.cfg on the > nagios host (though this isn't going to work for me long term) > > I set nsca.cfg debug=1 and can see the debug entries in my > /var/adm/messages (yes, I'm running Solaris on the nagios end) > > > Dec 4 18:47:51 falun nsca[9868]: [ID 601491 daemon.notice] Starting > > up daemon > > Dec 4 18:48:14 falun nsca[9868]: [ID 862360 daemon.error] End of > > connection... > > The 2nd entry appears when I attempt to run send_nsca which eventuall > ends with : > > > Error: Timeout after 10 seconds > > Not exactly detailed/verbose error messages to work with... > > Can anyone suggest what's happening here? There should be a lot more info. The stuff you're showing above is not all. Where are you logging daemon.debug (syslogs LOG_DEBUG facility)? That's where all the juicy stuff is going. If all else fails you could try using 'truss -fea -p to get at least some information. -- Marc: ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fabio.Metta at gradiente.com Thu Dec 4 21:46:49 2003 From: Fabio.Metta at gradiente.com (Fabio Metta) Date: Thu, 4 Dec 2003 17:46:49 -0300 Subject: Compilation Error Message-ID: <040A157B361FC9468806F5F7C5CF40FECEF990@GRADNETSP30.sao.gradnet.com.br> I?m having problems in the compilation of the nagios in HP-UX 11.11, appears the following error: ========================================================================= cd ./cgi && make gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI extinfo.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../x data/xsddefault.c ../common/comments.c ../xdata/xcddefault.c edata.o ../xdata/xe dtemplate.c ../common/downtime.c ../xdata/xdddefault.c -o extinfo.cgi /usr/ccs/bin/ld: edata.o: Not a valid object file (invalid system id) collect2: ld returned 1 exit status *** Error exit code 1 Stop. *** Error exit code 1 ========================================================================= who can help me ? Thanks Fabio Metta -------------- next part -------------- An HTML attachment was scrubbed... URL: From bwhaley at costrack.com Thu Dec 4 21:13:03 2003 From: bwhaley at costrack.com (Ben Whaley) Date: Thu, 04 Dec 2003 13:13:03 -0700 Subject: Service thresholds Message-ID: Greetings, I'm sure there is a way to do this with nagios but it isn't immediately obvious to me. Here is my problem. I'd like to suppress notifications about state changes for a certain threshold. For example, say a server of my is hit with a spam message that is delivered to all my users. The number of processes, number of sendmail processes, and system load will all increase, all of which I am monitoring. But if they just increase (over the critical states) and then return to normal after delivering the spam, I don't want to be notified. I only want to be notified if the host retains that critical state for, say, 2 or more checks. Any ideas? Thanks, Ben Whaley ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From miglionni at ig.com.br Thu Dec 4 21:21:15 2003 From: miglionni at ig.com.br (miglionni at ig.com.br) Date: Thu, 4 Dec 2003 18:21:15 -0200 Subject: DB2 and Websphere Message-ID: somebody knows some script or plugin to monitor DB2 and websphere? _________________________________________________________ Voce quer um iGMail protegido contra v?rus e spams? Clique aqui: http://www.igmailseguro.ig.com.br Ofertas imperd?veis! Link: http://www.americanas.com.br/ig/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Dec 4 22:17:16 2003 From: marc at ena.com (Marc Powell) Date: Thu, 4 Dec 2003 15:17:16 -0600 Subject: Service thresholds Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A006@mismail2.ena.com> > -----Original Message----- > From: Ben Whaley [mailto:bwhaley at costrack.com] > Sent: Thursday, December 04, 2003 2:13 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Service thresholds > > Greetings, > > I'm sure there is a way to do this with nagios but it isn't immediately > obvious to me. Here is my problem. > > I'd like to suppress notifications about state changes for a certain > threshold. For example, say a server of my is hit with a spam message that > is delivered to all my users. The number of processes, number of sendmail > processes, and system load will all increase, all of which I am > monitoring. > But if they just increase (over the critical states) and then return to > normal after delivering the spam, I don't want to be notified. I only want > to be notified if the host retains that critical state for, say, 2 or more > checks. > > Any ideas? > Play with your max_check_attempts and retry check interval. For example, max_check_attempts 5 normal_check_interval 5 retry_check_interval 3 means that nagios will have to go through 5 failures at 3 minutes between attempts for a total of about 15 minutes before a notification is sent out. If the service recovers at any point in that process, no notification is sent. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From parzamendi at Fiskars.com Thu Dec 4 22:58:25 2003 From: parzamendi at Fiskars.com (Arzamendi, Peter) Date: Thu, 4 Dec 2003 15:58:25 -0600 Subject: Nagat Message-ID: <31BD3FA83CF1F948AF20F4A1C3BC9F7F05110515@madmail01.fiskars.com> Does anyone know if there will a section under Nagat for dependencies? Thanks, Pete ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From enteal at suacidade.com.br Fri Dec 5 01:14:31 2003 From: enteal at suacidade.com.br (Enteal-SC) Date: Thu, 4 Dec 2003 22:14:31 -0200 Subject: Not found SSLLIB.SO.4 Message-ID: Hi The plugin check_httpis returning me an error... /usr/lib/nagios/plugins/check_http: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory... I Search for this and just found libssl.so.2 my linux is RedHat 8... Thx in Advance Rafael -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at holsman.net Fri Dec 5 02:00:19 2003 From: lists at holsman.net (Ian Holsman) Date: Fri, 05 Dec 2003 12:00:19 +1100 Subject: Alerting -- how to generate a single alert per hostgroup Message-ID: Is there anyway in nagios to set it up so that I only get one email/page per hostgroup/service failure instead of one per host? ie..something like ** PROBLEM alert - Appservergroup/AppServer-7100 is CRITICAL -- 70% failing ** ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From esolomon at ticketweb.com Fri Dec 5 02:52:40 2003 From: esolomon at ticketweb.com (Eric Solomon) Date: Thu, 04 Dec 2003 17:52:40 -0800 Subject: Multiple exclusions for check_disk Message-ID: <1070589160.4443.7.camel@localhost.localdomain> Can one specify more than one device to ignore with the Nagios check_disk plugin, or can you only enter one value for the -x argument? I'm using this on Linux, Nagios plugins 1.3.1. -- ---------------------------- | | Eric Solomon | Systems Support Engineer | TicketWeb | 415-901-0210x116 | ---------------------------- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pwebster at ausgeo.com.au Fri Dec 5 04:41:05 2003 From: pwebster at ausgeo.com.au (Patrick Webster) Date: Fri, 5 Dec 2003 14:41:05 +1100 Subject: check cisco devices? Message-ID: <52B61873A3467540AF8D4C08BA3AE52A1614DA@ags01.ausgeo.com.au> Hello once again, Is there a way to check a cisco router without using SNMP? For example, you may be able to use a check_by_ssh (is there a check_by_telnet?) to login to the router and check uptime etc. Thanks - all advice appreciated, -Patrick ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rp40265 at rp-plus.de Fri Dec 5 05:41:40 2003 From: rp40265 at rp-plus.de (=?iso-8859-1?Q?Manfred_Gn=E4dig?=) Date: Fri, 5 Dec 2003 05:41:40 +0100 Subject: My ALLERT Mails cant leaf my Server... Message-ID: <000201c3baea$16630e90$6402a8c0@ACERMGP> Hallo, my Nagios is working verry well. But I have a small Problem. The ALLERT eMails can?t go out from my Server. Because the Absender is daemon at localhost The ERROR is ?The Domain of this eMailadress don?t exist ? What can do? Can I change anyware the Absender Adresse? Thanks a lott Mutch Greatings Manfred -------------- next part -------------- An HTML attachment was scrubbed... URL: From nitesh at incallusb.com Fri Dec 5 06:38:27 2003 From: nitesh at incallusb.com (nitesh) Date: Thu, 04 Dec 2003 21:38:27 -0800 Subject: Object not Found HELP Message-ID: <20031205053827.14181.qmail@mail1.0web-hosting.com> Hello all, I am new to Nagios and I am setting up on Redhat 9. I followed all the compiling and installation procedure and manage to install Nagios. Right now I m facing problem configuring httpd.conf. I can display the HTML files on the web browser but CGI are not been executed. I am getting an error message "Object not found". I am kinda confused with the two NOTE: in the documentation. One says should be on top of another... Can anyone help me with there httpd.conf file... Thanks Regards Nitesh ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Fri Dec 5 06:48:44 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Fri, 05 Dec 2003 15:48:44 +1000 Subject: Patch for check_nt.c Message-ID: <5.2.0.9.2.20031204171449.026579a0@imap.qut.edu.au> Hi all, Please find attached my patch for version 1.7.2.3 of check_nt.c. This patch adds the ability to check disk space based on the amount of Mb left on a partition. I wrote this because 1% of a 100Gb partition is still a lot of space! :D The command line option is -m or --mb. The logic behind the checks is reversed against the percentage checks: the percentage method checks against the amount of disk space used; the Mb method checks against the amount of free space left. I could have got the same functionality from NRPE_NT or by using a 3rd party solution, but I haven't had cause to deploy NRPE_NT yet, so I decided to patch check_nt.c. Technical stuff: I used Mb values rather than Gb values because of the use of the unsigned long type for the percentage values, which are used extensively through out check_nt.c. So rather than rewrite a lot of check_nt.c so you could specify, say, -w 1.2 (Gb), I decided to use Mb value on the command line. (Debugging revealed that when a float value is converted into an unsigned long, you would get a negative value in that unsigned long - not good when checking remaining disk space!) Yves: I've submitted this patch to sourceforge. Thanks, ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 -------------- next part -------------- A non-text attachment was scrubbed... Name: check_nt.c.diff Type: application/octet-stream Size: 4111 bytes Desc: not available URL: From michel at sentinix.org Fri Dec 5 09:01:24 2003 From: michel at sentinix.org (Michel Blomgren) Date: Fri, 5 Dec 2003 09:01:24 +0100 Subject: The SENTINIX project Message-ID: <200312050901.24310.michel@sentinix.org> Hi! I'm writing on behalf of the SENTINIX project, which is a Linux distribution designed for monitoring (Nagios), auditing (Nessus, nmap), intrusion detection (Snort), anti-spam (e-mail gateway/proxying using MailScanner+SpamAssassin) and clustering (openMosix). Nagios is a central part in SENTINIX and we're working on developing Nagios plugins to, for instance, handle Snort alerts, check openMosix cluster load average and utilization, etc. I'm writing this because we need help with development, beta testing and lots of more community feedback! SENTINIX is developed entirely by what the community (at large) asks for. Please drop by http://sentinix.org and check it out. SENTINIX is free software, it's currently being (extremely) actively developed with the help of sponsorship and donations. The two previous beta releases were released under a BSD-type license, the next (v0.71) will be released entirely under GNU GPL (and will remain so). -- Michel Blomgren SENTINIX Project Manager http://sentinix.org ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spyou at club-internet.fr Fri Dec 5 10:31:37 2003 From: spyou at club-internet.fr (Spyou) Date: Fri, 05 Dec 2003 10:31:37 +0100 Subject: My ALLERT Mails cant leaf my Server... In-Reply-To: <000201c3baea$16630e90$6402a8c0@ACERMGP> References: <000201c3baea$16630e90$6402a8c0@ACERMGP> Message-ID: <6.0.0.22.0.20031205102937.03f11228@212.43.217.14> At 05:41 05/12/2003, you wrote: >Hallo, >my Nagios is working verry well. >What can do? Looking at your configuration file, find where your notify-by-email comand is defined and modify it. Ex : command_line sh -c 'echo -e "Subject: ** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **\n\n***** Nagios 1.0 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$"' | /usr/sbin/sendmail -f from at my.mail.server $CONTACTEMAIL$ ____________________________________ 'Spyou' - www.spyou.org - root at spyou.org #gtr / ircnet.kaptech.fr - UIN : 6871374 Please, tell me who i am ! - Supertramps ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhearns at tuls.pauken.co.uk Fri Dec 5 12:31:08 2003 From: jhearns at tuls.pauken.co.uk (Dr John Hearns) Date: Fri, 5 Dec 2003 11:31:08 +0000 Subject: Large hostgroups? Message-ID: <20031205113108.GB12952@tuls.pauken.co.uk> I'm trying to configure Nagios to monitor a large cluster of Linux machines. I've made a little script which will add a host definition for each node to the hosts.cfg file (there may be hundreds of nodes). I create a hostgroup called nodes: define hostgroup{ hostgroup_name nodes alias Compute Nodes contact_groups cluster-admins members node01 node02 node03 node04 node05 node06 node07 node08 node09 node10 } The problem is that I can't get all the nodes in the members. nagios -v returns: Error: Host name 'node01 node02 node03 node04 node05 node06 node07 node08 node09 node10' for service 'SENSORS-NODES' exceeds maximum length of 63 characters Help! Is there an elegant way to get 100's of nodes in the members, without having a huge long string? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Fri Dec 5 12:40:02 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Fri, 05 Dec 2003 11:40:02 +0000 Subject: check cisco devices? In-Reply-To: <52B61873A3467540AF8D4C08BA3AE52A1614DA@ags01.ausgeo.com.au> References: <52B61873A3467540AF8D4C08BA3AE52A1614DA@ags01.ausgeo.com.au> Message-ID: <3FD06E92.1030508@exponential-e.com> Patrick Webster wrote: >Hello once again, > >Is there a way to check a cisco router without using SNMP? > >For example, you may be able to use a check_by_ssh (is there a >check_by_telnet?) to login to the router and check uptime etc. > > > I've used the perl modules Net::telnet or Net::Telnet::Cisco to implement some plugins. There are some perl plugins such as the one that checks the interface status that I used to copy the general structure of a plugin than added the logic I needed. Jim ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhearns at tuls.pauken.co.uk Fri Dec 5 12:55:09 2003 From: jhearns at tuls.pauken.co.uk (Dr John Hearns) Date: Fri, 5 Dec 2003 11:55:09 +0000 Subject: Large hostgroups? In-Reply-To: <20031205113108.GB12952@tuls.pauken.co.uk> References: <20031205113108.GB12952@tuls.pauken.co.uk> Message-ID: <20031205115509.GD12952@tuls.pauken.co.uk> On Fri, Dec 05, 2003 at 11:31:08AM +0000, Dr John Hearns wrote: Of course, the members list is comma separated. But the question still stands - is there an elegant way to add hunderds of nodes to a hostgroup? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Fri Dec 5 13:59:15 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Fri, 05 Dec 2003 07:59:15 -0500 Subject: check_sensors - alternatives? In-Reply-To: References: Message-ID: <1070629154.5510.10.camel@miles.debisschop.net> On Thu, 2003-12-04 at 08:14, John Hearns wrote: > The sample check_sensors plugin is rather simple - > it simply checks for the string ALARM in the output of lm_sensors. > > Can anyone point me towards other lm_sensors plugins? I don't know of other implementations. > Forgive me if I'm misunderstanding things, > but features which would be nice would be: > > *) an alarm message relating to the problem, eg. FAN1 Fail Yes. That would be good to add > *) maybe output of the temps/fan speeds for later processing in APAN > (that's next on the list - get APAN working. Hints/tips welcome!) Sorry, cannot comment on APAN, I don't use it. > *) more sophisticated filtering on alarms. > For example, looking at the lm_sensors output below there is a > Chassis Intrusion alarm, which I don't want to trigger an alarm state For that one, I think you need to change the lm_sensors output - if lm_sensors is sane, that will cause a non-zero exit status, which should propagate through the plugin. The lm_sensors config file will alow you to change things like that, IIRC. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Fri Dec 5 14:01:31 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Fri, 05 Dec 2003 08:01:31 -0500 Subject: check DNS services In-Reply-To: <2DB52B117EF1174084018377C133DDAF021632BE@HPEXCHANGE.ie.es.> References: <2DB52B117EF1174084018377C133DDAF021632BE@HPEXCHANGE.ie.es.> Message-ID: <1070629291.5510.14.camel@miles.debisschop.net> On Thu, 2003-12-04 at 11:14, Angel Javier Ripa wrote: > Hi everyone, > > > > I am trying to check a dns service running on Windows > 2000. When I check the primary DNS server all is ok, but when I check > the secondary DNS server I receive the following error: > > > > % check_dns -H www.terra.com -s mysecondarydns > > Segmentation fault (core dumped) What version of the plugins are you using? What OS and release? In what nslookup/host commands if not the same that came with the OS? What does the seconadry server say when you query it with host or dig or nslookup? Without that info, it will be hard to help. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Fri Dec 5 14:03:15 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Fri, 05 Dec 2003 08:03:15 -0500 Subject: Not found SSLLIB.SO.4 In-Reply-To: References: Message-ID: <1070629395.5510.18.camel@miles.debisschop.net> On Thu, 2003-12-04 at 19:14, Enteal-SC wrote: > Hi > > The plugin check_httpis returning me an error... > /usr/lib/nagios/plugins/check_http: error while loading shared > libraries: libssl.so.4: cannot open shared object file: No such file > or directory... > > I Search for this and just found libssl.so.2 my linux is RedHat 8... The plugins on the web site were compiled on Fedora. They need to be rebuilt for RH8. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tvilliers at lastminute.com Fri Dec 5 14:13:34 2003 From: tvilliers at lastminute.com (Tielman de Villiers) Date: Fri, 05 Dec 2003 13:13:34 +0000 Subject: UPDATE :: NASTYA BUILD :: 5/12/03 Message-ID: <1070630014.5431.15.camel@lmn10631.lastminute.com> The Nastya build is now complete. -- Tielman de Villiers Perl Developer: Post Sales lastminute.com Address: 4 Buckingham Gate, London SW1E 6JP Tel: +44(0)20.7802.4393 Fax: +44(0)20.7802.9302 email: tvilliers at lastminute.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjarvis at portal.com Fri Dec 5 14:16:10 2003 From: cjarvis at portal.com (Chris Jarvis) Date: Fri, 5 Dec 2003 05:16:10 -0800 Subject: Problem with extended service info Message-ID: Hello, I am having a problem getting extended service graph icon to show up on the status page. I have configured the cgi.cfg to use extendedservice info file and I do not have it configured to use database. xedtemplate_config_file=/etc/nagios/hostextinfo.cfg xedtemplate_config_file=/etc/nagios/serviceextinfo.cfg I have configured the extended service file as follows. serviceextinfo{ host_name cup1-dc1 service_description Disk-usage notes_url http://nagios/nagios/cgi-bin/apan.cgi?host=cup1-dc1 &service=Disk-usage icon_image graph.png icon_image_alt View graphs } The graph icon is in the logos subdirectory, but won't show up on the status page? I have restarted Nagios numerous times. I am running Nagios 1.1 on RH 9 with plugins-1.3.1-5. Any advide would be greatly appreciated. Thank you. Chris Jarvis Network Engineer Portal Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From mlist.nagios at inlan.inmics.fi Fri Dec 5 14:41:06 2003 From: mlist.nagios at inlan.inmics.fi (MiikaT) Date: Fri, 5 Dec 2003 15:41:06 +0200 Subject: Syslog check Message-ID: <1070631666.3fd08af2c7cfe@imp.inmics.fi> Hi, is there a plugin for nagios, which could parse certain entries from syslog or any other log files and create alerts? -MiikaT ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Dec 5 15:11:29 2003 From: marc at ena.com (Marc Powell) Date: Fri, 5 Dec 2003 08:11:29 -0600 Subject: Syslog check Message-ID: <370ACCFA5BB3B346A31222E5559BF91F0141FB@mismail2.ena.com> Not that it's obvious but check_log handles that. -- Marc -----Original Message----- From: MiikaT To: nagios-users at lists.sourceforge.net Sent: Fri Dec 05 07:41:06 2003 Subject: [Nagios-users] Syslog check Hi, is there a plugin for nagios, which could parse certain entries from syslog or any other log files and create alerts? -MiikaT ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From skip at pobox.com Fri Dec 5 15:39:25 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri, 5 Dec 2003 08:39:25 -0600 Subject: nagmin installation In-Reply-To: References: Message-ID: <16336.39069.679122.790374@montanaro.dyndns.org> Muthu> I have nagios installed & running with mysql database support. I Muthu> want to install nagmin to create rrd graphs. Can anyone guide me Muthu> the installation procedure for nagmin. when installing will it Muthu> creates its own database or will it integrate with nagios Muthu> database. NagMIN provides an alternate way to manage your Nagios config files. It doesn't work on Nagios output. NagMIN stores configuration information in a MySQL database which you can edit through a web interface. After you make changes you can "activate" a configuration. This causes NagMIN to generate a new set of Nagios config files and restart Nagios. -- Skip Montanaro Got gigs? http://www.musi-cal.com/submit.html Got spam? http://spambayes.sf.net/ skip at pobox.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edward.Crotty at dowjones.com Fri Dec 5 15:56:14 2003 From: Edward.Crotty at dowjones.com (Crotty, Edward) Date: Fri, 5 Dec 2003 09:56:14 -0500 Subject: Syslog check Message-ID: <6D51028899FFD111A95500805FA746571016574F@sbkmxsmb04> And even further on that subject, check_log2.pl in the contrib directory does check_log one up by adding a -n flag... Usage: check_log2.pl -l -s -p [-n ] Usage: check_log2.pl [ -v | --version ] Usage: check_log2.pl [ -h | --help ] -l, --logfile= The log file to be scanned -s, --seekfile= The temporary file to store the seek position of the last scan -p, --pattern= The regular expression to scan for in the log file -n, --negpattern= The regular expression to skip in the log file >From my quick use of the two, I would recommend the check_log2.pl just because it happens to give you the flexibility to not only say find me something, but find me something... but if it has something else in it as well, dont trigger an alarm (the -n) -ed -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Friday, December 05, 2003 9:11 AM To: mlist.nagios at inlan.inmics.fi; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Syslog check Not that it's obvious but check_log handles that. -- Marc -----Original Message----- From: MiikaT To: nagios-users at lists.sourceforge.net Sent: Fri Dec 05 07:41:06 2003 Subject: [Nagios-users] Syslog check Hi, is there a plugin for nagios, which could parse certain entries from syslog or any other log files and create alerts? -MiikaT ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From Francois.JEANMOUGIN at 123multimedia.com Fri Dec 5 16:03:40 2003 From: Francois.JEANMOUGIN at 123multimedia.com (Francois JEANMOUGIN) Date: Fri, 5 Dec 2003 16:03:40 +0100 Subject: Large hostgroups? Message-ID: <153E2BD74548D1408FFF45D4D27E2A58220432@mail.tls.123multimedia.com> > On Fri, Dec 05, 2003 at 11:31:08AM +0000, Dr John Hearns wrote: > > Of course, the members list is comma separated. > > But the question still stands - is there an elegant way > to add hunderds of nodes to a hostgroup? For what bad reason would you like to do that ? Hostgroup is a way to make overview much more readable, so, I suggest you group your nodes by 20, it would be a better way to use the nagios interface. I could have missed something, but... Fran?ois. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam_ml at spacething.org Fri Dec 5 16:12:06 2003 From: sam_ml at spacething.org (Sam Stickland) Date: Fri, 5 Dec 2003 15:12:06 -0000 Subject: Subservice Definations Message-ID: <07b801c3bb42$33585b10$fb00a8c0@office.toastedmedia.net> Hi, I'm after a slightly better solution for SNMP trap monitoring. SNMP traps are submitted as passive service checks. All the examples show the a single service defination for the traps - this has the unfortunate effect of the next SNMP trap overwriting the previous. I'd like to have different services definations for different SNMP traps on our networking equipment, but that would result in a LOT of service definations. It would be nice if there was a sub-service id that could be submitted with passive checks, that effectively divides a single service into multiple services on demand, without the need for 1000's of service definations. Is there a solution to this that I've missed, or is it going to require changes to Nagios? I'm a fair programmer so I'm happy to make these changes myself, but others might not consider this a good solution to this problem. Sam ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Dec 5 16:59:47 2003 From: marc at ena.com (Marc Powell) Date: Fri, 5 Dec 2003 09:59:47 -0600 Subject: Large hostgroups? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A011@mismail2.ena.com> > -----Original Message----- > From: Francois JEANMOUGIN [mailto:Francois.JEANMOUGIN at 123multimedia.com] > Sent: Friday, December 05, 2003 9:04 AM > To: Dr John Hearns; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Large hostgroups? > > > > > On Fri, Dec 05, 2003 at 11:31:08AM +0000, Dr John Hearns wrote: > > > > Of course, the members list is comma separated. > > > > But the question still stands - is there an elegant way > > to add hunderds of nodes to a hostgroup? > > For what bad reason would you like to do that ? Hostgroup is a way to make > overview much more readable, so, I suggest you group your nodes by 20, it > would be a better way to use the nagios interface. > > I could have missed something, but... That may work fine for you but would be absolutely impractical for me. In my case I like to be able to see hosts in two different ways, by County, and by Region. That way I can see at a glance if I'm having a District problem or a Service Platform problem affecting an entire region. They're also not just for viewing readability. I can now schedule downtime for a district or an entire region once without having to touch 50 hostgroups as I would have to do in your scenario. My region hostgroups have >1000 hosts in them. I'm able to do that by upping the MAX_XODTEMPLATE_INPUT_BUFFER significantly. It may not be the most secure way but it works well for me. xodtemplate.h:#define MAX_XODTEMPLATE_INPUT_BUFFER 49152 -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daryl at introspect.net Fri Dec 5 17:03:57 2003 From: daryl at introspect.net (daryl at introspect.net) Date: Fri, 5 Dec 2003 11:03:57 -0500 Subject: Syslog check Message-ID: <9C7A3E5A42361642983F68FF090D11F80220B5@noc0.bmpc.int> Is there a plugin that can handle syslog-ng sent to a MySql database? I'm guessing no.....but it's worth asking. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Crotty, Edward Sent: Friday, December 05, 2003 9:56 AM To: 'Marc Powell'; mlist.nagios at inlan.inmics.fi; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Syslog check And even further on that subject, check_log2.pl in the contrib directory does check_log one up by adding a -n flag... Usage: check_log2.pl -l -s -p [-n ] Usage: check_log2.pl [ -v | --version ] Usage: check_log2.pl [ -h | --help ] -l, --logfile= The log file to be scanned -s, --seekfile= The temporary file to store the seek position of the last scan -p, --pattern= The regular expression to scan for in the log file -n, --negpattern= The regular expression to skip in the log file From my quick use of the two, I would recommend the check_log2.pl just because it happens to give you the flexibility to not only say find me something, but find me something... but if it has something else in it as well, dont trigger an alarm (the -n) -ed -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Friday, December 05, 2003 9:11 AM To: mlist.nagios at inlan.inmics.fi; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Syslog check Not that it's obvious but check_log handles that. -- Marc -----Original Message----- From: MiikaT To: nagios-users at lists.sourceforge.net Sent: Fri Dec 05 07:41:06 2003 Subject: [Nagios-users] Syslog check Hi, is there a plugin for nagios, which could parse certain entries from syslog or any other log files and create alerts? -MiikaT ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.vier at tradingtechnologies.com Fri Dec 5 17:36:57 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 05 Dec 2003 10:36:57 -0600 Subject: Large hostgroups? In-Reply-To: <20031205115509.GD12952@tuls.pauken.co.uk> References: <20031205113108.GB12952@tuls.pauken.co.uk> <20031205115509.GD12952@tuls.pauken.co.uk> Message-ID: <1070642217.13040.2.camel@localhost> On Fri, 2003-12-05 at 05:55, Dr John Hearns wrote: > On Fri, Dec 05, 2003 at 11:31:08AM +0000, Dr John Hearns wrote: > > Of course, the members list is comma separated. > > But the question still stands - is there an elegant way > to add hunderds of nodes to a hostgroup? Perl, awk, vi/ex...all do this with ease. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From redder at yuma.acns.ColoState.EDU Fri Dec 5 23:32:36 2003 From: redder at yuma.acns.ColoState.EDU (Greg Redder) Date: Fri, 5 Dec 2003 15:32:36 -0700 (MST) Subject: Delay before pageing/e-mailing Message-ID: I'm trying to figure out how to get Nagios to pause for a while before it pages/emails us about a problem. We monitor pings to some devices which aren't that critical, but that we still care about. We're not too worried about them unless they are down (unpingable) for more than 15 minutes. I'm preparing to write a plug-in that waits a specified amount of time before pageing/emailing us when it detects a problem. However, before I get too carried away, has anyone else already dealt with this problem? Thank you --Greg Redder Network Analyst Colorado State University =============================================================================== Greg Redder Academic Computing & Networking Services Colorado State University, ACNS Phone:(970)491-7222 FAX: (970)491-1958 601 S. Howes, Room 625 E-mail: redder at yuma.colostate.edu Fort Collins, CO 80523 PGP Fprint:299F83B58A72BE7428E064E801749C69FFA537C6 =============================================================================== ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri Dec 5 23:43:13 2003 From: jhmartin at toger.us (Jason Martin) Date: Fri, 5 Dec 2003 14:43:13 -0800 (PST) Subject: Delay before pageing/e-mailing In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I think you are looking for the max_check_attempts and retry_check_interval. You can combine these such that Nagios will wait until the service has been down for 15 minutes (or, 'max check attempts 3, retry_check_interval 5) before sending a notification. - -Jason Martin On Fri, 5 Dec 2003, Greg Redder wrote: > > I'm trying to figure out how to get Nagios to pause for a while before it > pages/emails us about a problem. We monitor pings to some devices which > aren't that critical, but that we still care about. We're not too worried > about them unless they are down (unpingable) for more than 15 minutes. > > I'm preparing to write a plug-in that waits a specified amount of time > before pageing/emailing us when it detects a problem. However, before I > get too carried away, has anyone else already dealt with this problem? > > Thank you > --Greg Redder > Network Analyst > Colorado State University > > > =============================================================================== > Greg Redder Academic Computing & Networking Services > Colorado State University, ACNS Phone:(970)491-7222 FAX: (970)491-1958 > 601 S. Howes, Room 625 E-mail: redder at yuma.colostate.edu > Fort Collins, CO 80523 PGP Fprint:299F83B58A72BE7428E064E801749C69FFA537C6 > =============================================================================== > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/0QoHl2ODWuqVSBMRAuc8AJ0TK+b8VvZfEkKCFL81856LQkIemgCcDj5c Vsgc2vfXQlL6oRy622B7ozI= =7qhm -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Fri Dec 5 23:45:33 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 05 Dec 2003 16:45:33 -0600 Subject: Delay before pageing/e-mailing In-Reply-To: References: Message-ID: <1070664333.13038.19.camel@localhost> What you are describing really doesn't *solve* anything. Consider what you've stated: 1. System has a problem, nagios notices it. 2. Page/email goes into a queue 3. time passes (15 minutes, as you stated) 4. regardless the system state, you get a page. Why not just adjust the retry_check_interval and max_check_attempts in your service definition to suit your application's needs? An external "message delayer" isn't really helping you. On Fri, 2003-12-05 at 16:32, Greg Redder wrote: > I'm trying to figure out how to get Nagios to pause for a while before it > pages/emails us about a problem. We monitor pings to some devices which > aren't that critical, but that we still care about. We're not too worried > about them unless they are down (unpingable) for more than 15 minutes. > > I'm preparing to write a plug-in that waits a specified amount of time > before pageing/emailing us when it detects a problem. However, before I > get too carried away, has anyone else already dealt with this problem? > > Thank you > --Greg Redder > Network Analyst > Colorado State University > > > =============================================================================== > Greg Redder Academic Computing & Networking Services > Colorado State University, ACNS Phone:(970)491-7222 FAX: (970)491-1958 > 601 S. Howes, Room 625 E-mail: redder at yuma.colostate.edu > Fort Collins, CO 80523 PGP Fprint:299F83B58A72BE7428E064E801749C69FFA537C6 > =============================================================================== > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nitesh at incallusb.com Sat Dec 6 00:05:28 2003 From: nitesh at incallusb.com (Nitesh Divecha) Date: Fri, 5 Dec 2003 15:05:28 -0800 Subject: Help CGI configuration Message-ID: <025801c3bb84$4648f710$6f5839d0@nitesh> Hello, So far everything is going well while compiling and installing Nagios on RedHat 9. I followed the instructions from the documentation... For some reason I got only four directories in my /usr/local/nagios directory. bin/ sbin/ share/ var/ I don't have the directory etc/, but anyways I was able to continue with the installation. I am facing problems to execute the CGI files. I am getting an error "404 Object not found". In the documentation it says that I should have ScriptAlias before the Alias. In my httpd.conf, the Alias comes first and then the ScriptAlias. So I dont know do I have to change the setup of my httpd.conf. Can somebody please show me the correct path.... Your help will be highly appreciated.. Thanks Regards Nitesh -------------- next part -------------- An HTML attachment was scrubbed... URL: From redder at yuma.acns.ColoState.EDU Sat Dec 6 00:20:26 2003 From: redder at yuma.acns.ColoState.EDU (Greg Redder) Date: Fri, 5 Dec 2003 16:20:26 -0700 (MST) Subject: Delay before pageing/e-mailing In-Reply-To: <1070664333.13038.19.camel@localhost> References: <1070664333.13038.19.camel@localhost> Message-ID: Jeff, Jason, You both suggested I look at retry_check_interval and max_check_attempts. However, as *I* understand it that will affect all devices. Unfortunately, we have various groups for which we wish to delay the pageing/emailing. Some groups we wish to wait 15 minutes, others 5 minutes. Also, if the device comes back up in the 15 minutes, we don't want to be paged. Sorry, I wasn't clear about that. THank you --Greg Redder On Fri, 5 Dec 2003, jeff vier wrote: > Date: Fri, 05 Dec 2003 16:45:33 -0600 > From: jeff vier > To: redder at yuma.acns.colostate.edu > Cc: nagios-users > Subject: Re: [Nagios-users] Delay before pageing/e-mailing > > What you are describing really doesn't *solve* anything. > > Consider what you've stated: > 1. System has a problem, nagios notices it. > 2. Page/email goes into a queue > 3. time passes (15 minutes, as you stated) > 4. regardless the system state, you get a page. > > Why not just adjust the retry_check_interval and max_check_attempts in > your service definition to suit your application's needs? An external > "message delayer" isn't really helping you. > > On Fri, 2003-12-05 at 16:32, Greg Redder wrote: > > I'm trying to figure out how to get Nagios to pause for a while before it > > pages/emails us about a problem. We monitor pings to some devices which > > aren't that critical, but that we still care about. We're not too worried > > about them unless they are down (unpingable) for more than 15 minutes. > > > > I'm preparing to write a plug-in that waits a specified amount of time > > before pageing/emailing us when it detects a problem. However, before I > > get too carried away, has anyone else already dealt with this problem? > > > > Thank you > > --Greg Redder > > Network Analyst > > Colorado State University > > > > > > =============================================================================== > > Greg Redder Academic Computing & Networking Services > > Colorado State University, ACNS Phone:(970)491-7222 FAX: (970)491-1958 > > 601 S. Howes, Room 625 E-mail: redder at yuma.colostate.edu > > Fort Collins, CO 80523 PGP Fprint:299F83B58A72BE7428E064E801749C69FFA537C6 > > =============================================================================== > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > =============================================================================== Greg Redder Academic Computing & Networking Services Colorado State University, ACNS Phone:(970)491-7222 FAX: (970)491-1958 601 S. Howes, Room 625 E-mail: redder at yuma.colostate.edu Fort Collins, CO 80523 PGP Fprint:299F83B58A72BE7428E064E801749C69FFA537C6 =============================================================================== ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Sat Dec 6 00:29:57 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 05 Dec 2003 17:29:57 -0600 Subject: Delay before pageing/e-mailing In-Reply-To: References: <1070664333.13038.19.camel@localhost> Message-ID: <1070666997.13040.23.camel@localhost> So, only kick up the retry_check_interval and max_check_attempts for the services for the specific devices you want to 'delay'. You can define those parameters for each service (or put it in your template, or whatever). On Fri, 2003-12-05 at 17:20, Greg Redder wrote: > Jeff, Jason, > > You both suggested I look at retry_check_interval and max_check_attempts. > However, as *I* understand it that will affect all devices. > Unfortunately, we have various groups for which we wish to delay the > pageing/emailing. Some groups we wish to wait 15 minutes, others 5 > minutes. > > Also, if the device comes back up in the 15 minutes, we don't want to be > paged. Sorry, I wasn't clear about that. > > THank you --Greg Redder > > > On Fri, 5 Dec 2003, jeff vier wrote: > > > Date: Fri, 05 Dec 2003 16:45:33 -0600 > > From: jeff vier > > To: redder at yuma.acns.colostate.edu > > Cc: nagios-users > > Subject: Re: [Nagios-users] Delay before pageing/e-mailing > > > > What you are describing really doesn't *solve* anything. > > > > Consider what you've stated: > > 1. System has a problem, nagios notices it. > > 2. Page/email goes into a queue > > 3. time passes (15 minutes, as you stated) > > 4. regardless the system state, you get a page. > > > > Why not just adjust the retry_check_interval and max_check_attempts in > > your service definition to suit your application's needs? An external > > "message delayer" isn't really helping you. > > > > On Fri, 2003-12-05 at 16:32, Greg Redder wrote: > > > I'm trying to figure out how to get Nagios to pause for a while before it > > > pages/emails us about a problem. We monitor pings to some devices which > > > aren't that critical, but that we still care about. We're not too worried > > > about them unless they are down (unpingable) for more than 15 minutes. > > > > > > I'm preparing to write a plug-in that waits a specified amount of time > > > before pageing/emailing us when it detects a problem. However, before I > > > get too carried away, has anyone else already dealt with this problem? > > > > > > Thank you > > > --Greg Redder > > > Network Analyst > > > Colorado State University > > > > > > > > > =============================================================================== > > > Greg Redder Academic Computing & Networking Services > > > Colorado State University, ACNS Phone:(970)491-7222 FAX: (970)491-1958 > > > 601 S. Howes, Room 625 E-mail: redder at yuma.colostate.edu > > > Fort Collins, CO 80523 PGP Fprint:299F83B58A72BE7428E064E801749C69FFA537C6 > > > =============================================================================== > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > Does SourceForge.net help you be more productive? Does it > > > help you create better code? SHARE THE LOVE, and help us help > > > YOU! Click Here: http://sourceforge.net/donate/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > =============================================================================== > Greg Redder Academic Computing & Networking Services > Colorado State University, ACNS Phone:(970)491-7222 FAX: (970)491-1958 > 601 S. Howes, Room 625 E-mail: redder at yuma.colostate.edu > Fort Collins, CO 80523 PGP Fprint:299F83B58A72BE7428E064E801749C69FFA537C6 > =============================================================================== ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ferlatte at cryptio.net Sat Dec 6 00:35:42 2003 From: ferlatte at cryptio.net (Mark Ferlatte) Date: Fri, 5 Dec 2003 15:35:42 -0800 Subject: Delay before pageing/e-mailing In-Reply-To: References: <1070664333.13038.19.camel@localhost> Message-ID: <20031205233542.GB78894@radix.cryptio.net> Greg Redder said on Fri, Dec 05, 2003 at 04:20:26PM -0700: > > Jeff, Jason, > > You both suggested I look at retry_check_interval and max_check_attempts. > However, as *I* understand it that will affect all devices. > Unfortunately, we have various groups for which we wish to delay the > pageing/emailing. Some groups we wish to wait 15 minutes, others 5 > minutes. You can set retry_check_interval and max_check_attempts on a service by service basis. This would solve your problem if you have different services for the devices in question. M -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From jhmartin at toger.us Sat Dec 6 00:35:18 2003 From: jhmartin at toger.us (Jason Martin) Date: Fri, 5 Dec 2003 15:35:18 -0800 (PST) Subject: Delay before pageing/e-mailing In-Reply-To: References: <1070664333.13038.19.camel@localhost> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Those parameters can be specified at the service-level; by no means do they have to affect all devices. I suspect you are using the 'generic service' as the only template, but recall that you can override any of the parameters of the generic service template at any lower level. - -Jason Martin On Fri, 5 Dec 2003, Greg Redder wrote: > > Jeff, Jason, > > You both suggested I look at retry_check_interval and max_check_attempts. > However, as *I* understand it that will affect all devices. > Unfortunately, we have various groups for which we wish to delay the > pageing/emailing. Some groups we wish to wait 15 minutes, others 5 > minutes. > > Also, if the device comes back up in the 15 minutes, we don't want to be > paged. Sorry, I wasn't clear about that. > > THank you --Greg Redder > > > On Fri, 5 Dec 2003, jeff vier wrote: > > > Date: Fri, 05 Dec 2003 16:45:33 -0600 > > From: jeff vier > > To: redder at yuma.acns.colostate.edu > > Cc: nagios-users > > Subject: Re: [Nagios-users] Delay before pageing/e-mailing > > > > What you are describing really doesn't *solve* anything. > > > > Consider what you've stated: > > 1. System has a problem, nagios notices it. > > 2. Page/email goes into a queue > > 3. time passes (15 minutes, as you stated) > > 4. regardless the system state, you get a page. > > > > Why not just adjust the retry_check_interval and max_check_attempts in > > your service definition to suit your application's needs? An external > > "message delayer" isn't really helping you. > > > > On Fri, 2003-12-05 at 16:32, Greg Redder wrote: > > > I'm trying to figure out how to get Nagios to pause for a while before it > > > pages/emails us about a problem. We monitor pings to some devices which > > > aren't that critical, but that we still care about. We're not too worried > > > about them unless they are down (unpingable) for more than 15 minutes. > > > > > > I'm preparing to write a plug-in that waits a specified amount of time > > > before pageing/emailing us when it detects a problem. However, before I > > > get too carried away, has anyone else already dealt with this problem? > > > > > > Thank you > > > --Greg Redder > > > Network Analyst > > > Colorado State University > > > > > > > > > =============================================================================== > > > Greg Redder Academic Computing & Networking Services > > > Colorado State University, ACNS Phone:(970)491-7222 FAX: (970)491-1958 > > > 601 S. Howes, Room 625 E-mail: redder at yuma.colostate.edu > > > Fort Collins, CO 80523 PGP Fprint:299F83B58A72BE7428E064E801749C69FFA537C6 > > > =============================================================================== > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > Does SourceForge.net help you be more productive? Does it > > > help you create better code? SHARE THE LOVE, and help us help > > > YOU! Click Here: http://sourceforge.net/donate/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > =============================================================================== > Greg Redder Academic Computing & Networking Services > Colorado State University, ACNS Phone:(970)491-7222 FAX: (970)491-1958 > 601 S. Howes, Room 625 E-mail: redder at yuma.colostate.edu > Fort Collins, CO 80523 PGP Fprint:299F83B58A72BE7428E064E801749C69FFA537C6 > =============================================================================== > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/0RY6l2ODWuqVSBMRAtaUAJ95TZuxkNyVFCZsWJQhncSYikjgsQCcCsKa lZ9TjWCooqthyatjxzEj+V8= =8uGZ -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dguntner at doit.nv.gov Sat Dec 6 01:59:49 2003 From: Dguntner at doit.nv.gov (David R. Guntner) Date: Fri, 5 Dec 2003 16:59:49 -0800 Subject: Plugin for tping? Message-ID: I was wondering - is there a plugin that will use tping instead of ping? I'm behind a firewall that blocks ICMP traffic, and I have hosts that need monitoring on the other side of it. Since tping uses TCP packets instead of ICMP, it seems like it would be useful as a replacment. Unfortunately, the output from tping looks different than the output of ping. So the check_ping plugin doesn't know what to do with it. Any pointers would be appreciated. --Dave ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ferlatte at cryptio.net Sat Dec 6 02:13:55 2003 From: ferlatte at cryptio.net (Mark Ferlatte) Date: Fri, 5 Dec 2003 17:13:55 -0800 Subject: Plugin for tping? In-Reply-To: References: Message-ID: <20031206011355.GD78894@radix.cryptio.net> David R. Guntner said on Fri, Dec 05, 2003 at 04:59:49PM -0800: > I was wondering - is there a plugin that will use tping instead of ping? I'm behind a firewall that blocks ICMP traffic, and I have hosts that need monitoring on the other side of it. Since tping uses TCP packets instead of ICMP, it seems like it would be useful as a replacment. Unfortunately, the output from tping looks different than the output of ping. So the check_ping plugin doesn't know what to do with it. > > Any pointers would be appreciated. Try using the check_tcp plugin maybe? M -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From billy at DOH.STATE.NM.US Sat Dec 6 02:24:57 2003 From: billy at DOH.STATE.NM.US (billy at DOH.STATE.NM.US) Date: Fri, 5 Dec 2003 18:24:57 -0700 Subject: Large hostgroups? In-Reply-To: <20031205115509.GD12952@tuls.pauken.co.uk> References: <20031205115509.GD12952@tuls.pauken.co.uk> Message-ID: Hi John, You might try doing a dns dump from nslookup (ls -d domain.com > dns.txt) and running a script against that. if you're not comfortable with a script, you at the very least have a text file with all of your hosts in it and it's a lot easier than typing them all in. if you are comfortable with scripting, you can easily extract the relevant data and pump that into a string that will look like you want. regards, William York, MS, MCP+I, MCSE (NT4 & W2K) New Mexico Department of Health Network Operations Center Vice President - PODNet POD, Inc. desk: 505.827.2420 office: 505.243.2287 jhearns at tuls.pauken.co.uk (Dr John Hearns) Sent by: nagios-users-admin at lists.sourceforge.net 12/05/2003 04:55 AM To nagios-users at lists.sourceforge.net cc Subject Re: [Nagios-users] Large hostgroups? On Fri, Dec 05, 2003 at 11:31:08AM +0000, Dr John Hearns wrote: Of course, the members list is comma separated. But the question still stands - is there an elegant way to add hunderds of nodes to a hostgroup? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From Dguntner at doit.nv.gov Sat Dec 6 02:53:37 2003 From: Dguntner at doit.nv.gov (David R. Guntner) Date: Fri, 5 Dec 2003 17:53:37 -0800 Subject: Plugin for tping? Message-ID: [Anyone know how to make Outlook quote a message *correctly*??] That would be great if there was a specific port I wanted to watch. :-) I'm just looking to do the occasional ping if possible. tping would let me do that through the firewall. --Dave -----Original Message----- From: Mark Ferlatte [mailto:ferlatte at cryptio.net] Sent: Friday, December 05, 2003 5:14 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Plugin for tping? David R. Guntner said on Fri, Dec 05, 2003 at 04:59:49PM -0800: > I was wondering - is there a plugin that will use tping instead of ping? I'm behind a firewall that blocks ICMP traffic, and I have hosts that need monitoring on the other side of it. Since tping uses TCP packets instead of ICMP, it seems like it would be useful as a replacment. Unfortunately, the output from tping looks different than the output of ping. So the check_ping plugin doesn't know what to do with it. > > Any pointers would be appreciated. Try using the check_tcp plugin maybe? M ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Sat Dec 6 02:58:58 2003 From: jhmartin at toger.us (Jason Martin) Date: Fri, 5 Dec 2003 17:58:58 -0800 (PST) Subject: Plugin for tping? In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I think what you are looking for is a check_tcp that treats both connection refused and a connection as a 'OK', ie the only thing that causes it to fail is a timeout. I don't think such a thing currently exists but check_tcp could probably be extended to do so. - -Jason Martin On Fri, 5 Dec 2003, David R. Guntner wrote: > [Anyone know how to make Outlook quote a message *correctly*??] > > That would be great if there was a specific port I wanted to watch. :-) > I'm just looking to do the occasional ping if possible. tping would let > me do that through the firewall. > > --Dave > > -----Original Message----- > From: Mark Ferlatte [mailto:ferlatte at cryptio.net] > Sent: Friday, December 05, 2003 5:14 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Plugin for tping? > > > David R. Guntner said on Fri, Dec 05, 2003 at 04:59:49PM -0800: > > I was wondering - is there a plugin that will use tping instead of > ping? I'm behind a firewall that blocks ICMP traffic, and I have hosts > that need monitoring on the other side of it. Since tping uses TCP > packets instead of ICMP, it seems like it would be useful as a > replacment. Unfortunately, the output from tping looks different than > the output of ping. So the check_ping plugin doesn't know what to do > with it. > > > > Any pointers would be appreciated. > > Try using the check_tcp plugin maybe? > > M > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/0Tfnl2ODWuqVSBMRAoOPAJ9hzp18qO0aWfXOLAVRW0FdQH3MTACfUoKT SBw64luDw8pq0c/4ulaPZNs= =e2gI -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sat Dec 6 03:10:46 2003 From: marc at ena.com (Marc Powell) Date: Fri, 5 Dec 2003 20:10:46 -0600 Subject: Plugin for tping? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A01D@mismail2.ena.com> > -----Original Message----- > From: David R. Guntner [mailto:Dguntner at doit.nv.gov] > Sent: Friday, December 05, 2003 7:54 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Plugin for tping? > > [Anyone know how to make Outlook quote a message *correctly*? Tools | Options | Preferences | Email Options | On Replies and Forwards. It only seems to work correctly if the original mail is plain text. If it's HTML or Rich Text, your OOL. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios_mail at ingoa.com Sat Dec 6 06:26:21 2003 From: nagios_mail at ingoa.com (Ran B) Date: Fri, 5 Dec 2003 21:26:21 -0800 (PST) Subject: NRPE 2.0 Compilation Problem on HP-UX Message-ID: <20031206052621.E0B55E4B9@sitemail.everyone.net> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From teng at dataway.com Sat Dec 6 06:32:46 2003 From: teng at dataway.com (Tedman Eng) Date: Fri, 5 Dec 2003 21:32:46 -0800 Subject: Plugin for tping? References: Message-ID: You might want to look at the Net::Ping perl module. http://search.cpan.org/search?query=net+ping It has the possibility to use icmp, tcp, udp, or syn, and enough sample code to create a simple plugin script. "David R. Guntner" wrote in message news:D4C267F23EEDDC4D84CC9E32C04D2F77234211 at EXCH.STATE.NV.US... I was wondering - is there a plugin that will use tping instead of ping? I'm behind a firewall that blocks ICMP traffic, and I have hosts that need monitoring on the other side of it. Since tping uses TCP packets instead of ICMP, it seems like it would be useful as a replacment. Unfortunately, the output from tping looks different than the output of ping. So the check_ping plugin doesn't know what to do with it. Any pointers would be appreciated. --Dave ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ariedel at atlas-mobile.com Sat Dec 6 15:41:51 2003 From: ariedel at atlas-mobile.com (Andy Riedel) Date: Sat, 6 Dec 2003 06:41:51 -0800 Subject: nrpe sudo issues on a remote box References: <20031203065741.29196.qmail@mail.cyberdown.com> Message-ID: I am having the same exact issue; only the stop but not the start portion is executing. Did you ind a solution for this? My setup is nearly identical you yours. Thanks, Andy Riedel Atlas Mobile, Inc. "Robert Bilbrey" wrote in message news:20031203065741.29196.qmail at mail.cyberdown.com... > I modified the example http-restart script to use sudo to restart coldfusion > and apache after they have been down hard twice. The event triggers on the > nagios box and the nrpe daemon executes the script. It kills apache and > coldfusion, but fails to restart apache (w/o a corrosponding error), > coldfusion restarts. The really flaky thing is that if I su to nrpe and run > the script, it runs as it should, both services stop and restart. > > The only differnece in the secure log between both methods of invocation is > that when the daemon does it, there is no tty entry. > > relevant sudoer config: > Cmnd_Alias R = /etc/init.d/httpd start,/etc/init.d/httpd > stop,/etc/init.d/httpd restart,/usr/sbin/httpd,/etc/init.d/coldfusion > stop,/etc/init.d/coldfusion start,/usr/lib/nagios/eventhandlers/http-restart > > nrpe ALL= NOPASSWD: R > > > secure log entries: (DAEMON Initiated) > Dec 2 21:08:28 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/httpd stop > Dec 2 21:08:28 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/coldfusion stop > Dec 2 21:08:29 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/coldfusion start > Dec 2 21:08:29 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/httpd start > Dec 3 00:32:38 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/httpd stop > Dec 3 00:32:40 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/coldfusion stop > Dec 3 00:32:46 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/coldfusion start > Dec 3 00:32:46 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/httpd start > Dec 3 00:33:29 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/httpd stop > Dec 3 00:33:29 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/coldfusion stop > Dec 3 00:33:30 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/coldfusion start > Dec 3 00:33:30 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/httpd start > > secure log entries: (Initiated from console as nrpe) > > > Dec 3 01:52:51 cb01 sudo: nrpe : TTY=pts/1 ; PWD=/var/log ; USER=root ; > COMMAND=/etc/init.d/httpd stop > Dec 3 01:52:53 cb01 sudo: nrpe : TTY=pts/1 ; PWD=/var/log ; USER=root ; > COMMAND=/etc/init.d/coldfusion stop > Dec 3 01:52:54 cb01 sudo: nrpe : TTY=pts/1 ; PWD=/var/log ; USER=root ; > COMMAND=/etc/init.d/coldfusion start > Dec 3 01:52:54 cb01 sudo: nrpe : TTY=pts/1 ; PWD=/var/log ; USER=root ; > COMMAND=/etc/init.d/httpd start > > > So can anyone enlighten me to what I have missed ? > Thanks, Bob > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From miglionni at ig.com.br Sat Dec 6 19:06:40 2003 From: miglionni at ig.com.br (miglionni at ig.com.br) Date: Sat, 6 Dec 2003 16:06:40 -0200 Subject: Monitor a process Message-ID: how to monitor a process that is twirling in the server? what he appears in ps ax _________________________________________________________ Voce quer um iGMail protegido contra v?rus e spams? Clique aqui: http://www.igmailseguro.ig.com.br Ofertas imperd?veis! Link: http://www.americanas.com.br/ig/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ariedel at atlas-mobile.com Sat Dec 6 22:04:31 2003 From: ariedel at atlas-mobile.com (Andy Riedel) Date: Sat, 6 Dec 2003 13:04:31 -0800 Subject: nrpe sudo issues on a remote box References: <20031203065741.29196.qmail@mail.cyberdown.com> Message-ID: I narrowed the problem down to the stop() function in the httpd script. If you comment out the 'echo' line, the full restart works. My guess is that since plugins are only allowed to return 1 line of response text, nrpe is getting confused and terminating the plugin when the first line of ech is received. Perhaps their is some way to pipe the output somewhere else so nrpe doesn't see it? stop() { echo -n $"Stopping $prog: " killproc $httpd RETVAL=$? # echo [ $RETVAL = 0 ] && rm -f /var/lock/subsys/httpd /var/run/httpd.pid } Andy "Robert Bilbrey" wrote in message news:20031203065741.29196.qmail at mail.cyberdown.com... > I modified the example http-restart script to use sudo to restart coldfusion > and apache after they have been down hard twice. The event triggers on the > nagios box and the nrpe daemon executes the script. It kills apache and > coldfusion, but fails to restart apache (w/o a corrosponding error), > coldfusion restarts. The really flaky thing is that if I su to nrpe and run > the script, it runs as it should, both services stop and restart. > > The only differnece in the secure log between both methods of invocation is > that when the daemon does it, there is no tty entry. > > relevant sudoer config: > Cmnd_Alias R = /etc/init.d/httpd start,/etc/init.d/httpd > stop,/etc/init.d/httpd restart,/usr/sbin/httpd,/etc/init.d/coldfusion > stop,/etc/init.d/coldfusion start,/usr/lib/nagios/eventhandlers/http-restart > > nrpe ALL= NOPASSWD: R > > > secure log entries: (DAEMON Initiated) > Dec 2 21:08:28 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/httpd stop > Dec 2 21:08:28 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/coldfusion stop > Dec 2 21:08:29 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/coldfusion start > Dec 2 21:08:29 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/httpd start > Dec 3 00:32:38 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/httpd stop > Dec 3 00:32:40 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/coldfusion stop > Dec 3 00:32:46 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/coldfusion start > Dec 3 00:32:46 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/httpd start > Dec 3 00:33:29 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/httpd stop > Dec 3 00:33:29 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/coldfusion stop > Dec 3 00:33:30 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/coldfusion start > Dec 3 00:33:30 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/httpd start > > secure log entries: (Initiated from console as nrpe) > > > Dec 3 01:52:51 cb01 sudo: nrpe : TTY=pts/1 ; PWD=/var/log ; USER=root ; > COMMAND=/etc/init.d/httpd stop > Dec 3 01:52:53 cb01 sudo: nrpe : TTY=pts/1 ; PWD=/var/log ; USER=root ; > COMMAND=/etc/init.d/coldfusion stop > Dec 3 01:52:54 cb01 sudo: nrpe : TTY=pts/1 ; PWD=/var/log ; USER=root ; > COMMAND=/etc/init.d/coldfusion start > Dec 3 01:52:54 cb01 sudo: nrpe : TTY=pts/1 ; PWD=/var/log ; USER=root ; > COMMAND=/etc/init.d/httpd start > > > So can anyone enlighten me to what I have missed ? > Thanks, Bob > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ariedel at atlas-mobile.com Sun Dec 7 00:03:51 2003 From: ariedel at atlas-mobile.com (Andy Riedel) Date: Sat, 6 Dec 2003 15:03:51 -0800 Subject: SOLVED!: Re: nrpe sudo issues on a remote box References: <20031203065741.29196.qmail@mail.cyberdown.com> Message-ID: Add this pipe to /dev/null in your eventhandler script and everything works properly. nrpe will indeed stop processing a script after the first line of response text is received from the script. By piping to /dev/null, the entire script will complete. sudo /etc/rc.d/init.d/httpd restart >/dev/null Andy "Robert Bilbrey" wrote in message news:20031203065741.29196.qmail at mail.cyberdown.com... > I modified the example http-restart script to use sudo to restart coldfusion > and apache after they have been down hard twice. The event triggers on the > nagios box and the nrpe daemon executes the script. It kills apache and > coldfusion, but fails to restart apache (w/o a corrosponding error), > coldfusion restarts. The really flaky thing is that if I su to nrpe and run > the script, it runs as it should, both services stop and restart. > > The only differnece in the secure log between both methods of invocation is > that when the daemon does it, there is no tty entry. > > relevant sudoer config: > Cmnd_Alias R = /etc/init.d/httpd start,/etc/init.d/httpd > stop,/etc/init.d/httpd restart,/usr/sbin/httpd,/etc/init.d/coldfusion > stop,/etc/init.d/coldfusion start,/usr/lib/nagios/eventhandlers/http-restart > > nrpe ALL= NOPASSWD: R > > > secure log entries: (DAEMON Initiated) > Dec 2 21:08:28 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/httpd stop > Dec 2 21:08:28 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/coldfusion stop > Dec 2 21:08:29 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/coldfusion start > Dec 2 21:08:29 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/httpd start > Dec 3 00:32:38 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/httpd stop > Dec 3 00:32:40 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/coldfusion stop > Dec 3 00:32:46 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/coldfusion start > Dec 3 00:32:46 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/httpd start > Dec 3 00:33:29 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/httpd stop > Dec 3 00:33:29 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/coldfusion stop > Dec 3 00:33:30 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/coldfusion start > Dec 3 00:33:30 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > COMMAND=/etc/init.d/httpd start > > secure log entries: (Initiated from console as nrpe) > > > Dec 3 01:52:51 cb01 sudo: nrpe : TTY=pts/1 ; PWD=/var/log ; USER=root ; > COMMAND=/etc/init.d/httpd stop > Dec 3 01:52:53 cb01 sudo: nrpe : TTY=pts/1 ; PWD=/var/log ; USER=root ; > COMMAND=/etc/init.d/coldfusion stop > Dec 3 01:52:54 cb01 sudo: nrpe : TTY=pts/1 ; PWD=/var/log ; USER=root ; > COMMAND=/etc/init.d/coldfusion start > Dec 3 01:52:54 cb01 sudo: nrpe : TTY=pts/1 ; PWD=/var/log ; USER=root ; > COMMAND=/etc/init.d/httpd start > > > So can anyone enlighten me to what I have missed ? > Thanks, Bob > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dild52f at yahoo.com Sun Dec 7 02:58:45 2003 From: dild52f at yahoo.com (Bridget Hurd) Date: Sun, 07 Dec 2003 00:58:45 -0100 Subject: Remote-Control Boats & Cars - Great Xmas Gifts.....amber Message-ID: <9$$8$b$o91-guui78@nr9.xd.6sg.9l6> An HTML attachment was scrubbed... URL: From rp40265 at rp-plus.de Sun Dec 7 03:08:39 2003 From: rp40265 at rp-plus.de (=?iso-8859-1?Q?Manfred_Gn=E4dig?=) Date: Sun, 7 Dec 2003 03:08:39 +0100 Subject: My Grafik Statistiks are not working... Message-ID: <003501c3bc67$0afa6020$6402a8c0@ACERMGP> Hallo, i just have install Nagios on a Debian Woody System. But the Grafiks fore the Statistics are not working. I think Nagios nead a specel Grafic Paket witch I don?t hafe on my Server. Witch Grafik Programm is Nagios using? Thanks a lott and mutch Greatings Manfred -------------- next part -------------- An HTML attachment was scrubbed... URL: From ariedel at atlas-mobile.com Sun Dec 7 06:02:30 2003 From: ariedel at atlas-mobile.com (Andy Riedel) Date: Sat, 6 Dec 2003 21:02:30 -0800 Subject: SOLVED!: Re: nrpe sudo issues on a remote box References: <20031203065741.29196.qmail@mail.cyberdown.com> Message-ID: One more modification to the sudo line will make it more compatible with various other init scripts: sudo /etc/init.d/httpd restart >/dev/null 2>&1 Andy "Andy Riedel" wrote in message news:bqtn8p$vkt$1 at sea.gmane.org... > Add this pipe to /dev/null in your eventhandler script and everything works > properly. nrpe will indeed stop processing a script after the first line of > response text is received from the script. By piping to /dev/null, the > entire script will complete. > > sudo /etc/rc.d/init.d/httpd restart >/dev/null > > Andy > > "Robert Bilbrey" wrote in message > news:20031203065741.29196.qmail at mail.cyberdown.com... > > I modified the example http-restart script to use sudo to restart > coldfusion > > and apache after they have been down hard twice. The event triggers on the > > nagios box and the nrpe daemon executes the script. It kills apache and > > coldfusion, but fails to restart apache (w/o a corrosponding error), > > coldfusion restarts. The really flaky thing is that if I su to nrpe and > run > > the script, it runs as it should, both services stop and restart. > > > > The only differnece in the secure log between both methods of invocation > is > > that when the daemon does it, there is no tty entry. > > > > relevant sudoer config: > > Cmnd_Alias R = /etc/init.d/httpd start,/etc/init.d/httpd > > stop,/etc/init.d/httpd restart,/usr/sbin/httpd,/etc/init.d/coldfusion > > stop,/etc/init.d/coldfusion > start,/usr/lib/nagios/eventhandlers/http-restart > > > > nrpe ALL= NOPASSWD: R > > > > > > secure log entries: (DAEMON Initiated) > > Dec 2 21:08:28 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > > COMMAND=/etc/init.d/httpd stop > > Dec 2 21:08:28 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > > COMMAND=/etc/init.d/coldfusion stop > > Dec 2 21:08:29 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > > COMMAND=/etc/init.d/coldfusion start > > Dec 2 21:08:29 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > > COMMAND=/etc/init.d/httpd start > > Dec 3 00:32:38 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > > COMMAND=/etc/init.d/httpd stop > > Dec 3 00:32:40 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > > COMMAND=/etc/init.d/coldfusion stop > > Dec 3 00:32:46 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > > COMMAND=/etc/init.d/coldfusion start > > Dec 3 00:32:46 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > > COMMAND=/etc/init.d/httpd start > > Dec 3 00:33:29 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > > COMMAND=/etc/init.d/httpd stop > > Dec 3 00:33:29 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > > COMMAND=/etc/init.d/coldfusion stop > > Dec 3 00:33:30 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > > COMMAND=/etc/init.d/coldfusion start > > Dec 3 00:33:30 cb01 sudo: nrpe : TTY=unknown ; PWD=/ ; USER=root ; > > COMMAND=/etc/init.d/httpd start > > > > secure log entries: (Initiated from console as nrpe) > > > > > > Dec 3 01:52:51 cb01 sudo: nrpe : TTY=pts/1 ; PWD=/var/log ; USER=root > ; > > COMMAND=/etc/init.d/httpd stop > > Dec 3 01:52:53 cb01 sudo: nrpe : TTY=pts/1 ; PWD=/var/log ; USER=root > ; > > COMMAND=/etc/init.d/coldfusion stop > > Dec 3 01:52:54 cb01 sudo: nrpe : TTY=pts/1 ; PWD=/var/log ; USER=root > ; > > COMMAND=/etc/init.d/coldfusion start > > Dec 3 01:52:54 cb01 sudo: nrpe : TTY=pts/1 ; PWD=/var/log ; USER=root > ; > > COMMAND=/etc/init.d/httpd start > > > > > > So can anyone enlighten me to what I have missed ? > > Thanks, Bob > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mloftis at wgops.com Sun Dec 7 21:39:55 2003 From: mloftis at wgops.com (Michael Loftis) Date: Sun, 07 Dec 2003 13:39:55 -0700 Subject: Nagios Percent Stats wildly messed up? Message-ID: <613852.1070804395@[10.1.2.77]> I've been experiencing that nagios trend percentages, especially for the daily, are almost always wrong. We had a scheduled downtime go across a 24hr mark because nagios never pulled the service out of scheduled downtime (even though it was checking it and getting UP/OK results!!!!) It even went negative the other day, then I got it fixed by restarting nagios to get the system out of the scheduled downtime state, stats corrected, but today they're totally fubar AGAIN. They're recovering but it's acting like the thing went down for a day again. What is up with this? It's nagios v1.1, I'll get more details a little later but for right now i'm fighting with yet another junk video card from ATI. -- Undocumented Features quote of the moment... "It's not the one bullet with your name on it that you have to worry about; it's the twenty thousand-odd rounds labeled `occupant.'" --Murphy's Laws of Combat ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rp40265 at rp-plus.de Sun Dec 7 22:58:41 2003 From: rp40265 at rp-plus.de (=?iso-8859-1?Q?Manfred_Gn=E4dig?=) Date: Sun, 7 Dec 2003 22:58:41 +0100 Subject: Problem with libpng... Message-ID: <001401c3bd0d$4a740d90$6402a8c0@ACERMGP> Hallo, i have this Lines in my Apache error.log ... [Sun Dec 7 22:48:38 2003] [error] [client 80.133.156.49] Premature end of script headers: /usr/lib/cgi-bin/nagios//statusmap.cgi libpng warning: Application was compiled with png.h from libpng-1.0.12 libpng warning: Application is running with png.c from libpng-1.2.1 gd-png: fatal libpng error: Incompatible libpng version in application and library I am running a Debian Woody. What can I do to fix this Problem? Thanks a lott and mutch Greatings Manfred ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at terra.com Mon Dec 8 05:29:33 2003 From: nagios at terra.com (Admin Nagios) Date: Sun, 07 Dec 2003 23:29:33 -0500 Subject: nrpe - ssl handshake not completed Message-ID: Im trying to use the check_disk1 command with check_nrpe and Im receiving the following message: CHECK_NRPE: Error - Could not complete SSL handshake. Somebody have and idea of what is going on?? --------- #Im running the nrpe daemon and the nrpe plugin in the same machine ...just for test procedures.# ___________________________________________________ Triste, alegre, rom?ntico, con ganas de bailar... Terra Radio tiene para ti m?s de 200 estaciones de radio con tu m?sica preferida. ?Ven y disfruta de toda la m?sica que Terra Radio tiene para t?! http://www.terra.com/ocio/musica/radio/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 8 06:45:38 2003 From: marc at ena.com (Marc Powell) Date: Sun, 7 Dec 2003 23:45:38 -0600 Subject: Nagios Percent Stats wildly messed up? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F0141FC@mismail2.ena.com> Do you have multiple copies of nagios running? Intermittent behavior like this is a symptom. I would be very surprised if a bug of this magnitude still existed in 1.1. -- Marc -----Original Message----- From: Michael Loftis To: nagios-users at lists.sourceforge.net Sent: Sun Dec 07 14:39:55 2003 Subject: [Nagios-users] Nagios Percent Stats wildly messed up? I've been experiencing that nagios trend percentages, especially for the daily, are almost always wrong. We had a scheduled downtime go across a 24hr mark because nagios never pulled the service out of scheduled downtime (even though it was checking it and getting UP/OK results!!!!) It even went negative the other day, then I got it fixed by restarting nagios to get the system out of the scheduled downtime state, stats corrected, but today they're totally fubar AGAIN. They're recovering but it's acting like the thing went down for a day again. What is up with this? It's nagios v1.1, I'll get more details a little later but for right now i'm fighting with yet another junk video card from ATI. -- Undocumented Features quote of the moment... "It's not the one bullet with your name on it that you have to worry about; it's the twenty thousand-odd rounds labeled `occupant.'" --Murphy's Laws of Combat ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Dec 8 06:48:52 2003 From: marc at ena.com (Marc Powell) Date: Sun, 7 Dec 2003 23:48:52 -0600 Subject: Problem with libpng... Message-ID: <370ACCFA5BB3B346A31222E5559BF91F0141FD@mismail2.ena.com> Either downgrade lib-png to 1.0.12, which nagios appears to have been compiled against or recompile nagios now that you are using a newer version (1.2.1). -- Marc -----Original Message----- From: Manfred Gn?dig To: nagios-users at lists.sourceforge.net Sent: Sun Dec 07 15:58:41 2003 Subject: [Nagios-users] Problem with libpng... Hallo, i have this Lines in my Apache error.log ... [Sun Dec 7 22:48:38 2003] [error] [client 80.133.156.49] Premature end of script headers: /usr/lib/cgi-bin/nagios//statusmap.cgi libpng warning: Application was compiled with png.h from libpng-1.0.12 libpng warning: Application is running with png.c from libpng-1.2.1 gd-png: fatal libpng error: Incompatible libpng version in application and library I am running a Debian Woody. What can I do to fix this Problem? Thanks a lott and mutch Greatings Manfred ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Dec 8 06:49:35 2003 From: marc at ena.com (Marc Powell) Date: Sun, 7 Dec 2003 23:49:35 -0600 Subject: Monitor a process Message-ID: <370ACCFA5BB3B346A31222E5559BF91F0141FE@mismail2.ena.com> Use check_proc. -- Marc -----Original Message----- From: miglionni at ig.com.br To: nagios-users at lists.sourceforge.net Sent: Sat Dec 06 12:06:40 2003 Subject: [Nagios-users] Monitor a process how to monitor a process that is twirling in the server? what he appears in ps ax _________________________________________________________ Voce quer um iGMail protegido contra v?rus e spams? Clique aqui: http://www.igmailseguro.ig.com.br Ofertas imperd?veis! Link: http://www.americanas.com.br/ig/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From luke at advancen.com Mon Dec 8 08:00:45 2003 From: luke at advancen.com (Luke Worthy) Date: Mon, 8 Dec 2003 18:00:45 +1100 Subject: I need a little help Message-ID: <200312081800.45058.luke@advancen.com> I have Nagios working really well, but I have one small problem. I have slightly altered one of the checks to read a particular page, search for a string and so on, but when it fails it doesn't send out notifications. The host is still up and working, but the server that the script was looking for is down. I goes red and makes noises and all hat stuff, but how do I make Nagios send out notifications? I know it has something to do with hard and soft errors.....basically I want notifications sent for everything (hard or soft). Luke ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stever at corp.ptd.net Mon Dec 8 13:07:18 2003 From: stever at corp.ptd.net (Steve Risteter) Date: Mon, 8 Dec 2003 07:07:18 -0500 Subject: nrpe - ssl handshake not completed Message-ID: Check allowed_hosts in nrpe.cfg and check that libssl and libcrypto are installed. -----Original Message----- From: Admin Nagios [mailto:nagios at terra.com] Sent: Sunday, December 07, 2003 11:30 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] nrpe - ssl handshake not completed Importance: High Im trying to use the check_disk1 command with check_nrpe and Im receiving the following message: CHECK_NRPE: Error - Could not complete SSL handshake. Somebody have and idea of what is going on?? --------- #Im running the nrpe daemon and the nrpe plugin in the same machine ...just for test procedures.# ___________________________________________________ Triste, alegre, rom?ntico, con ganas de bailar... Terra Radio tiene para ti m?s de 200 estaciones de radio con tu m?sica preferida. ?Ven y disfruta de toda la m?sica que Terra Radio tiene para t?! http://www.terra.com/ocio/musica/radio/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From c.eduardo at estacio.br Mon Dec 8 14:39:28 2003 From: c.eduardo at estacio.br (Eddy) Date: Mon, 8 Dec 2003 11:39:28 -0200 Subject: Check_https References: Message-ID: <00b201c3bd90$b55717f0$31150a0a@estacio.domain> Hello i need a hard help!! When i type make all receive this message!! Making all in plugins /tmp/plugins/nagios-plugins-1.3.1/plugins make all-am -r libsnprintf.a snprintf.o Make: Cannot load -r. Stop. *** Error exit code 1 Any can help me about this!!! Alo! pessoal quem pode me ajudar? n?o consigo compilar este nagios para checar https ...!!! Algu?m teria ele pra me enviar??? eu uso UNIX - HPUX ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Scott.Carpenter at dc.gov Mon Dec 8 14:40:48 2003 From: Scott.Carpenter at dc.gov (Carpenter, Scott (OCTO)) Date: Mon, 8 Dec 2003 08:40:48 -0500 Subject: Plugin for tping? Message-ID: <55B3FA88F3E9384CA28AA04717942135022458DB@sojsdc001.dc.gov> services.cfg: define service { use generic-service ; host_name myhost service_description TCP4242 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups my-admin notification_interval 15 notification_period 24x7 notification_options w,c,u,r check_command check_tcp!4242 } -----Original Message----- From: David R. Guntner [mailto:Dguntner at doit.nv.gov] Sent: Friday, December 05, 2003 8:00 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plugin for tping? I was wondering - is there a plugin that will use tping instead of ping? I'm behind a firewall that blocks ICMP traffic, and I have hosts that need monitoring on the other side of it. Since tping uses TCP packets instead of ICMP, it seems like it would be useful as a replacment. Unfortunately, the output from tping looks different than the output of ping. So the check_ping plugin doesn't know what to do with it. Any pointers would be appreciated. --Dave ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpratt at moinfo.com Mon Dec 8 15:31:14 2003 From: mpratt at moinfo.com (Michael Pratt) Date: Mon, 8 Dec 2003 08:31:14 -0600 Subject: notification_options Message-ID: <4B63F5F5A4CB934FA82D5393A1D947E5F40FFD@s3mail.s3systems.com> What are the different options for these I have been searching and have found nothing? Can someone help? I'm sure if it were a snake it would have bitten me by now. :-) Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From christophe.belmont at c-s.fr Mon Dec 8 15:41:14 2003 From: christophe.belmont at c-s.fr (BELMONT Christophe) Date: Mon, 8 Dec 2003 15:41:14 +0100 Subject: Alerting Problem Message-ID: <000001c3bd99$55017270$a53702c2@CLEOPATRE> Hi, Here is the content of my logs: [07-12-2003 09:59:55] SERVICE ALERT: Rtr1;Link;CRITICAL;SOFT;1;CRITICAL:Rtr1 Int: so-1/1/0 Rtr: il1.il State: Down Errors: 0 Flaps: 0 Int: so-0/2/0 Rtr: nl1.nl State: Down Errors: 75 Flaps: 0 [07-12-2003 10:01:25] SERVICE ALERT: Rtr1;Link;WARNING;HARD;2;WARNING:Rtr1 Int: so-1/1/0 Rtr: il1.il State: Up Errors: 0 Flaps: 0 Int: so-0/2/0 Rtr: nl1.nl State: Up Errors: 584 Flaps: 0 [07-12-2003 10:06:26] SERVICE ALERT: Rtr1;Link;CRITICAL;HARD;2;CRITICAL:Rtr1 Int: so-1/1/0 Rtr: il1.il State: Down Errors: 0 Flaps: 0 Int: so-0/2/0 Rtr: nl1.nl State: Down Errors: 2394 Flaps: 0 My problem is that a WARNING Hard alert was sent at 10:01 to the WARNING recipients. When the link changed to a CRITICAL Hard state, no alarm was sent again. I would expect, when a service changes to a worse state to re-notify the contacts. Some contacts are configured to send only CRITICAL alarms, thus, losing this alarm, this CRITICAL alarm being hidden by the previous WARNING. Any help? Thanks in advance, Christophe. --- Christophe Belmont Network Operating Center ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris.stankaitis at datawire.net Mon Dec 8 15:46:50 2003 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Mon, 08 Dec 2003 09:46:50 -0500 Subject: Red Hat Logwatch In-Reply-To: <4B63F5F5A4CB934FA82D5393A1D947E5F40FFD@s3mail.s3systems.com> References: <4B63F5F5A4CB934FA82D5393A1D947E5F40FFD@s3mail.s3systems.com> Message-ID: <3FD48EDA.5040400@datawire.net> Hi all, I have been using nagios for quite a long while now, but there are a couple of loose ends in my implementation that I am trying to tie up. I do SSH checks with Nagios using the check_ssh plugin, and each of of these SSH checks show up as **Unmatched Entries** Connection from 10.0.0.XX port 33309 Enabling compatibility mode for protocol 2.0 Connection from 10.0.0.XX port 33479 Enabling compatibility mode for protocol 2.0 Connection from 10.0.0.XX port 33612 Enabling compatibility mode for protocol 2.0 Connection from 10.0.0.XX port 33792 Enabling compatibility mode for protocol 2.0 in my daily logwatch creating *pages* of crap to have to filter through, has anyone hacked up the logwatch scripts to ignore their nagios server IP?? if so could you perhaps send me a patch or point me down the right road to making the code changes to filter out this info, or otherwise condense it into a manageable size... I.E. **Unmatched Entries** Connection from 10.0.0.XX port 33309 ... 705 times or something like that. -- Chris ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 8 16:02:41 2003 From: marc at ena.com (Marc Powell) Date: Mon, 8 Dec 2003 09:02:41 -0600 Subject: notification_options Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A01F@mismail2.ena.com> Yes, you probably should have been bitten by now ;). -- http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host notifications_options: This directive is used to determine when notifications for the host should be sent out. Valid options are a combination of one or more of the following: d = send notifications on a DOWN state, u = send notifications on an UNREACHABLE state, and r = send notifications on recoveries (OK state). If you specify n (none) as an option, no host notifications will be sent out. Example: If you specify d,r in this field, notifications will only be sent out when the host goes DOWN and when it recovers from a DOWN state. http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service notification_options: This directive is used to determine when notifications for the service should be sent out. Valid options are a combination of one or more of the following: w = send notifications on a WARNING state, u = send notifications on an UNKNOWN state, c = send notifications on a CRITICAL state, and r = send notifications on recoveries (OK state). If you specify n (none) as an option, no service notifications will be sent out. Example: If you specify w,r in this field, notifications will only be sent out when the service goes into a WARNING state and when it recovers from a WARNING state. -- Marc ________________________________________ From: Michael Pratt [mailto:mpratt at moinfo.com] Sent: Monday, December 08, 2003 8:31 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] notification_options What are the different options for these I have been searching and have found nothing? ? Can someone help?? I?m sure if it were a snake it would have bitten me by now. ? ? ? Mike From jeff.vier at tradingtechnologies.com Mon Dec 8 16:16:06 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 08 Dec 2003 09:16:06 -0600 Subject: Red Hat Logwatch In-Reply-To: <3FD48EDA.5040400@datawire.net> References: <4B63F5F5A4CB934FA82D5393A1D947E5F40FFD@s3mail.s3systems.com> <3FD48EDA.5040400@datawire.net> Message-ID: <1070896566.13038.25.camel@localhost> Perhaps this is a question more appropriate for a mailing list about LogWatch. On Mon, 2003-12-08 at 08:46, Chris Stankaitis wrote: > Hi all, > > I have been using nagios for quite a long while now, but there are a > couple of loose ends in my implementation that I am trying to tie up. I > do SSH checks with Nagios using the check_ssh plugin, and each of of > these SSH checks show up as > > **Unmatched Entries** > Connection from 10.0.0.XX port 33309 > Enabling compatibility mode for protocol 2.0 > Connection from 10.0.0.XX port 33479 > Enabling compatibility mode for protocol 2.0 > Connection from 10.0.0.XX port 33612 > Enabling compatibility mode for protocol 2.0 > Connection from 10.0.0.XX port 33792 > Enabling compatibility mode for protocol 2.0 > > > in my daily logwatch creating *pages* of crap to have to filter through, > has anyone hacked up the logwatch scripts to ignore their nagios server > IP?? if so could you perhaps send me a patch or point me down the right > road to making the code changes to filter out this info, or otherwise > condense it into a manageable size... I.E. > > **Unmatched Entries** > Connection from 10.0.0.XX port 33309 ... 705 times > > or something like that. > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Mon Dec 8 16:15:59 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Mon, 8 Dec 2003 10:15:59 -0500 Subject: timeperiods.cfg Message-ID: I set up a timeperiod like so: # 'edr' timeperiod definition define timeperiod{ timeperiod_name edr alias edr downtime sunday 01:00-23:00 monday 01:00-23:00 tuesday 01:00-23:00 wednesday 01:00-23:00 thursday 01:00-23:00 friday 01:00-23:00 saturday 01:00-23:00 } I use it in a service definition like so: # Service definition define service{ use generic-service host_name usmghweb002 service_description EDR is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups solaris-admins notification_interval 120 notification_period edr notification_options w,u,c,r check_command check_http3!3333 } The way I understand it, notifications will only be sent for this service between 1AM (0100 hours) and 11PM (2300 hours). However, after restarting nagios and even using update-nagios on several consecutive days, the notification for this service still goes out. I know that this service will be unavailable during btween 2300 hours and 0100 hours everyday, and do not want the SA on call to be paged about it. ---- Charles H. Baker Unix/Linux Systems Administrator Red Hat Certified Engineer chbaker at ps dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 If you do what you have always done, you will get what you have always gotten. --Paul J. Meyer ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 8 16:21:06 2003 From: marc at ena.com (Marc Powell) Date: Mon, 8 Dec 2003 09:21:06 -0600 Subject: I need a little help Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A020@mismail2.ena.com> > -----Original Message----- > From: Luke Worthy [mailto:luke at advancen.com] > Sent: Monday, December 08, 2003 1:01 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] I need a little help > > I have Nagios working really well, but I have one small problem. I have > slightly altered one of the checks to read a particular page, search for a > string and so on, but when it fails it doesn't send out notifications. > > > The host is still up and working, but the server that the script was > looking > for is down. I goes red and makes noises and all hat stuff, but how do I > make Nagios send out notifications? > > I know it has something to do with hard and soft errors.....basically I > want > notifications sent for everything (hard or soft). Nagios will only send alerts on a Hard state, so the key is to make the very first check a hard state -- max_check_attempts: This directive is used to define the number of times that Nagios will retry the service check command if it returns any state other than an OK state. Setting this value to 1 will cause Nagios to generate an alert without retrying the service check again. If you're certain that's your problem then setting max_check_attempts to 1 should fix it. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Francois.JEANMOUGIN at 123multimedia.com Mon Dec 8 16:28:25 2003 From: Francois.JEANMOUGIN at 123multimedia.com (Francois JEANMOUGIN) Date: Mon, 8 Dec 2003 16:28:25 +0100 Subject: Red Hat Logwatch Message-ID: <153E2BD74548D1408FFF45D4D27E2A58220483@mail.tls.123multimedia.com> Not really, it is a /etc/sshd-config issue. Fran?ois. > Perhaps this is a question more appropriate for a mailing list about > LogWatch. > > On Mon, 2003-12-08 at 08:46, Chris Stankaitis wrote: > > Hi all, > > > > I have been using nagios for quite a long while now, but there are a > > couple of loose ends in my implementation that I am trying to tie > up. I > > do SSH checks with Nagios using the check_ssh plugin, and each of of > > these SSH checks show up as > > > > **Unmatched Entries** > > Connection from 10.0.0.XX port 33309 > > Enabling compatibility mode for protocol 2.0 > > Connection from 10.0.0.XX port 33479 > > Enabling compatibility mode for protocol 2.0 > > Connection from 10.0.0.XX port 33612 > > Enabling compatibility mode for protocol 2.0 > > Connection from 10.0.0.XX port 33792 > > Enabling compatibility mode for protocol 2.0 > > > > > > in my daily logwatch creating *pages* of crap to have to filter > through, > > has anyone hacked up the logwatch scripts to ignore their nagios > server > > IP?? if so could you perhaps send me a patch or point me down the > right > > road to making the code changes to filter out this info, or > otherwise > > condense it into a manageable size... I.E. > > > > **Unmatched Entries** > > Connection from 10.0.0.XX port 33309 ... 705 times > > > > or something like that. > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 8 16:32:01 2003 From: marc at ena.com (Marc Powell) Date: Mon, 8 Dec 2003 09:32:01 -0600 Subject: Red Hat Logwatch Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A021@mismail2.ena.com> > -----Original Message----- > From: Chris Stankaitis [mailto:chris.stankaitis at datawire.net] > Sent: Monday, December 08, 2003 8:47 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Red Hat Logwatch > > Hi all, > > I have been using nagios for quite a long while now, but there are a > couple of loose ends in my implementation that I am trying to tie up. I > do SSH checks with Nagios using the check_ssh plugin, and each of of > these SSH checks show up as > > **Unmatched Entries** > Connection from 10.0.0.XX port 33309 > Enabling compatibility mode for protocol 2.0 > Connection from 10.0.0.XX port 33479 > Enabling compatibility mode for protocol 2.0 > Connection from 10.0.0.XX port 33612 > Enabling compatibility mode for protocol 2.0 > Connection from 10.0.0.XX port 33792 > Enabling compatibility mode for protocol 2.0 > > > in my daily logwatch creating *pages* of crap to have to filter through, > has anyone hacked up the logwatch scripts to ignore their nagios server > IP?? if so could you perhaps send me a patch or point me down the right > road to making the code changes to filter out this info, or otherwise > condense it into a manageable size... I.E. > > **Unmatched Entries** > Connection from 10.0.0.XX port 33309 ... 705 times > > or something like that. Not being familiar with logwatch at all, from reading the manpage it seems you could easily edit the appropriate file in /etc/log.d/scripts/services to do that. In particular, the top section of syslogd (or messages as the case may be) is where you would add it (to either summarize or ignore). -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DTerrell at Delphi-Tech.com Mon Dec 8 17:30:21 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Mon, 8 Dec 2003 11:30:21 -0500 Subject: Incredible amount of false positives Message-ID: <880E60DA7286AB4CBEECB01B169A63BD1413E86D@NJ-2K-Email1.delphi-tech.com> This is getting quite frustrating. I'm wondering why my nagios machines are sending out an incredible amount of false positives to me. The configuration is two distributed machines, one is a 233mhz/128M/256M swap with 42 hosts, among those 42 hosts is 53 service checks, most of which being just ping. The other is a dual 667/1G/2G swap with 49 hosts/52 service checks, the central machine is a 667mhz/128M/256M swap. Often what I get in e-mail is either one email with critical and the recovery shortly after, or even both at the same time! All servers run the nagios status fs in a ramdisk as suggested long ago. Any suggestions on how to get more accurate notifications, or even accurate to begin with (99.9% of the time it's not legit) would be appreciated. Thanks, > ________________________ > David A. Terrell > MIS Engineer, RHCE, A+ > Delphi Technology, Inc. > Cambridge, MA 02139 > 617-494-8361 x2024 > > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 8 18:13:48 2003 From: marc at ena.com (Marc Powell) Date: Mon, 8 Dec 2003 11:13:48 -0600 Subject: Incredible amount of false positives Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A026@mismail2.ena.com> Since we don't have any configuration information to go on, it's going to be difficult to troubleshoot possible config issues. Looking at the machines themselves, what is load like on them? Are they doing other work besides Nagios (specifically the 233 Mhz machine)? It's been my experience that if load is high for a ping check for example the check executes and even if the ping returns in 10ms, if the plugin has to wait 1000ms for CPU time, your ping response is going to be 1000ms (because the plugin is just now able to process the response). Do you find that one machine is generating more false positives than another? What exactly is the false positive output of the plugin (plugin timeout? Host unreachable? Response above critical threshold?, etc...) How about your network? Do you have speed and duplex hardcoded on all the machines and the switch(es) they are connected to? Speed/Duplex mismatch can be the cause a quite a number of odd issues. Do you maybe have multiple copies of nagios running on a box? This is less likely as a cause but some of your indications below hint at it. With just 53 checks I would think that using a ramdisk for storage wouldn't make any difference performance wise and may actually be hurting you, expecially the machines with just 128 megs of ram. You're likely forcing the use of more (much slower) swap space than you normally would. If none of the above help you then the more, and more specific information you can provide will help us help you. > -----Original Message----- > From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] > Sent: Monday, December 08, 2003 10:30 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Incredible amount of false positives > > This is getting quite frustrating. I'm wondering why my nagios machines > are > sending out an incredible amount of false positives to me. The > configuration is two distributed machines, one is a 233mhz/128M/256M swap > with 42 hosts, among those 42 hosts is 53 service checks, most of which > being just ping. The other is a dual 667/1G/2G swap with 49 hosts/52 > service checks, the central machine is a 667mhz/128M/256M swap. Often > what > I get in e-mail is either one email with critical and the recovery shortly > after, or even both at the same time! All servers run the nagios status > fs > in a ramdisk as suggested long ago. Any suggestions on how to get more > accurate notifications, or even accurate to begin with (99.9% of the time > it's not legit) would be appreciated. > > Thanks, > > > ________________________ > > David A. Terrell > > MIS Engineer, RHCE, A+ > > Delphi Technology, Inc. > > Cambridge, MA 02139 > > 617-494-8361 x2024 > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at lixfeld.ca Mon Dec 8 18:57:58 2003 From: jason at lixfeld.ca (Jason Lixfeld) Date: Mon, 8 Dec 2003 12:57:58 -0500 Subject: Monitoring a specific process on the same machine nagios is running on Message-ID: <0ED08035-29A8-11D8-B2B0-000A95989E4A@lixfeld.ca> Is there a plugin anywhere that lets me monitor a single process on a unix box? I don't want to configure snmpd or nrpe/nsca. I just want a simple plugin that will do a 'ps' type of command. I suppose I could write one myself, but I'd rather have one pre-done because I'm not a very good coder. Thanks in advance. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DOlbersen at stbernard.com Mon Dec 8 19:05:53 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Mon, 8 Dec 2003 10:05:53 -0800 Subject: Monitoring a specific process on the same machine nagios is running on Message-ID: Jason Lixfeld wrote: > Is there a plugin anywhere that lets me monitor a single process on a > unix box? I don't want to configure snmpd or nrpe/nsca. I just want a > simple plugin that will do a 'ps' type of command. I suppose I could > write one myself, but I'd rather have one pre-done because I'm not a > very good coder. Look at the check_procs module help (check_procs -h). It already does this. -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at lixfeld.ca Mon Dec 8 19:09:43 2003 From: jason at lixfeld.ca (Jason Lixfeld) Date: Mon, 8 Dec 2003 13:09:43 -0500 Subject: Monitoring a specific process on the same machine nagios is running on In-Reply-To: References: Message-ID: that's the one. Thanks! On Dec 8, 2003, at 1:05 PM, David Olbersen wrote: > Jason Lixfeld wrote: > >> Is there a plugin anywhere that lets me monitor a single process on a >> unix box? I don't want to configure snmpd or nrpe/nsca. I just want >> a >> simple plugin that will do a 'ps' type of command. I suppose I could >> write one myself, but I'd rather have one pre-done because I'm not a >> very good coder. > > Look at the check_procs module help (check_procs -h). It already does > this. > > -- > David Olbersen > iGuard Engineer > St. Bernard Software > 15015 Avenue of Sciences > San Diego, CA 92127 > x2152 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DTerrell at Delphi-Tech.com Mon Dec 8 19:16:08 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Mon, 8 Dec 2003 13:16:08 -0500 Subject: Incredible amount of false positives Message-ID: <880E60DA7286AB4CBEECB01B169A63BD1413E878@NJ-2K-Email1.delphi-tech.com> I personally suspect the machine is just over taxed, although the load average is usually 0.60-0.80. The ramdisk is used because in the past after about 10 minutes the machine would begin to get bogged down and more and more nagios procs would start to spawn. I've had hundreds of nagios procs at once on that machine which caused a spiraling effect where more would spawn cauing more resources to be used causing the other procs to be held back and not respond and thus more procs were spawned. All networks here are 100mbps full. Plugin timeouts/dest unreachable/you name it, 10's of times I've gone straight onto the box and run the very plugin that was complaining with perfectly fine results. There's only one copy of nagios running...is 233/128M too little for this job? What else can I show to help the process? Thanks, > ________________________ > David A. Terrell > MIS Engineer, RHCE, A+ > Delphi Technology, Inc. > Cambridge, MA 02139 > 617-494-8361 x2024 > > -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Monday, December 08, 2003 12:14 PM To: DTerrell at Delphi-Tech.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Incredible amount of false positives Since we don't have any configuration information to go on, it's going to be difficult to troubleshoot possible config issues. Looking at the machines themselves, what is load like on them? Are they doing other work besides Nagios (specifically the 233 Mhz machine)? It's been my experience that if load is high for a ping check for example the check executes and even if the ping returns in 10ms, if the plugin has to wait 1000ms for CPU time, your ping response is going to be 1000ms (because the plugin is just now able to process the response). Do you find that one machine is generating more false positives than another? What exactly is the false positive output of the plugin (plugin timeout? Host unreachable? Response above critical threshold?, etc...) How about your network? Do you have speed and duplex hardcoded on all the machines and the switch(es) they are connected to? Speed/Duplex mismatch can be the cause a quite a number of odd issues. Do you maybe have multiple copies of nagios running on a box? This is less likely as a cause but some of your indications below hint at it. With just 53 checks I would think that using a ramdisk for storage wouldn't make any difference performance wise and may actually be hurting you, expecially the machines with just 128 megs of ram. You're likely forcing the use of more (much slower) swap space than you normally would. If none of the above help you then the more, and more specific information you can provide will help us help you. > -----Original Message----- > From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] > Sent: Monday, December 08, 2003 10:30 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Incredible amount of false positives > > This is getting quite frustrating. I'm wondering why my nagios machines > are > sending out an incredible amount of false positives to me. The > configuration is two distributed machines, one is a 233mhz/128M/256M swap > with 42 hosts, among those 42 hosts is 53 service checks, most of which > being just ping. The other is a dual 667/1G/2G swap with 49 hosts/52 > service checks, the central machine is a 667mhz/128M/256M swap. Often > what > I get in e-mail is either one email with critical and the recovery shortly > after, or even both at the same time! All servers run the nagios status > fs > in a ramdisk as suggested long ago. Any suggestions on how to get more > accurate notifications, or even accurate to begin with (99.9% of the time > it's not legit) would be appreciated. > > Thanks, > > > ________________________ > > David A. Terrell > > MIS Engineer, RHCE, A+ > > Delphi Technology, Inc. > > Cambridge, MA 02139 > > 617-494-8361 x2024 > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 8 19:42:01 2003 From: marc at ena.com (Marc Powell) Date: Mon, 8 Dec 2003 12:42:01 -0600 Subject: Incredible amount of false positives Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A02B@mismail2.ena.com> > -----Original Message----- > From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] > Sent: Monday, December 08, 2003 12:16 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Incredible amount of false positives > > I personally suspect the machine is just over taxed, although the load > average is usually 0.60-0.80. The ramdisk is used because in the past > after > about 10 minutes the machine would begin to get bogged down and more and > more nagios procs would start to spawn. I've had hundreds of nagios procs > at once on that machine which caused a spiraling effect where more would > spawn cauing more resources to be used causing the other procs to be held > back and not respond and thus more procs were spawned. All networks here > are 100mbps full. Plugin timeouts/dest unreachable/you name it, 10's of > times I've gone straight onto the box and run the very plugin that was > complaining with perfectly fine results. There's only one copy of nagios > running...is 233/128M too little for this job? What else can I show to > help > the process? Well, to be honest, my first reaction was that I was quite surprised that a machine of that caliber was being used for such an important task. That's not to say that it isn't up to the job given the few hosts and services that you have configured. It may just be that you need to do some nagios performance tuning to work better with that hardware. I've had a PIII 800 with 512Meg ram running Nagios, Smokeping and Cricket (and other things) for >800 services each with 5 minute check intervals successfully. The more the RAM the better generally as well. It's cheap sp there's really no excuse unless you just can't find the type you need anymore. Again, since you didn't provide much specific information about your configuration or any work that you've done so far some of these suggestions might be redundant -- - Schedule service checks to at least 5 minute intervals. If you're checking more often than this ask yourself if it's really necessary. - nagios.cfg - o use_syslog=0 o log_* = 0 except for those specific things you really care about o service_reaper_frequency=2 o max_concurrent_checks=xxx (run ~nagios/bin/nagios -s ~nagios/etc/nagios.cfg for the number to put here) o aggregate_status_updates=1 o status_update_interval=60 (or higher, depending on how fresh you want the web data) o command_check_interval=-1 (on your central host) - Make sure your host check commands are as simple as possible and complete as quickly as possible. Why ping 5 or 10 times when a single ping will do. - When sending service checks to a central server via OSCP/NSCA be aware that Nagios will keep a child open until that process completes (and I believe it doesn't schedule a new check of that service either). If there is a delay in the transmission process or other problems it can severely affect the performance of the polling server. - If it were me I'd make the dual proc machine the central server but you may have reasons for not doing so. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DTerrell at Delphi-Tech.com Mon Dec 8 20:55:01 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Mon, 8 Dec 2003 14:55:01 -0500 Subject: Incredible amount of false positives Message-ID: <880E60DA7286AB4CBEECB01B169A63BD1413E87B@NJ-2K-Email1.delphi-tech.com> Thanks for all the suggestions, I will try these. Moving the central to the dual proc was my next step, it will probably go into effect after I can get the nagios machine running in NJ (I'm in MA) back up again. I've turned off all logging reaper frequency was set to 5 on distrib, changed to 2 reaper frequency was set to 3 on central, changed to 2 concurrent checks was set to 5 on both, changed to 3 (recommended by nagios -s nagios.cfg on both) aggregate_status_updates was set to 1 on both status_update_interval was set to 120 on distrib, left at 120 status_update_interval was set to 5 on central, changed to 60 Lowered pings to 1, all commands are defaults pretty much (in checkcommands using standard modules in libexec). We'll see how it goes, thanks > ________________________ > David A. Terrell > MIS Engineer, RHCE, A+ > Delphi Technology, Inc. > Cambridge, MA 02139 > 617-494-8361 x2024 > > -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Monday, December 08, 2003 1:42 PM To: DTerrell at Delphi-Tech.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Incredible amount of false positives > -----Original Message----- > From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] > Sent: Monday, December 08, 2003 12:16 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Incredible amount of false positives > > I personally suspect the machine is just over taxed, although the load > average is usually 0.60-0.80. The ramdisk is used because in the past > after > about 10 minutes the machine would begin to get bogged down and more and > more nagios procs would start to spawn. I've had hundreds of nagios procs > at once on that machine which caused a spiraling effect where more would > spawn cauing more resources to be used causing the other procs to be held > back and not respond and thus more procs were spawned. All networks here > are 100mbps full. Plugin timeouts/dest unreachable/you name it, 10's of > times I've gone straight onto the box and run the very plugin that was > complaining with perfectly fine results. There's only one copy of nagios > running...is 233/128M too little for this job? What else can I show to > help > the process? Well, to be honest, my first reaction was that I was quite surprised that a machine of that caliber was being used for such an important task. That's not to say that it isn't up to the job given the few hosts and services that you have configured. It may just be that you need to do some nagios performance tuning to work better with that hardware. I've had a PIII 800 with 512Meg ram running Nagios, Smokeping and Cricket (and other things) for >800 services each with 5 minute check intervals successfully. The more the RAM the better generally as well. It's cheap sp there's really no excuse unless you just can't find the type you need anymore. Again, since you didn't provide much specific information about your configuration or any work that you've done so far some of these suggestions might be redundant -- - Schedule service checks to at least 5 minute intervals. If you're checking more often than this ask yourself if it's really necessary. - nagios.cfg - o use_syslog=0 o log_* = 0 except for those specific things you really care about o service_reaper_frequency=2 o max_concurrent_checks=xxx (run ~nagios/bin/nagios -s ~nagios/etc/nagios.cfg for the number to put here) o aggregate_status_updates=1 o status_update_interval=60 (or higher, depending on how fresh you want the web data) o command_check_interval=-1 (on your central host) - Make sure your host check commands are as simple as possible and complete as quickly as possible. Why ping 5 or 10 times when a single ping will do. - When sending service checks to a central server via OSCP/NSCA be aware that Nagios will keep a child open until that process completes (and I believe it doesn't schedule a new check of that service either). If there is a delay in the transmission process or other problems it can severely affect the performance of the polling server. - If it were me I'd make the dual proc machine the central server but you may have reasons for not doing so. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From durist at euler.cr.usgs.gov Mon Dec 8 22:06:04 2003 From: durist at euler.cr.usgs.gov (Dan Urist) Date: Mon, 8 Dec 2003 14:06:04 -0700 Subject: Latching state on failure Message-ID: <15924.8539283455$1070917761@news.gmane.org> Is there a way to configure a nagios service so that the state is permanently latched to NOT_OK when a failure is detected? What I am trying to do is this: I use net-snmp to monitor a bunch of stuff on some solaris machines, and I have nagios poll the snmp daemon with check_snmp. I've written a script that is run by the net-snmp exec MIB that checks for SCSI errors in the system log file. It only checks for new entries in the log file since the last time it ran. What I'd like to do is have this polled by nagios, and if it finds an error latch the state of that service to NOT_OK until I manually submit a passive check result. I guess I could do this with passive checks or snmp traps, but it would be a lot simpler to have nagios run the checks since I'm already using it to monitor the other stuff through snmp. Thanks, Dan Urist -- Dan Urist durist at euler.cr.usgs.gov ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Mon Dec 8 22:20:28 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 08 Dec 2003 15:20:28 -0600 Subject: Latching state on failure In-Reply-To: <200312081406.04306.Dan Urist > References: <200312081406.04306.Dan Urist > Message-ID: <1070918428.13038.50.camel@localhost> set your 'retry_check_interval' in your service to something insanely high. one year is 33053184 minutes. one month is 2678400 minutes. make sure you adjust your notification_interval appropriately or you'll be an unhappy on-call admin. If you don't check more often than that...I dunno why you'd care what its state is :) On Mon, 2003-12-08 at 15:06, Dan Urist wrote: > Is there a way to configure a nagios service so that the state is permanently > latched to NOT_OK when a failure is detected? > > What I am trying to do is this: I use net-snmp to monitor a bunch of stuff on > some solaris machines, and I have nagios poll the snmp daemon with > check_snmp. I've written a script that is run by the net-snmp exec MIB that > checks for SCSI errors in the system log file. It only checks for new entries > in the log file since the last time it ran. What I'd like to do is have this > polled by nagios, and if it finds an error latch the state of that service to > NOT_OK until I manually submit a passive check result. > > I guess I could do this with passive checks or snmp traps, but it would be a > lot simpler to have nagios run the checks since I'm already using it to > monitor the other stuff through snmp. > > Thanks, > Dan Urist > -- > Dan Urist > durist at euler.cr.usgs.gov > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at flacid.org Tue Dec 9 00:02:23 2003 From: jason at flacid.org (Jason Carr) Date: Mon, 8 Dec 2003 18:02:23 -0500 Subject: Authorization failures Message-ID: <20031208230223.GB755@flacid.org> Hello, After much googling and reading, and rereading, I can't seem to figure this out. I just did a fresh install, I went through each cfg file, changed everything to what I wanted, setup my httpd.conf file, and I setup my .htaccess file. When I attempt to open the web interface, I get the following error: It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. This is if I authenticate using the user 'jason'. If I changed the cgi.cfg file to say: use_authentication=0 default_user_name=jason I am then allowed to view everything that I need to. Is there a way to enable authentication and not have that error message show up anymore? root at dexedrine [/usr/local/nagios/etc] (9) % grep authorized_for cgi.cfg authorized_for_system_information=* authorized_for_configuration_information=* authorized_for_system_commands=* authorized_for_all_services=* authorized_for_all_hosts=* authorized_for_all_service_commands=* authorized_for_all_host_commands=* I also setup these, I tried putting jason in instead of *, that doesn't help either. Thanks, Jason jason at flacid.org ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agupta at yahoo-inc.com Tue Dec 9 00:39:36 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Mon, 8 Dec 2003 15:39:36 -0800 Subject: Disabling checks in Nagios Message-ID: Hi, Is there an option in Nagios to *schedule* disabling of checks? Currently, we have Event Handlers that try to restart the processes on remote machines. We want these handlers disabled during a Scheduled downtime. But scheduled downtime is only for suppressing notifications. Checks do happen, and event handlers are invoked. thanks ====================== Regards Anurag Gupta agupta at yahoo-inc.com 408.349.5166 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at flacid.org Tue Dec 9 01:47:14 2003 From: jason at flacid.org (Jason Carr) Date: Mon, 8 Dec 2003 19:47:14 -0500 Subject: Authorization failures In-Reply-To: References: Message-ID: <20031209004714.GA2711@flacid.org> Here's a listing from my /usr/local/nagios/etc dir root at dexedrine [/usr/local/nagios/etc] (11) % ls -la total 116 drwxrwxr-x 3 nagios nagios 4096 Dec 8 15:47 ./ drwxrwxr-x 8 nagios nagios 4096 Dec 8 14:18 ../ -rw-r--r-- 1 nagios nagios 17075 Dec 8 15:44 cgi.cfg -rw-r--r-- 1 nagios nagios 4475 Dec 8 13:22 checkcommands.cfg -rw-r--r-- 1 nagios nagios 810 Dec 8 15:43 contactgroups.cfg -rw-r--r-- 1 nagios nagios 2016 Dec 8 15:43 contacts.cfg -rw-r--r-- 1 nagios nagios 1662 Dec 8 13:56 dependencies.cfg -rw-r--r-- 1 nagios nagios 2051 Dec 8 13:55 escalations.cfg -rw-r--r-- 1 nagios nagios 765 Dec 8 13:30 hostgroups.cfg -rw-r--r-- 1 nagios nagios 1570 Dec 8 13:27 hosts.cfg -rw-r--r-- 1 nagios nagios 42 Dec 8 15:42 htpasswd.users -rw-r--r-- 1 nagios nagios 4262 Dec 8 13:23 misccommands.cfg -rw-r--r-- 1 nagios nagios 21326 Dec 8 15:47 nagios.cfg -rw-r----- 1 nagios nagios 3069 Dec 8 15:23 resource.cfg drwxr-xr-x 2 root root 4096 Dec 8 13:55 sample/ -rw-r--r-- 1 nagios nagios 4134 Dec 8 15:24 services.cfg -rw-r--r-- 1 nagios nagios 1589 Dec 8 13:54 timeperiods.cfg I don't think that's what the problem would be. Thanks, Jason On Mon, Dec 08, 2003 at 03:25:33PM -0800, Akash Chandrashekar wrote: > HI, > > Had a similar type problem with regards to htpasswd file. Are you > permissions on the actual file set correctly? What does ls -l say? > > Regards, Akash > > > Mercury Insurance Operations > > This message contains confidential information and is intended only for > the individual named. If you are not the named addressee you should not > disseminate, distribute or copy this e-mail. Please notify the sender > immediately by e-mail if you have received this e-mail by mistake and > delete this e-mail from your system. E-mail transmission cannot be > guaranteed to be secure or error-free as information could be > intercepted, corrupted, lost, destroyed, arrive late or incomplete, or > contain viruses. The sender therefore does not accept liability for any > errors or omissions in the contents of this message, which arise as a > result of e-mail transmission. If verification is required please > request a hard-copy version. > > > -----Original Message----- > From: Jason Carr [mailto:jason at flacid.org] > Sent: Monday, December 08, 2003 3:02 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Authorization failures > > Hello, > > After much googling and reading, and rereading, I can't seem to > figure this out. > > I just did a fresh install, I went through each cfg file, changed > everything to what I wanted, setup my httpd.conf file, and I setup > my .htaccess file. > > When I attempt to open the web interface, I get the following error: > > It appears as though you do not have permission to view information > for any of the services you requested... > > > If you believe this is an error, check the HTTP server > authentication requirements for accessing this CGI > and check the authorization options in your CGI configuration file. > > This is if I authenticate using the user 'jason'. If I changed the > cgi.cfg file to say: > > use_authentication=0 > default_user_name=jason > > I am then allowed to view everything that I need to. > > Is there a way to enable authentication and not have that error > message show up anymore? > > root at dexedrine [/usr/local/nagios/etc] (9) % grep authorized_for cgi.cfg > authorized_for_system_information=* > authorized_for_configuration_information=* > authorized_for_system_commands=* > authorized_for_all_services=* > authorized_for_all_hosts=* > authorized_for_all_service_commands=* > authorized_for_all_host_commands=* > > I also setup these, I tried putting jason in instead of *, that > doesn't help either. > > Thanks, > > Jason > jason at flacid.org > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Tue Dec 9 02:53:50 2003 From: jrhett at isite.net (Joe Rhett) Date: Mon, 8 Dec 2003 17:53:50 -0800 Subject: urlize - how to prevent from use in notifications? In-Reply-To: References: <20031127234432.GA5804@isite.net> <20031129000548.GA2802@isite.net> <20031202014919.GA26763@isite.net> Message-ID: <20031209015349.GA5425@isite.net> Look, I'm really not sure why you are misreading me yet again, but seriously -- I wasn't asking for advice. I was asking if anyone had already written code to solve this problem. It's not personal, it's just not the question I asked. I asked about code, not workarounds. On Tue, Dec 02, 2003 at 06:17:45PM -0800, Tedman Eng wrote: > I'm sorry I couldn't help you 'hack' nagios to do what you want. > I offered what works for me. No need to flame. > > Advice is free -- you get what you pay for. > -Tedman > > > "Joe Rhett" wrote in message > news:20031202014919.GA26763 at isite.net... > > > That WAS a serious reply. It is the method I use in my shop. > > > > No, it wasn't a serious reply. It's a hack that doesn't solve the general > > problem, only a single instance. A bandaid isn't a "serious" response to > a > > sword wound. It may stem the bleeding long enough to get to the hospital, > > but you're still going to die. > > > > The problem isn't how to mangle output for e-mail notification, the > > problem is that HTML-ized output is only useful for one output. Hacking > > the input at 1 place and then hacking the output at N places where N > equals > > the total number of output mechanisms is wasteful. > > > > The generalized problem is that NO output EXCEPT for the web interface > > wants urlized output. The database shouldn't be storing URLs that > > must be decoded before use. These URLs will also suddenly become invalid > > after an interface change, or an IP address change or anything else. > > > > The HTML-modified output should be done closer to the web interface, not > > altering the input mechanism. > > > > As stated in my original post: (which was quoted but apparently ignored) > > > Before I go digging into the code to determine how to split up the web > > > and notification output, has someone already solved this problem? > > > > The apparent solution (without having finished review of the code) is that > > the URLize syntax should be stored as another attribute, and performed by > > the web interface prior to output. The data is stored in raw form, and > > formated appropriated for the web output. (or any other output mechanism > > that requests urlized output) > > > > That is a serious response. A quick fix isn't a serious response. > > > > On Fri, Nov 28, 2003 at 09:48:17PM -0800, Tedman Eng wrote: > > > That WAS a serious reply. It is the method I use in my shop. > > > > > > The original Nagios munged output you get probably looks something like > > > this: > > > A HREF=/nagios/cgi-bin/cgi.cgi?host=somehost: CPU:80 /A > > > > > > Edit your mail notification command to format however you want, without > > > tags if your mail reader strips tags. Do this by inserting a > few > > > sed or cut commands in there to make $OUTPUT$ look like this: > > > > > > CPU:80 > > > > > > or this: > > > CPU:80 > > > > > > A simplified notify-by-email example using the "cut" method: > > > printf '$SERVICEDESC$ is $SERVICESTATE$ on host $HOSTALIAS$\n\nMore > > > info:`echo $OUTPUT$ | cut " " -f 3` | /usr/bin/mail $CONTACTEMAIL$' > > > > > > HTH, > > > Tedman > > > > > > > > > "Joe Rhett" wrote in message > > > news:20031129000548.GA2802 at isite.net... > > > > They are stripped from $OUTPUT$ by Nagios, not by my commands. > > > > > > > > Also, no mail readers will create a link from an anchor tag in the > middle > > > of > > > > a plain text message. It just won't work. > > > > > > > > Serious replies? > > > > > > > > On Thu, Nov 27, 2003 at 08:28:40PM -0800, Tedman Eng wrote: > > > > > Edit the email notification command to put the (< > & and other) bad > > > shell > > > > > characters back into the original email, so that the readers of the > > > email > > > > > can click the link from within email also. > > > > > > > > > > "Joe Rhett" wrote in message > > > > > news:20031127234432.GA5804 at isite.net... > > > > > > I've got urlize working just fine for the web interface, but this > has > > > an > > > > > > unintended side effect of putting HTML into the e-mail > notifications. > > > > > > (with < > & and other bad shell characters stripped out naturally) > > > > > > > > > > > > Before I go digging into the code to determine how to split up the > web > > > and > > > > > > notification output, has someone already solved this problem? > > > > > > > > > > > > -- > > > > > > Joe Rhett > Chief > > > Geek > > > > > > JRhett at Isite.Net Isite > Services, > > > Inc. > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > > > > Does SourceForge.net help you be more productive? Does it > > > > > > help you create better code? SHARE THE LOVE, and help us help > > > > > > YOU! Click Here: http://sourceforge.net/donate/ > > > > > > _______________________________________________ > > > > > > Nagios-users mailing list > > > > > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > > reporting any issue. > > > > > > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > > > Does SourceForge.net help you be more productive? Does it > > > > > help you create better code? SHARE THE LOVE, and help us help > > > > > YOU! Click Here: http://sourceforge.net/donate/ > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > reporting any issue. > > > > > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > > > > -- > > > > Joe Rhett Chief > Geek > > > > JRhett at Isite.Net Isite Services, > Inc. > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > > Does SourceForge.net help you be more productive? Does it > > > > help you create better code? SHARE THE LOVE, and help us help > > > > YOU! Click Here: http://sourceforge.net/donate/ > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > reporting any issue. > > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > Does SourceForge.net help you be more productive? Does it > > > help you create better code? SHARE THE LOVE, and help us help > > > YOU! Click Here: http://sourceforge.net/donate/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > > Joe Rhett Chief Geek > > JRhett at Isite.Net Isite Services, Inc. > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Tue Dec 9 02:59:30 2003 From: jrhett at isite.net (Joe Rhett) Date: Mon, 8 Dec 2003 17:59:30 -0800 Subject: StatusMap Showing "Nagios Process" In-Reply-To: <70721802.1070443872@cadabra.stanford.edu> References: <004c01c3b70a$dba44e00$830d270a@culpdom.home> <20031202015119.GB26763@isite.net> <676722695.1070370234@cadabra.stanford.edu> <20031202225908.GB10770@isite.net> <4412655.1070377561@cadabra.stanford.edu> <20031202234110.GA14604@isite.net> <70721802.1070443872@cadabra.stanford.edu> Message-ID: <20031209015930.GB5425@isite.net> > On a separate note, when running a client/master nagios setup, how do I let > nagios know the paths between the parents of the two systems? i.e.: You don't. You only indicate the dependancies of the paths between the host that is checking and the host that is being checked. Between the nagios systems is not part of the architecture. > If a & b are routers, and I have hosts on them, then obviously the parent > paths to N1 and N2 are different, so all of the host dependencies by > parents depend on which nagios is the master. Do coordinates then become > required for nagios to map the dependencies correctly? Coordinates allow you to make it look how you want. The dependancies are how it determines when to test and when to alert. That's why we're saying that you shouldn't be using the statusmap for logical layout reasons. Dependancies are crucial to monitoring. The statusmap is made to show you the logical layout FROM A DEPENDANCY perspective. And that's dependancy of the tests. What passes between nagios master and slave is not relevant to dependancy. ..relevant to YOU, but not relevant to Nagios ;-) -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Tue Dec 9 03:04:40 2003 From: jrhett at isite.net (Joe Rhett) Date: Mon, 8 Dec 2003 18:04:40 -0800 Subject: Excluding hosts from hostgroups? In-Reply-To: <3FCE01DF.3070106@dctd.saic.com> References: <200312031521.hB3FLN002552@smtp1.prupref.com> <3FCE01DF.3070106@dctd.saic.com> Message-ID: <20031209020440.GC5425@isite.net> Hm. My mind rebels against this notion because it doesn't really make sense. Either a hostgroup has a host or it doesn't. There is no half way. BUT, I could see being useful on a service: service ssh { hostgroup webservers exclude_hosts nossh-1,nossh-2 -or- service ping { host * exclude_hosts noping-1,noping-2 On Wed, Dec 03, 2003 at 10:31:43AM -0500, Alex Moundalexis wrote: > I could set up host checks, except that it isn't as practical with the > quantity of nodes. As well, there are other service checks that must be > run on the entire host group. These rogue (and blatantly irritating) > machines would be a handful of nodes among dozens that would be omitted > from a particular check. > > I see it as additional granularity. > > I'll make it work, regardless. Was just curious if the idea had been > proposed before. > > - A > > McKeever Chris wrote: > > >On Wed, 03 Dec 2003 10:12 , Alex Moundalexis sent: > > > > > > > >>Is there any undocumented (or perhaps documented that I missed) feature > >>that allows the exclusion of several hosts from a hostgroup? Somethine > >>like this? > >> > >>hostgroup_name linux,sun > >>exclude_hosts nossh-1,nossh-2,etc > >> > >>Suppose I run a service check on SSH, for my linux and sun hostgroups, > >>since 99% of them run SSH. 3 servers don't run SSH, and so I get > >>constant failures. The obvious solution would be to redefine those three > >>hosts into their own group, but I was wondering if something like this > >>existed, or whether it would be considered in the future. > >> > >> > >> > > > >I am a bit confused..isnt hard though > >could you not set up host service checks rather than group checks? > >or like you said, just exclude those machines from the group > >adding a machine to a group that you then want to exclude it from is a bit > >confusing. > > > > > >------------------------------------------- > >Chris McKeever > >If you want to reply directly to me, please use > >cgmckeever--at--prupref---dot---com > >http://www.prupref.com > > > >---- Prudential Preferred Properties www.prupref.com > > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tech-mail at prupref.com Tue Dec 9 03:40:34 2003 From: tech-mail at prupref.com (McKeever Chris) Date: Mon, 8 Dec 2003 20:40:34 -0600 Subject: Excluding hosts from hostgroups? In-Reply-To: <20031209020440.GC5425@isite.net> References: <20031209020440.GC5425@isite.net> Message-ID: <200312090240.hB92eY820381@smtp1.prupref.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From ariedel at atlas-mobile.com Tue Dec 9 03:58:00 2003 From: ariedel at atlas-mobile.com (Andy Riedel) Date: Mon, 8 Dec 2003 18:58:00 -0800 Subject: Problem with extended service info References: Message-ID: Has anyone been able to get this working? I'm having the same problem as Chris. No matter what I do, I cannot get service icons to appear. I've followed all the guidelines for APAN as well to get the graph service icons to appear with no luck as well. I have confirmed existence of images and proper permissions for all. Andy Riedel CTO Atlas Mobile, Inc. "Chris Jarvis" wrote in message news:B8AF96534149164F9B6FEF5280B2C7AF02613C at CUP1-EXBE1.portal.com... Hello, I am having a problem getting extended service graph icon to show up on the status page. I have configured the cgi.cfg to use extendedservice info file and I do not have it configured to use database. xedtemplate_config_file=/etc/nagios/hostextinfo.cfg xedtemplate_config_file=/etc/nagios/serviceextinfo.cfg I have configured the extended service file as follows. serviceextinfo{ host_name cup1-dc1 service_description Disk-usage notes_url http://nagios/nagios/cgi-bin/apan.cgi?host=cup1-dc1&service=Disk-usage icon_image graph.png icon_image_alt View graphs } The graph icon is in the logos subdirectory, but won't show up on the status page? I have restarted Nagios numerous times. I am running Nagios 1.1 on RH 9 with plugins-1.3.1-5. Any advide would be greatly appreciated. Thank you. Chris Jarvis Network Engineer Portal Software ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Tue Dec 9 06:00:45 2003 From: teng at dataway.com (Tedman Eng) Date: Mon, 8 Dec 2003 21:00:45 -0800 Subject: Disabling checks in Nagios References: Message-ID: One way is to use one of the external command scripts (see here http://www.nagios.org/download/extras.php#misc) and edit the script to use DISABLE_SVC_CHECK and ENABLE_SVC_CHECK. Scheduling can easily be done using an external scheduler like cron or at, depending on your needs. Info about the format of external commands can be found here: http://nagios.sourceforge.net/docs/1_0/extcommands.html For example: # echo "disable_svc_chk.sh foobar ping" | at 0300 job 6 at 2003-12-16 03:00 # echo "enable_svc_chk.sh foobar ping" | at 0330 job 7 at 2003-12-16 03:30 There may exist a script to do such a thing already somewhere, but if there is, they forgot to tell me. :) HTH -Tedman "Anurag Gupta" wrote in message news:FJEHIPBACBJHHEAGEJCPAEGKEFAA.agupta at yahoo-inc.com... > Hi, > > Is there an option in Nagios to *schedule* disabling of checks? > > Currently, we have Event Handlers that try to restart the processes on > remote machines. We want these handlers disabled during a Scheduled > downtime. But scheduled downtime is only for suppressing notifications. > Checks do happen, and event handlers are invoked. > > thanks > ====================== > Regards > Anurag Gupta > agupta at yahoo-inc.com > 408.349.5166 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Dec 9 06:02:21 2003 From: jhmartin at toger.us (Jason Martin) Date: Mon, 8 Dec 2003 21:02:21 -0800 (PST) Subject: Disabling checks in Nagios In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You can also define a check_period that excludes the intented downtime. - -Jason Martin On Mon, 8 Dec 2003, Tedman Eng wrote: > One way is to use one of the external command scripts > (see here http://www.nagios.org/download/extras.php#misc) > and edit the script to use DISABLE_SVC_CHECK and ENABLE_SVC_CHECK. > Scheduling can easily be done using an external scheduler like cron or at, > depending on your needs. > Info about the format of external commands can be found here: > http://nagios.sourceforge.net/docs/1_0/extcommands.html > > For example: > # echo "disable_svc_chk.sh foobar ping" | at 0300 > job 6 at 2003-12-16 03:00 > # echo "enable_svc_chk.sh foobar ping" | at 0330 > job 7 at 2003-12-16 03:30 > > There may exist a script to do such a thing already somewhere, but if there > is, they forgot to tell me. :) > > HTH > -Tedman > > "Anurag Gupta" wrote in message > news:FJEHIPBACBJHHEAGEJCPAEGKEFAA.agupta at yahoo-inc.com... > > Hi, > > > > Is there an option in Nagios to *schedule* disabling of checks? > > > > Currently, we have Event Handlers that try to restart the processes on > > remote machines. We want these handlers disabled during a Scheduled > > downtime. But scheduled downtime is only for suppressing notifications. > > Checks do happen, and event handlers are invoked. > > > > thanks > > ====================== > > Regards > > Anurag Gupta > > agupta at yahoo-inc.com > > 408.349.5166 > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/1Vdgl2ODWuqVSBMRAoDlAJ9zHd5U57kmAUHzd2CS8LJDZ1dLzACeKmrH BpBEJ5Afa7IaOJ1lfxVhKw8= =Zl0q -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pwebster at ausgeo.com.au Tue Dec 9 06:55:32 2003 From: pwebster at ausgeo.com.au (Patrick Webster) Date: Tue, 9 Dec 2003 16:55:32 +1100 Subject: missing: statusmap.cgi Message-ID: <52B61873A3467540AF8D4C08BA3AE52A16AE59@ags01.ausgeo.com.au> Hi all, I have nagios up and running, however I get a 404 when clicking on the 'Status Map' link. The statusmap.c file was in the tar archive when I originally compiled nagios, and the cgi directory has statuswml.cgi / statuswrl.cgi, but statusmap.cgi is nowhere to be found. Does anyone know what happened? I'm running Nagios 1.1 with the latest plug-ins. Thanks. -Patrick ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nleaman at apple.com Tue Dec 9 07:06:50 2003 From: nleaman at apple.com (Noah Leaman) Date: Mon, 8 Dec 2003 22:06:50 -0800 Subject: nrpe - ssl handshake not completed In-Reply-To: References: Message-ID: I had this problem too and the fix for me had nothing to do with the libssl or libcrypto libs or ./configure --disable-ssl. What I was doing was mistakingly running nrpe with the wrong config file (doh!). I was running: ./nrpe -c commands.cfg -d instead of: ./nrpe -c nrpe.cfg -d In fact, I found that you can run nrpe with an empty text file as a config file and it doesn't seem to have a problem: touch test.cfg ./nrpe -c test.cfg -d ... no problem until you try to connect: ./check_nrpe -H hostname.domain.com -c check_users CHECK: Error - Could not complete SSL handshake. So make SURE that the config file your feeding nrpe is the actual nrpe config file and not the commands config or something. Hope this helps some. -- Noah On Monday, December 8, 2003, at 04:07 AM, Steve Risteter wrote: > Check allowed_hosts in nrpe.cfg and check that libssl and libcrypto > are installed. > > > -----Original Message----- > From: Admin Nagios [mailto:nagios at terra.com] > Sent: Sunday, December 07, 2003 11:30 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nrpe - ssl handshake not completed > Importance: High > > > Im trying to use the check_disk1 command with check_nrpe and Im > receiving the following message: > > CHECK_NRPE: Error - Could not complete SSL handshake. > > Somebody have and idea of what is going on?? > > --------- > > #Im running the nrpe daemon and the nrpe plugin in the same machine > ...just for test procedures.# > > > > > > ___________________________________________________ > Triste, alegre, rom?ntico, con ganas de bailar... Terra Radio tiene > para ti m?s de 200 estaciones de radio con tu m?sica preferida. ?Ven y > disfruta de toda la m?sica que Terra Radio tiene para t?! > http://www.terra.com/ocio/musica/radio/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Tue Dec 9 07:08:28 2003 From: noah at mac.com (Noah Leaman) Date: Mon, 8 Dec 2003 22:08:28 -0800 Subject: nrpe - ssl handshake not completed Message-ID: <1BA5D242-2A0E-11D8-9031-000393ACBF0C@mac.com> I had this problem too and the fix for me had nothing to do with the libssl or libcrypto libs or ./configure --disable-ssl. What I was doing was mistakingly running nrpe with the wrong config file (doh!). I was running: ./nrpe -c commands.cfg -d instead of: ./nrpe -c nrpe.cfg -d In fact, I found that you can run nrpe with an empty text file as a config file and it doesn't seem to have a problem: touch test.cfg ./nrpe -c test.cfg -d ... no problem until you try to connect: ./check_nrpe -H hostname.domain.com -c check_users CHECK: Error - Could not complete SSL handshake. So make SURE that the config file your feeding nrpe is the actual nrpe config file and not the commands config or something. Hope this helps some. -- Noah On Monday, December 8, 2003, at 04:07 AM, Steve Risteter wrote: > Check allowed_hosts in nrpe.cfg and check that libssl and libcrypto > are installed. > > > -----Original Message----- > From: Admin Nagios [mailto:nagios at terra.com] > Sent: Sunday, December 07, 2003 11:30 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nrpe - ssl handshake not completed > Importance: High > > > Im trying to use the check_disk1 command with check_nrpe and Im > receiving the following message: > > CHECK_NRPE: Error - Could not complete SSL handshake. > > Somebody have and idea of what is going on?? > > --------- > > #Im running the nrpe daemon and the nrpe plugin in the same machine > ...just for test procedures.# > > > > > > ___________________________________________________ > Triste, alegre, rom?ntico, con ganas de bailar... Terra Radio tiene > para ti m?s de 200 estaciones de radio con tu m?sica preferida. ?Ven y > disfruta de toda la m?sica que Terra Radio tiene para t?! > http://www.terra.com/ocio/musica/radio/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlist.nagios at inlan.inmics.fi Tue Dec 9 07:16:47 2003 From: mlist.nagios at inlan.inmics.fi (MiikaT) Date: Tue, 9 Dec 2003 08:16:47 +0200 Subject: Nrpe generic question Message-ID: <1070950607.3fd568cf4ee06@imp.inmics.fi> Will I be able to do the following, if I use nrpe. I have two sites, site a monitors all hosts on site + everything that site b is monitorin (via nrpe), but site b only monitors site b. If there is a problem on site b host and the problem is acknowledged on site a, will that information pass to nagios on site b using nrpe, or will I need to acknowledge the same problem on both hosts? -MiikaT ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sam at Luna.nl Tue Dec 9 11:11:21 2003 From: Sam at Luna.nl (Sam Terburg) Date: Tue, 09 Dec 2003 11:11:21 +0100 Subject: 1 check at a time Message-ID: <1070964681.6846.32.camel@monica> I always only see one check at a time running, but i see many nagios processes. These are my relevant nagios.conf entries: service_interleave_factor=0 max_concurrent_checks=150 service_reaper_frequency=5 sleep_time=1 service_check_timeout=20 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 interval_length=1 use_agressive_host_checking=1 nagios 30905 0.1 0.6 2488 1616 ? SN 10:59 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 31920 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 31925 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 31928 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 31942 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 31972 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 31975 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 31986 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 31991 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 31993 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 31999 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32003 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32007 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32013 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32019 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32023 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32030 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32037 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32041 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32045 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32048 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32051 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32053 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32057 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32060 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32062 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32065 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32069 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32072 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32075 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32078 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32081 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32084 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32086 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32090 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32092 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32098 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32106 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32110 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32121 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32128 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32136 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32140 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32143 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32146 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32149 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg postfix 32178 0.0 0.3 2428 960 ? S 11:05 0:00 flush -t unix -u -c nagios 32533 0.2 0.6 2492 1616 ? SN 11:06 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32534 0.2 0.1 1264 472 ? SN 11:06 0:00 /usr/lib/nagios/plugins/check_ping -H x.x.x.x -w 3000.0,80% -c 5000.0,100% -p 1 -t 1 nagios 32535 0.0 0.1 1408 480 ? SN 11:06 0:00 /bin/ping -n x.x.x.x -c 1 -- Greetings, Sam Terburg Operations @ Luna.nl ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From miglionni at ig.com.br Tue Dec 9 11:40:25 2003 From: miglionni at ig.com.br (miglionni at ig.com.br) Date: Tue, 9 Dec 2003 08:40:25 -0200 Subject: snmpd.conf Message-ID: somebody could send me an example of the archive snmpd.conf (net-SNMP), therefore is giving to error of security name. _________________________________________________________ Voce quer um iGMail protegido contra v?rus e spams? Clique aqui: http://www.igmailseguro.ig.com.br Ofertas imperd?veis! Link: http://www.americanas.com.br/ig/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michal.Mazurek at avon.com Tue Dec 9 11:50:54 2003 From: Michal.Mazurek at avon.com (Michal.Mazurek at avon.com) Date: Tue, 9 Dec 2003 11:50:54 +0100 Subject: check_nt FILEAGE problem Message-ID: Hi I can't make ./check_nt -v FILEAGE to work when using check_nt (nagios-plugins 1.3.0-alpha1) 1.1.1.1 I'm getting "Could not parse arguments" comment when using check_nt (nagios-plugins 1.3.1) 1.7.2.3 I'm getting a number for example 1070966662 and "Date: %d-%m-%Y %I:%M:%S %p" arguments don't help Would you please tell me what can I do to make it work correctly. I read manuals but I still standing in the same place. Thanks Michal Mazurek ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Tue Dec 9 13:36:09 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 9 Dec 2003 12:36:09 -0000 Subject: check_nt FILEAGE problem Message-ID: <0EBC45FCABFC95428EBFC3A51B368C9501C9C3C3@jessica.herefordshire.gov.uk> You need the appropriate versions of nsclient and check_nt. Get them from http://support.tsmgsoftware.com Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > Michal.Mazurek at avon.com > Sent: 09 December 2003 10:51 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_nt FILEAGE problem > > > Hi > > I can't make ./check_nt -v FILEAGE to work > > when using > check_nt (nagios-plugins 1.3.0-alpha1) 1.1.1.1 I'm getting > "Could not parse > arguments" comment > > when using > check_nt (nagios-plugins 1.3.1) 1.7.2.3 I'm getting a number > for example > 1070966662 and "Date: %d-%m-%Y %I:%M:%S %p" arguments don't help > > Would you please tell me what can I do to make it work > correctly. I read > manuals but I still standing in the same place. > > Thanks > Michal Mazurek > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcioqueiroz at vicom.com.br Tue Dec 9 13:57:03 2003 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Tue, 9 Dec 2003 10:57:03 -0200 Subject: RES: 1 check at a time Message-ID: It appear?s that nagios is tring to check a host. Try Disable the use_aggressive_host_check option, since when nagios check a host, it does nothing else. This is the doc on Use_aggresive_host_check : Nagios tries to be smart about how and when it checks the status of hosts. In general, disabling this option will allow Nagios to make some smarter decisions and check hosts a bit faster. Enabling this option will increase the amount of time required to check hosts, but may improve reliability a bit. Unless you have problems with Nagios not recognizing that a host recovered, I would suggest not enabling this option. hope it help?s Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com > ----- Mensagem original ----- > De: Sam Terburg [SMTP:Sam at Luna.nl] > Enviada em: ter?a-feira, 9 de dezembro de 2003 08:11 > Para: Nagios Users Mailing List > Assunto: [Nagios-users] 1 check at a time > > I always only see one check at a time running, but i see many nagios > processes. > These are my relevant nagios.conf entries: > service_interleave_factor=0 > max_concurrent_checks=150 > service_reaper_frequency=5 > sleep_time=1 > service_check_timeout=20 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 > interval_length=1 > use_agressive_host_checking=1 > > > nagios 30905 0.1 0.6 2488 1616 ? SN 10:59 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31920 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31925 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31928 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31942 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31972 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31975 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31986 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31991 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31993 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31999 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32003 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32007 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32013 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32019 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32023 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32030 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32037 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32041 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32045 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32048 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32051 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32053 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32057 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32060 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32062 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32065 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32069 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32072 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32075 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32078 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32081 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32084 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32086 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32090 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32092 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32098 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32106 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32110 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32121 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32128 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32136 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32140 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32143 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32146 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32149 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > postfix 32178 0.0 0.3 2428 960 ? S 11:05 0:00 flush -t > unix -u -c > nagios 32533 0.2 0.6 2492 1616 ? SN 11:06 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32534 0.2 0.1 1264 472 ? SN 11:06 0:00 > /usr/lib/nagios/plugins/check_ping -H x.x.x.x -w 3000.0,80% -c > 5000.0,100% -p 1 -t 1 > nagios 32535 0.0 0.1 1408 480 ? SN 11:06 0:00 /bin/ping > -n x.x.x.x -c 1 > > > -- > > Greetings, > > Sam Terburg > Operations @ Luna.nl > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daveoshea at sbcglobal.net Tue Dec 9 14:28:06 2003 From: daveoshea at sbcglobal.net (Dave O'Shea) Date: Tue, 9 Dec 2003 05:28:06 -0800 (PST) Subject: missing: statusmap.cgi In-Reply-To: <52B61873A3467540AF8D4C08BA3AE52A16AE59@ags01.ausgeo.com.au> References: <52B61873A3467540AF8D4C08BA3AE52A16AE59@ags01.ausgeo.com.au> Message-ID: <20031209132806.36944.qmail@web80212.mail.yahoo.com> I suspect you may be missing some of the GD or zlib components. When you ran ./configure, did you notice if it complained about not having the GD libraries or similar? Looking through the configure.log may give you some hints. --- Patrick Webster wrote: > Hi all, > > I have nagios up and running, however I get a 404 > when clicking on the > 'Status Map' link. > > The statusmap.c file was in the tar archive when I > originally compiled > nagios, and the cgi directory has statuswml.cgi / > statuswrl.cgi, but > statusmap.cgi is nowhere to be found. > > Does anyone know what happened? I'm running Nagios > 1.1 with the latest > plug-ins. > > Thanks. > > -Patrick > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback > Program. > Does SourceForge.net help you be more productive? > Does it > help you create better code? SHARE THE LOVE, and > help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klmuthu at eudoramail.com Tue Dec 9 15:43:10 2003 From: klmuthu at eudoramail.com (k.l. muthu kumar) Date: Tue, 09 Dec 2003 20:13:10 +0530 Subject: apan Message-ID: Hi all, Iam trying to use apan to produce ping roundtrip graph for one of the server, but iam getting the following error message in nagios service page. "No perf-definition for service". can anyone help me to figure out this problem? thanks, muthu Need a new email address that people can remember Check out the new EudoraMail at http://www.eudoramail.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From HBoertien at enertel.nl Tue Dec 9 15:51:48 2003 From: HBoertien at enertel.nl (HBoertien at enertel.nl) Date: Tue, 9 Dec 2003 15:51:48 +0100 Subject: apan Message-ID: <489AC10F32B1D5119FA000D0B720644A0602AEE2@srvexchange1> You have to edit the file apan.cfg in /usr/local/nagios/apan There you have to add a line for the service you are pinging. You can also install nagmin 2.0.6, this has build-in support for ping and snmp interface. Cheers, Harm from: http://apan.sourceforge.net/ Measure ping rount-trip times 1. Create a service-definition in Nagios: define service { host_name server service_description Ping check_command apan!ping!100.0,20%!500.0,60% name Ping use generic-service normal_check_interval 1 } 2. Create a RRD: rrdtool create /usr/local/nagios/rrd/server_Ping.rrd -s 60 DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 3. Add a line in apan.cfg: server;Ping;/usr/local/nagios/rrd/server_ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds 4. Add an icon and a link as extended service-info: define serviceextinfo{ host_name server service_description Ping notes_url /nagios/cgi-bin/apan.cgi?host=server&service=Ping icon_image graph.png icon_image_alt View graphs } -----Oorspronkelijk bericht----- Van: k.l. muthu kumar [mailto:klmuthu at eudoramail.com] Verzonden: Tuesday, December 09, 2003 03:43 PM Aan: nagios newsgroup Onderwerp: [Nagios-users] apan Hi all, Iam trying to use apan to produce ping roundtrip graph for one of the server, but iam getting the following error message in nagios service page. "No perf-definition for service". can anyone help me to figure out this problem? thanks, muthu Need a new email address that people can remember Check out the new EudoraMail at http://www.eudoramail.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null #*************************************************************************** # # Dit e-mailbericht met eventuele attachments is uitsluitend bestemd voor de # geadresseerde(n) en bevat mogelijk vertrouwelijke gegevens en/of is # beschermd door intellectuele eigendomsrechten. Bent u niet de # geadresseerde, neemt u dan zo spoedig mogelijk contact op met de afzender # en verzoeken wij u het e-mailbericht en eventuele attachments van uw # computer te verwijderen. Elk gebruik van de inhoud van dit e-mailbericht # en eventuele attachments (waaronder verveelvoudiging, verspreiding of het # anderzins openbaar maken in welke vorm dan ook) door andere personen dan # de bedoelde geadresseerden is verboden. De weergegeven mening is puur # persoonlijk en hoeft niet noodzakelijk over een te komen met die van # Enertel. Enertel is niet aansprakelijk voor de inhoud van dit # e-mailbericht en eventuele attachments. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cscha at gbpinc.com Tue Dec 9 16:21:51 2003 From: cscha at gbpinc.com (Cory Schafer) Date: Tue, 09 Dec 2003 09:21:51 -0600 Subject: Check_NWstat Message-ID: I'm having some issues with check_nwstat. I get " Socket timeout after 10 seconds" when I want to do a volume check. I can run the ./check_nwstat manually with no problem. Here is my relavent config files: Checkcommands.cfg # 'check_nwstat' command definition define command{ command_name check_nwstat_vols command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v VPF$ARG1$ -w $ARG2! -c $ARG3$ } Host.cfg # 'Novell Box' host definition define host{ use generic-host host_name border alias DNS Server address 192.169.1.2 check_command check_nwstat_vols max_check_attempts 10 notification_interval 480 notification_period 24x7 notification_options d,u,r } Service.cfg define service{ use generic-service ; Name of servic host_name border service_description Check Volumes is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups novell-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nwstat_vols!192.168.1.2!VPFSYS!100!50 } Any help is appreciated. Thank you! Cory Schafer -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.vier at tradingtechnologies.com Tue Dec 9 16:22:57 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 09 Dec 2003 09:22:57 -0600 Subject: Excluding hosts from hostgroups? In-Reply-To: <20031209020440.GC5425@isite.net> References: <200312031521.hB3FLN002552@smtp1.prupref.com> <3FCE01DF.3070106@dctd.saic.com> <20031209020440.GC5425@isite.net> Message-ID: <1070983376.6502.9.camel@localhost> Funny. Reading back over the thread, I realized I was misreading it this whole time to mean what you just explained below (I guess my brain wanted it to work "the right way", too :)) On Mon, 2003-12-08 at 20:04, Joe Rhett wrote: > Hm. My mind rebels against this notion because it doesn't really make > sense. Either a hostgroup has a host or it doesn't. There is no half way. > > BUT, I could see being useful on a service: > > service ssh { > hostgroup webservers > exclude_hosts nossh-1,nossh-2 > > -or- > > service ping { > host * > exclude_hosts noping-1,noping-2 > > On Wed, Dec 03, 2003 at 10:31:43AM -0500, Alex Moundalexis wrote: > > I could set up host checks, except that it isn't as practical with the > > quantity of nodes. As well, there are other service checks that must be > > run on the entire host group. These rogue (and blatantly irritating) > > machines would be a handful of nodes among dozens that would be omitted > > from a particular check. > > > > I see it as additional granularity. > > > > I'll make it work, regardless. Was just curious if the idea had been > > proposed before. > > > > - A > > > > McKeever Chris wrote: > > > > >On Wed, 03 Dec 2003 10:12 , Alex Moundalexis sent: > > > > > > > > > > > >>Is there any undocumented (or perhaps documented that I missed) feature > > >>that allows the exclusion of several hosts from a hostgroup? Somethine > > >>like this? > > >> > > >>hostgroup_name linux,sun > > >>exclude_hosts nossh-1,nossh-2,etc > > >> > > >>Suppose I run a service check on SSH, for my linux and sun hostgroups, > > >>since 99% of them run SSH. 3 servers don't run SSH, and so I get > > >>constant failures. The obvious solution would be to redefine those three > > >>hosts into their own group, but I was wondering if something like this > > >>existed, or whether it would be considered in the future. > > >> > > >> > > >> > > > > > >I am a bit confused..isnt hard though > > >could you not set up host service checks rather than group checks? > > >or like you said, just exclude those machines from the group > > >adding a machine to a group that you then want to exclude it from is a bit > > >confusing. > > > > > > > > >------------------------------------------- > > >Chris McKeever > > >If you want to reply directly to me, please use > > >cgmckeever--at--prupref---dot---com > > >http://www.prupref.com > > > > > >---- Prudential Preferred Properties www.prupref.com > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. ::: Messages without supporting info will risk being > > sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdinaro at mail.com Tue Dec 9 17:40:52 2003 From: tdinaro at mail.com (tom di naro) Date: Tue, 09 Dec 2003 09:40:52 -0700 Subject: Statistic and Performance metric gathering / displaying Message-ID: <20031209164052.17133.qmail@mail.com> I have had nagios up and running for some time and it works well. I am now interested in viewing performance data through the cgi interface. I have the binary compiled set with the following ./configure --with-mysql-xdata --with-default-perfdata options. I have read the docs and it seems that there is the ability to perform some sort of post processing a\'la webalyzer on the actual files/db but I am wondering if there is some stock functionality within the cgis that will let users/managers view the ( for example %CPU usage on a 10 minute interval ) data . There is a project on sf that looks like it wants to do this but has not put out any files yet. alternatively I could extract this data and do it in a custom fashion but Im wondering how everyone else does it. thanks in advance. !! ./tom -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx Tue Dec 9 18:52:03 2003 From: Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx (Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx) Date: Tue, 9 Dec 2003 11:52:03 -0600 Subject: Question In-Reply-To: References: Message-ID: Hi I want to use the Template-Based Extended Information Configuration File Options but i don`t know like compile my nagios for accept it Thanks ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Dec 9 19:01:09 2003 From: marc at ena.com (Marc Powell) Date: Tue, 9 Dec 2003 12:01:09 -0600 Subject: Statistic and Performance metric gathering / displaying Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A032@mismail2.ena.com> > -----Original Message----- > From: tom di naro [mailto:tdinaro at mail.com] > Sent: Tuesday, December 09, 2003 10:41 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Statistic and Performance metric gathering / > displaying > > I have had nagios up and running for some time and it works well. I am now > interested in viewing performance data through the cgi interface. I have > the binary compiled set with the following > > ./configure --with-mysql-xdata --with-default-perfdata > > options. I have read the docs and it seems that there is the ability to > perform some sort of post processing a\'la webalyzer on the actual > files/db but I am wondering if there is some stock functionality within > the cgis that will let users/managers view the ( for example %CPU usage on > a 10 minute interval ) data . There's nothing built in but a number of people are using APAN (http://apan.sf.net). -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Dec 9 19:09:00 2003 From: marc at ena.com (Marc Powell) Date: Tue, 9 Dec 2003 12:09:00 -0600 Subject: Question Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A033@mismail2.ena.com> > -----Original Message----- > From: > Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx > [mailto:Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco .g > ob.mx] > Sent: Tuesday, December 09, 2003 11:52 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Question > > > > > > Hi > > I want to use the Template-Based Extended Information Configuration File > Options but i don`t know like compile my nagios for accept it Nagios uses the template-based config file format by default for everything. There isn't anything special that you need to do (except do not use --with-default-extinfo configure option ;) ). ./configure --with-htmurl= --with-cgiurl= will use templated-based config files for everything. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ferlatte at cryptio.net Tue Dec 9 19:53:10 2003 From: ferlatte at cryptio.net (Mark Ferlatte) Date: Tue, 9 Dec 2003 10:53:10 -0800 Subject: Limiting notifications by group? Message-ID: <20031209185310.GD50160@radix.cryptio.net> Hi all, I have a set of hosts all of which are running the same service (say, HTTP). I would like to have Nagios only send a notification when more than two of those services go CRITICAL. Basically, I've got a cluster of webservers, and I can lose two of them with no problem, so I'd rather not get paged in the middle of night if one of them goes down, but I do want to know if three of them goes down. Has anybody done this already? M -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From jamie.baddeley at vpc.co.nz Tue Dec 9 20:29:10 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: 10 Dec 2003 08:29:10 +1300 Subject: Limiting notifications by group? In-Reply-To: <20031209185310.GD50160@radix.cryptio.net> References: <20031209185310.GD50160@radix.cryptio.net> Message-ID: <1070998153.729.0.camel@munter> check_cluster it's in cvs. jamie On Wed, 2003-12-10 at 07:53, Mark Ferlatte wrote: > Hi all, > > I have a set of hosts all of which are running the same service (say, HTTP). I > would like to have Nagios only send a notification when more than two of those > services go CRITICAL. > > Basically, I've got a cluster of webservers, and I can lose two of them with no > problem, so I'd rather not get paged in the middle of night if one of them goes > down, but I do want to know if three of them goes down. > > Has anybody done this already? > > M ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tskyers at foxroach.com Tue Dec 9 20:54:21 2003 From: tskyers at foxroach.com (Tory Skyers) Date: Tue, 9 Dec 2003 14:54:21 -0500 Subject: notifications Message-ID: I am having the weirdest problems! I cannot seem to get nagios to notify correctly. It will notify only one contact group when a service or host goes critical, but it will notify everyone (correctly) when the service or host recovers. I have everything set exactly the same as far as I can see for both groups! I use nagmin to generate config files. My default notification in nagmin is admin,helpdesk < I've tried it w/ a , and a space and it still does not work as it's supposed to. Any suggestions? Tory Skyers Network Administrator Prudential Fox & Roach 610-993-1327 tskyers at foxroach.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tskyers at foxroach.com Tue Dec 9 21:13:35 2003 From: tskyers at foxroach.com (Tory Skyers) Date: Tue, 9 Dec 2003 15:13:35 -0500 Subject: notification again Message-ID: Even more strange, I've removed the admin group completely from the notification field in all services hosts and hostgroups and yet it will only send critical notifications to that group. This thing has a mind of it's own! Tory Skyers Network Administrator Prudential Fox & Roach 610-993-1327 tskyers at foxroach.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Dec 9 21:23:49 2003 From: marc at ena.com (Marc Powell) Date: Tue, 9 Dec 2003 14:23:49 -0600 Subject: notification again Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A037@mismail2.ena.com> > -----Original Message----- > From: Tory Skyers [mailto:tskyers at foxroach.com] > Sent: Tuesday, December 09, 2003 2:14 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notification again > > Even more strange, I've removed the admin group completely from the > notification field in all services hosts and hostgroups and yet it will > only > send critical notifications to that group. This thing has a mind of it's > own! Is nagios being restarted after these changes are made? Is there perhaps an old nagios process still hanging around? -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hxtozb at yahoo.com Tue Dec 9 21:52:27 2003 From: hxtozb at yahoo.com (Connie Dugan) Date: Tue, 09 Dec 2003 15:52:27 -0500 Subject: US STOCK MARKET - MBTT Technology---MERRILL LYNCH On Sector.....coyne Message-ID: US Stock Market - Stock Profile of the Week Symbol: MBTT Market: OTC.BB Sector: ELECTRONICS Before we begin our profile we have very exciting, breaking news... Renowned Satellite Industry Expert Dr. Arthur R. Tilford Joins MB Tech BREAKING NEWS - (PRIMEZONE) - MB Tech, Inc. (OTC.BB: MBTT) announces that Dr. Arthur R. Tilford, formerly with Hughes Electronics (NYSE: GMH), has been retained by the Company to provide technical consulting and advisory services. Tilford is an aerospace industry veteran responsible for a total of 11 patents and patent applications within the field, having received Hughes' Chairman's Award for DirecDuo, solo engineering efforts in 1997. He is an expert system designer and Federal Licensing and Certifying Engineer. He has authored several books, including Satellite Fieldbook Quarterly(c) -- Hughes S&C, CA, the contents of which describe all parameters of every C/Ku band geo-satellite in the world and the over 400 page Satellite Workbook(c) for use in satellite engineering classes, taught by him, at the California State University (CSUF at CSULB). Tilford worked with Netune Communications, where he was responsible for providing transponder allocations, domestic and international link-budget calculations for narrow to very-wide-band satellite system and writing, calculating and applying for FCC and RA transmit licenses. He also assigned parameters for RF sub-system design and is an expert in radiation hazard compliance. Hanwook Bae, President of MB Tech, commented, ``The importance of Dr. Tilford joining the Company cannot be underestimated. He is an industry leader with numerous patents relating to antenna design and an immense knowledge of the satellite Internet market. His incredible technical knowledge will allow us to dramatically step up our new initiatives, catapulting us to the forefront of our industry.'' He added, ``This is yet another positive step forward in the overall paradigm shift for the Company. We have moved from being a manufacturer of satellite components, to a Company that will lead the consumer satellite electronics industry.'' STOCK PROFILE OF THE WEEK MB Tech is a global manufacturer and distributor of satellite components. The primary product MB Tech produces is "LNB" (Low-Noise Blockdown) converters, which are the essential element enabling DBS satellites to receive and convert satellite transmission signals. MB Tech currently serves the satellite television market, and is expanding to serve the satellite radio and military hardware sectors. MB Tech manufactures several proprietary LNB solutions that differentiate it from competitors. MB Tech's product line includes a dual-horn LNB which allows multiple set-top boxes to be connected to a single satellite dish, enabling viewing of multiple channels simultaneously on different television monitors, and a tri-horn LNB, which provides the ability to download signals from multiple satellites over a single dish. TECHNOLOGY MB Tech has improved on conventional designs and can manufacture units more efficiently and less expensively than the competition. MB Tech specializes in LNB electronics, it is the ONLY thing we do. An LNB converter transforms the satellite transmission into a useable signal. MB Tech has developed a special new breed of LNB converter which allows the signal to feed separate televisions or other 'boxes' with different channels. The signal coming in from one dish can be distributed through MB Tech's 'dual and triple horned' LNB converter such that multiple channels can be viewed, or different channels and Internet access can be delivered.. ALL AT THE SAME TIME! Other technological objectives have been to develop LNB for G.P.S. equipment, and small type two horn technology as well as UBC DSS type LNB. These objectives have been achieved and the Company is currently speaking with larger American based technology companies about the technology. PRODUCTS MB Tech products are innovative! We rely on superior technology to be an integral part of our business. We have made a serious committment to ongoing R&D to stay ahead of the curve. MB Tech, Inc traces its roots back to 2000 with the development of 3 types of LNB (DSS type). Continuous reinvention and rapid transformation are themes throughout our history. Led by our top-notch technology, our company offered a new breed of satellite broadcasting solutions to clients?solutions that customized LNB with 3 or 4 horns. Click here to see our product milestones. Within the next two years, MB Tech will spend over 80 million dollars on continuing Research and development of our products. We will continue a process of product renewal that will assure products with features and functionality that will be attractive to the market. MDI: MERRILL LYNCH COMENTS ON AD TRENDS IN THE MEDIA SECTOR Merrill Lynch surveyed newspapers, TV stations and radio stations to try to understand the divergent trends between local and national advertising in the current recovery. They noted that U.S. ad expenditures tend to keep pace with or slightly outperform the economy over time. As such, the rise of media outlets should not necessarily lead to higher ad spending but most likely to market share shifts among the mediums. The surveys showed that local cable is becoming a more competitive force, but overall, they found no major structural issues impacting the dynamics between local and national ad spending. Merrill noted that national advertisers typically base their budgets on projected economic trends and therefore can afford to spend a bit ahead of a turn in the cycle. However, local advertisers, with more limited resources, are more likely to lag in spending coming out of a recovery as they need to see an immediate return on investment. They pointed out that a better economy should eliminate the differences. The firm believes there are many positive themes occurring with newspapers today (e.g. collaborative selling efforts, product innovation, renewed focus on readership) that are being masked by the downturn in department store spending, which appears to be secular, and the cyclical issue of help wanted, which is finally turning positive. >From a consumer perspective, they believe radio is a relatively protected medium. However, the industry remains beset with excess inventory, following unsustainable demand in the late 1990's. A reduction in spots and/or lower prices could limit near term growth, yet support long term growth, giving investors something to chase. TV is about to enter the growth phase of its two year cycle, but its low growth, single revenue stream is likely the main target for local cable TV and should also be impacted by increased DVR penetration, which gives the firm little to get excited about. IMPORTANT CORPORATE MILESTONES Oct. 2003 Receives 6.14 Million Dollar Purchase Order For 45,000 Flat Antennas Sept. 2003 Purchases Patent for Key Operating Mechanism of DBS Flat Antenna Sept. 2003 Completes Development of Flat Antenna May. 2002 Canada DBS (Star Choice) two horn LNB P/O for (USD 450,000) Feb. 2002 Canada DBS (Star Choice) two horn LNB P/O for (USD 675,000) Dec. 2001 Canada DBS (Star Choice) two horn LNB P/O for (USD 75,000) Sept. 2001 Canada DBS (Star Choice) two horn LNB P/O for (USD 1,200,000) July 2001 Patent application for LNB design and pattern May 2001 Purchase order of Canadian BS (two horn LNB) April 2001 Establishment of MB Tech, Inc. Jan. 2001 Canada DBS two horn LNB successful field test Sept. 2000 SBCA (Satellite Broadcasting & Communications Association) Membership Certificate Aug. 2000 Development of 3 types of LNB (CAN TYPE); application of patent of new device and patent of new design (app# 00-22512,22513, 22514) July 2000 SBCA (USA); DBS field test in S. Africa; DBS field test in Australia May 2000 DBS field test in Thailand; Media Cast (London); DBS field test in Russia April 2000 Application for patent of new device and patent of new design, patent app# 10-2000-0017958 March 2000 Development of 3 types of LNB (DSS type) For more information on MBTT, visit their website at www.mbtech.us Please note that MBTT had absolutley nothing to do with this report and is not a participant in any way. No more advertisements: www.precscription-service-now.com/away.html Stock Market Today is an independent research firm. This report is based on Stock Market Today's independent analysis but also relies on information supplied by sources believed to be reliable. This report may not be the opinion of MBTT management. Stock Market Today has also been retained to research and issue reports on MBTT. Stock Market Today may from time to time purchase or sell MBTT common shares in the open market without notice. The information contained in this report shall not constitute, an offer to sell or solicitation of any offer to purchase any security. It is intended for information only. Some statements may contain so-called "forward-looking statements". Many factors could cause actual results to differ. Investors should consult with their Investment Advisor concerning MBTT. Copyright 2003 ? Stock Market Today Ltd. All Rights Reserved. This newsletter was distributed by SCI, Inc. SCI was paid one hundred twenty thousand shares MBTT stock to distribute this report. SCI is not affiiated with Stock Market Today and is not responsible for newsletter content. rfwmk id acbgisfxih qtu nd bext rablffs mi zkjyr From jbohr at cos.agilent.com Tue Dec 9 23:06:35 2003 From: jbohr at cos.agilent.com (Jamie Bohr) Date: Tue, 09 Dec 2003 15:06:35 -0700 Subject: Monitoring process may not be running! ... Message-ID: <1071007594.28880.93.camel@colonel.cos.agilent.com> I have Nagios 1.1 running using MySQL on a RH 9. I get "Monitoring process may not be running!" a lot when I don't think I should get it at all. I have the following defined in cgi.cfg nagios_check_command=/opt/monitorsvr/libexec/check_nagios /opt/monitorsvr/var/nagios.log 10 '/opt/monitorsvr/bin/nagios' The problem seems to be /opt/monitorsvr/var/nagios.log is not getting updated on a regular basis however the database is. If I use a database for programstatus should I use an other command to check if Nagios is running? The database updates every 15 seconds as expected. What do other use? Thank you, Jamie ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Dec 9 23:18:49 2003 From: marc at ena.com (Marc Powell) Date: Tue, 9 Dec 2003 16:18:49 -0600 Subject: Monitoring process may not be running! ... Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A03B@mismail2.ena.com> > -----Original Message----- > From: Jamie Bohr [mailto:jbohr at cos.agilent.com] > Sent: Tuesday, December 09, 2003 4:07 PM > To: nagios newsgroup > Subject: [Nagios-users] Monitoring process may not be running! ... > > I have Nagios 1.1 running using MySQL on a RH 9. > I get "Monitoring process may not be running!" a lot when I don't think > I should get it at all. I have the following defined in cgi.cfg > > nagios_check_command=/opt/monitorsvr/libexec/check_nagios > /opt/monitorsvr/var/nagios.log 10 '/opt/monitorsvr/bin/nagios' > > The problem seems to be /opt/monitorsvr/var/nagios.log is not getting > updated on a regular basis however the database is. If I use a database > for programstatus should I use an other command to check if Nagios is > running? The database updates every 15 seconds as expected. What do > other use You'll need to use check_nagios_db (found in the plugins contrib directory) instead of check_nagios. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbohr at cos.agilent.com Wed Dec 10 00:30:10 2003 From: jbohr at cos.agilent.com (Jamie Bohr) Date: Tue, 09 Dec 2003 16:30:10 -0700 Subject: Monitoring process may not be running! ... In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A03B@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A03B@mismail2.ena.com> Message-ID: <1071012610.28880.98.camel@colonel.cos.agilent.com> Thank you, that did the trick. Now if I can get Apache 2.0 to authenticate user I will be good to go - it refuses to prompt for a login. - Jamie On Tue, 2003-12-09 at 15:18, Marc Powell wrote: > > -----Original Message----- > > From: Jamie Bohr [mailto:jbohr at cos.agilent.com] > > Sent: Tuesday, December 09, 2003 4:07 PM > > To: nagios newsgroup > > Subject: [Nagios-users] Monitoring process may not be running! ... > > > > I have Nagios 1.1 running using MySQL on a RH 9. > > I get "Monitoring process may not be running!" a lot when I don't > think > > I should get it at all. I have the following defined in cgi.cfg > > > > nagios_check_command=/opt/monitorsvr/libexec/check_nagios > > /opt/monitorsvr/var/nagios.log 10 '/opt/monitorsvr/bin/nagios' > > > > The problem seems to be /opt/monitorsvr/var/nagios.log is not getting > > updated on a regular basis however the database is. If I use a > database > > for programstatus should I use an other command to check if Nagios is > > running? The database updates every 15 seconds as expected. What do > > other use > > You'll need to use check_nagios_db (found in the plugins contrib > directory) instead of check_nagios. > > -- > Marc > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios_mail at ingoa.com Wed Dec 10 00:59:16 2003 From: nagios_mail at ingoa.com (Ran B) Date: Tue, 9 Dec 2003 15:59:16 -0800 (PST) Subject: NRPE 1.8 Error Message-ID: <20031209235916.55D4E3976@sitemail.everyone.net> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From pwebster at ausgeo.com.au Wed Dec 10 05:38:21 2003 From: pwebster at ausgeo.com.au (Patrick Webster) Date: Wed, 10 Dec 2003 15:38:21 +1100 Subject: missing: statusmap.cgi Message-ID: <52B61873A3467540AF8D4C08BA3AE52A42D7C7@ags01.ausgeo.com.au> >I suspect you may be missing some of the GD or zlib >components. >When you ran ./configure, did you notice if it >complained about not having the GD libraries or >similar? Looking through the configure.log may give >you some hints. Nope - no errors. I recompiled it and still don't have the cgi's - only the initial .c file for statusmap...? -Patrick ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From surya at divre1.telkom.co.id Wed Dec 10 07:53:01 2003 From: surya at divre1.telkom.co.id (Surya Rahmadiansyah) Date: Wed, 10 Dec 2003 13:53:01 +0700 Subject: Nagios rpm installation Message-ID: <5.1.0.14.2.20031210135013.020a2508@10.16.3.240> Dear all .. How to re-configure nagios from rpm installation? (usually with "./configure"). It's different from nagios documentation. Regards, Surya Rahmadiansyah Network Engineer ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martin at idefix.net Wed Dec 10 10:55:09 2003 From: martin at idefix.net (martin at idefix.net) Date: Wed, 10 Dec 2003 10:55:09 +0100 (CET) Subject: 18000 services to check and Nagios just sits and waits. Message-ID: <200312100955.hBA9t9jt095509@idefix.net> Hi all, I'm trying to convince Nagios it should perform very aggressively but somehow it won't work. When reading the documentation it states everywhere that Nagios will consume all CPU power you throw at it if you don't take care. Well, with me it doesn't and I really want it to. The situation: - All our machines send some email to the Nagios server which we put in files and wrote a plugin to check those files. - There are a lot of machines (almost 900) and we want to do a lot of checks (18000). - To make it worse, we forced Nagios to use MySQL for the service_status and host_status data (as we created our own frontend and use MySQL as the interface). To make sure Nagios will be able to abuse the hardware as much as it can we threw in a dual xeon 3 GHz machine with 2GB memory and some 15k RPM SCSI disks. To make it better, Linux understands hyperthreading and makes it a total of 4 CPU's. To prevent MySQL to abuse the arraycontroller to much we make the service_status and host_status tables HEAP so they only use memory. I would assume that Nagios would at least try to fork something like 40 to 100 processes and would consume at least one CPU but it doesn't. It won't abuse the memory either as there is about 1GB of memory left. It only seems to be sitting there with 4 to 6 proccesses and allowing the latency to go up and up like there's no tomorrow. Or at least there won't be any checks tomorrow. We've tried both the smart Nagios options as the dumb options and event tried to think ourselves and calculating the right configvalues but nothing seems to work. So, if anyone has a clue, please share it with me. :) Thanks so far, Martin -- Tin will not rust or give in but melts directly when heated =B-) ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atpol at yahoo.com Wed Dec 10 11:39:18 2003 From: atpol at yahoo.com (Attilio Poleggi) Date: Wed, 10 Dec 2003 02:39:18 -0800 (PST) Subject: 18000 services to check and Nagios just sits and waits. In-Reply-To: <200312100955.hBA9t9jt095509@idefix.net> References: <200312100955.hBA9t9jt095509@idefix.net> Message-ID: <20031210103918.78309.qmail@web11608.mail.yahoo.com> >From your question it seems tha Nagios can't start more than 4-6 processes.. very strange: usually it starts hundreds of checks. What can you say about "scheduling queue" ? Are all checks correctly scheduled ? And, if so are them orphanized (you should enable "orphanize" option to understand it)? or they just wait in latency? If Nagios configuration is OK ( max_concurrent_checks and so on) you can try to glance at Linux kernel parameters (i.e. "ulimit" and others). Good luck A --- martin at idefix.net wrote: > Hi all, > > I'm trying to convince Nagios it should perform very > aggressively > but somehow it won't work. > When reading the documentation it states everywhere > that Nagios > will consume all CPU power you throw at it if you > don't take care. > Well, with me it doesn't and I really want it to. > > The situation: > - All our machines send some email to the Nagios > server which > we put in files and wrote a plugin to check those > files. > > - There are a lot of machines (almost 900) and we > want to do a lot > of checks (18000). > > - To make it worse, we forced Nagios to use MySQL > for the service_status > and host_status data (as we created our own > frontend and use MySQL as > the interface). > > To make sure Nagios will be able to abuse the > hardware as much as it can > we threw in a dual xeon 3 GHz machine with 2GB > memory and some 15k RPM > SCSI disks. To make it better, Linux understands > hyperthreading and > makes it a total of 4 CPU's. > To prevent MySQL to abuse the arraycontroller to > much we make the > service_status and host_status tables HEAP so they > only use memory. > > I would assume that Nagios would at least try to > fork something like > 40 to 100 processes and would consume at least one > CPU but it doesn't. > It won't abuse the memory either as there is about > 1GB of memory left. > > It only seems to be sitting there with 4 to 6 > proccesses and allowing > the latency to go up and up like there's no > tomorrow. Or at least there > won't be any checks tomorrow. > > We've tried both the smart Nagios options as the > dumb options and > event tried to think ourselves and calculating the > right configvalues > but nothing seems to work. > > So, if anyone has a clue, please share it with me. > :) > Thanks so far, > Martin > > > > > -- > Tin will not rust or give in but melts directly when > heated =B-) > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback > Program. > Does SourceForge.net help you be more productive? > Does it > help you create better code? SHARE THE LOVE, and > help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anders.holm at elivefree.net Wed Dec 10 11:55:50 2003 From: anders.holm at elivefree.net (Anders Holm) Date: Wed, 10 Dec 2003 10:55:50 +0000 Subject: Nagios rpm installation In-Reply-To: <5.1.0.14.2.20031210135013.020a2508@10.16.3.240> References: <5.1.0.14.2.20031210135013.020a2508@10.16.3.240> Message-ID: <3FD6FBB6.6040108@elivefree.net> Dear Surya. An RPM file will give you the already compiled files. ./configure is used when configuring before the compilation step is taken. In essence, you'd need a SRPM (Source RPM) instead, or just the plain source code from the Nagios web site. Which ever you prefer I guess... //Anders// Surya Rahmadiansyah wrote: > Dear all .. > > How to re-configure nagios from rpm installation? (usually with > "./configure"). It's different from nagios documentation. > > Regards, > > Surya Rahmadiansyah > Network Engineer > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deny at monaco.net Wed Dec 10 12:17:26 2003 From: deny at monaco.net (deny) Date: Wed, 10 Dec 2003 12:17:26 +0100 Subject: (no subject) Message-ID: <3FD700C6.8030300@monaco.net> -- http://www.linux-pour-lesnuls.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From G.Westland at agipkco.com Wed Dec 10 14:30:00 2003 From: G.Westland at agipkco.com (Westland G. [DH]) Date: Wed, 10 Dec 2003 14:30:00 +0100 Subject: statusmap compilation!@!! on solaris. Message-ID: Help! I'm trying to recompile for the stausmap.cgi after installing libgd, libpng and libjpeg. I get messages saying that it now needs gd-devel, png-devel etc. I've hunted on the web for these libraries but no joy! Does anyone where I can get these? Or can anyone send me a statusmap.cgi? Another quick question - How do I change the backdrop colours in statuswrl/3D-status map? Many Thanks Greg -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: Wednesday, December 10, 2003 5:05 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #1790 - 30 msgs Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-admin at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: Disabling checks in Nagios (Tedman Eng) 2. Re: Re: Disabling checks in Nagios (Jason Martin) 3. missing: statusmap.cgi (Patrick Webster) 4. Re: nrpe - ssl handshake not completed (Noah Leaman) 5. RE: nrpe - ssl handshake not completed (Noah Leaman) 6. Nrpe generic question (MiikaT) 7. 1 check at a time (Sam Terburg) 8. snmpd.conf (miglionni at ig.com.br) 9. check_nt FILEAGE problem (Michal.Mazurek at avon.com) 10. RE: check_nt FILEAGE problem (Randal, Phil) 11. RES: [Nagios-users] 1 check at a time (Marcio Queiroz) 12. Re: missing: statusmap.cgi (Dave O'Shea) 13. apan (k.l. muthu kumar) 14. RE: apan (HBoertien at enertel.nl) 15. Check_NWstat (Cory Schafer) 16. Re: Excluding hosts from hostgroups? (jeff vier) 17. Statistic and Performance metric gathering / displaying (tom di naro) 18. Question (Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx) 19. RE: Statistic and Performance metric gathering / displaying (Marc Powell) 20. RE: Question (Marc Powell) 21. Limiting notifications by group? (Mark Ferlatte) 22. Re: Limiting notifications by group? (Jamie Baddeley) 23. notifications (Tory Skyers) 24. notification again (Tory Skyers) 25. RE: notification again (Marc Powell) 26. US STOCK MARKET - MBTT Technology---MERRILL LYNCH On Sector.....coyne (Connie Dugan) 27. Monitoring process may not be running! ... (Jamie Bohr) 28. RE: Monitoring process may not be running! ... (Marc Powell) 29. RE: Monitoring process may not be running! ... (Jamie Bohr) 30. NRPE 1.8 Error (Ran B) --__--__-- Message: 1 To: nagios-users at lists.sourceforge.net From: "Tedman Eng" Date: Mon, 8 Dec 2003 21:00:45 -0800 Organization: Dataway, Inc. Subject: [Nagios-users] Re: Disabling checks in Nagios One way is to use one of the external command scripts (see here http://www.nagios.org/download/extras.php#misc) and edit the script to use DISABLE_SVC_CHECK and ENABLE_SVC_CHECK. Scheduling can easily be done using an external scheduler like cron or at, depending on your needs. Info about the format of external commands can be found here: http://nagios.sourceforge.net/docs/1_0/extcommands.html For example: # echo "disable_svc_chk.sh foobar ping" | at 0300 job 6 at 2003-12-16 03:00 # echo "enable_svc_chk.sh foobar ping" | at 0330 job 7 at 2003-12-16 03:30 There may exist a script to do such a thing already somewhere, but if there is, they forgot to tell me. :) HTH -Tedman "Anurag Gupta" wrote in message news:FJEHIPBACBJHHEAGEJCPAEGKEFAA.agupta at yahoo-inc.com... > Hi, > > Is there an option in Nagios to *schedule* disabling of checks? > > Currently, we have Event Handlers that try to restart the processes on > remote machines. We want these handlers disabled during a Scheduled > downtime. But scheduled downtime is only for suppressing notifications. > Checks do happen, and event handlers are invoked. > > thanks > ====================== > Regards > Anurag Gupta > agupta at yahoo-inc.com > 408.349.5166 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > --__--__-- Message: 2 Date: Mon, 8 Dec 2003 21:02:21 -0800 (PST) To: Tedman Eng Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Re: Disabling checks in Nagios From: Jason Martin -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You can also define a check_period that excludes the intented downtime. - -Jason Martin On Mon, 8 Dec 2003, Tedman Eng wrote: > One way is to use one of the external command scripts > (see here http://www.nagios.org/download/extras.php#misc) > and edit the script to use DISABLE_SVC_CHECK and ENABLE_SVC_CHECK. > Scheduling can easily be done using an external scheduler like cron or at, > depending on your needs. > Info about the format of external commands can be found here: > http://nagios.sourceforge.net/docs/1_0/extcommands.html > > For example: > # echo "disable_svc_chk.sh foobar ping" | at 0300 > job 6 at 2003-12-16 03:00 > # echo "enable_svc_chk.sh foobar ping" | at 0330 > job 7 at 2003-12-16 03:30 > > There may exist a script to do such a thing already somewhere, but if there > is, they forgot to tell me. :) > > HTH > -Tedman > > "Anurag Gupta" wrote in message > news:FJEHIPBACBJHHEAGEJCPAEGKEFAA.agupta at yahoo-inc.com... > > Hi, > > > > Is there an option in Nagios to *schedule* disabling of checks? > > > > Currently, we have Event Handlers that try to restart the processes on > > remote machines. We want these handlers disabled during a Scheduled > > downtime. But scheduled downtime is only for suppressing notifications. > > Checks do happen, and event handlers are invoked. > > > > thanks > > ====================== > > Regards > > Anurag Gupta > > agupta at yahoo-inc.com > > 408.349.5166 > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/1Vdgl2ODWuqVSBMRAoDlAJ9zHd5U57kmAUHzd2CS8LJDZ1dLzACeKmrH BpBEJ5Afa7IaOJ1lfxVhKw8= =Zl0q -----END PGP SIGNATURE----- --__--__-- Message: 3 Date: Tue, 9 Dec 2003 16:55:32 +1100 From: "Patrick Webster" To: Subject: [Nagios-users] missing: statusmap.cgi Hi all, I have nagios up and running, however I get a 404 when clicking on the 'Status Map' link. The statusmap.c file was in the tar archive when I originally compiled nagios, and the cgi directory has statuswml.cgi / statuswrl.cgi, but statusmap.cgi is nowhere to be found. Does anyone know what happened? I'm running Nagios 1.1 with the latest plug-ins. Thanks. -Patrick --__--__-- Message: 4 Date: Mon, 8 Dec 2003 22:06:50 -0800 Subject: Re: [Nagios-users] nrpe - ssl handshake not completed Cc: Nagios-users at lists.sourceforge.net To: Steve Risteter From: Noah Leaman I had this problem too and the fix for me had nothing to do with the=20 libssl or libcrypto libs or ./configure --disable-ssl. What I was doing=20= was mistakingly running nrpe with the wrong config file (doh!). I was=20 running: ./nrpe -c commands.cfg -d instead of: ./nrpe -c nrpe.cfg -d In fact, I found that you can run nrpe with an empty text file as a=20 config file and it doesn't seem to have a problem: touch test.cfg ./nrpe -c test.cfg -d ... no problem until you try to connect: ./check_nrpe -H hostname.domain.com -c check_users CHECK: Error - Could not complete SSL handshake. So make SURE that the config file your feeding nrpe is the actual nrpe=20= config file and not the commands config or something. Hope this helps=20 some. --=20 Noah On Monday, December 8, 2003, at 04:07 AM, Steve Risteter wrote: > Check allowed_hosts in nrpe.cfg and check that libssl and libcrypto=20 > are installed. > > > -----Original Message----- > From: Admin Nagios [mailto:nagios at terra.com] > Sent: Sunday, December 07, 2003 11:30 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nrpe - ssl handshake not completed > Importance: High > > > Im trying to use the check_disk1 command with check_nrpe and Im=20 > receiving the following message: > > CHECK_NRPE: Error - Could not complete SSL handshake. > > Somebody have and idea of what is going on?? > > --------- > > #Im running the nrpe daemon and the nrpe plugin in the same machine=20 > ...just for test procedures.# > > > > > > ___________________________________________________ > Triste, alegre, rom=E1ntico, con ganas de bailar... Terra Radio tiene=20= > para ti m=E1s de 200 estaciones de radio con tu m=FAsica preferida. = =A1Ven y=20 > disfruta de toda la m=FAsica que Terra Radio tiene para t=ED! > http://www.terra.com/ocio/musica/radio/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when=20 > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when=20 > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > --__--__-- Message: 5 Date: Mon, 8 Dec 2003 22:08:28 -0800 Subject: RE: [Nagios-users] nrpe - ssl handshake not completed From: Noah Leaman To: nagios-users at lists.sourceforge.net I had this problem too and the fix for me had nothing to do with the=20 libssl or libcrypto libs or ./configure --disable-ssl. What I was doing=20= was mistakingly running nrpe with the wrong config file (doh!). I was=20 running: ./nrpe -c commands.cfg -d instead of: ./nrpe -c nrpe.cfg -d In fact, I found that you can run nrpe with an empty text file as a=20 config file and it doesn't seem to have a problem: touch test.cfg ./nrpe -c test.cfg -d ... no problem until you try to connect: ./check_nrpe -H hostname.domain.com -c check_users CHECK: Error - Could not complete SSL handshake. So make SURE that the config file your feeding nrpe is the actual nrpe=20= config file and not the commands config or something. Hope this helps=20 some. --=20 Noah On Monday, December 8, 2003, at 04:07 AM, Steve Risteter wrote: > Check allowed_hosts in nrpe.cfg and check that libssl and libcrypto=20 > are installed. > > > -----Original Message----- > From: Admin Nagios [mailto:nagios at terra.com] > Sent: Sunday, December 07, 2003 11:30 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nrpe - ssl handshake not completed > Importance: High > > > Im trying to use the check_disk1 command with check_nrpe and Im=20 > receiving the following message: > > CHECK_NRPE: Error - Could not complete SSL handshake. > > Somebody have and idea of what is going on?? > > --------- > > #Im running the nrpe daemon and the nrpe plugin in the same machine=20 > ...just for test procedures.# > > > > > > ___________________________________________________ > Triste, alegre, rom=E1ntico, con ganas de bailar... Terra Radio tiene=20= > para ti m=E1s de 200 estaciones de radio con tu m=FAsica preferida. = =A1Ven y=20 > disfruta de toda la m=FAsica que Terra Radio tiene para t=ED! > http://www.terra.com/ocio/musica/radio/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when=20 > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when=20 > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > --__--__-- Message: 6 Date: Tue, 9 Dec 2003 08:16:47 +0200 From: MiikaT To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nrpe generic question Will I be able to do the following, if I use nrpe. I have two sites, site a monitors all hosts on site + everything that site b is monitorin (via nrpe), but site b only monitors site b. If there is a problem on site b host and the problem is acknowledged on site a, will that information pass to nagios on site b using nrpe, or will I need to acknowledge the same problem on both hosts? -MiikaT --__--__-- Message: 7 From: Sam Terburg To: Nagios Users Mailing List Organization: Luna.nl Date: Tue, 09 Dec 2003 11:11:21 +0100 Subject: [Nagios-users] 1 check at a time I always only see one check at a time running, but i see many nagios processes. These are my relevant nagios.conf entries: service_interleave_factor=0 max_concurrent_checks=150 service_reaper_frequency=5 sleep_time=1 service_check_timeout=20 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 interval_length=1 use_agressive_host_checking=1 nagios 30905 0.1 0.6 2488 1616 ? SN 10:59 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 31920 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 31925 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 31928 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 31942 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 31972 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 31975 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 31986 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 31991 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 31993 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 31999 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32003 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32007 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32013 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32019 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32023 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32030 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32037 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32041 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32045 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32048 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32051 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32053 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32057 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32060 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32062 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32065 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32069 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32072 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32075 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32078 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32081 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32084 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32086 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32090 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32092 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32098 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32106 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32110 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32121 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32128 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32136 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32140 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32143 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32146 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32149 0.0 0.6 2488 1616 ? SN 11:05 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg postfix 32178 0.0 0.3 2428 960 ? S 11:05 0:00 flush -t unix -u -c nagios 32533 0.2 0.6 2492 1616 ? SN 11:06 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg nagios 32534 0.2 0.1 1264 472 ? SN 11:06 0:00 /usr/lib/nagios/plugins/check_ping -H x.x.x.x -w 3000.0,80% -c 5000.0,100% -p 1 -t 1 nagios 32535 0.0 0.1 1408 480 ? SN 11:06 0:00 /bin/ping -n x.x.x.x -c 1 -- Greetings, Sam Terburg Operations @ Luna.nl --__--__-- Message: 8 Date: Tue, 9 Dec 2003 08:40:25 -0200 To: nagios-users at lists.sourceforge.net From: miglionni at ig.com.br Cc: Subject: [Nagios-users] snmpd.conf somebody could send me an example of the archive snmpd.conf (net-SNMP), therefore is giving to error of security name. _________________________________________________________ Voce quer um iGMail protegido contra v?rus e spams? Clique aqui: http://www.igmailseguro.ig.com.br Ofertas imperd?veis! Link: http://www.americanas.com.br/ig/ --__--__-- Message: 9 To: nagios-users at lists.sourceforge.net From: Michal.Mazurek at avon.com Date: Tue, 9 Dec 2003 11:50:54 +0100 Subject: [Nagios-users] check_nt FILEAGE problem Hi I can't make ./check_nt -v FILEAGE to work when using check_nt (nagios-plugins 1.3.0-alpha1) 1.1.1.1 I'm getting "Could not parse arguments" comment when using check_nt (nagios-plugins 1.3.1) 1.7.2.3 I'm getting a number for example 1070966662 and "Date: %d-%m-%Y %I:%M:%S %p" arguments don't help Would you please tell me what can I do to make it work correctly. I read manuals but I still standing in the same place. Thanks Michal Mazurek --__--__-- Message: 10 From: "Randal, Phil" To: "'Michal.Mazurek at avon.com'" , nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_nt FILEAGE problem Date: Tue, 9 Dec 2003 12:36:09 -0000 You need the appropriate versions of nsclient and check_nt. Get them from http://support.tsmgsoftware.com Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > Michal.Mazurek at avon.com > Sent: 09 December 2003 10:51 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_nt FILEAGE problem > > > Hi > > I can't make ./check_nt -v FILEAGE to work > > when using > check_nt (nagios-plugins 1.3.0-alpha1) 1.1.1.1 I'm getting > "Could not parse > arguments" comment > > when using > check_nt (nagios-plugins 1.3.1) 1.7.2.3 I'm getting a number > for example > 1070966662 and "Date: %d-%m-%Y %I:%M:%S %p" arguments don't help > > Would you please tell me what can I do to make it work > correctly. I read > manuals but I still standing in the same place. > > Thanks > Michal Mazurek > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > --__--__-- Message: 11 From: Marcio Queiroz To: 'Sam Terburg' , Nagios Users Mailing List Subject: RES: [Nagios-users] 1 check at a time Date: Tue, 9 Dec 2003 10:57:03 -0200 It appear=B4s that nagios is tring to check a host. Try Disable the use_aggressive_host_check option, since when nagios check a host, it = does nothing else. This is the doc on Use_aggresive_host_check : Nagios tries to be smart about how and when it checks the status of = hosts. In general, disabling this option will allow Nagios to make some = smarter decisions and check hosts a bit faster. Enabling this option will = increase the amount of time required to check hosts, but may improve reliability = a bit. Unless you have problems with Nagios not recognizing that a host recovered, I would suggest not enabling this option.=20 hope it help=B4s=20 Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi=E7os de Comunica=E7=E3o S/A Visite nossas p=E1ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com > ----- Mensagem original ----- > De: Sam Terburg [SMTP:Sam at Luna.nl] > Enviada em: ter=E7a-feira, 9 de dezembro de 2003 08:11 > Para: Nagios Users Mailing List > Assunto: [Nagios-users] 1 check at a time >=20 > I always only see one check at a time running, but i see many nagios > processes. > These are my relevant nagios.conf entries: > service_interleave_factor=3D0 > max_concurrent_checks=3D150 > service_reaper_frequency=3D5 > sleep_time=3D1 > service_check_timeout=3D20 > host_check_timeout=3D30 > event_handler_timeout=3D30 > notification_timeout=3D30 > ocsp_timeout=3D5 > perfdata_timeout=3D5 > interval_length=3D1 > use_agressive_host_checking=3D1 >=20 >=20 > nagios 30905 0.1 0.6 2488 1616 ? SN 10:59 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31920 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31925 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31928 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31942 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31972 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31975 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31986 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31991 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31993 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31999 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32003 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32007 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32013 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32019 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32023 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32030 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32037 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32041 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32045 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32048 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32051 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32053 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32057 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32060 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32062 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32065 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32069 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32072 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32075 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32078 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32081 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32084 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32086 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32090 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32092 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32098 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32106 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32110 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32121 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32128 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32136 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32140 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32143 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32146 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32149 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > postfix 32178 0.0 0.3 2428 960 ? S 11:05 0:00 flush = -t > unix -u -c > nagios 32533 0.2 0.6 2492 1616 ? SN 11:06 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32534 0.2 0.1 1264 472 ? SN 11:06 0:00 > /usr/lib/nagios/plugins/check_ping -H x.x.x.x -w 3000.0,80% -c > 5000.0,100% -p 1 -t 1 > nagios 32535 0.0 0.1 1408 480 ? SN 11:06 0:00 = /bin/ping > -n x.x.x.x -c 1 >=20 >=20 > --=20 >=20 > Greetings, >=20 > Sam Terburg > Operations @ Luna.nl >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue.=20 > ::: Messages without supporting info will risk being sent to = /dev/null --__--__-- Message: 12 Date: Tue, 9 Dec 2003 05:28:06 -0800 (PST) From: Dave O'Shea Subject: Re: [Nagios-users] missing: statusmap.cgi To: Patrick Webster , nagios-users at lists.sourceforge.net I suspect you may be missing some of the GD or zlib components. When you ran ./configure, did you notice if it complained about not having the GD libraries or similar? Looking through the configure.log may give you some hints. --- Patrick Webster wrote: > Hi all, > > I have nagios up and running, however I get a 404 > when clicking on the > 'Status Map' link. > > The statusmap.c file was in the tar archive when I > originally compiled > nagios, and the cgi directory has statuswml.cgi / > statuswrl.cgi, but > statusmap.cgi is nowhere to be found. > > Does anyone know what happened? I'm running Nagios > 1.1 with the latest > plug-ins. > > Thanks. > > -Patrick > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback > Program. > Does SourceForge.net help you be more productive? > Does it > help you create better code? SHARE THE LOVE, and > help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null --__--__-- Message: 13 To: "nagios newsgroup" Date: Tue, 09 Dec 2003 20:13:10 +0530 From: "k.l. muthu kumar" Reply-To: klmuthu at eudoramail.com Organization: Lycos Mail (http://www.mail.eudoramail.com) Subject: [Nagios-users] apan Hi all, Iam trying to use apan to produce ping roundtrip graph for one of the server, but iam getting the following error message in nagios service page. "No perf-definition for service". can anyone help me to figure out this problem? thanks, muthu Need a new email address that people can remember Check out the new EudoraMail at http://www.eudoramail.com --__--__-- Message: 14 From: HBoertien at enertel.nl To: klmuthu at eudoramail.com, nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] apan Date: Tue, 9 Dec 2003 15:51:48 +0100 You have to edit the file apan.cfg in /usr/local/nagios/apan There you have to add a line for the service you are pinging. You can also install nagmin 2.0.6, this has build-in support for ping and snmp interface. Cheers, Harm from: http://apan.sourceforge.net/ Measure ping rount-trip times 1. Create a service-definition in Nagios: define service { host_name server service_description Ping check_command apan!ping!100.0,20%!500.0,60% name Ping use generic-service normal_check_interval 1 } 2. Create a RRD: rrdtool create /usr/local/nagios/rrd/server_Ping.rrd -s 60 DS:ping:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 3. Add a line in apan.cfg: server;Ping;/usr/local/nagios/rrd/server_ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds 4. Add an icon and a link as extended service-info: define serviceextinfo{ host_name server service_description Ping notes_url /nagios/cgi-bin/apan.cgi?host=server&service=Ping icon_image graph.png icon_image_alt View graphs } -----Oorspronkelijk bericht----- Van: k.l. muthu kumar [mailto:klmuthu at eudoramail.com] Verzonden: Tuesday, December 09, 2003 03:43 PM Aan: nagios newsgroup Onderwerp: [Nagios-users] apan Hi all, Iam trying to use apan to produce ping roundtrip graph for one of the server, but iam getting the following error message in nagios service page. "No perf-definition for service". can anyone help me to figure out this problem? thanks, muthu Need a new email address that people can remember Check out the new EudoraMail at http://www.eudoramail.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null #*************************************************************************** # # Dit e-mailbericht met eventuele attachments is uitsluitend bestemd voor de # geadresseerde(n) en bevat mogelijk vertrouwelijke gegevens en/of is # beschermd door intellectuele eigendomsrechten. Bent u niet de # geadresseerde, neemt u dan zo spoedig mogelijk contact op met de afzender # en verzoeken wij u het e-mailbericht en eventuele attachments van uw # computer te verwijderen. Elk gebruik van de inhoud van dit e-mailbericht # en eventuele attachments (waaronder verveelvoudiging, verspreiding of het # anderzins openbaar maken in welke vorm dan ook) door andere personen dan # de bedoelde geadresseerden is verboden. De weergegeven mening is puur # persoonlijk en hoeft niet noodzakelijk over een te komen met die van # Enertel. Enertel is niet aansprakelijk voor de inhoud van dit # e-mailbericht en eventuele attachments. --__--__-- Message: 15 Date: Tue, 09 Dec 2003 09:21:51 -0600 From: "Cory Schafer" To: Subject: [Nagios-users] Check_NWstat This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=_CB952CA1.7E1F7267 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit I'm having some issues with check_nwstat. I get " Socket timeout after 10 seconds" when I want to do a volume check. I can run the ./check_nwstat manually with no problem. Here is my relavent config files: Checkcommands.cfg # 'check_nwstat' command definition define command{ command_name check_nwstat_vols command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v VPF$ARG1$ -w $ARG2! -c $ARG3$ } Host.cfg # 'Novell Box' host definition define host{ use generic-host host_name border alias DNS Server address 192.169.1.2 check_command check_nwstat_vols max_check_attempts 10 notification_interval 480 notification_period 24x7 notification_options d,u,r } Service.cfg define service{ use generic-service ; Name of servic host_name border service_description Check Volumes is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups novell-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nwstat_vols!192.168.1.2!VPFSYS!100!50 } Any help is appreciated. Thank you! Cory Schafer --=_CB952CA1.7E1F7267 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Description: HTML
I'm having some issues with check_nwstat. I get " Socket timeout after 10 seconds" when I want to do a volume check. I can run the ./check_nwstat manually with no problem.  Here is my relavent config files:
 
Checkcommands.cfg
# 'check_nwstat' command definition
define command{
        command_name    check_nwstat_vols
        command_line    $USER1$/check_nwstat -H $HOSTADDRESS$ -v VPF$ARG1$ -w $ARG2! -c $ARG3$
        }
 
Host.cfg
# 'Novell Box' host definition
define host{
        use                     generic-host
 
        host_name               border
        alias                   DNS Server
        address                 192.169.1.2
        check_command           check_nwstat_vols
        max_check_attempts      10
        notification_interval   480
        notification_period     24x7
        notification_options    d,u,r
        }
 
Service.cfg
define service{
        use                             generic-service         ; Name of servic
 

        host_name                       border
        service_description             Check Volumes
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  novell-admins
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_nwstat_vols!192.168.1.2!VPFSYS!100!50
        }
 
Any help is appreciated.  Thank you!
 
Cory Schafer
 
 
 
--=_CB952CA1.7E1F7267-- --__--__-- Message: 16 Subject: Re: [Nagios-users] Excluding hosts from hostgroups? From: jeff vier To: nagios-users Organization: TT Date: Tue, 09 Dec 2003 09:22:57 -0600 Funny. Reading back over the thread, I realized I was misreading it this whole time to mean what you just explained below (I guess my brain wanted it to work "the right way", too :)) On Mon, 2003-12-08 at 20:04, Joe Rhett wrote: > Hm. My mind rebels against this notion because it doesn't really make > sense. Either a hostgroup has a host or it doesn't. There is no half way. > > BUT, I could see being useful on a service: > > service ssh { > hostgroup webservers > exclude_hosts nossh-1,nossh-2 > > -or- > > service ping { > host * > exclude_hosts noping-1,noping-2 > > On Wed, Dec 03, 2003 at 10:31:43AM -0500, Alex Moundalexis wrote: > > I could set up host checks, except that it isn't as practical with the > > quantity of nodes. As well, there are other service checks that must be > > run on the entire host group. These rogue (and blatantly irritating) > > machines would be a handful of nodes among dozens that would be omitted > > from a particular check. > > > > I see it as additional granularity. > > > > I'll make it work, regardless. Was just curious if the idea had been > > proposed before. > > > > - A > > > > McKeever Chris wrote: > > > > >On Wed, 03 Dec 2003 10:12 , Alex Moundalexis sent: > > > > > > > > > > > >>Is there any undocumented (or perhaps documented that I missed) feature > > >>that allows the exclusion of several hosts from a hostgroup? Somethine > > >>like this? > > >> > > >>hostgroup_name linux,sun > > >>exclude_hosts nossh-1,nossh-2,etc > > >> > > >>Suppose I run a service check on SSH, for my linux and sun hostgroups, > > >>since 99% of them run SSH. 3 servers don't run SSH, and so I get > > >>constant failures. The obvious solution would be to redefine those three > > >>hosts into their own group, but I was wondering if something like this > > >>existed, or whether it would be considered in the future. > > >> > > >> > > >> > > > > > >I am a bit confused..isnt hard though > > >could you not set up host service checks rather than group checks? > > >or like you said, just exclude those machines from the group > > >adding a machine to a group that you then want to exclude it from is a bit > > >confusing. > > > > > > > > >------------------------------------------- > > >Chris McKeever > > >If you want to reply directly to me, please use > > >cgmckeever--at--prupref---dot---com > > >http://www.prupref.com > > > > > >---- Prudential Preferred Properties www.prupref.com > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. ::: Messages without supporting info will risk being > > sent to /dev/null --__--__-- Message: 17 From: "tom di naro" To: nagios-users at lists.sourceforge.net Date: Tue, 09 Dec 2003 09:40:52 -0700 Subject: [Nagios-users] Statistic and Performance metric gathering / displaying I have had nagios up and running for some time and it works well. I am now interested in viewing performance data through the cgi interface. I have the binary compiled set with the following ./configure --with-mysql-xdata --with-default-perfdata options. I have read the docs and it seems that there is the ability to perform some sort of post processing a\'la webalyzer on the actual files/db but I am wondering if there is some stock functionality within the cgis that will let users/managers view the ( for example %CPU usage on a 10 minute interval ) data . There is a project on sf that looks like it wants to do this but has not put out any files yet. alternatively I could extract this data and do it in a custom fashion but Im wondering how everyone else does it. thanks in advance. !! ./tom -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm --__--__-- Message: 18 To: nagios-users at lists.sourceforge.net From: Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx Date: Tue, 9 Dec 2003 11:52:03 -0600 Subject: [Nagios-users] Question Hi I want to use the Template-Based Extended Information Configuration File Options but i don`t know like compile my nagios for accept it Thanks --__--__-- Message: 19 Subject: RE: [Nagios-users] Statistic and Performance metric gathering / displaying Date: Tue, 9 Dec 2003 12:01:09 -0600 From: "Marc Powell" To: "tom di naro" , > -----Original Message----- > From: tom di naro [mailto:tdinaro at mail.com] > Sent: Tuesday, December 09, 2003 10:41 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Statistic and Performance metric gathering / > displaying >=20 > I have had nagios up and running for some time and it works well. I am now > interested in viewing performance data through the cgi interface. I have > the binary compiled set with the following >=20 > ./configure --with-mysql-xdata --with-default-perfdata >=20 > options. I have read the docs and it seems that there is the ability to > perform some sort of post processing a\'la webalyzer on the actual > files/db but I am wondering if there is some stock functionality within > the cgis that will let users/managers view the ( for example %CPU usage on > a 10 minute interval ) data . There's nothing built in but a number of people are using APAN (http://apan.sf.net). -- Marc --__--__-- Message: 20 Subject: RE: [Nagios-users] Question Date: Tue, 9 Dec 2003 12:09:00 -0600 From: "Marc Powell" To: , > -----Original Message----- > From: > Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx > [mailto:Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco .g > ob.mx] > Sent: Tuesday, December 09, 2003 11:52 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Question >=20 >=20 >=20 >=20 >=20 > Hi >=20 > I want to use the Template-Based Extended Information Configuration File > Options but i don`t know like compile my nagios for accept it Nagios uses the template-based config file format by default for everything. There isn't anything special that you need to do (except do not use --with-default-extinfo configure option ;) ). ./configure --with-htmurl=3D --with-cgiurl=3D will use templated-based config files for everything. -- Marc --__--__-- Message: 21 Date: Tue, 9 Dec 2003 10:53:10 -0800 From: Mark Ferlatte To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Limiting notifications by group? --a2FkP9tdjPU2nyhF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi all, I have a set of hosts all of which are running the same service (say, HTTP). I would like to have Nagios only send a notification when more than two of those services go CRITICAL. Basically, I've got a cluster of webservers, and I can lose two of them with no problem, so I'd rather not get paged in the middle of night if one of them goes down, but I do want to know if three of them goes down. Has anybody done this already? M --a2FkP9tdjPU2nyhF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/1hoWOtZWu2tc1lARAsESAJ9/T0SvZBC/9RIpmtSC8VuPlT0nOwCdFhdS l0oA8UDH/+Nw0ee2Mngdehg= =9hX8 -----END PGP SIGNATURE----- --a2FkP9tdjPU2nyhF-- --__--__-- Message: 22 Subject: Re: [Nagios-users] Limiting notifications by group? From: Jamie Baddeley To: Mark Ferlatte Cc: "nagios-users at lists.sourceforge.net" Date: 10 Dec 2003 08:29:10 +1300 check_cluster it's in cvs. jamie On Wed, 2003-12-10 at 07:53, Mark Ferlatte wrote: > Hi all, > > I have a set of hosts all of which are running the same service (say, HTTP). I > would like to have Nagios only send a notification when more than two of those > services go CRITICAL. > > Basically, I've got a cluster of webservers, and I can lose two of them with no > problem, so I'd rather not get paged in the middle of night if one of them goes > down, but I do want to know if three of them goes down. > > Has anybody done this already? > > M --__--__-- Message: 23 From: "Tory Skyers" To: Date: Tue, 9 Dec 2003 14:54:21 -0500 Subject: [Nagios-users] notifications This is a multi-part message in MIME format. ------=_NextPart_000_0043_01C3BE64.54E337D0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I am having the weirdest problems! I cannot seem to get nagios to notify correctly. It will notify only one contact group when a service or host goes critical, but it will notify everyone (correctly) when the service or host recovers. I have everything set exactly the same as far as I can see for both groups! I use nagmin to generate config files. My default notification in nagmin is admin,helpdesk < I've tried it w/ a , and a space and it still does not work as it's supposed to. Any suggestions? Tory Skyers Network Administrator Prudential Fox & Roach 610-993-1327 tskyers at foxroach.com ------=_NextPart_000_0043_01C3BE64.54E337D0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

I am having the weirdest problems! I cannot seem to = get nagios to notify correctly. It will notify only one contact group when a service or host goes critical, but it will notify everyone (correctly) = when the service or host recovers. I have everything set exactly the same as far = as I can see for both groups!

 

I use nagmin to generate config files. My default notification in nagmin is admin,helpdesk < I’ve tried it w/ a , = and a space and it still does not work as it’s supposed to. Any = suggestions?

 

Tory Skyers

Network Administrator

Prudential Fox & Roach

610-993-1327

tskyers at foxroach.com

 

------=_NextPart_000_0043_01C3BE64.54E337D0-- --__--__-- Message: 24 From: "Tory Skyers" To: Date: Tue, 9 Dec 2003 15:13:35 -0500 Subject: [Nagios-users] notification again Even more strange, I've removed the admin group completely from the notification field in all services hosts and hostgroups and yet it will only send critical notifications to that group. This thing has a mind of it's own! Tory Skyers Network Administrator Prudential Fox & Roach 610-993-1327 tskyers at foxroach.com --__--__-- Message: 25 Subject: RE: [Nagios-users] notification again Date: Tue, 9 Dec 2003 14:23:49 -0600 From: "Marc Powell" To: "Tory Skyers" , > -----Original Message----- > From: Tory Skyers [mailto:tskyers at foxroach.com] > Sent: Tuesday, December 09, 2003 2:14 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notification again >=20 > Even more strange, I've removed the admin group completely from the > notification field in all services hosts and hostgroups and yet it will > only > send critical notifications to that group. This thing has a mind of it's > own! Is nagios being restarted after these changes are made? Is there perhaps an old nagios process still hanging around? -- Marc=20 --__--__-- Message: 26 From: "Connie Dugan" Reply-To: "Connie Dugan" To: nagios-users at lists.sourceforge.net Date: Tue, 09 Dec 2003 15:52:27 -0500 Subject: [Nagios-users] US STOCK MARKET - MBTT Technology---MERRILL LYNCH On Sector.....coyne --85FED840138 Content-Type: text/plain; Content-Transfer-Encoding: quoted-printable US Stock Market - Stock Profile of the Week Symbol: MBTT Market: OTC.BB Sector: ELECTRONICS Before we begin our profile we have very exciting, breaking news... Renowned Satellite Industry Expert Dr. Arthur R. Tilford Joins MB Tech BREAKING NEWS - (PRIMEZONE) - MB Tech, Inc. (OTC.BB: MBTT) announces that = Dr. Arthur R. Tilford, formerly with Hughes Electronics (NYSE: GMH), has b= een retained by the Company to provide technical consulting and advisory s= ervices. Tilford is an aerospace industry veteran responsible for a total of 11 pat= ents and patent applications within the field, having received Hughes' Cha= irman's Award for DirecDuo, solo engineering efforts in 1997. He is an exp= ert system designer and Federal Licensing and Certifying Engineer. He has = authored several books, including Satellite Fieldbook Quarterly(c) -- Hugh= es S&C, CA, the contents of which describe all parameters of every C/Ku ba= nd geo-satellite in the world and the over 400 page Satellite Workbook(c) = for use in satellite engineering classes, taught by him, at the California= State University (CSUF at CSULB). Tilford worked with Netune Communications, where he was responsible for pr= oviding transponder allocations, domestic and international link-budget ca= lculations for narrow to very-wide-band satellite system and writing, calc= ulating and applying for FCC and RA transmit licenses. He also assigned parameters for RF sub-system design and is an expert in r= adiation hazard compliance. Hanwook Bae, President of MB Tech, commented, ``The importance of Dr. Tilf= ord joining the Company cannot be underestimated. He is an industry leader= with numerous patents relating to antenna design and an immense knowledge= of the satellite Internet market. His incredible technical knowledge will= allow us to dramatically step up our new initiatives, catapulting us to t= he forefront of our industry.'' He added, ``This is yet another positive s= tep forward in the overall paradigm shift for the Company. We have moved f= rom being a manufacturer of satellite components, to a Company that will l= ead the consumer satellite electronics industry.'' STOCK PROFILE OF THE WEEK MB Tech is a global manufacturer and distributor of satellite components. = The primary product MB Tech produces is "LNB" (Low-Noise Blockdown) conver= ters, which are the essential element enabling DBS satellites to receive a= nd convert satellite transmission signals. MB Tech currently serves the sa= tellite television market, and is expanding to serve the satellite radio a= nd military hardware sectors. MB Tech manufactures several proprietary LNB= solutions that differentiate it from competitors. MB Tech's product line = includes a dual-horn LNB which allows multiple set-top boxes to be connect= ed to a single satellite dish, enabling viewing of multiple channels simul= taneously on different television monitors, and a tri-horn LNB, which prov= ides the ability to download signals from multiple satellites over a singl= e dish. TECHNOLOGY MB Tech has improved on conventional designs and can manufacture units mor= e efficiently and less expensively than the competition. MB Tech specializ= es in LNB electronics, it is the ONLY thing we do. An LNB converter transforms the satellite transmission into a useable sign= al. MB Tech has developed a special new breed of LNB converter which allow= s the signal to feed separate televisions or other 'boxes' with different = channels. The signal coming in from one dish can be distributed through MB= Tech's 'dual and triple horned' LNB converter such that multiple channels= can be viewed, or different channels and Internet access can be delivered= .. ALL AT THE SAME TIME! Other technological objectives have been to develop LNB for G.P.S. equipme= nt, and small type two horn technology as well as UBC DSS type LNB. These = objectives have been achieved and the Company is currently speaking with l= arger American based technology companies about the technology. PRODUCTS MB Tech products are innovative! We rely on superior technology to be an i= ntegral part of our business. We have made a serious committment to ongoin= g R&D to stay ahead of the curve. MB Tech, Inc traces its roots back to 2000 with the development of 3 types= of LNB (DSS type). Continuous reinvention and rapid transformation are th= emes throughout our history. Led by our top-notch technology, our company = offered a new breed of satellite broadcasting solutions to clients?solutio= ns that customized LNB with 3 or 4 horns. Click here to see our product milestones. Within the next two years, MB Tech will spend over 80 million dollars on c= ontinuing Research and development of our products. We will continue a pro= cess of product renewal that will assure products with features and functi= onality that will be attractive to the market. MDI: MERRILL LYNCH COMENTS ON AD TRENDS IN THE MEDIA SECTOR Merrill Lynch surveyed newspapers, TV stations and radio stations to try t= o understand the divergent trends between local and national advertising i= n the current recovery. They noted that U.S. ad expenditures tend to keep = pace with or slightly outperform the economy over time. As such, the rise = of media outlets should not necessarily lead to higher ad spending but mos= t likely to market share shifts among the mediums. The surveys showed that= local cable is becoming a more competitive force, but overall, they found= no major structural issues impacting the dynamics between local and natio= nal ad spending. Merrill noted that national advertisers typically base their budgets on pr= ojected economic trends and therefore can afford to spend a bit ahead of a= turn in the cycle. However, local advertisers, with more limited resource= s, are more likely to lag in spending coming out of a recovery as they nee= d to see an immediate return on investment. They pointed out that a better= economy should eliminate the differences. The firm believes there are many positive themes occurring with newspapers= today (e.g. collaborative selling efforts, product innovation, renewed fo= cus on readership) that are being masked by the downturn in department sto= re spending, which appears to be secular, and the cyclical issue of help w= anted, which is finally turning positive. >From a consumer perspective, they believe radio is a relatively protected = medium. However, the industry remains beset with excess inventory, followi= ng unsustainable demand in the late 1990's. A reduction in spots and/or lo= wer prices could limit near term growth, yet support long term growth, giv= ing investors something to chase. TV is about to enter the growth phase of its two year cycle, but its low g= rowth, single revenue stream is likely the main target for local cable TV = and should also be impacted by increased DVR penetration, which gives the = firm little to get excited about. IMPORTANT CORPORATE MILESTONES Oct. 2003 Receives 6.14 Million Dollar Purchase Order For 45,000 Flat Antennas Sept. 2003 Purchases Patent for Key Operating Mechanism of DBS Flat Antenna Sept. 2003 Completes Development of Flat Antenna May. 2002 Canada DBS (Star Choice) two horn LNB P/O for (USD 450,000) Feb. 2002 Canada DBS (Star Choice) two horn LNB P/O for (USD 675,000) Dec. 2001 Canada DBS (Star Choice) two horn LNB P/O for (USD 75,000) Sept. 2001 Canada DBS (Star Choice) two horn LNB P/O for (USD 1,200,000) July 2001 Patent application for LNB design and pattern May 2001 Purchase order of Canadian BS (two horn LNB) April 2001 Establishment of MB Tech, Inc. Jan. 2001 Canada DBS two horn LNB successful field test Sept. 2000 SBCA (Satellite Broadcasting & Communications Association) Membership Cer= tificate Aug. 2000 Development of 3 types of LNB (CAN TYPE); application of patent of new de= vice and patent of new design (app# 00-22512,22513, 22514) July 2000 SBCA (USA); DBS field test in S. Africa; DBS field test in Australia May 2000 DBS field test in Thailand; Media Cast (London); DBS field test in Russia= April 2000 Application for patent of new device and patent of new design, patent app= # 10-2000-0017958 March 2000 Development of 3 types of LNB (DSS type) For more information on MBTT, visit their website at www.mbtech.us Please note that MBTT had absolutley nothing to do with this report and is= not a participant in any way. No more advertisements: www.precscription-service-now.com/away.html Stock Market Today is an independent research firm. This report is based o= n Stock Market Today's independent analysis but also relies on information= supplied by sources believed to be reliable. This report may not be the o= pinion of MBTT management. Stock Market Today has also been retained to re= search and issue reports on MBTT. Stock Market Today may from time to time= purchase or sell MBTT common shares in the open market without notice. Th= e information contained in this report shall not constitute, an offer to s= ell or solicitation of any offer to purchase any security. It is intended = for information only. Some statements may contain so-called "forward-looki= ng statements". Many factors could cause actual results to differ. Investo= rs should consult with their Investment Advisor concerning MBTT. Copyright= 2003 =A9 Stock Market Today Ltd. All Rights Reserved. This newsletter was= distributed by SCI, Inc. SCI was paid one hundred twenty thousand shares = MBTT stock to distribute this report. SCI is not affiiated with Stock Mark= et Today and is not responsible for newsletter content. rfwmk id acbgisfxih qtu nd bext rablffs mi zkjyr --85FED840138-- --__--__-- Message: 27 From: Jamie Bohr To: nagios newsgroup Organization: IT | TC - Technical Computing Date: Tue, 09 Dec 2003 15:06:35 -0700 Subject: [Nagios-users] Monitoring process may not be running! ... I have Nagios 1.1 running using MySQL on a RH 9. I get "Monitoring process may not be running!" a lot when I don't think I should get it at all. I have the following defined in cgi.cfg nagios_check_command=/opt/monitorsvr/libexec/check_nagios /opt/monitorsvr/var/nagios.log 10 '/opt/monitorsvr/bin/nagios' The problem seems to be /opt/monitorsvr/var/nagios.log is not getting updated on a regular basis however the database is. If I use a database for programstatus should I use an other command to check if Nagios is running? The database updates every 15 seconds as expected. What do other use? Thank you, Jamie --__--__-- Message: 28 Subject: RE: [Nagios-users] Monitoring process may not be running! ... Date: Tue, 9 Dec 2003 16:18:49 -0600 From: "Marc Powell" To: "Jamie Bohr" , "nagios newsgroup" > -----Original Message----- > From: Jamie Bohr [mailto:jbohr at cos.agilent.com] > Sent: Tuesday, December 09, 2003 4:07 PM > To: nagios newsgroup > Subject: [Nagios-users] Monitoring process may not be running! ... >=20 > I have Nagios 1.1 running using MySQL on a RH 9. > I get "Monitoring process may not be running!" a lot when I don't think > I should get it at all. I have the following defined in cgi.cfg >=20 > nagios_check_command=3D/opt/monitorsvr/libexec/check_nagios > /opt/monitorsvr/var/nagios.log 10 '/opt/monitorsvr/bin/nagios' >=20 > The problem seems to be /opt/monitorsvr/var/nagios.log is not getting > updated on a regular basis however the database is. If I use a database > for programstatus should I use an other command to check if Nagios is > running? The database updates every 15 seconds as expected. What do > other use You'll need to use check_nagios_db (found in the plugins contrib directory) instead of check_nagios. -- Marc --__--__-- Message: 29 Subject: RE: [Nagios-users] Monitoring process may not be running! ... From: Jamie Bohr To: Marc Powell Cc: nagios newsgroup Organization: IT | TC - Technical Computing Date: Tue, 09 Dec 2003 16:30:10 -0700 Thank you, that did the trick. Now if I can get Apache 2.0 to authenticate user I will be good to go - it refuses to prompt for a login. - Jamie On Tue, 2003-12-09 at 15:18, Marc Powell wrote: > > -----Original Message----- > > From: Jamie Bohr [mailto:jbohr at cos.agilent.com] > > Sent: Tuesday, December 09, 2003 4:07 PM > > To: nagios newsgroup > > Subject: [Nagios-users] Monitoring process may not be running! ... > > > > I have Nagios 1.1 running using MySQL on a RH 9. > > I get "Monitoring process may not be running!" a lot when I don't > think > > I should get it at all. I have the following defined in cgi.cfg > > > > nagios_check_command=/opt/monitorsvr/libexec/check_nagios > > /opt/monitorsvr/var/nagios.log 10 '/opt/monitorsvr/bin/nagios' > > > > The problem seems to be /opt/monitorsvr/var/nagios.log is not getting > > updated on a regular basis however the database is. If I use a > database > > for programstatus should I use an other command to check if Nagios is > > running? The database updates every 15 seconds as expected. What do > > other use > > You'll need to use check_nagios_db (found in the plugins contrib > directory) instead of check_nagios. > > -- > Marc > > --__--__-- Message: 30 Date: Tue, 9 Dec 2003 15:59:16 -0800 (PST) From: Ran B To: nagios-users at lists.sourceforge.net Reply-To: nagios_mail at ingoa.com Subject: [Nagios-users] NRPE 1.8 Error Hi, I am using NRPE 1.8 on an HP-UX Server (version 11.0). The check_nrpe is running on Nagios 1.0 (Red Hat Linux 9). When I execute the check_nrpe from the command line I get the following error: CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? The same error is also received from the services view of Nagios. A telnet to the HP-UX Server from the nagios host provides the following output: [root at d19933 libexec]# telnet 192.168.0.10 5666 Trying 192.168.0.10... Connected to 192.168.0.10. Escape character is '^]'. NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Version: 1.8 Last Modified: 01-16-2003 License: GPL Usage: -c -c [mode] Options: = Name of config file to use [mode] = Determines how NRPE should run. Valid modes: --inetd = Run as a service under inetd or xinetd --daemon = Run as a standalone daemon Notes: This program is designed to process requests from the check_nrpe plugin on the host(s) running Nagios. It can run as a service under inetd or xinetd (read the docs for info on this), or as a standalone daemon. Once a request is received from an authorized host, NRPE will execute the command/plugin (as defined in the config file) and return the plugin output and return code to the check_nrpe plugin. Connection closed by foreign host. [root at d19933 libexec]# The nrpe daemon is running under the user "nagios". Have tried almost everything but with little success. Please advice.. Thanks, RB _____________________________________________________________ Visit ingoa.com, sign in free e-mail service of ingoa.com. Goans very own web site. your freind in goa. filled with lot of exciting features. --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gadams at promisant.com Wed Dec 10 14:35:05 2003 From: gadams at promisant.com (Adams, Gavin) Date: Wed, 10 Dec 2003 08:35:05 -0500 Subject: Plugin to check TN3270E Connections Message-ID: Good day all, Has anyone created a plugin or process for gracefully checking connectivity to a mainframe servicing TN3270E sessions? I can telnet to the port in question (5053), but the mainframe admins are showing errors in their log files from the disconnects. I guess I could tcpdump an actual session and create an expect script, but thought I'd see if anyone else has already done this. Regards, --- Gavin Adams Promisant (Technology) Ltd. Atlanta, GA ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anders.holm at elivefree.net Wed Dec 10 14:41:03 2003 From: anders.holm at elivefree.net (Anders Holm) Date: Wed, 10 Dec 2003 13:41:03 +0000 Subject: statusmap compilation!@!! on solaris. In-Reply-To: References: Message-ID: <3FD7226F.4070706@elivefree.net> Hi Greg. A good resource for getting Solaris packages of OSS software is: http://sunfreeware.com/ .... //Anders// Westland G. [DH] wrote: > Help! > I'm trying to recompile for the stausmap.cgi after installing libgd, libpng and libjpeg. I get messages saying that it now needs gd-devel, png-devel etc. I've hunted on the web for these libraries but no joy! Does anyone where I can get these? Or can anyone send me a statusmap.cgi? > Another quick question - How do I change the backdrop colours in statuswrl/3D-status map? > > Many Thanks > > Greg > > -----Original Message----- > From: nagios-users-request at lists.sourceforge.net > [mailto:nagios-users-request at lists.sourceforge.net] > Sent: Wednesday, December 10, 2003 5:05 AM > To: nagios-users at lists.sourceforge.net > Subject: Nagios-users digest, Vol 1 #1790 - 30 msgs > > > Send Nagios-users mailing list submissions to > nagios-users at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/nagios-users > or, via email, send a message with subject or body 'help' to > nagios-users-request at lists.sourceforge.net > > You can reach the person managing the list at > nagios-users-admin at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Nagios-users digest..." > > > Today's Topics: > > 1. Re: Disabling checks in Nagios (Tedman Eng) > 2. Re: Re: Disabling checks in Nagios (Jason Martin) > 3. missing: statusmap.cgi (Patrick Webster) > 4. Re: nrpe - ssl handshake not completed (Noah Leaman) > 5. RE: nrpe - ssl handshake not completed (Noah Leaman) > 6. Nrpe generic question (MiikaT) > 7. 1 check at a time (Sam Terburg) > 8. snmpd.conf (miglionni at ig.com.br) > 9. check_nt FILEAGE problem (Michal.Mazurek at avon.com) > 10. RE: check_nt FILEAGE problem (Randal, Phil) > 11. RES: [Nagios-users] 1 check at a time (Marcio Queiroz) > 12. Re: missing: statusmap.cgi (Dave O'Shea) > 13. apan (k.l. muthu kumar) > 14. RE: apan (HBoertien at enertel.nl) > 15. Check_NWstat (Cory Schafer) > 16. Re: Excluding hosts from hostgroups? (jeff vier) > 17. Statistic and Performance metric gathering / displaying (tom di naro) > 18. Question (Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx) > 19. RE: Statistic and Performance metric gathering / displaying (Marc Powell) > 20. RE: Question (Marc Powell) > 21. Limiting notifications by group? (Mark Ferlatte) > 22. Re: Limiting notifications by group? (Jamie Baddeley) > 23. notifications (Tory Skyers) > 24. notification again (Tory Skyers) > 25. RE: notification again (Marc Powell) > 26. US STOCK MARKET - MBTT Technology---MERRILL LYNCH On Sector.....coyne (Connie Dugan) > 27. Monitoring process may not be running! ... (Jamie Bohr) > 28. RE: Monitoring process may not be running! ... (Marc Powell) > 29. RE: Monitoring process may not be running! ... (Jamie Bohr) > 30. NRPE 1.8 Error (Ran B) > > --__--__-- > > Message: 1 > To: nagios-users at lists.sourceforge.net > From: "Tedman Eng" > Date: Mon, 8 Dec 2003 21:00:45 -0800 > Organization: Dataway, Inc. > Subject: [Nagios-users] Re: Disabling checks in Nagios > > One way is to use one of the external command scripts > (see here http://www.nagios.org/download/extras.php#misc) > and edit the script to use DISABLE_SVC_CHECK and ENABLE_SVC_CHECK. > Scheduling can easily be done using an external scheduler like cron or at, > depending on your needs. > Info about the format of external commands can be found here: > http://nagios.sourceforge.net/docs/1_0/extcommands.html > > For example: > # echo "disable_svc_chk.sh foobar ping" | at 0300 > job 6 at 2003-12-16 03:00 > # echo "enable_svc_chk.sh foobar ping" | at 0330 > job 7 at 2003-12-16 03:30 > > There may exist a script to do such a thing already somewhere, but if there > is, they forgot to tell me. :) > > HTH > -Tedman > > "Anurag Gupta" wrote in message > news:FJEHIPBACBJHHEAGEJCPAEGKEFAA.agupta at yahoo-inc.com... > >>Hi, >> >>Is there an option in Nagios to *schedule* disabling of checks? >> >>Currently, we have Event Handlers that try to restart the processes on >>remote machines. We want these handlers disabled during a Scheduled >>downtime. But scheduled downtime is only for suppressing notifications. >>Checks do happen, and event handlers are invoked. >> >>thanks >>====================== >>Regards >>Anurag Gupta >>agupta at yahoo-inc.com >>408.349.5166 >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: SF.net Giveback Program. >>Does SourceForge.net help you be more productive? Does it >>help you create better code? SHARE THE LOVE, and help us help >>YOU! Click Here: http://sourceforge.net/donate/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null >> > > > > > > --__--__-- > > Message: 2 > Date: Mon, 8 Dec 2003 21:02:21 -0800 (PST) > To: Tedman Eng > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Re: Disabling checks in Nagios > From: Jason Martin > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > You can also define a check_period that excludes the intented downtime. > > - -Jason Martin > On Mon, 8 Dec 2003, Tedman Eng wrote: > > >>One way is to use one of the external command scripts >>(see here http://www.nagios.org/download/extras.php#misc) >>and edit the script to use DISABLE_SVC_CHECK and ENABLE_SVC_CHECK. >>Scheduling can easily be done using an external scheduler like cron or at, >>depending on your needs. >>Info about the format of external commands can be found here: >>http://nagios.sourceforge.net/docs/1_0/extcommands.html >> >>For example: >># echo "disable_svc_chk.sh foobar ping" | at 0300 >>job 6 at 2003-12-16 03:00 >># echo "enable_svc_chk.sh foobar ping" | at 0330 >>job 7 at 2003-12-16 03:30 >> >>There may exist a script to do such a thing already somewhere, but if there >>is, they forgot to tell me. :) >> >>HTH >>-Tedman >> >>"Anurag Gupta" wrote in message >>news:FJEHIPBACBJHHEAGEJCPAEGKEFAA.agupta at yahoo-inc.com... >> >>>Hi, >>> >>>Is there an option in Nagios to *schedule* disabling of checks? >>> >>>Currently, we have Event Handlers that try to restart the processes on >>>remote machines. We want these handlers disabled during a Scheduled >>>downtime. But scheduled downtime is only for suppressing notifications. >>>Checks do happen, and event handlers are invoked. >>> >>>thanks >>>====================== >>>Regards >>>Anurag Gupta >>>agupta at yahoo-inc.com >>>408.349.5166 >>> >>> >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: SF.net Giveback Program. >>>Does SourceForge.net help you be more productive? Does it >>>help you create better code? SHARE THE LOVE, and help us help >>>YOU! Click Here: http://sourceforge.net/donate/ >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and OS when >> >>reporting any issue. >> >>>::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: SF.net Giveback Program. >>Does SourceForge.net help you be more productive? Does it >>help you create better code? SHARE THE LOVE, and help us help >>YOU! Click Here: http://sourceforge.net/donate/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.3.3 (GNU/Linux) > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > iD8DBQE/1Vdgl2ODWuqVSBMRAoDlAJ9zHd5U57kmAUHzd2CS8LJDZ1dLzACeKmrH > BpBEJ5Afa7IaOJ1lfxVhKw8= > =Zl0q > -----END PGP SIGNATURE----- > > > --__--__-- > > Message: 3 > Date: Tue, 9 Dec 2003 16:55:32 +1100 > From: "Patrick Webster" > To: > Subject: [Nagios-users] missing: statusmap.cgi > > Hi all, > > I have nagios up and running, however I get a 404 when clicking on the > 'Status Map' link. > > The statusmap.c file was in the tar archive when I originally compiled > nagios, and the cgi directory has statuswml.cgi / statuswrl.cgi, but > statusmap.cgi is nowhere to be found. > > Does anyone know what happened? I'm running Nagios 1.1 with the latest > plug-ins. > > Thanks. > > -Patrick > > > --__--__-- > > Message: 4 > Date: Mon, 8 Dec 2003 22:06:50 -0800 > Subject: Re: [Nagios-users] nrpe - ssl handshake not completed > Cc: Nagios-users at lists.sourceforge.net > To: Steve Risteter > From: Noah Leaman > > I had this problem too and the fix for me had nothing to do with the=20 > libssl or libcrypto libs or ./configure --disable-ssl. What I was doing=20= > > was mistakingly running nrpe with the wrong config file (doh!). I was=20 > running: > > ./nrpe -c commands.cfg -d > > instead of: > > ./nrpe -c nrpe.cfg -d > > In fact, I found that you can run nrpe with an empty text file as a=20 > config file and it doesn't seem to have a problem: > > touch test.cfg > ./nrpe -c test.cfg -d > > ... no problem until you try to connect: > > ./check_nrpe -H hostname.domain.com -c check_users > CHECK: Error - Could not complete SSL handshake. > > So make SURE that the config file your feeding nrpe is the actual nrpe=20= > > config file and not the commands config or something. Hope this helps=20 > some. > > --=20 > Noah > > On Monday, December 8, 2003, at 04:07 AM, Steve Risteter wrote: > > >>Check allowed_hosts in nrpe.cfg and check that libssl and libcrypto=20 >>are installed. >> >> >>-----Original Message----- >>From: Admin Nagios [mailto:nagios at terra.com] >>Sent: Sunday, December 07, 2003 11:30 PM >>To: Nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] nrpe - ssl handshake not completed >>Importance: High >> >> >>Im trying to use the check_disk1 command with check_nrpe and Im=20 >>receiving the following message: >> >>CHECK_NRPE: Error - Could not complete SSL handshake. >> >>Somebody have and idea of what is going on?? >> >>--------- >> >>#Im running the nrpe daemon and the nrpe plugin in the same machine=20 >>...just for test procedures.# >> >> >> >> >> >>___________________________________________________ >>Triste, alegre, rom=E1ntico, con ganas de bailar... Terra Radio tiene=20= > > >>para ti m=E1s de 200 estaciones de radio con tu m=FAsica preferida. = > > =A1Ven y=20 > >>disfruta de toda la m=FAsica que Terra Radio tiene para t=ED! >>http://www.terra.com/ocio/musica/radio/ >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: SF.net Giveback Program. >>Does SourceForge.net help you be more productive? Does it >>help you create better code? SHARE THE LOVE, and help us help >>YOU! Click Here: http://sourceforge.net/donate/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when=20 >>reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: SF.net Giveback Program. >>Does SourceForge.net help you be more productive? Does it >>help you create better code? SHARE THE LOVE, and help us help >>YOU! Click Here: http://sourceforge.net/donate/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when=20 >>reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> > > > > > --__--__-- > > Message: 5 > Date: Mon, 8 Dec 2003 22:08:28 -0800 > Subject: RE: [Nagios-users] nrpe - ssl handshake not completed > From: Noah Leaman > To: nagios-users at lists.sourceforge.net > > I had this problem too and the fix for me had nothing to do with the=20 > libssl or libcrypto libs or ./configure --disable-ssl. What I was doing=20= > > was mistakingly running nrpe with the wrong config file (doh!). I was=20 > running: > > ./nrpe -c commands.cfg -d > > instead of: > > ./nrpe -c nrpe.cfg -d > > In fact, I found that you can run nrpe with an empty text file as a=20 > config file and it doesn't seem to have a problem: > > touch test.cfg > ./nrpe -c test.cfg -d > > ... no problem until you try to connect: > > ./check_nrpe -H hostname.domain.com -c check_users > CHECK: Error - Could not complete SSL handshake. > > So make SURE that the config file your feeding nrpe is the actual nrpe=20= > > config file and not the commands config or something. Hope this helps=20 > some. > > --=20 > Noah > > On Monday, December 8, 2003, at 04:07 AM, Steve Risteter wrote: > > >>Check allowed_hosts in nrpe.cfg and check that libssl and libcrypto=20 >>are installed. >> >> >>-----Original Message----- >>From: Admin Nagios [mailto:nagios at terra.com] >>Sent: Sunday, December 07, 2003 11:30 PM >>To: Nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] nrpe - ssl handshake not completed >>Importance: High >> >> >>Im trying to use the check_disk1 command with check_nrpe and Im=20 >>receiving the following message: >> >>CHECK_NRPE: Error - Could not complete SSL handshake. >> >>Somebody have and idea of what is going on?? >> >>--------- >> >>#Im running the nrpe daemon and the nrpe plugin in the same machine=20 >>...just for test procedures.# >> >> >> >> >> >>___________________________________________________ >>Triste, alegre, rom=E1ntico, con ganas de bailar... Terra Radio tiene=20= > > >>para ti m=E1s de 200 estaciones de radio con tu m=FAsica preferida. = > > =A1Ven y=20 > >>disfruta de toda la m=FAsica que Terra Radio tiene para t=ED! >>http://www.terra.com/ocio/musica/radio/ >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: SF.net Giveback Program. >>Does SourceForge.net help you be more productive? Does it >>help you create better code? SHARE THE LOVE, and help us help >>YOU! Click Here: http://sourceforge.net/donate/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when=20 >>reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: SF.net Giveback Program. >>Does SourceForge.net help you be more productive? Does it >>help you create better code? SHARE THE LOVE, and help us help >>YOU! Click Here: http://sourceforge.net/donate/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when=20 >>reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> > > > > > --__--__-- > > Message: 6 > Date: Tue, 9 Dec 2003 08:16:47 +0200 > From: MiikaT > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nrpe generic question > > > Will I be able to do the following, if I use nrpe. I have two sites, site a > monitors all hosts on site + everything that site b is monitorin (via nrpe), > but site b only monitors site b. If there is a problem on site b host and the > problem is acknowledged on site a, will that information pass to nagios on > site b using nrpe, or will I need to acknowledge the same problem on both > hosts? > > -MiikaT > > > --__--__-- > > Message: 7 > From: Sam Terburg > To: Nagios Users Mailing List > Organization: Luna.nl > Date: Tue, 09 Dec 2003 11:11:21 +0100 > Subject: [Nagios-users] 1 check at a time > > I always only see one check at a time running, but i see many nagios > processes. > These are my relevant nagios.conf entries: > service_interleave_factor=0 > max_concurrent_checks=150 > service_reaper_frequency=5 > sleep_time=1 > service_check_timeout=20 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 > interval_length=1 > use_agressive_host_checking=1 > > > nagios 30905 0.1 0.6 2488 1616 ? SN 10:59 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31920 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31925 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31928 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31942 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31972 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31975 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31986 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31991 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31993 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 31999 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32003 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32007 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32013 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32019 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32023 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32030 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32037 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32041 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32045 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32048 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32051 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32053 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32057 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32060 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32062 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32065 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32069 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32072 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32075 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32078 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32081 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32084 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32086 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32090 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32092 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32098 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32106 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32110 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32121 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32128 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32136 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32140 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32143 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32146 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32149 0.0 0.6 2488 1616 ? SN 11:05 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > postfix 32178 0.0 0.3 2428 960 ? S 11:05 0:00 flush -t > unix -u -c > nagios 32533 0.2 0.6 2492 1616 ? SN 11:06 0:00 > /usr/sbin/nagios /etc/nagios/nagios.cfg > nagios 32534 0.2 0.1 1264 472 ? SN 11:06 0:00 > /usr/lib/nagios/plugins/check_ping -H x.x.x.x -w 3000.0,80% -c > 5000.0,100% -p 1 -t 1 > nagios 32535 0.0 0.1 1408 480 ? SN 11:06 0:00 /bin/ping > -n x.x.x.x -c 1 > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chuck at sbbsnet.net Wed Dec 10 15:23:16 2003 From: chuck at sbbsnet.net (Chuck) Date: Wed, 10 Dec 2003 09:23:16 -0500 Subject: graphic-gdlib-recognition problem Message-ID: <200312100923.16927.chuck@sbbsnet.net> I attempted to search the lists for this but sourceforge was first down for maint. then there were errors in trying to retrieve the forum. I am working with redhat 9 and the latest nagios tar (I don't use rpm when I can help it). The system performs flawlessly with the exception of statistics and 3d graphs (any graphs). Compiling Nagios says it cannot find gdlib support for the png/gif/jpg. So , I got the lastest stable gdlibs tar and installed them, then made sure that their directory was listed in /etc/ld.so.conf and ran ldconfig by itself with no cmdline parms. Subsequent compilation STILL cannot find gdlibs. Any ideas? My boss is on my butt to get this fixed. He wants to start using Nagios "yesterday" , not comprehending it is a somewhat involved installation/configuration process:). -- Chuck "...and the hordes of M$*ft users descended upon me in their anger, and asked 'Why do you not get the viruses or the BlueScreensOfDeath or insecure system troubles and slowness or pay through the nose for an OS as *we* do?!!', and I answered...'I use Linux'. " The Book of John, chapter 1, page 1, and end of book ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garym at canada.com Wed Dec 10 16:01:37 2003 From: garym at canada.com (Gary Lawrence Murphy) Date: Wed, 10 Dec 2003 10:01:37 -0500 Subject: check_mailq with sendmail References: <200312100955.hBA9t9jt095509@idefix.net> Message-ID: This may be a RedHat 9.0 issue: check_mailq does not function because it is not run by the Sendmail "TrustedUser" --- any recommendations for a safe work-around? -- Gary Lawrence Murphy www.teledyn.com/mt - www.teledyn.com - sbp.teledyn.com You don't play what you know; you play what you hear. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gert.lindstrom at brevik.nu Wed Dec 10 16:21:29 2003 From: gert.lindstrom at brevik.nu (Gert Lindstrom) Date: Wed, 10 Dec 2003 16:21:29 +0100 Subject: More than one Nagios Instance ? Message-ID: <000e01c3bf31$4942c080$140c140a@corp.intentia.net> How does this happens ? This is the output from a ps nagios 4447 0.0 0.1 2808 1824 ? S 16:18 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 4736 0.0 0.1 2812 1828 ? S 16:19 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg sometimes we have 20 or more, but they also disapears. Is this behavior normal ? We also seems to loose notifications from time to time. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Dec 10 16:35:06 2003 From: marc at ena.com (Marc Powell) Date: Wed, 10 Dec 2003 09:35:06 -0600 Subject: 18000 services to check and Nagios just sits and waits. Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A03E@mismail2.ena.com> Congratulations. You have the largest single-host installation of nagios that I have heard of. You haven't given any hard information about how you have nagios configured so we're going to have to make a lot of guesses until you provide specific information. Your host and service check definitions as well as many options in nagios.cfg can have a profound affect on the performance of the program. Here are some suggestions from my personal experience which may or may not be redundant for you: Nagios.cfg - - command_check_interval=-1 (may have no affect in your setup) - max_concurrent_checks=xxx (You should run '/path/to/nagios -s /path/to/nagios.cfg) for a lower estimate on this number. Increasing it will not hurt to a point) - service_reaper_frequency=2 (or 1 if you want, I'd start with 2) - use_agressive_host_checking=0 - aggregate_status_updates=1 - status_update_interval=xxx (I suggest at least 60). This one may actually be getting you. With 18000 services, it's going to take some time to update the status in the db, even if it is in ram. Nagios does a delete of the status tables, then an insert of the new information. If you have the interval set at 30 seconds and the process takes 29 seconds, that's all that nagios will be doing or it will only have 30 seconds to process several hundred or thousand results). - inter_check_delay_method. When using the smart option nagios will try to spread out your checks so that they all fit in your average check interval. If you don't have max_concurrent_checks set high enough or the service_reaper_frequency set low enough to allow this to happen the initial checks can get spread over a significant period of time. Host and service checks - - Use very simple host checks, single pings for example, with no retry or disable host checks entirely. If any service returns a state other than OK, nagios will aggressively check the status of the host and stop doing everything else until max_retries has been reached on the host check. - Use a sane check_interval. Don't expect nagios to be able to complete 18,000 checks at 1 minute intervals. - Your custom plugin should be written in C or if it's perl you should use the ePN. If it's written in perl it can be very expensive without ePN as you need to launch a copy of perl every check as well. - If you're utilizing parenting or service dependencies these may be problematic with large numbers of hosts/services (just guessing). - I'm not a programmer but I don't believe that just because linux understand hyperthreading that a program will take advantage of it. Ulimits - by default, Redhat linux 7.3 only allows a user to have 1024 open files, a stack size of 8192 kbytes and 7168 concurrent processes. You may need to adjust these once you get things going. Presuming that you don't make any significant changes based on the suggestions above, is there anything in nagios.log that might indicate a problem? Have you tried running strace on any of the nagios processes to find out exactly what they are doing? Finally, since you've created your own front end I presume you've realized that nagios pre-2.0 had a hard time with large numbers of hosts and services, particularly for the cgis. 2.0 (will) incorporates several changes that reportedly make working with large numbers of hosts and services better. YMMV though and as far as I know the enhancements mostly benefit the cgis. -- Marc > -----Original Message----- > From: martin at idefix.net [mailto:martin at idefix.net] > Sent: Wednesday, December 10, 2003 3:55 A > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] 18000 services to check and Nagios just sits and > waits. > > Hi all, > > I'm trying to convince Nagios it should perform very aggressively > but somehow it won't work. > When reading the documentation it states everywhere that Nagios > will consume all CPU power you throw at it if you don't take care. > Well, with me it doesn't and I really want it to. > > The situation: > - All our machines send some email to the Nagios server which > we put in files and wrote a plugin to check those files. > > - There are a lot of machines (almost 900) and we want to do a lot > of checks (18000). > > - To make it worse, we forced Nagios to use MySQL for the service_status > and host_status data (as we created our own frontend and use MySQL as > the interface). > > To make sure Nagios will be able to abuse the hardware as much as it can > we threw in a dual xeon 3 GHz machine with 2GB memory and some 15k RPM > SCSI disks. To make it better, Linux understands hyperthreading and > makes it a total of 4 CPU's. > To prevent MySQL to abuse the arraycontroller to much we make the > service_status and host_status tables HEAP so they only use memory. > > I would assume that Nagios would at least try to fork something like > 40 to 100 processes and would consume at least one CPU but it doesn't. > It won't abuse the memory either as there is about 1GB of memory left. > > It only seems to be sitting there with 4 to 6 proccesses and allowing > the latency to go up and up like there's no tomorrow. Or at least there > won't be any checks tomorrow. > > We've tried both the smart Nagios options as the dumb options and > event tried to think ourselves and calculating the right configvalues > but nothing seems to work. >to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 10 16:40:06 2003 From: marc at ena.com (Marc Powell) Date: Wed, 10 Dec 2003 09:40:06 -0600 Subject: More than one Nagios Instance ? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A03F@mismail2.ena.com> Yes, it's normal. Nagios creates a child process to handle the processing of the service check. I'm not sure of the exact methodology though (fork(), clone(), whatever...). As far as losing notifications you'll need to provide more specific information (when it happening, is it specific to a host or service, what your notify command is, how it's being sent out, what troubleshooting you've done, etc). -- Marc ________________________________________ From: Gert Lindstrom [mailto:gert.lindstrom at brevik.nu] Sent: Wednesday, December 10, 2003 9:21 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] More than one Nagios Instance ? How does this happens ? ? This is the output? from a ps ? nagios??? 4447? 0.0? 0.1? 2808 1824 ???????? S??? 16:18?? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios??? 4736? 0.0? 0.1? 2812 1828 ???????? S??? 16:19?? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg ? sometimes we have 20 or more, but they also disapears. Is this behavior normal ? We also seems to loose notifications from time to time. ? ? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 10 16:42:43 2003 From: marc at ena.com (Marc Powell) Date: Wed, 10 Dec 2003 09:42:43 -0600 Subject: check_mailq with sendmail Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A040@mismail2.ena.com> > -----Original Message----- > From: Gary Lawrence Murphy [mailto:garym at canada.com] > Sent: Wednesday, December 10, 2003 9:02 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_mailq with sendmail > > > This may be a RedHat 9.0 issue: check_mailq does not function because > it is not run by the Sendmail "TrustedUser" --- any recommendations > for a safe work-around? Just a guess but have you tried adding the nagios user to your trusted users file? You'll probably need to restart sendmail after. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jennifer.Johns at motorola.com Wed Dec 10 17:00:12 2003 From: Jennifer.Johns at motorola.com (Johns Jennifer-ra9718) Date: Wed, 10 Dec 2003 09:00:12 -0700 Subject: windows event viewer help Message-ID: <0A00C1E031DB944D8DC13185CD6EAAA4AEC3B6@az33exm31.corp.mot.com> Hello All, I was wondering if there is a way to monitor windows event viewer from nagios? Or if anyone has a better idea how to do it? What I am looking for is notification when a new system, application or security error is logged. I would also want the capability to ignore some events. I would really like to stick with a nagios solution if possible. Rgds, Jenn -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen.patterson at cjgarland.com Wed Dec 10 16:16:59 2003 From: stephen.patterson at cjgarland.com (Stephen Patterson) Date: Wed, 10 Dec 2003 16:16:59 +0100 Subject: CGI Authoristaion problem (and yes I have read the FAQ) Message-ID: <3FD738EB.4010404@cjgarland.com> Hi all I've just recently installed nagios and am having a problem accessing the CGI reports when logged in as the default nagiosadmin user, all the CGIs report that I don't have permission to access them. I've checked the authentication options referred to in FAQ 0048, and they all appear OK. I've also added the nagiosadmin user to all of my contact groups. Everything else appears to work jsut fine: my hosts are monitored to a database, and there are no errors in either the Apache or the Nagios log files. This is the apache config I'm using. Options ExecCGI AllowOverride AuthConfig Order Allow,Deny Allow From All AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user Alias /netsaint /usr/share/nagios/htdocs/ Alias /nagios /usr/share/nagios/htdocs/ Options FollowSymLinks AllowOverride AuthConfig Order Allow,Deny Allow From All AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user Does anyone have any suggestions? ________________________________________________________________________ CJ GARLAND & CO LIMITED DISCLAIMER This e-mail and any files transmitted with it is confidential and intended solely for the use of the individuals or organisations to whom it is addressed. If you are not the intended recipient you must not open any attachment, copy, distribute or disseminate the information nor take any action on the basis of it; please notify the sender and delete the original e-mail from your system(s). Opinions and conclusions expressed in this e-mail are those of the author and are not necessarily those of CJ Garland & Co Limited unless otherwise indicated by an authorised representative independently of this message. Copyright in this e-mail and any attachments remains with CJ Garland & Co Limited. This message has been scanned for known viruses by MessageLabs? E-mail Security System on behalf of CJ Garland & Co Limited. Recipients are strongly advised to check for the latest viruses upon receipt. N o responsibility is taken by the sender for any loss incurred as a result of virus infection or other destructive elements. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pouellet at microtecsecurite.com Wed Dec 10 17:21:05 2003 From: pouellet at microtecsecurite.com (Patrick Ouellet) Date: Wed, 10 Dec 2003 11:21:05 -0500 Subject: Newb question... ( Host var - notification_period ) Message-ID: <3FD747F1.4070302@microtecsecurite.com> I read the documentation about the configuration files but ( probably because im french ) I don't understand what the notification_period host variable does? What is it meant to? Can someone give me a real life exemple ? Thanx in advance. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Patrick Ouellet - pouellet at microtecsecurite.com Administrateur des serveurs reseaux Informatique - Poste 130 Microtec Technologies inc. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= "First they ignore you. Then they laugh at you. Then they fight you. Then you win." -Mahatma Gandhi =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christophe.suire at adelux.fr Wed Dec 10 17:52:42 2003 From: christophe.suire at adelux.fr (Christophe SUIRE) Date: Wed, 10 Dec 2003 17:52:42 +0100 Subject: NRPE compilation problem under Tru64 Message-ID: <458E9B62-2B31-11D8-9511-000A95AF7538@adelux.fr> Hi, I have some problems to compile NRPE 2.0 under Tru64 : First i need to had some include to config.h .. because nothing was working : calamar._root:/tmp/nrpe-2.0>make cd ./src/; make ; cd .. gcc -g -O2 -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c inst emulated pid=143864 va=0x11fffe04a pc=0x12000fb7c inst=0x282bffff In file included from ../common/common.h:24, from nrpe.c:21: ../common/config.h:157:20: time.h: No such file or directory In file included from nrpe.c:21: ../common/common.h:64: parse error before "int16_t" ../common/common.h:64: warning: no semicolon at end of struct or union ../common/common.h:65: warning: data definition has no type or storage class ../common/common.h:67: parse error before "result_code" ../common/common.h:67: warning: data definition has no type or storage class ../common/common.h:69: parse error before '}' token ../common/common.h:69: warning: data definition has no type or storage class In file included from nrpe.c:24: utils.h:46: warning: `struct in_addr' declared inside parameter list utils.h:46: warning: its scope is only this definition or declaration, which is probably not what you want. nrpe.c:47: parse error before '*' token nrpe.c: In function `main': nrpe.c:147: `LOG_PID' undeclared (first use in this function) nrpe.c:147: (Each undeclared identifier is reported only once nrpe.c:147: for each function it appears in.) nrpe.c:147: `LOG_DAEMON' undeclared (first use in this function) nrpe.c:174: `LOG_ERR' undeclared (first use in this function) nrpe.c:227: `SIGHUP' undeclared (first use in this function) nrpe.c:227: `SIG_IGN' undeclared (first use in this function) nrpe.c:238: `O_RDONLY' undeclared (first use in this function) nrpe.c:239: `O_WRONLY' undeclared (first use in this function) nrpe.c: In function `read_config_file': nrpe.c:281: `LOG_ERR' undeclared (first use in this function) nrpe.c: In function `read_config_dir': nrpe.c:411: `DIR' undeclared (first use in this function) nrpe.c:411: `dirp' undeclared (first use in this function) nrpe.c:419: `LOG_ERR' undeclared (first use in this function) nrpe.c:424: warning: assignment makes pointer from integer without a cast nrpe.c:427: dereferencing pointer to incomplete type nrpe.c:428: dereferencing pointer to incomplete type nrpe.c:437: dereferencing pointer to incomplete type nrpe.c: In function `add_command': nrpe.c:493: `LOG_DEBUG' undeclared (first use in this function) nrpe.c: In function `wait_for_connections': nrpe.c:515: storage size of `myname' isn't known nrpe.c:517: storage size of `addr' isn't known nrpe.c:520: `socklen_t' undeclared (first use in this function) nrpe.c:520: parse error before "addrlen" nrpe.c:526: `AF_INET' undeclared (first use in this function) nrpe.c:526: `SOCK_STREAM' undeclared (first use in this function) nrpe.c:530: `LOG_ERR' undeclared (first use in this function) nrpe.c:530: `errno' undeclared (first use in this function) nrpe.c:536: `SOL_SOCKET' undeclared (first use in this function) nrpe.c:536: `SO_REUSEADDR' undeclared (first use in this function) nrpe.c:547: `INADDR_ANY' undeclared (first use in this function) nrpe.c:567: `LOG_NOTICE' undeclared (first use in this function) nrpe.c:576: `SIGQUIT' undeclared (first use in this function) nrpe.c:577: `SIGTERM' undeclared (first use in this function) nrpe.c:580: `LOG_DEBUG' undeclared (first use in this function) nrpe.c:590: `EWOULDBLOCK' undeclared (first use in this function) nrpe.c:590: `EINTR' undeclared (first use in this function) nrpe.c:619: `addrlen' undeclared (first use in this function) nrpe.c:637: dereferencing pointer to incomplete type nrpe.c:637: dereferencing pointer to incomplete type nrpe.c:640: dereferencing pointer to incomplete type nrpe.c: In function `handle_connection': nrpe.c:695: parse error before "receive_packet" nrpe.c:716: `LOG_DEBUG' undeclared (first use in this function) nrpe.c:750: `receive_packet' undeclared (first use in this function) nrpe.c:762: `LOG_ERR' undeclared (first use in this function) nrpe.c:900: `send_packet' undeclared (first use in this function) nrpe.c:906: `int16_t' undeclared (first use in this function) nrpe.c:906: parse error before "htons" nrpe.c:907: parse error before "htons" nrpe.c:908: parse error before "htons" nrpe.c: In function `my_system': nrpe.c:1001: `errno' used prior to declaration nrpe.c:1021: `F_SETFL' undeclared (first use in this function) nrpe.c:1021: `O_NONBLOCK' undeclared (first use in this function) nrpe.c:1058: `SIGALRM' undeclared (first use in this function) nrpe.c:1131: `EINTR' undeclared (first use in this function) nrpe.c:1142: `SIGTERM' undeclared (first use in this function) nrpe.c:1143: `SIGKILL' undeclared (first use in this function) nrpe.c: In function `drop_privileges': nrpe.c:1180: warning: cast to pointer from integer of different size nrpe.c:1182: dereferencing pointer to incomplete type nrpe.c:1184: `LOG_ERR' undeclared (first use in this function) nrpe.c:1205: warning: cast to pointer from integer of different size nrpe.c:1207: dereferencing pointer to incomplete type nrpe.c:1222: `errno' undeclared (first use in this function) nrpe.c:1222: `EPERM' undeclared (first use in this function) nrpe.c: In function `check_privileges': nrpe.c:1251: `LOG_ERR' undeclared (first use in this function) nrpe.c: At top level: nrpe.c:1261: parse error before '*' token nrpe.c: In function `validate_request': nrpe.c:1274: `pkt' undeclared (first use in this function) nrpe.c:1278: `LOG_ERR' undeclared (first use in this function) nrpe.c: In function `process_arguments': nrpe.c:1442: elements of array `long_options' have incomplete type nrpe.c:1443: warning: excess elements in struct initializer nrpe.c:1443: warning: (near initialization for `long_options[0]') nrpe.c:1443: `required_argument' undeclared (first use in this function) nrpe.c:1443: warning: excess elements in struct initializer nrpe.c:1443: warning: (near initialization for `long_options[0]') nrpe.c:1443: warning: excess elements in struct initializer nrpe.c:1443: warning: (near initialization for `long_options[0]') nrpe.c:1443: warning: excess elements in struct initializer nrpe.c:1443: warning: (near initialization for `long_options[0]') nrpe.c:1444: warning: excess elements in struct initializer nrpe.c:1444: warning: (near initialization for `long_options[1]') nrpe.c:1444: `no_argument' undeclared (first use in this function) nrpe.c:1444: warning: excess elements in struct initializer nrpe.c:1444: warning: (near initialization for `long_options[1]') nrpe.c:1444: warning: excess elements in struct initializer nrpe.c:1444: warning: (near initialization for `long_options[1]') nrpe.c:1444: warning: excess elements in struct initializer nrpe.c:1444: warning: (near initialization for `long_options[1]') nrpe.c:1445: warning: excess elements in struct initializer nrpe.c:1445: warning: (near initialization for `long_options[2]') nrpe.c:1445: warning: excess elements in struct initializer nrpe.c:1445: warning: (near initialization for `long_options[2]') nrpe.c:1445: warning: excess elements in struct initializer nrpe.c:1445: warning: (near initialization for `long_options[2]') nrpe.c:1445: warning: excess elements in struct initializer nrpe.c:1445: warning: (near initialization for `long_options[2]') nrpe.c:1446: warning: excess elements in struct initializer nrpe.c:1446: warning: (near initialization for `long_options[3]') nrpe.c:1446: warning: excess elements in struct initializer nrpe.c:1446: warning: (near initialization for `long_options[3]') nrpe.c:1446: warning: excess elements in struct initializer nrpe.c:1446: warning: (near initialization for `long_options[3]') nrpe.c:1446: warning: excess elements in struct initializer nrpe.c:1446: warning: (near initialization for `long_options[3]') nrpe.c:1447: warning: excess elements in struct initializer nrpe.c:1447: warning: (near initialization for `long_options[4]') nrpe.c:1447: warning: excess elements in struct initializer nrpe.c:1447: warning: (near initialization for `long_options[4]') nrpe.c:1447: warning: excess elements in struct initializer nrpe.c:1447: warning: (near initialization for `long_options[4]') nrpe.c:1447: warning: excess elements in struct initializer nrpe.c:1447: warning: (near initialization for `long_options[4]') nrpe.c:1448: warning: excess elements in struct initializer nrpe.c:1448: warning: (near initialization for `long_options[5]') nrpe.c:1448: warning: excess elements in struct initializer nrpe.c:1448: warning: (near initialization for `long_options[5]') nrpe.c:1448: warning: excess elements in struct initializer nrpe.c:1448: warning: (near initialization for `long_options[5]') nrpe.c:1448: warning: excess elements in struct initializer nrpe.c:1448: warning: (near initialization for `long_options[5]') nrpe.c:1449: warning: excess elements in struct initializer nrpe.c:1449: warning: (near initialization for `long_options[6]') nrpe.c:1449: warning: excess elements in struct initializer nrpe.c:1449: warning: (near initialization for `long_options[6]') nrpe.c:1449: warning: excess elements in struct initializer nrpe.c:1449: warning: (near initialization for `long_options[6]') nrpe.c:1449: warning: excess elements in struct initializer nrpe.c:1449: warning: (near initialization for `long_options[6]') nrpe.c:1442: storage size of `long_options' isn't known In file included from ../common/common.h:24, from utils.c:32: ../common/config.h:157:20: time.h: No such file or directory In file included from utils.c:32: ../common/common.h:64: parse error before "int16_t" ../common/common.h:64: warning: no semicolon at end of struct or union ../common/common.h:65: warning: data definition has no type or storage class ../common/common.h:67: parse error before "result_code" ../common/common.h:67: warning: data definition has no type or storage class ../common/common.h:69: parse error before '}' token ../common/common.h:69: warning: data definition has no type or storage class In file included from utils.c:33: utils.h:46: warning: `struct in_addr' declared inside parameter list utils.h:46: warning: its scope is only this definition or declaration, which is probably not what you want. utils.c: In function `my_connect': utils.c:124: storage size of `servaddr' isn't known utils.c:130: `AF_INET' undeclared (first use in this function) utils.c:130: (Each undeclared identifier is reported only once utils.c:130: for each function it appears in.) utils.c:137: warning: assignment makes pointer from integer without a cast utils.c:143: dereferencing pointer to incomplete type utils.c:143: dereferencing pointer to incomplete type utils.c:147: warning: assignment makes pointer from integer without a cast utils.c:153: `PF_INET' undeclared (first use in this function) utils.c:153: `SOCK_DGRAM' undeclared (first use in this function) utils.c:153: `SOCK_STREAM' undeclared (first use in this function) utils.c:153: dereferencing pointer to incomplete type utils.c:162: `errno' undeclared (first use in this function) utils.c:163: `ECONNREFUSED' undeclared (first use in this function) utils.c:166: `ETIMEDOUT' undeclared (first use in this function) utils.c:169: `ENETUNREACH' undeclared (first use in this function) utils.c: At top level: utils.c:186: warning: `struct in_addr' declared inside parameter list utils.c:186: conflicting types for `my_inet_aton' utils.h:46: previous declaration of `my_inet_aton' utils.c: In function `my_inet_aton': utils.c:279: dereferencing pointer to incomplete type utils.c: In function `recvall': utils.c:350: `errno' undeclared (first use in this function) utils.c:350: `EAGAIN' undeclared (first use in this function) *** Exit 1 Stop. *** Exit 1 Stop. After paching the config.h i have : with gcc : ------------ calamar._root:/tmp/nrpe-2.0/src>gcc -I/usr/sys/include -I/usr/include/sys -I../common -g -O2 -DHAVE_CONFIG_H -o nrpe nrpe.c utils> inst emulated pid=142242 va=0x11fffe04a pc=0x12000fb7c inst=0x282bffff nrpe.c: In function `wait_for_connections': nrpe.c:522: `socklen_t' undeclared (first use in this function) nrpe.c:522: (Each undeclared identifier is reported only once nrpe.c:522: for each function it appears in.) nrpe.c:522: parse error before "addrlen" nrpe.c:621: `addrlen' undeclared (first use in this function) nrpe.c: In function `drop_privileges': nrpe.c:1182: warning: cast to pointer from integer of different size nrpe.c:1184: dereferencing pointer to incomplete type nrpe.c:1207: warning: cast to pointer from integer of different size nrpe.c:1209: dereferencing pointer to incomplete type nrpe.c: In function `process_arguments': nrpe.c:1444: elements of array `long_options' have incomplete type nrpe.c:1445: warning: excess elements in struct initializer nrpe.c:1445: warning: (near initialization for `long_options[0]') nrpe.c:1445: `required_argument' undeclared (first use in this function) nrpe.c:1445: warning: excess elements in struct initializer nrpe.c:1445: warning: (near initialization for `long_options[0]') nrpe.c:1445: warning: excess elements in struct initializer nrpe.c:1445: warning: (near initialization for `long_options[0]') nrpe.c:1445: warning: excess elements in struct initializer nrpe.c:1445: warning: (near initialization for `long_options[0]') nrpe.c:1446: warning: excess elements in struct initializer nrpe.c:1446: warning: (near initialization for `long_options[1]') nrpe.c:1446: `no_argument' undeclared (first use in this function) nrpe.c:1446: warning: excess elements in struct initializer nrpe.c:1446: warning: (near initialization for `long_options[1]') nrpe.c:1446: warning: excess elements in struct initializer nrpe.c:1446: warning: (near initialization for `long_options[1]') nrpe.c:1446: warning: excess elements in struct initializer nrpe.c:1446: warning: (near initialization for `long_options[1]') nrpe.c:1447: warning: excess elements in struct initializer nrpe.c:1447: warning: (near initialization for `long_options[2]') nrpe.c:1447: warning: excess elements in struct initializer nrpe.c:1447: warning: (near initialization for `long_options[2]') nrpe.c:1447: warning: excess elements in struct initializer nrpe.c:1447: warning: (near initialization for `long_options[2]') nrpe.c:1447: warning: excess elements in struct initializer nrpe.c:1447: warning: (near initialization for `long_options[2]') nrpe.c:1448: warning: excess elements in struct initializer nrpe.c:1448: warning: (near initialization for `long_options[3]') nrpe.c:1448: warning: excess elements in struct initializer nrpe.c:1448: warning: (near initialization for `long_options[3]') nrpe.c:1448: warning: excess elements in struct initializer nrpe.c:1448: warning: (near initialization for `long_options[3]') nrpe.c:1448: warning: excess elements in struct initializer nrpe.c:1448: warning: (near initialization for `long_options[3]') nrpe.c:1449: warning: excess elements in struct initializer nrpe.c:1449: warning: (near initialization for `long_options[4]') nrpe.c:1449: warning: excess elements in struct initializer nrpe.c:1449: warning: (near initialization for `long_options[4]') nrpe.c:1449: warning: excess elements in struct initializer nrpe.c:1449: warning: (near initialization for `long_options[4]') nrpe.c:1449: warning: excess elements in struct initializer nrpe.c:1449: warning: (near initialization for `long_options[4]') nrpe.c:1450: warning: excess elements in struct initializer nrpe.c:1450: warning: (near initialization for `long_options[5]') nrpe.c:1450: warning: excess elements in struct initializer nrpe.c:1450: warning: (near initialization for `long_options[5]') nrpe.c:1450: warning: excess elements in struct initializer nrpe.c:1450: warning: (near initialization for `long_options[5]') nrpe.c:1450: warning: excess elements in struct initializer nrpe.c:1450: warning: (near initialization for `long_options[5]') nrpe.c:1451: warning: excess elements in struct initializer nrpe.c:1451: warning: (near initialization for `long_options[6]') nrpe.c:1451: warning: excess elements in struct initializer nrpe.c:1451: warning: (near initialization for `long_options[6]') nrpe.c:1451: warning: excess elements in struct initializer nrpe.c:1451: warning: (near initialization for `long_options[6]') nrpe.c:1451: warning: excess elements in struct initializer nrpe.c:1451: warning: (near initialization for `long_options[6]') nrpe.c:1444: storage size of `long_options' isn't known utils.c: In function `my_connect': utils.c:137: warning: assignment makes pointer from integer without a cast utils.c:143: dereferencing pointer to incomplete type utils.c:143: dereferencing pointer to incomplete type utils.c:147: warning: assignment makes pointer from integer without a cast utils.c:153: dereferencing pointer to incomplete type with cc: ---------- calamar._root:/tmp/nrpe-2.0/src>cc -I/usr/sys/include -I/usr/include/sys -I../common -g -O2 -DHAVE_CONFIG_H -o nrpe nrpe.c utils.> nrpe.c: cc: Info: File not optimized; use -g3 if both optimization and debug wanted. (suppressoptlvl) cc: Error: nrpe.c, line 522: In this declaration, "socklen_t" must specify a type. (badparsedecl) socklen_t addrlen; --------^ cc: Warning: nrpe.c, line 545: In this statement, the referenced type of the pointer value "&myname.sin_zero" is "array [8] of char", which is not compatible with "char". (ptrmismatch) bzero(&myname.sin_zero,8); --------------^ cc: Error: nrpe.c, line 621: In this statement, "addrlen" is not declared. (undeclared) addrlen=sizeof(addr); --------------------------------^ cc: Warning: nrpe.c, line 902: In this statement, the referenced type of the pointer value "&send_packet" is "struct packet_struct", which is not compatible with "char". (ptrmismatch) bzero(&send_packet,sizeof(send_packet)); --------------^ cc: Warning: nrpe.c, line 1184: In this statement, "grp" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef) gid=(gid_t)(grp->gr_gid); --------------------------------------------^ cc: Error: nrpe.c, line 1184: In this statement, "gr_gid" is not a member of "grp". (needmember) gid=(gid_t)(grp->gr_gid); --------------------------------------------^ cc: Warning: nrpe.c, line 1209: In this statement, "pw" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef) uid=(uid_t)(pw->pw_uid); --------------------------------------------^ cc: Error: nrpe.c, line 1209: In this statement, "pw_uid" is not a member of "pw". (needmember) uid=(uid_t)(pw->pw_uid); --------------------------------------------^ cc: Error: nrpe.c, line 1445: In the initializer for long_options, an array's element type is incomplete, which precludes its initialization. (incompelinit) {"config", required_argument, 0, 'c'}, ----------------^ utils.c: cc: Info: File not optimized; use -g3 if both optimization and debug wanted. (suppressoptlvl) cc: Warning: utils.c, line 137: In this statement, "gethostbyname(...)" of type "int", is being converted to "pointer to struct hostent". (cvtdiftypes) hp=gethostbyname((const char *)host_name); ----------------^ cc: Warning: utils.c, line 143: In this statement, "hp" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef) memcpy(&servaddr.sin_addr,hp->h_addr,hp->h_length); ------------------------------------------^ cc: Error: utils.c, line 143: In this statement, "h_addr" is not a member of "hp". (needmember) memcpy(&servaddr.sin_addr,hp->h_addr,hp->h_length); ------------------------------------------^ cc: Warning: utils.c, line 143: In this statement, "hp" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef) memcpy(&servaddr.sin_addr,hp->h_addr,hp->h_length); -----------------------------------------------------^ cc: Error: utils.c, line 143: In this statement, "h_length" is not a member of "hp". (needmember) memcpy(&servaddr.sin_addr,hp->h_addr,hp->h_length); -----------------------------------------------------^ cc: Warning: utils.c, line 147: In this statement, "getprotobyname(...)" of type "int", is being converted to "pointer to struct protoent". (cvtdiftypes) if(((ptrp=getprotobyname(proto)))==NULL){ -------------^ cc: Warning: utils.c, line 153: In this statement, "ptrp" is a pointer to an incomplete struct or union and should not be used as the left operand of a member dereference. (incompderef) *sd=socket(PF_INET,(!strcmp(proto,"udp"))?SOCK_DGRAM:SOCK_STREAM,ptrp- >p_proto); ------------------------------------------------------------------------ -^ cc: Error: utils.c, line 153: In this statement, "p_proto" is not a member of "ptrp". (needmember) *sd=socket(PF_INET,(!strcmp(proto,"udp"))?SOCK_DGRAM:SOCK_STREAM,ptrp- >p_proto); ------------------------------------------------------------------------ -^ -- Christophe Suire Directeur Technique Adelux Tel : 01.46.88.40.25 Fax : 01.47.90.26.32 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 10 17:54:25 2003 From: marc at ena.com (Marc Powell) Date: Wed, 10 Dec 2003 10:54:25 -0600 Subject: Newb question... ( Host var - notification_period ) Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A042@mismail2.ena.com> > -----Original Message----- > From: Patrick Ouellet [mailto:pouellet at microtecsecurite.com] > Sent: Wednesday, December 10, 2003 10:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Newb question... ( Host var - notification_period > ) > > > I read the documentation about the configuration files > but ( probably because im french ) I don't understand > what the notification_period host variable does? > > What is it meant to? It specifies the time periods during which nagios will sent out notifications. > > Can someone give me a real life exemple ? If you have a time_period defined that covers 24 hours, seven days a week, and that is set as the notification_period, nagios will send out notifications whenever they happen. If you have a time_period defined that excludes Saturday and Sunday and that is set as the notification_period, nagios will send out notifications Monday through Friday, but not on Saturday and Sunday (and they will not be queued anywhere). -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx Wed Dec 10 17:26:03 2003 From: Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx (Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx) Date: Wed, 10 Dec 2003 10:26:03 -0600 Subject: Statusmap In-Reply-To: References: Message-ID: Hi I have problems with my statusmap when I try to see it only I see a little box with a "X" and i f I put my mouse under the box i can see the image of my machine that I am monitoring but I don`t have any background ,I defined one in my cgi file but I can?t see nothing what can I do ? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fernando_prates at hotmail.com Wed Dec 10 17:56:29 2003 From: fernando_prates at hotmail.com (Fernando Prates) Date: Wed, 10 Dec 2003 16:56:29 +0000 Subject: (no subject) Message-ID: An HTML attachment was scrubbed... URL: From marc at ena.com Wed Dec 10 18:05:04 2003 From: marc at ena.com (Marc Powell) Date: Wed, 10 Dec 2003 11:05:04 -0600 Subject: CGI Authoristaion problem (and yes I have read the FAQ) Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A043@mismail2.ena.com> You don't explicitly say it but do you get prompted for your username and password? When you see the error page, in the top left hand box, what does nagios show for 'logged in as'? For future reference, what OS, apache and nagios versions are you using? -- marc > -----Original Message----- > From: Stephen Patterson [mailto:stephen.patterson at cjgarland.com] > Sent: Wednesday, December 10, 2003 9:17 AM > To: nagios users > Subject: [Nagios-users] CGI Authoristaion problem (and yes I have read the > FAQ) > > Hi all > I've just recently installed nagios and am having a problem accessing > the CGI reports when logged in as the default nagiosadmin user, all the > CGIs report that I don't have permission to access them. > > I've checked the authentication options referred to in FAQ 0048, and > they all appear OK. I've also added the nagiosadmin user to all of my > contact groups. Everything else appears to work jsut fine: my hosts are > monitored to a database, and there are no errors in either the Apache or > the Nagios log files. > > This is the apache config I'm using. > > Options ExecCGI > > AllowOverride AuthConfig > Order Allow,Deny > Allow From All > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /etc/nagios/htpasswd.users > require valid-user > > > Alias /netsaint /usr/share/nagios/htdocs/ > Alias /nagios /usr/share/nagios/htdocs/ > > Options FollowSymLinks > > AllowOverride AuthConfig > Order Allow,Deny > Allow From All > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /etc/nagios/htpasswd.users > require valid-user > > > Does anyone have any suggestions? > > > ________________________________________________________________________ > CJ GARLAND & CO LIMITED DISCLAIMER > > This e-mail and any files transmitted with it is confidential and intended > solely for the use of the individuals or organisations to whom it is > addressed. If you are not the intended recipient you must not open any > attachment, copy, distribute or disseminate the information nor take any > action on the basis of it; please notify the sender and delete the > original e-mail from your system(s). Opinions and conclusions expressed in > this e-mail are those of the author and are not necessarily those of CJ > Garland & Co Limited unless otherwise indicated by an authorised > representative independently of this message. Copyright in this e-mail and > any attachments remains with CJ Garland & Co Limited. This message has > been scanned for known viruses by MessageLabs' E-mail Security System on > behalf of CJ Garland & Co Limited. Recipients are strongly advised to > check for the latest viruses upon receipt. No responsibility is taken by > the sender for any loss incurred as a result of virus infect! > ion or other destructive elements. > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fernando_prates at hotmail.com Wed Dec 10 18:28:17 2003 From: fernando_prates at hotmail.com (Fernando Prates) Date: Wed, 10 Dec 2003 17:28:17 +0000 Subject: host down. Message-ID: An HTML attachment was scrubbed... URL: From Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx Wed Dec 10 18:10:16 2003 From: Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx (Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco) Date: Wed, 10 Dec 2003 11:10:16 -0600 Subject: Statusmap In-Reply-To: References: Message-ID: ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ric at nkn.net Wed Dec 10 19:00:58 2003 From: ric at nkn.net (Ric Moseley) Date: Wed, 10 Dec 2003 12:00:58 -0600 Subject: 18000 services to check and Nagios just sits and waits. In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A03E@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A03E@mismail2.ena.com> Message-ID: <200312101803.MAA57339@mail1.theplanet.com> Excellent info, thanks Marc. I have 4000 hosts/8000 services that I have been fighting. I will play with these settings. Thanks. Ric. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Wednesday, December 10, 2003 9:35 AM To: martin at idefix.net; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] 18000 services to check and Nagios just sits and waits. Congratulations. You have the largest single-host installation of nagios that I have heard of. You haven't given any hard information about how you have nagios configured so we're going to have to make a lot of guesses until you provide specific information. Your host and service check definitions as well as many options in nagios.cfg can have a profound affect on the performance of the program. Here are some suggestions from my personal experience which may or may not be redundant for you: Nagios.cfg - - command_check_interval=-1 (may have no affect in your setup) - max_concurrent_checks=xxx (You should run '/path/to/nagios -s /path/to/nagios.cfg) for a lower estimate on this number. Increasing it will not hurt to a point) - service_reaper_frequency=2 (or 1 if you want, I'd start with 2) - use_agressive_host_checking=0 - aggregate_status_updates=1 - status_update_interval=xxx (I suggest at least 60). This one may actually be getting you. With 18000 services, it's going to take some time to update the status in the db, even if it is in ram. Nagios does a delete of the status tables, then an insert of the new information. If you have the interval set at 30 seconds and the process takes 29 seconds, that's all that nagios will be doing or it will only have 30 seconds to process several hundred or thousand results). - inter_check_delay_method. When using the smart option nagios will try to spread out your checks so that they all fit in your average check interval. If you don't have max_concurrent_checks set high enough or the service_reaper_frequency set low enough to allow this to happen the initial checks can get spread over a significant period of time. Host and service checks - - Use very simple host checks, single pings for example, with no retry or disable host checks entirely. If any service returns a state other than OK, nagios will aggressively check the status of the host and stop doing everything else until max_retries has been reached on the host check. - Use a sane check_interval. Don't expect nagios to be able to complete 18,000 checks at 1 minute intervals. - Your custom plugin should be written in C or if it's perl you should use the ePN. If it's written in perl it can be very expensive without ePN as you need to launch a copy of perl every check as well. - If you're utilizing parenting or service dependencies these may be problematic with large numbers of hosts/services (just guessing). - I'm not a programmer but I don't believe that just because linux understand hyperthreading that a program will take advantage of it. Ulimits - by default, Redhat linux 7.3 only allows a user to have 1024 open files, a stack size of 8192 kbytes and 7168 concurrent processes. You may need to adjust these once you get things going. Presuming that you don't make any significant changes based on the suggestions above, is there anything in nagios.log that might indicate a problem? Have you tried running strace on any of the nagios processes to find out exactly what they are doing? Finally, since you've created your own front end I presume you've realized that nagios pre-2.0 had a hard time with large numbers of hosts and services, particularly for the cgis. 2.0 (will) incorporates several changes that reportedly make working with large numbers of hosts and services better. YMMV though and as far as I know the enhancements mostly benefit the cgis. -- Marc > -----Original Message----- > From: martin at idefix.net [mailto:martin at idefix.net] > Sent: Wednesday, December 10, 2003 3:55 A > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] 18000 services to check and Nagios just sits and > waits. > > Hi all, > > I'm trying to convince Nagios it should perform very aggressively > but somehow it won't work. > When reading the documentation it states everywhere that Nagios > will consume all CPU power you throw at it if you don't take care. > Well, with me it doesn't and I really want it to. > > The situation: > - All our machines send some email to the Nagios server which > we put in files and wrote a plugin to check those files. > > - There are a lot of machines (almost 900) and we want to do a lot > of checks (18000). > > - To make it worse, we forced Nagios to use MySQL for the service_status > and host_status data (as we created our own frontend and use MySQL as > the interface). > > To make sure Nagios will be able to abuse the hardware as much as it can > we threw in a dual xeon 3 GHz machine with 2GB memory and some 15k RPM > SCSI disks. To make it better, Linux understands hyperthreading and > makes it a total of 4 CPU's. > To prevent MySQL to abuse the arraycontroller to much we make the > service_status and host_status tables HEAP so they only use memory. > > I would assume that Nagios would at least try to fork something like > 40 to 100 processes and would consume at least one CPU but it doesn't. > It won't abuse the memory either as there is about 1GB of memory left. > > It only seems to be sitting there with 4 to 6 proccesses and allowing > the latency to go up and up like there's no tomorrow. Or at least there > won't be any checks tomorrow. > > We've tried both the smart Nagios options as the dumb options and > event tried to think ourselves and calculating the right configvalues > but nothing seems to work. >to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 10 19:10:52 2003 From: marc at ena.com (Marc Powell) Date: Wed, 10 Dec 2003 12:10:52 -0600 Subject: host down. Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A045@mismail2.ena.com> To be blunt, send us the pertinent config information. A sample host, service and command definition and the plugin output for a false positive would be a good start. OS, nagios and plugin versions would be useful too. The more information you provide to us the more help we can be. -- Marc ________________________________________ From: Fernando Prates [mailto:fernando_prates at hotmail.com] Sent: Wednesday, December 10, 2003 11:28 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] host down. Hello I have already configured nagios, but it did not work well yet. I say that because all my hosts are for sure alive, but it still send me notifications that my hosts are down. What could I do? Thank you, Fernando Prates ? ________________________________________ MSN Messenger: converse com os seus amigos online. Instale gr?tis. Clique aqui. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tskyers at foxroach.com Wed Dec 10 19:13:40 2003 From: tskyers at foxroach.com (Tory Skyers) Date: Wed, 10 Dec 2003 13:13:40 -0500 Subject: notification problem Message-ID: Again proving the fact that the software is much smarter than its operator :) hehe I figured out what the issue was with notification: Escalations, I screwed up my escalation definition and it was only sending emails out to the group defined in the escalation therefore it never even sent to the standard group. So the software was actually doing what it was told ;-0 Tory Skyers Network Administrator Prudential Fox & Roach 610-993-1327 tskyers at foxroach.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deny at monaco.net Wed Dec 10 21:22:43 2003 From: deny at monaco.net (deny) Date: 10 Dec 2003 21:22:43 +0100 Subject: problem config Message-ID: <1071087763.19582.3.camel@mandrake> good evening its my first installation of nagios my hostname machine is : mandrake nagios is launched as user nagios , group nagios my local ip is 192.168.0.1 and my another machine has 192.168.0.3 i start nagios usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg and i ve this error Nagios 1.1 starting... (PID=19605) Error: Contact group 'nagios' specified in service 'FTP' for host 'mandrake' is not defined anywhere! Error: Contact group 'nagios' specified in service 'PING' for host 'mandrake' is not defined anywhere! Error: Contact group 'nagios' specified in service 'POP3' for host 'mandrake' is not defined anywhere! Error: Contact group 'nagios' specified in service 'SMTP' for host 'mandrake' is not defined anywhere! thanks for your help ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 10 21:28:02 2003 From: marc at ena.com (Marc Powell) Date: Wed, 10 Dec 2003 14:28:02 -0600 Subject: problem config Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A04A@mismail2.ena.com> > -----Original Message----- > From: deny [mailto:deny at monaco.net] > Sent: Wednesday, December 10, 2003 2:23 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] problem config > > good evening > > its my first installation of nagios > my hostname machine is : mandrake > nagios is launched as user nagios , group nagios > my local ip is 192.168.0.1 > and my another machine has 192.168.0.3 > > i start nagios > > usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg > > and i ve this error > > Nagios 1.1 starting... (PID=19605) > Error: Contact group 'nagios' specified in service 'FTP' for host > 'mandrake' is not defined anywhere! > Error: Contact group 'nagios' specified in service 'PING' for host > 'mandrake' is not defined anywhere! > Error: Contact group 'nagios' specified in service 'POP3' for host > 'mandrake' is not defined anywhere! > Error: Contact group 'nagios' specified in service 'SMTP' for host > 'mandrake' is not defined anywhere! Hosts and services reference contact_groups, not contacts. You'll need to create the nagios contact_group and that will contain the nagios user as a member. http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contactgroup -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 10 21:33:18 2003 From: marc at ena.com (Marc Powell) Date: Wed, 10 Dec 2003 14:33:18 -0600 Subject: problem config Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A04B@mismail2.ena.com> > -----Original Message----- > From: Marc Powell > Sent: Wednesday, December 10, 2003 2:28 PM > To: deny; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] problem config > > > > > -----Original Message----- > > From: deny [mailto:deny at monaco.net] > > Nagios 1.1 starting... (PID=19605) > > Error: Contact group 'nagios' specified in service 'FTP' for host > > 'mandrake' is not defined anywhere! > > Error: Contact group 'nagios' specified in service 'PING' for host > > 'mandrake' is not defined anywhere! > > Error: Contact group 'nagios' specified in service 'POP3' for host > > 'mandrake' is not defined anywhere! > > Error: Contact group 'nagios' specified in service 'SMTP' for host > > 'mandrake' is not defined anywhere! > > > Hosts and services reference contact_groups, not contacts. You'll need > to create the nagios contact_group and that will contain the nagios user > as a member. > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contactgroup Sorry to reply to my own post but just to be clear, the nagios user I was referencing is not the linux nagios user but rather the nagios contact - http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact. There is no link between a nagios user and a linux user account. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nitesh at incallusb.com Wed Dec 10 21:37:07 2003 From: nitesh at incallusb.com (Nitesh Divecha) Date: Wed, 10 Dec 2003 12:37:07 -0800 Subject: Missing etc folder Message-ID: <040001c3bf5d$613f54b0$6f5839d0@nitesh> Good Morning, Hello All, I am a new user at Nagios and I am trying my best to install the software. I followed the documentation on how to install nagios... I am using RedHat 9 wit recent kernel. I followed all the steps and got no any errors. But in documentation it says that I should have 5 folders... But for some reason I am missing "etc" folder... Can anyone help me, how to solve this problem... Regards Nitesh -------------- next part -------------- An HTML attachment was scrubbed... URL: From mloftis at wgops.com Wed Dec 10 21:45:23 2003 From: mloftis at wgops.com (Michael Loftis) Date: Wed, 10 Dec 2003 13:45:23 -0700 Subject: Nagios Percent Stats wildly messed up? In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F0141FC@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F0141FC@mismail2.ena.com> Message-ID: <5998671.1071063923@d216-220-25-60.dynip.modwest.com> No just one copy....And I'm not clear on the exact situation in which nagios starts spitting out totally wrong data. --On Sunday, December 07, 2003 23:45 -0600 Marc Powell wrote: > > Do you have multiple copies of nagios running? Intermittent behavior like > this is a symptom. I would be very surprised if a bug of this magnitude > still existed in 1.1. > > -- > Marc > > -----Original Message----- > From: Michael Loftis > To: nagios-users at lists.sourceforge.net > Sent: Sun Dec 07 14:39:55 2003 > Subject: [Nagios-users] Nagios Percent Stats wildly messed up? > > I've been experiencing that nagios trend percentages, especially for the > daily, are almost always wrong. We had a scheduled downtime go across a > 24hr mark because nagios never pulled the service out of scheduled > downtime (even though it was checking it and getting UP/OK results!!!!) > > It even went negative the other day, then I got it fixed by restarting > nagios to get the system out of the scheduled downtime state, stats > corrected, but today they're totally fubar AGAIN. They're recovering but > it's acting like the thing went down for a day again. > > What is up with this? It's nagios v1.1, I'll get more details a little > later but for right now i'm fighting with yet another junk video card from > ATI. > > > > -- > Undocumented Features quote of the moment... > "It's not the one bullet with your name on it that you > have to worry about; it's the twenty thousand-odd rounds > labeled `occupant.'" > --Murphy's Laws of Combat > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null -- GPG/PGP --> 0xE736BD7E 5144 6A2D 977A 6651 DFBE 1462 E351 88B9 E736 BD7E ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deny at monaco.net Wed Dec 10 21:47:23 2003 From: deny at monaco.net (deny) Date: Wed, 10 Dec 2003 21:47:23 +0100 Subject: [Fwd: Re: Missing etc folder] Message-ID: <3FD7865B.2050309@monaco.net> - Nitesh Divecha wrote: > Good Morning, > > Hello All, > > I am a new user at Nagios and I am trying my best to install the software. > I followed the documentation on how to install nagios... I am using > RedHat 9 wit recent kernel. > > I followed all the steps and got no any errors. But in documentation it > says that I should have 5 folders... > But for some reason I am missing "etc" folder... > > Can anyone help me, how to solve this problem... > > i am new too and i ve the same problem i ve reolved by installing the plugins nagios a++ -- http://www.linux-pour-lesnuls.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 10 21:53:39 2003 From: marc at ena.com (Marc Powell) Date: Wed, 10 Dec 2003 14:53:39 -0600 Subject: Missing etc folder Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A04C@mismail2.ena.com> 'make install-config' will install sample config files. -- Marc ________________________________________ From: Nitesh Divecha [mailto:nitesh at incallusb.com] Sent: Wednesday, December 10, 2003 2:37 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Missing etc folder Good Morning, ? Hello All, I am a new user at Nagios and I am trying my best to install the software. I followed the documentation on how to install nagios... I am using RedHat 9 wit recent kernel. I followed all the steps and got no any errors. But in documentation it says that I should have 5 folders... But for some reason I am missing "etc" folder... ? Can anyone help me, how to solve this problem... ? Regards Nitesh ? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Wed Dec 10 22:14:43 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Wed, 10 Dec 2003 16:14:43 -0500 Subject: www.1-vision.com using Nagios... Message-ID: Hi all, I was wondering what you guys where thinking about the product of www.1-vision.com ? It seems to be incorporated with Nagios, nmap, MRTG flavor, etc. So, what do you think? Thanks Alex --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 10 22:32:04 2003 From: marc at ena.com (Marc Powell) Date: Wed, 10 Dec 2003 15:32:04 -0600 Subject: www.1-vision.com using Nagios... Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A04D@mismail2.ena.com> > -----Original Message----- > From: Serveur-Faucon Surveillance [mailto:SrvFaucon at cslaval.qc.ca] > Sent: Wednesday, December 10, 2003 3:15 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] www.1-vision.com using Nagios... > > Hi all, > > I was wondering what you guys where thinking about the product of www.1- > vision.com ? > > It seems to be incorporated with Nagios, nmap, MRTG flavor, etc. > > So, what do you think? I've signed up for an online demo. It looks like they've taken nagios as the core for monitoring and modified it. I wonder if they're respecting the GPL and distributing their modifications. I can't seem to find it on the web site. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Wed Dec 10 23:11:23 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael Huettig) Date: Wed, 10 Dec 2003 23:11:23 +0100 Subject: Removing scheduled downtime Message-ID: <200312102311.23523.Michael.Huettig@Medien-Systempartner.de> Hi all, i set my test-host with its services into fixed scheduled downtime for the rest of this month. But now i'm ready with my work. How to get off this scheduled downtime? I tried another downtime for 2 hours, but this doesn't work. Any suggestions??? -- Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From barbara.schelkle at undp.org Thu Dec 11 00:39:02 2003 From: barbara.schelkle at undp.org (Barbara Schelkle) Date: Wed, 10 Dec 2003 18:39:02 -0500 Subject: nagios: Cannot findELF Message-ID: Hi, I installed nagios the first time and want to validate the configuration. When I run /bin/nagios -v /etc/nagios.cfg I get the follwing error: nagios: Cannot findELF Killed Any help on this? Platform is Solaris 2.8. Thank you, Barbara ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.johnston at kirtland.af.mil Thu Dec 11 01:21:52 2003 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Thu, 11 Dec 2003 00:21:52 -0000 Subject: Trends not accurate Message-ID: <200312110021.hBB0LUcd012869@knockout.kirtland.af.mil> I was looking at the trends for some of my hosts today and noticed that when I wanted to look at the this weeks trends, there are none. I can see trends from November 21 to 29th on any client I'm monitoring, but it seems to have just stopped keeping track of machines past that date. Is this a setting somewhere that I may have turned off by mistake? Thanks! ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjarvis at portal.com Thu Dec 11 01:34:45 2003 From: cjarvis at portal.com (Chris Jarvis) Date: Wed, 10 Dec 2003 16:34:45 -0800 Subject: Problem with extended service info Message-ID: Andy, I got some feedback from the Apan mailing list. There is a compiler option to enable this feature. When you run ./configure you need to include --with-default-extinfo option. I am running the Nagios RPM compiled by Dag Wiers and have not confirmed if this option was set when the package was built. Did you compile you version or are you using the RPM? Regards, Chris. -----Original Message----- From: Andy Riedel [mailto:ariedel at atlas-mobile.com] Sent: Monday, December 08, 2003 6:58 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Problem with extended service info Has anyone been able to get this working? I'm having the same problem as Chris. No matter what I do, I cannot get service icons to appear. I've followed all the guidelines for APAN as well to get the graph service icons to appear with no luck as well. I have confirmed existence of images and proper permissions for all. Andy Riedel CTO Atlas Mobile, Inc. "Chris Jarvis" wrote in message news:B8AF96534149164F9B6FEF5280B2C7AF02613C at CUP1-EXBE1.portal.com... Hello, I am having a problem getting extended service graph icon to show up on the status page. I have configured the cgi.cfg to use extendedservice info file and I do not have it configured to use database. xedtemplate_config_file=/etc/nagios/hostextinfo.cfg xedtemplate_config_file=/etc/nagios/serviceextinfo.cfg I have configured the extended service file as follows. serviceextinfo{ host_name cup1-dc1 service_description Disk-usage notes_url http://nagios/nagios/cgi-bin/apan.cgi?host=cup1-dc1&service=Disk-usage icon_image graph.png icon_image_alt View graphs } The graph icon is in the logos subdirectory, but won't show up on the status page? I have restarted Nagios numerous times. I am running Nagios 1.1 on RH 9 with plugins-1.3.1-5. Any advide would be greatly appreciated. Thank you. Chris Jarvis Network Engineer Portal Software ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DanielJ at avatar-cs.net Thu Dec 11 02:59:42 2003 From: DanielJ at avatar-cs.net (Daniel Jimenez) Date: Wed, 10 Dec 2003 19:59:42 -0600 Subject: Plugin to check TN3270E Connections Message-ID: <115F85A8196CD411BBAB0008C7590661820DE4@FS01> I would also like to know of a check plugin for this... -----Original Message----- From: Adams, Gavin [mailto:gadams at promisant.com] Sent: Wednesday, December 10, 2003 7:35 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plugin to check TN3270E Connections Good day all, Has anyone created a plugin or process for gracefully checking connectivity to a mainframe servicing TN3270E sessions? I can telnet to the port in question (5053), but the mainframe admins are showing errors in their log files from the disconnects. I guess I could tcpdump an actual session and create an expect script, but thought I'd see if anyone else has already done this. Regards, --- Gavin Adams Promisant (Technology) Ltd. Atlanta, GA ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Dec 11 03:30:38 2003 From: jhmartin at toger.us (Jason Martin) Date: Wed, 10 Dec 2003 18:30:38 -0800 (PST) Subject: www.1-vision.com using Nagios... In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A04D@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A04D@mismail2.ena.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 My understanding is that they are only required to distribute the modifications to those who get the product itself, nor are they required to give away their product for free. (IANAL) http://www.gnu.org/licenses/gpl-faq.html#TOCGPLRequireSourcePostedPublic - -Jason Martin On Wed, 10 Dec 2003, Marc Powell wrote: > > > > -----Original Message----- > > From: Serveur-Faucon Surveillance [mailto:SrvFaucon at cslaval.qc.ca] > > Sent: Wednesday, December 10, 2003 3:15 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] www.1-vision.com using Nagios... > > > > Hi all, > > > > I was wondering what you guys where thinking about the product of > www.1- > > vision.com ? > > > > It seems to be incorporated with Nagios, nmap, MRTG flavor, etc. > > > > So, what do you think? > > I've signed up for an online demo. It looks like they've taken nagios as > the core for monitoring and modified it. I wonder if they're respecting > the GPL and distributing their modifications. I can't seem to find it on > the web site. > > -- > Marc > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/19bSl2ODWuqVSBMRAiSYAJ49Z0KVA4q8P332WBhVEkWOcNo6/ACgiAxS grS7cWB4Av0lJvqGuK2xYqs= =yZzd -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pwebster at ausgeo.com.au Thu Dec 11 04:25:09 2003 From: pwebster at ausgeo.com.au (Patrick Webster) Date: Thu, 11 Dec 2003 14:25:09 +1100 Subject: missing: statusmap.cgi Message-ID: <52B61873A3467540AF8D4C08BA3AE52A42D7D0@ags01.ausgeo.com.au> I am missing statusmap.cgi, trends.cgi and also histogram.cgi. Sounds like it may be a bug of some sort..? -----Original Message----- From: Deniz Hepsen [mailto:deniz.hepsen at disbank.com.tr] Sent: Wednesday, 10 December 2003 22:24 To: Patrick Webster Subject: RE: [Nagios-users] missing: statusmap.cgi Hi, I don't have statusmap.cgi as well. Could you tell if u have trends.cgi? If not we have the same problem... --DH -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Patrick Webster Sent: Wednesday, December 10, 2003 6:38 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] missing: statusmap.cgi >I suspect you may be missing some of the GD or zlib >components. >When you ran ./configure, did you notice if it >complained about not having the GD libraries or >similar? Looking through the configure.log may give >you some hints. Nope - no errors. I recompiled it and still don't have the cgi's - only the initial .c file for statusmap...? -Patrick ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chuck at sbbsnet.net Thu Dec 11 04:36:27 2003 From: chuck at sbbsnet.net (Chuck) Date: Wed, 10 Dec 2003 22:36:27 -0500 Subject: missing: statusmap.cgi In-Reply-To: <52B61873A3467540AF8D4C08BA3AE52A42D7D0@ags01.ausgeo.com.au> References: <52B61873A3467540AF8D4C08BA3AE52A42D7D0@ags01.ausgeo.com.au> Message-ID: <200312102236.27783.chuck@sbbsnet.net> On Wednesday 10 December 2003 10:25 pm, Patrick Webster wrote: I had the same problem, only configure couldn't find gdlibs. Once I got that fixed by installing the png-devel, jpeg-devel, gd-devel, it still could not find them and did not compile the items you mentioned. Finally I read the instructions a bit closer. Once I did a make clean, then configure and make all and make install, it made them properly and it all worked. Without the make clean it will always remember the previous configuration errors. As far as I can determine, the only reason it will not make the statusmap, trends or histogram is when it cannot find proper headers and libs for the graphics libraries. Be sure that gdlib, gd-devel, libjpeg, jpeg-devel, libpng, png-devel are installed and the lib directories are in /etc/ld.so.conf and that you have run ldconfig after the lib installations. Then make clean and make all and make install and it should go nicely. > I am missing statusmap.cgi, trends.cgi and also histogram.cgi. > > Sounds like it may be a bug of some sort..? > > -----Original Message----- > From: Deniz Hepsen [mailto:deniz.hepsen at disbank.com.tr] > Sent: Wednesday, 10 December 2003 22:24 > To: Patrick Webster > Subject: RE: [Nagios-users] missing: statusmap.cgi > > > Hi, > > I don't have statusmap.cgi as well. Could you tell if u have trends.cgi? > If > not we have the same problem... > > --DH > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Patrick > Webster > Sent: Wednesday, December 10, 2003 6:38 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] missing: statusmap.cgi > > >I suspect you may be missing some of the GD or zlib > >components. > > > >When you ran ./configure, did you notice if it > >complained about not having the GD libraries or > >similar? Looking through the configure.log may give > >you some hints. > > Nope - no errors. I recompiled it and still don't have the cgi's - only > the initial .c file for statusmap...? > > -Patrick > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Chuck "...and the hordes of M$*ft users descended upon me in their anger, and asked 'Why do you not get the viruses or the BlueScreensOfDeath or insecure system troubles and slowness or pay through the nose for an OS as *we* do?!!', and I answered...'I use Linux'. " The Book of John, chapter 1, page 1, and end of book ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chuck at sbbsnet.net Thu Dec 11 04:38:54 2003 From: chuck at sbbsnet.net (Chuck) Date: Wed, 10 Dec 2003 22:38:54 -0500 Subject: missing: statusmap.cgi In-Reply-To: <52B61873A3467540AF8D4C08BA3AE52A42D7D0@ags01.ausgeo.com.au> References: <52B61873A3467540AF8D4C08BA3AE52A42D7D0@ags01.ausgeo.com.au> Message-ID: <200312102238.54290.chuck@sbbsnet.net> On Wednesday 10 December 2003 10:25 pm, Patrick Webster wrote: Run ldconfig -v > check.txt then edit check.txt and look for the libraries I mentioned in my previous msg. If they are not listed, the libraries are not installed properly or the dir is missing from ld.so.conf. > I am missing statusmap.cgi, trends.cgi and also histogram.cgi. > > Sounds like it may be a bug of some sort..? > > -----Original Message----- > From: Deniz Hepsen [mailto:deniz.hepsen at disbank.com.tr] > Sent: Wednesday, 10 December 2003 22:24 > To: Patrick Webster > Subject: RE: [Nagios-users] missing: statusmap.cgi > > > Hi, > > I don't have statusmap.cgi as well. Could you tell if u have trends.cgi? > If > not we have the same problem... > > --DH > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Patrick > Webster > Sent: Wednesday, December 10, 2003 6:38 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] missing: statusmap.cgi > > >I suspect you may be missing some of the GD or zlib > >components. > > > >When you ran ./configure, did you notice if it > >complained about not having the GD libraries or > >similar? Looking through the configure.log may give > >you some hints. > > Nope - no errors. I recompiled it and still don't have the cgi's - only > the initial .c file for statusmap...? > > -Patrick > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Chuck "...and the hordes of M$*ft users descended upon me in their anger, and asked 'Why do you not get the viruses or the BlueScreensOfDeath or insecure system troubles and slowness or pay through the nose for an OS as *we* do?!!', and I answered...'I use Linux'. " The Book of John, chapter 1, page 1, and end of book ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From surya at divre1.telkom.co.id Thu Dec 11 04:45:41 2003 From: surya at divre1.telkom.co.id (Surya Rahmadiansyah) Date: Thu, 11 Dec 2003 10:45:41 +0700 Subject: Cannot Login Message-ID: <5.1.0.14.2.20031211102613.00bc6b18@10.16.3.240> Hi all .. I use Redhat 9 and nagios rpm installation from dag wieers and running well. I've create user with command htpasswd -c /etc/nagios/htpasswd.users nagiosadmin and other users. I've configure http.conf to use cgi auth too, create .htaccess in directory /usr/share/nagios and /usr/lib/nagios/cgi/ . But I can't login to open page with correct user (etc. nagiosadmin). It's seems incorrect user/password. Anyone can help? One question more, what's md5 purpose? Regards, Surya Rahmadiansyah Network Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: From ariedel at atlas-mobile.com Thu Dec 11 04:50:43 2003 From: ariedel at atlas-mobile.com (Andy Riedel) Date: Wed, 10 Dec 2003 19:50:43 -0800 Subject: Problem with extended service info In-Reply-To: References: Message-ID: <001001c3bf99$f3799980$6600a8c0@Fortaleza> I have been building my own version 1.1. When compiled with this option, neither the host icons nor the service icons appear. Without this option, the host icons appear but not the service icons. Andy > -----Original Message----- > From: Chris Jarvis [mailto:cjarvis at portal.com] > Sent: Wednesday, December 10, 2003 4:35 PM > To: 'Andy Riedel'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Re: Problem with extended service info > > Andy, > > I got some feedback from the Apan mailing list. There is a compiler > option > to enable this feature. When you run ./configure you need to include > --with-default-extinfo option. I am running the Nagios RPM compiled by > Dag > Wiers and have not confirmed if this option was set when the package was > built. > > Did you compile you version or are you using the RPM? > > Regards, > > Chris. > > -----Original Message----- > From: Andy Riedel [mailto:ariedel at atlas-mobile.com] > Sent: Monday, December 08, 2003 6:58 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Problem with extended service info > > Has anyone been able to get this working? I'm having the same problem as > Chris. No matter what I do, I cannot get service icons to appear. I've > followed all the guidelines for APAN as well to get the graph service > icons > to appear with no luck as well. > > I have confirmed existence of images and proper permissions for all. > > Andy Riedel > CTO > Atlas Mobile, Inc. > > "Chris Jarvis" wrote in message > news:B8AF96534149164F9B6FEF5280B2C7AF02613C at CUP1-EXBE1.portal.com... > Hello, > > I am having a problem getting extended service graph icon to show up on > the > status page. I have configured the cgi.cfg to use extendedservice info > file > and I do not have it configured to use database. > > xedtemplate_config_file=/etc/nagios/hostextinfo.cfg > xedtemplate_config_file=/etc/nagios/serviceextinfo.cfg > > I have configured the extended service file as follows. > > serviceextinfo{ > host_name cup1-dc1 > service_description Disk-usage > notes_url > http://nagios/nagios/cgi-bin/apan.cgi?host=cup1-dc1&service=Disk-usage > icon_image graph.png > icon_image_alt View graphs > } > > The graph icon is in the logos subdirectory, but won't show up on the > status > page? I have restarted Nagios numerous times. > > I am running Nagios 1.1 on RH 9 with plugins-1.3.1-5. > > Any advide would be greatly appreciated. > > Thank you. > > Chris Jarvis > Network Engineer > Portal Software > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdiehl at rogueind.com Thu Dec 11 05:01:09 2003 From: tdiehl at rogueind.com (Tom Diehl) Date: Wed, 10 Dec 2003 23:01:09 -0500 (EST) Subject: Cannot Login In-Reply-To: <5.1.0.14.2.20031211102613.00bc6b18@10.16.3.240> References: <5.1.0.14.2.20031211102613.00bc6b18@10.16.3.240> Message-ID: On Thu, 11 Dec 2003, Surya Rahmadiansyah wrote: > Hi all .. > > I use Redhat 9 and nagios rpm installation from dag wieers and running well. > > I've create user with command htpasswd -c /etc/nagios/htpasswd.users > nagiosadmin and other users. I've configure http.conf to use cgi auth too, > create .htaccess in directory /usr/share/nagios and /usr/lib/nagios/cgi/ . > But I can't login to open page with correct user (etc. nagiosadmin). It's > seems incorrect user/password. Anyone can help? What is in the logs?? > One question more, what's md5 purpose? Basically, to check to see if a file is intact. ........Tom ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From surya at divre1.telkom.co.id Thu Dec 11 05:32:07 2003 From: surya at divre1.telkom.co.id (Surya Rahmadiansyah) Date: Thu, 11 Dec 2003 11:32:07 +0700 Subject: Cannot Login In-Reply-To: References: <5.1.0.14.2.20031211102613.00bc6b18@10.16.3.240> <5.1.0.14.2.20031211102613.00bc6b18@10.16.3.240> Message-ID: <5.1.0.14.2.20031211112856.01bafea0@10.16.3.240> At 11:01 PM 12/10/2003 -0500, Tom Diehl wrote: >On Thu, 11 Dec 2003, Surya Rahmadiansyah wrote: > > > Hi all .. > > > > I use Redhat 9 and nagios rpm installation from dag wieers and running > well. > > > > I've create user with command htpasswd -c /etc/nagios/htpasswd.users > > nagiosadmin and other users. I've configure http.conf to use cgi auth > too, > > create .htaccess in directory /usr/share/nagios and /usr/lib/nagios/cgi/ . > > But I can't login to open page with correct user (etc. nagiosadmin). It's > > seems incorrect user/password. Anyone can help? > >What is in the logs?? > > > One question more, what's md5 purpose? > >Basically, to check to see if a file is intact. > >.......Tom I've found the problem en fixed. The htpasswd.users is root permission. I change with chmod +r, and authentication is works. Thanks for reply this message ... Surya Rahmadiansyah network engineer ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Dec 11 05:37:49 2003 From: jhmartin at toger.us (Jason Martin) Date: Wed, 10 Dec 2003 20:37:49 -0800 (PST) Subject: Cannot Login In-Reply-To: References: <5.1.0.14.2.20031211102613.00bc6b18@10.16.3.240> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 MD5's purpose in the htpasswd file is to make it much harder for someone to be able to take the file and crack the passwords. - -Jason Martin On Wed, 10 Dec 2003, Tom Diehl wrote: > On Thu, 11 Dec 2003, Surya Rahmadiansyah wrote: > > > Hi all .. > > > > I use Redhat 9 and nagios rpm installation from dag wieers and running well. > > > > I've create user with command htpasswd -c /etc/nagios/htpasswd.users > > nagiosadmin and other users. I've configure http.conf to use cgi auth too, > > create .htaccess in directory /usr/share/nagios and /usr/lib/nagios/cgi/ . > > But I can't login to open page with correct user (etc. nagiosadmin). It's > > seems incorrect user/password. Anyone can help? > > What is in the logs?? > > > One question more, what's md5 purpose? > > Basically, to check to see if a file is intact. > > ........Tom > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/1/Sjl2ODWuqVSBMRAiK4AJ98azItXrJlu8jaxbrnZyd6KiXebQCcCUxM qJ4BF22eEOt/Z17NCSaOKQM= =GZxs -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdiehl at rogueind.com Thu Dec 11 05:55:31 2003 From: tdiehl at rogueind.com (Tom Diehl) Date: Wed, 10 Dec 2003 23:55:31 -0500 (EST) Subject: Cannot Login In-Reply-To: References: <5.1.0.14.2.20031211102613.00bc6b18@10.16.3.240> Message-ID: On Wed, 10 Dec 2003, Jason Martin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > MD5's purpose in the htpasswd file is to make it much harder for someone > to be able to take the file and crack the passwords. Yes, you are correct. I was not thinking about md5 in a passwd. I was thinking about an md5sum. .......Tom ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Thu Dec 11 06:26:31 2003 From: teng at dataway.com (Tedman Eng) Date: Wed, 10 Dec 2003 21:26:31 -0800 Subject: nagios: Cannot findELF References: Message-ID: Try moving the SUN strip command to be used instead of GNU's strip, then compile/install again. mv /usr/local/bin/strip /usr/local/bin/~strip cp /usr/ccs/bin/strip /usr/local/bin/strip "Barbara Schelkle" wrote in message news:EAEFKKDKOKLBGOBEFCNIOEMCCEAA.barbara.schelkle at undp.org... > > Hi, > > I installed nagios the first time and want to validate the > configuration. When I run > /bin/nagios -v /etc/nagios.cfg > I get the follwing error: > nagios: Cannot findELF > Killed > > Any help on this? Platform is Solaris 2.8. > Thank you, > Barbara > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Thu Dec 11 07:11:21 2003 From: noah at mac.com (Noah Leaman) Date: Wed, 10 Dec 2003 22:11:21 -0800 Subject: Using HTML Tags In External Commands Message-ID: I'm a little puzzled... I'm sending external process_service_check_result commands that contain a good amount of output text/html in them and I'm having a problem where the output is getting truncated. This example copied from nagios.log shows this happening: [1071121845] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;orion;SNMP Trap;1;ATM4/0/0.12-aal5 layer (10.0.1.5) status is CRITICAL - ATM PVC to Site 1 (22M)
ATM4/0/0.13-aal5 layer (10.0.1.13) status is OK - ATM PVC to Site 2 (22M)
GigabitEthernet1/0/0 (10.10.33.234) status is OK - LAN Connection to VLAN 111
GigabitEthernet10/0/0 (10.10.36.50) status is OK - LAN Connection to VLAN 222
GigabitEthernet2/0/0 (10.10.34.234) status is OK - LAN connection to VLAN 333
GigabitEthernet9/0/0 (10.10.35.50) status is OK - LAN Connection to VLAN 444
Loopback0 (10.1.40.10) status is OK
[1071121855] SERVICE ALERT: orion;SNMP Trap;WARNING;HARD;3;ATM4/0/0.12-aal5 layer (10.0.1.5) status is CRITICAL - ATM PVC to Site 1 (22M)
ATM4/0/0.13-aal5 layer (10.0.1.13) status is OK - ATM PVC to Site 2 (22M)
GigabitEthernet1/0/0 (10.10.33.234) status is OK - LAN Connection to VLAN 111
GigabitEthernet10/0/0 (10.10.36.50) status is OK - LAN Connection to VLAN 222
GigabitEthernet2/0/0 (10.10.3 The EXTERNAL COMMAND log entry contains all the text but when it gets displayed in the CGI, it's truncated as shown in the SERVICE ALERT log entry. I cannot track it down to a specific number of characters nor am I sending any odd control characters of any sort, but obviously something is happening here... O.K., looking into it a little more, the
tags are the culprit. Sending the output with no
tags I can send large amounts of output, the question now is what the actual problem is with respect to the HTML tags. I am only using
to wrap each line so it's readable. Should I be doing it another way? Is there a limitation on what HTML can be in the output? I am already using tags that link to our ticketing system in the comments sections with no problems yet (this is done with external commands too). Anyone have the same problem or have any advise on this? -- Noah ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deniz.hepsen at disbank.com.tr Thu Dec 11 07:19:43 2003 From: deniz.hepsen at disbank.com.tr (Deniz Hepsen) Date: Thu, 11 Dec 2003 08:19:43 +0200 Subject: missing: statusmap.cgi In-Reply-To: <7316155488F50F4A82CC2FBA077652151B2E9A8A@exchdis02.disbank.com.tr> References: <7316155488F50F4A82CC2FBA077652151B2E9A8A@exchdis02.disbank.com.tr> Message-ID: <7316155488F50F4A82CC2FBA07765215189211EB@exchdis02.disbank.com.tr> Do you have libpng, libjpeg and zlib libraries? Because in http://www.nagios.org/faqs/viewfaq.php?faq_id=55 Says that they can be required.. I have libpng and zlib but no libjpeg. I guess that's the reason.. -----Original Message----- From: Patrick Webster [mailto:pwebster at ausgeo.com.au] Sent: Thursday, December 11, 2003 1:15 AM To: Deniz Hep?en (BS SNYB); nagios-users-admin at lists.sourceforge.net Subject: RE: [Nagios-users] missing: statusmap.cgi I am missing statusmap.cgi, trends.cgi and also histogram.cgi. Sounds like it may be a bug of some sort..? Bu e-posta,isim,faks ve telefon numarasi yukarida belirtilmi? olan muhataba ait ?ZEL ve GIZLI HATTA YASAK BILGILERI ihtiva edebilir. Eger muhatab ve/veya muhatabin dagitimla g?revlendirdigi ki?i degil iseniz, l?tfen bu bilgileri kullanmayiniz ve hi? bir surette, hi? bir kimseye a?iklamayiniz ve bilgisayarinizdan siliniz. Bu e-posta hataen elinize ge?mi? olursa bizi l?tfen derhal arayiniz. Elektronik mesajlar bozulmaya, ele ge?irilmeye veya izinsiz olarak degi?tirilmeye a?ik ortamlar olduklari i?in mesaj ?zerinde yapilmi? herhangi bir degi?iklik veya sonu?lari ?zerinde sorumluluk kabul etmeyecegimizi bildiririz. Bu konu ile ilgili yaptiginiz masraflar size ?denecektir. Uyumlu davrani?iniza te?ekk?r ederiz. This email message may contain CONFIDENTIAL PRIVATE EVEN PROHIBITED information intended exclusively for the addressee. If you are not the addressee or a person responsible for delivering the message to the addressee, please do not make any use of it nor disclose any of its contents to anyone. Should have received this facsimile message by mistake please notify us immediately by telephone and delete it from your computer. Emails being susceptible to corruption, interception and unauthorised amendment, we do not accept liability for any such changes, or for their consequences and we maintain the right to take legal action where necessary. All your related expenses will be reimbursed. Thank you very much for your compliance in this matter. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From talm99 at hotmail.com Thu Dec 11 08:01:44 2003 From: talm99 at hotmail.com (Tal M) Date: Thu, 11 Dec 2003 02:01:44 -0500 Subject: Nrpe plugin problem ? CRC32 Message-ID: Hi, After playing around with the scripts I found that the nrpe support only sh shell and not ksh or bash shell. Now it is working fine. Tal. _________________________________________________________________ Wonder if the latest virus has gotten to your computer? Find out. Run the FREE McAfee online computer scan! http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deny at monaco.net Thu Dec 11 08:18:31 2003 From: deny at monaco.net (deny) Date: Thu, 11 Dec 2003 08:18:31 +0100 Subject: problem config In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A04A@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A04A@mismail2.ena.com> Message-ID: <3FD81A47.9090901@monaco.net> > > Hosts and services reference contact_groups, not contacts. You'll need > to create the nagios contact_group and that will contain the nagios user > as a member. > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contactgroup > > -- thanks ,that works i ve another probleme nagios is launching and when i check Service Status Details For All Hosts Entries sorted by service name (ascending) i get It appears as though you do not have permission to view information for any of the services you requested... my apache server is launched with group nobody ,user nobody thanks ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gert.lindstrom at brevik.nu Thu Dec 11 10:28:10 2003 From: gert.lindstrom at brevik.nu (Gert Lindstrom) Date: Thu, 11 Dec 2003 10:28:10 +0100 Subject: Distributed monitoring Message-ID: <001201c3bfc9$17f41630$140c140a@corp.intentia.net> Hello Group. Hope I can get some advice here. I have been trying to set up distributed monitoring but i dosent work :-( I have on one machine set up one host and one service for that one, just a simple ping. Put the submit_check_result script under ...libexec/eventhandlers and made a entry in checkcommands.cfg for it. Also installed the ncsa send program on that machine. obsess_over_services=1 ocsp_command=submit_check_result On the master nagios i have set up the host and the ping service. Have also started the other ncsa program here. There must be something that im missing, cant figure it out. If i take my host down i dont receive any alarm ? How can i check that the two servers are talking "nagios" with each other ? Regards Gert -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ton.Voon at egg.com Thu Dec 11 10:31:43 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Thu, 11 Dec 2003 09:31:43 -0000 Subject: Check_https Message-ID: Eddy, Can you try the 1.4alpha release. Looks like you are using HP-UX - I think there are some difficulties with this OS which we'd like to sort out. Ton > -----Original Message----- > From: Eddy [mailto:c.eduardo at estacio.br] > Sent: Monday, December 08, 2003 1:39 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check_https > > > Hello > i need a hard help!! When i type make all receive this message!! > > Making all in plugins > /tmp/plugins/nagios-plugins-1.3.1/plugins > make all-am > -r libsnprintf.a snprintf.o > Make: Cannot load -r. Stop. > *** Error exit code 1 > > Any can help me about this!!! > > Alo! pessoal quem pode me ajudar? n?o consigo compilar este > nagios para > checar https ...!!! Algu?m teria ele pra me enviar??? eu uso > UNIX - HPUX This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ouba at ouba.org Thu Dec 11 11:16:12 2003 From: ouba at ouba.org (Denis Sacchet) Date: Thu, 11 Dec 2003 11:16:12 +0100 Subject: Nagios Percent Stats wildly messed up? Message-ID: <20031211101612.GA10228@ouba.org> I see the same behaviour in different installation and under different situation ... There are some posts on the subject and no clear explication ... I currently audited the code but it is very fastidious ... It seems that when a service goes critical in hard state (two or more consecutive critical check), then the host goes down then up, if the next service check is critical, this one cause an entry of type soft state into the nagios.log file and then when the service goes ok, this is consider as a "soft recovery" and marked as soft into the nagios.log file. So the service is in hard state (because of soft recovery) but the last critical state recorded is an critical state ... cqfd ... You seem to have this behaviour periodically, I would be interested by a copy of your nagios.log file and your config file if possible. I would help me into my audit :) I ask for people who experiment same behaviour in order to see if it is really a bug or a misconfiguration ... Cordially Denis Sacchet On mer, d?c 10, 2003 at 01:45:23 -0700, Michael Loftis wrote: > No just one copy....And I'm not clear on the exact situation in which > nagios starts spitting out totally wrong data. > > --On Sunday, December 07, 2003 23:45 -0600 Marc Powell wrote: > > > > >Do you have multiple copies of nagios running? Intermittent behavior like > >this is a symptom. I would be very surprised if a bug of this magnitude > >still existed in 1.1. > > > >-- > >Marc > > > >-----Original Message----- > >From: Michael Loftis > >To: nagios-users at lists.sourceforge.net > > Sent: Sun Dec 07 14:39:55 2003 > >Subject: [Nagios-users] Nagios Percent Stats wildly messed up? > > > >I've been experiencing that nagios trend percentages, especially for the > >daily, are almost always wrong. We had a scheduled downtime go across a > >24hr mark because nagios never pulled the service out of scheduled > >downtime (even though it was checking it and getting UP/OK results!!!!) > > > >It even went negative the other day, then I got it fixed by restarting > >nagios to get the system out of the scheduled downtime state, stats > >corrected, but today they're totally fubar AGAIN. They're recovering but > >it's acting like the thing went down for a day again. > > > >What is up with this? It's nagios v1.1, I'll get more details a little > >later but for right now i'm fighting with yet another junk video card from > >ATI. > > > > > > > >-- > >Undocumented Features quote of the moment... > >"It's not the one bullet with your name on it that you > >have to worry about; it's the twenty thousand-odd rounds > >labeled `occupant.'" > > --Murphy's Laws of Combat ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ouba at ouba.org Thu Dec 11 11:22:58 2003 From: ouba at ouba.org (Denis Sacchet) Date: Thu, 11 Dec 2003 11:22:58 +0100 Subject: Performances issues Message-ID: <20031211102258.GB10228@ouba.org> Hi everybody, I actually have a problem with a running 1.0 installation. I monitor 10 hosts with a total of 27 services. Nagios report very bad response time (typically over 100 ms for a check_smtp) and when I do the same command directly in CLI, I got very good response time (typically 4 ms, this is a local lan). The machine is not load a lot (between 0.1 and 0.6 typically), the configuration of max_concurrent_check, intercheck, etc ... match the nagios -s recommendation (3). I renice the nagios process to 15 to see if it is a problem of priority, but no way ... Has someone saw the same behaviour ? Has someone a solution ? I can provide more detailed informations ... Cordially -- Denis Sacchet aka. Ouba ("`-/")_.-'"``-._ . . `; -._ )-;-,_`) "Computers are like air conditionners (v_,)' _ )`-.\ ``-' They stop working properly when you _.- _..-_/ / ((.' open Windows !!!" ((,.-' ((,/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From surya at divre1.telkom.co.id Thu Dec 11 09:12:39 2003 From: surya at divre1.telkom.co.id (Surya Rahmadiansyah) Date: Thu, 11 Dec 2003 15:12:39 +0700 Subject: 18000 services to check and Nagios just sits and waits. In-Reply-To: <200312101803.MAA57339@mail1.theplanet.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A03E@mismail2.ena.com> <200312101803.MAA57339@mail1.theplanet.com> Message-ID: <5.1.0.14.2.20031211150202.00b8a3e0@10.16.3.240> Hi, Martin I would like to know, are you running nagios to monitor 900 hosts in one map? Is there possible to make several map (status.cgi) with one nagios process? Thanks -- Surya Rahmadiasnyah At 12:00 PM 12/10/2003 -0600, Ric Moseley wrote: >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell >Sent: Wednesday, December 10, 2003 9:35 AM >To: martin at idefix.net; nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] 18000 services to check and Nagios just sits and >waits. > >Congratulations. You have the largest single-host installation of nagios >that I have heard of. You haven't given any hard information about how >you have nagios configured so we're going to have to make a lot of >guesses until you provide specific information. Your host and service >check definitions as well as many options in nagios.cfg can have a >profound affect on the performance of the program. Here are some >suggestions from my personal experience which may or may not be >redundant for you: > >Nagios.cfg - > - command_check_interval=-1 (may have no affect in your setup) > - max_concurrent_checks=xxx (You should run '/path/to/nagios -s >/path/to/nagios.cfg) for a lower estimate on this number. Increasing it >will not hurt to a point) > - service_reaper_frequency=2 (or 1 if you want, I'd start with >2) > - use_agressive_host_checking=0 > - aggregate_status_updates=1 > - status_update_interval=xxx (I suggest at least 60). This one >may actually be getting you. With 18000 services, it's going to take >some time to update the status in the db, even if it is in ram. Nagios >does a delete of the status tables, then an insert of the new >information. If you have the interval set at 30 seconds and the process >takes 29 seconds, that's all that nagios will be doing or it will only >have 30 seconds to process several hundred or thousand results). > - inter_check_delay_method. When using the smart option nagios >will try to spread out your checks so that they all fit in your average >check interval. If you don't have max_concurrent_checks set high enough >or the service_reaper_frequency set low enough to allow this to happen >the initial checks can get spread over a significant period of time. > >Host and service checks - > - Use very simple host checks, single pings for example, with no >retry or disable host checks entirely. If any service returns a state >other than OK, nagios will aggressively check the status of the host and >stop doing everything else until max_retries has been reached on the >host check. > - Use a sane check_interval. Don't expect nagios to be able to >complete 18,000 checks at 1 minute intervals. > - Your custom plugin should be written in C or if it's perl you >should use the ePN. If it's written in perl it can be very expensive >without ePN as you need to launch a copy of perl every check as well. > - If you're utilizing parenting or service dependencies these >may be problematic with large numbers of hosts/services (just guessing). > - I'm not a programmer but I don't believe that just because >linux understand hyperthreading that a program will take advantage of >it. > >Ulimits - by default, Redhat linux 7.3 only allows a user to have 1024 >open files, a stack size of 8192 kbytes and 7168 concurrent processes. >You may need to adjust these once you get things going. > >Presuming that you don't make any significant changes based on the >suggestions above, is there anything in nagios.log that might indicate a >problem? Have you tried running strace on any of the nagios processes to >find out exactly what they are doing? > >Finally, since you've created your own front end I presume you've >realized that nagios pre-2.0 had a hard time with large numbers of hosts >and services, particularly for the cgis. 2.0 (will) incorporates several >changes that reportedly make working with large numbers of hosts and >services better. YMMV though and as far as I know the enhancements >mostly benefit the cgis. > >-- >Marc > > > -----Original Message----- > > From: martin at idefix.net [mailto:martin at idefix.net] > > Sent: Wednesday, December 10, 2003 3:55 A > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] 18000 services to check and Nagios just sits >and > > waits. > > > > Hi all, > > > > I'm trying to convince Nagios it should perform very aggressively > > but somehow it won't work. > > When reading the documentation it states everywhere that Nagios > > will consume all CPU power you throw at it if you don't take care. > > Well, with me it doesn't and I really want it to. > > > > The situation: > > - All our machines send some email to the Nagios server which > > we put in files and wrote a plugin to check those files. > > > > - There are a lot of machines (almost 900) and we want to do a lot > > of checks (18000). > > > > - To make it worse, we forced Nagios to use MySQL for the >service_status > > and host_status data (as we created our own frontend and use MySQL >as > > the interface). > > > > To make sure Nagios will be able to abuse the hardware as much as it >can > > we threw in a dual xeon 3 GHz machine with 2GB memory and some 15k RPM > > SCSI disks. To make it better, Linux understands hyperthreading and > > makes it a total of 4 CPU's. > > To prevent MySQL to abuse the arraycontroller to much we make the > > service_status and host_status tables HEAP so they only use memory. > > > > I would assume that Nagios would at least try to fork something like > > 40 to 100 processes and would consume at least one CPU but it doesn't. > > It won't abuse the memory either as there is about 1GB of memory left. > > > > It only seems to be sitting there with 4 to 6 proccesses and allowing > > the latency to go up and up like there's no tomorrow. Or at least >there > > won't be any checks tomorrow. > > > > We've tried both the smart Nagios options as the dumb options and > > event tried to think ourselves and calculating the right configvalues > > but nothing seems to work. > >to /dev/null > > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >Does SourceForge.net help you be more productive? Does it >help you create better code? SHARE THE LOVE, and help us help >YOU! Click Here: http://sourceforge.net/donate/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting >any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >Does SourceForge.net help you be more productive? Does it >help you create better code? SHARE THE LOVE, and help us help >YOU! Click Here: http://sourceforge.net/donate/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephen.patterson at cjgarland.com Thu Dec 11 13:39:13 2003 From: stephen.patterson at cjgarland.com (Stephen Patterson) Date: Thu, 11 Dec 2003 13:39:13 +0100 Subject: CGI Authoristaion problem (and yes I have read the FAQ) In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A043@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A043@mismail2.ena.com> Message-ID: <3FD86571.2060209@cjgarland.com> Marc Powell wrote: >You don't explicitly say it but do you get prompted for your username >and password? When you see the error page, in the top left hand box, >what does nagios show for 'logged in as'? For future reference, what OS, >apache and nagios versions are you using? > > I am prompted for a username and password, and the system shows me logged in as nagiosadmin, I am using nagios 1.1-1with nagios plugins 1.4.0 alpha, apache 1.3.27.0-2 and a postgres database (7.3.2r1-5) on linux. Oh, and sorry about the way-huge signature. -- CJ Garlands IT Dept. Stephen Patterson ________________________________________________________________________ CJ GARLAND & CO LIMITED DISCLAIMER This e-mail and any files transmitted with it is confidential and intended solely for the use of the individuals or organisations to whom it is addressed. If you are not the intended recipient you must not open any attachment, copy, distribute or disseminate the information nor take any action on the basis of it; please notify the sender and delete the original e-mail from your system(s). Opinions and conclusions expressed in this e-mail are those of the author and are not necessarily those of CJ Garland & Co Limited unless otherwise indicated by an authorised representative independently of this message. Copyright in this e-mail and any attachments remains with CJ Garland & Co Limited. This message has been scanned for known viruses by MessageLabs? E-mail Security System on behalf of CJ Garland & Co Limited. Recipients are strongly advised to conduct their own virus checks on all parts of this communication upon receipt. All liability of the sender for any loss incurred as a result of virus infection or other destructive elements is excluded to the fullest extent permitted by law. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From admin.systeme at entic.fr Thu Dec 11 15:38:11 2003 From: admin.systeme at entic.fr (Guillaume Specque) Date: Thu, 11 Dec 2003 15:38:11 +0100 Subject: TR : pbm install plug-ins Message-ID: <000501c3bff4$6b342210$5201a8c0@siege.entic.fr> Hello, I ve got an error message when i try to install nagios plugins; ./configure ?prefix=..... is ok but when i try the Make command (before make install) i?ve got this error message : check_ldap.c:336: ?HAVE_LDAP_SET_OPTION? undeclared ... ... make[1]: *** [check_ldap.o] Erreur 1 Thancs very much for your help Guillaume SPECQUE Administrateur Syst?me et R?seau e.NTIC groupe -------------- next part -------------- An HTML attachment was scrubbed... URL: From pouellet at microtecsecurite.com Thu Dec 11 16:28:11 2003 From: pouellet at microtecsecurite.com (Patrick Ouellet) Date: Thu, 11 Dec 2003 10:28:11 -0500 Subject: CGI Authoristaion problem (and yes I have read the FAQ) In-Reply-To: <3FD738EB.4010404@cjgarland.com> References: <3FD738EB.4010404@cjgarland.com> Message-ID: <3FD88D0B.1060904@microtecsecurite.com> I have a simmilar problem. When I try to access the CGIs I am asked for a user/pass but anything I enter get refused and the prompt come back until I hit cancel, then I get authorization required page. (401) /* This server could not verify that you are authorized to access the URL "/nagios/cgi-bin/status.cgi". You either supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required. */ I know I supplied good credential.. and I don't think mozilla and IE can't understand how to suopply credentials... Im running: Apache 2.0.40 Nagios 1.1 Nagios Plugins 1.3.1 Here is my apache config ScriptAlias /nagios/cgi-bin/ "/usr/local/nagios/sbin/" 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 I added the .htaccess file to the sbin and share directory AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user I also added two users to the htpasswd.users file nagiosadmin & pouellet pouellet is part of all contact groups. pouellet is also authorized_for all options in cgi.cfg under authorisation Did I forgot something? PS: I tried using no authentification (its a secure web server) then I can access the cgi but I can't do anything... ( launch command, re-schedule check...) and I know its normal... Thanx to everyone on the list ! Stephen Patterson wrote: > Hi all > I've just recently installed nagios and am having a problem accessing > the CGI reports when logged in as the default nagiosadmin user, all the > CGIs report that I don't have permission to access them. > > I've checked the authentication options referred to in FAQ 0048, and > they all appear OK. I've also added the nagiosadmin user to all of my > contact groups. Everything else appears to work jsut fine: my hosts are > monitored to a database, and there are no errors in either the Apache or > the Nagios log files. > > This is the apache config I'm using. > > Options ExecCGI > > AllowOverride AuthConfig > Order Allow,Deny > Allow From All > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /etc/nagios/htpasswd.users > require valid-user > > > Alias /netsaint /usr/share/nagios/htdocs/ > Alias /nagios /usr/share/nagios/htdocs/ > > Options FollowSymLinks > > AllowOverride AuthConfig > Order Allow,Deny > Allow From All > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /etc/nagios/htpasswd.users > require valid-user > > > Does anyone have any suggestions? > > > ________________________________________________________________________ > CJ GARLAND & CO LIMITED DISCLAIMER > -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Patrick Ouellet - pouellet at microtecsecurite.com Administrateur des serveurs reseaux Informatique - Poste 130 Microtec Technologies inc. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= "First they ignore you. Then they laugh at you. Then they fight you. Then you win." -Mahatma Gandhi =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Dec 11 16:41:32 2003 From: marc at ena.com (Marc Powell) Date: Thu, 11 Dec 2003 09:41:32 -0600 Subject: CGI Authoristaion problem (and yes I have read the FAQ) Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A052@mismail2.ena.com> > -----Original Message----- > From: Stephen Patterson [mailto:stephen.patterson at cjgarland.com] > Sent: Thursday, December 11, 2003 6:39 AM > To: nagios users > Subject: Re: [Nagios-users] CGI Authoristaion problem (and yes I have read > the FAQ) > > Marc Powell wrote: > > >You don't explicitly say it but do you get prompted for your username > >and password? When you see the error page, in the top left hand box, > >what does nagios show for 'logged in as'? For future reference, what OS, > >apache and nagios versions are you using? > > > > > I am prompted for a username and password, and the system shows me > logged in as nagiosadmin, I am using nagios 1.1-1with nagios plugins > 1.4.0 alpha, apache 1.3.27.0-2 and a postgres database (7.3.2r1-5) on > linux. Please show us a sample (all related), host, service, hostgroup, contactgroup and contact definition. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Dec 11 16:45:45 2003 From: marc at ena.com (Marc Powell) Date: Thu, 11 Dec 2003 09:45:45 -0600 Subject: CGI Authoristaion problem (and yes I have read the FAQ) Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A053@mismail2.ena.com> > -----Original Message----- > From: Patrick Ouellet [mailto:pouellet at microtecsecurite.com] > Sent: Thursday, December 11, 2003 9:28 AM > To: nagios users > Subject: Re: [Nagios-users] CGI Authoristaion problem (and yes I have read > the FAQ) > > I have a simmilar problem. > > When I try to access the CGIs I am asked for a > user/pass but anything I enter get refused and > the prompt come back until I hit cancel, > then I get authorization required page. (401) > > /* > This server could not verify that you are authorized to access the URL > "/nagios/cgi-bin/status.cgi". You either supplied the wrong credentials > (e.g., bad password), or your browser doesn't understand how to supply > the credentials required. > */ This isn't a nagios problem as the entire login process is handled by apache. Nagios just looks at the http_user environment variable set by apache to determine who you are. Obviously you're not even getting that far. I would hope that there would be some explanatory information in your apache error log. I suspect that it's a permissions problem with apache not being able to read your htpasswd.users file. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deny at monaco.net Thu Dec 11 16:52:19 2003 From: deny at monaco.net (deny) Date: Thu, 11 Dec 2003 16:52:19 +0100 Subject: CGI Authoristaion problem (and yes I have read the FAQ) In-Reply-To: <3FD88D0B.1060904@microtecsecurite.com> References: <3FD738EB.4010404@cjgarland.com> <3FD88D0B.1060904@microtecsecurite.com> Message-ID: <3FD892B3.20203@monaco.net> Patrick Ouellet wrote: > I have a simmilar problem. > > When I try to access the CGIs I am asked for a > user/pass but anything I enter get refused and > the prompt come back until I hit cancel, > then I get authorization required page. (401) > hi i find that in this doc that resolve my problem http://www.onlamp.com/pub/a/onlamp/2002/09/26/nagios.html?page=3 This configuration creates a Web alias '/nagios/cgi-bin/' and directs it to the cgi scripts in your Nagios 'sbin' directory. Assuming your main Web site is set up at http://127.0.0.1, you will be able to access the Nagios Web interface at http://127.0.0.1/nagios/ . At this point, the Nagios Web interface should come up properly, but you will notice that you cannot access any of the pages. You will get an error message that looks like the following. It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. This is a security precaution that is designed to only allow authorized people to be able to access the monitoring interface. The authentication is handled by your Web server using Basic HTTP Authentication (i.e. .htaccess). Nagios then uses the credentials for the user who has logged in and matches it with the contacts.cfg contact_name entries to determine which sections of the Web interface the current user can access. Configuring .htaccess based authentication is easy provided that your Web server is already configured to use it. Please refer to the documentation for your Web server if it's not configured. We will assume that our Apache server is configured to look at the .htaccess file and apply the directives found in it. First, create a file called .htaccess in the /usr/local/nagios/sbin directory. If you would like to lock up your Nagios Web interface completely, you can also put a copy of the same file in the /usr/local/nagios/share directory. Put the following in this .htaccess file. AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user When you're adding your first user, the password file that .htaccess refers to will not be present. You need to run the 'htpasswd' command with the -c option to create the file. htpasswd -c /usr/local/nagios/etc/htpasswd.users oktay New password: ****** Re-type new password: ****** Adding password for user oktay For the rest of your users, use the 'htpasswd' command without the '-c' option so as not to overwrite the existing one. After you add all of your users, you can go back to the Web interface which will now pop up an authentication dialog. Upon successful authentication, you can start using the Web interface. I will not go into detail about using the Web interface since it's pretty self explanatory. Notice that your users will only be able to access information for servers that they are associated with in the Nagios configuration files. Also, some sections of the Web interface will be disabled for everyone by default. If you would like to enable those, take a look at 'etc/cgi.cfg'. For instance, in order to allow the user 'oktay' to access the 'Process Info' section, uncomment the 'authorized_for_system_information' line and add 'oktay' to the list of names delimited by commas. -- http://www.linux-pour-lesnuls.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pouellet at microtecsecurite.com Thu Dec 11 17:06:54 2003 From: pouellet at microtecsecurite.com (Patrick Ouellet) Date: Thu, 11 Dec 2003 11:06:54 -0500 Subject: CGI Authoristaion problem (and yes I have read the FAQ) In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A053@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A053@mismail2.ena.com> Message-ID: <3FD8961E.2020000@microtecsecurite.com> Thanx a lot Marc, that was the problem. I though that because apache created the file it would be readable by apache, but not! htpasswd create the file with owner of the currently logged in user, so it created htpasswd.users owned by root. I changed the owner to apache and bingo ! Thanx a lot everyone for your fast answers. Marc Powell wrote: > >>-----Original Message----- >>From: Patrick Ouellet [mailto:pouellet at microtecsecurite.com] >>Sent: Thursday, December 11, 2003 9:28 AM >>To: nagios users >>Subject: Re: [Nagios-users] CGI Authoristaion problem (and yes I have > > read > >>the FAQ) >> >>I have a simmilar problem. >> >>When I try to access the CGIs I am asked for a >>user/pass but anything I enter get refused and >>the prompt come back until I hit cancel, >>then I get authorization required page. (401) >> >>/* >> This server could not verify that you are authorized to access the > > URL > >>"/nagios/cgi-bin/status.cgi". You either supplied the wrong > > credentials > >>(e.g., bad password), or your browser doesn't understand how to supply >>the credentials required. >>*/ > > > > This isn't a nagios problem as the entire login process is handled by > apache. Nagios just looks at the http_user environment variable set by > apache to determine who you are. Obviously you're not even getting that > far. I would hope that there would be some explanatory information in > your apache error log. I suspect that it's a permissions problem with > apache not being able to read your htpasswd.users file. > > -- > Marc > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Patrick Ouellet - pouellet at microtecsecurite.com Administrateur des serveurs reseaux Informatique - Poste 130 Microtec Technologies inc. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= "First they ignore you. Then they laugh at you. Then they fight you. Then you win." -Mahatma Gandhi =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bbasgen at epixmed.com Thu Dec 11 17:21:56 2003 From: bbasgen at epixmed.com (Brian Basgen) Date: Thu, 11 Dec 2003 11:21:56 -0500 Subject: Trends not accurate In-Reply-To: References: Message-ID: I'm not entirely sure what your problem is, but I'd guess it has to do with a log rotation issue: when nagios rotates logs it doesn't keep track of the current service states in the new log. Search for "time undetermined" in the list archives to get the details. An easy work around is to view the graphs with "First Assumed State" being "Current State" instead of unspecified. > Message: 31 > From: Johnston Michael J Contr AFRL/DES > To: nagios-users at lists.sourceforge.net > Date: Thu, 11 Dec 2003 00:21:52 -0000 > Subject: [Nagios-users] Trends not accurate > > > I was looking at the trends for some of my hosts today and noticed that when > I wanted to look at the this weeks trends, there are none. I can see > trends from November 21 to 29th on any client I'm monitoring, but it seems > to have just stopped keeping track of machines past that date. Is this a > setting somewhere that I may have turned off by mistake? Thanks! Regards, ........................................ Brian Basgen Systems Administrator EPIX Medical 71 Rogers St Cambridge MA, 02142 .......................................... ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx Thu Dec 11 17:25:51 2003 From: Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx (Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx) Date: Thu, 11 Dec 2003 10:25:51 -0600 Subject: (no subject) In-Reply-To: References: Message-ID: I've installed nagios, the gdlibrary, etc.. Nagios says everything's ok, but I still cannot get the any of the graphical portions of the web interface running. I have red hat 9 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deny at monaco.net Thu Dec 11 17:30:16 2003 From: deny at monaco.net (deny) Date: Thu, 11 Dec 2003 17:30:16 +0100 Subject: module sms Message-ID: <3FD89B98.6040300@monaco.net> good afternoon i just wnt to know if exist a module to alert by sms and if yes , if it is valid in france second do you have some example of config nagios (exept the sample exemple ?) thanks -- http://www.linux-pour-lesnuls.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Patrick.Walentiny at stellent.com Thu Dec 11 17:37:31 2003 From: Patrick.Walentiny at stellent.com (Patrick Walentiny) Date: Thu, 11 Dec 2003 10:37:31 -0600 Subject: "UNKNOWN" problem, with a return code of 0 in solaris 9. Message-ID: <9822074212EA8E44903E10A7CD2DCB1825F0D5@MSPMAIL4.intranetsolutions.com> I looked through a lot of the mail list archives and didn't see this problem listed by anyone else. It's a bit long winded but I figure being verbose is better than not being verbose enough. So here goes. We are using nagios to monitor multiple UNIX systems, including Solaris 2.6 8 & 9. Our method for doing so is public keys saved in the "authorized_keys" file of each nagios client's home directory etc... When our server runs the "check_by_ssh" against solaris 9 clients, the nagios server claims it is getting a status of "UNKNOWN". I dug in to the documentation to find out that this is figured out via return codes, IE 0,1,2,3 etc... So I ran check_by_ssh against the system in question to see for myself what the problem was. I am only able to get return codes of 0 "OK". I'll show the syntax I used below. I can get it to also give return codes of 1 and 2 if I intentionally invoke a warning or critical condition, but when it is run from the nagios process itself it shows up as "UNKNOWN", and occasionally flaps to okay for brief periods of time, even though the status output shows the disks are perfectly okay. Here is my output from my tests.... [...] $ /usr/lib/nagios/plugins/check_by_ssh -H 12.40.185.175 -C '/opt/nagios/libexec/check_disk -c 10% -w 20%' $ echo $? 0 $ [...] I even had this running in a continual loop to see if maybe 1 out of 10 would go in to an UNKNOWN state, but it doesn't. I will paste the portions of my config that should matter for this output. I really appreciate any help you guys can give me. /* * Command Definition ********************************/ # 'check_remote_disk' command definaition define command { command_name check_remote_disk command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C '/opt/nagios/libexec/check_disk -c 10% -w 20%' } /* * Host Definition ********************************/ define host { use generic-host host_name gondor alias Minneapolis Production Webserver (gondor) address 12.40.185.175 check_command check-host-alive max_check_attempts 10 notification_interval 10 notification_period 24x7 notification_options d,u,r parents mspfw1 } Thanks again for any help, if you need anymore output that this let me know. Patrick. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cschelin at hq.nasa.gov Thu Dec 11 17:52:19 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 11 Dec 2003 11:52:19 -0500 Subject: (no subject) In-Reply-To: References: Message-ID: <1071161538.2005.208.camel@unixgod.hq.nasa.gov> (personal message bounced) If you run the .cgi on the command line you'll get the error message. On my Solaris system I had to create symbolic links from /usr/lib to /usr/local/lib: cd /usr/lib ln -s ../local/lib/libpng.so.3 libpng.so.3 ln -s ../local/lib/libgd.so.2 libgd.so.2 ==================================================================== When it works you'll get a bunch of text: ==================================================================== voyeur: ./trends.cgi getcgivars(): Unsupported REQUEST_METHOD -> '' I'm guessing you're trying to execute the CGI from a command line. In order to do that, you need to set the REQUEST_METHOD environment variable to either "GET", "HEAD", or "POST". When using the GET and HEAD methods, arguments can be passed to the CGI by setting the "QUERY_STRING" environment variable. If you're using the POST method, data is read from standard input. Also of note: if you've enabled authentication in the CGIs, you must set the "REMOTE_USER" environment variable to be the name of the user you're "authenticated" as. ==================================================================== That means it's working. Carl On Thu, 2003-12-11 at 11:25, Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx wrote: > > > > > I've installed nagios, the gdlibrary, etc.. Nagios says everything's > ok, but I still cannot get the any of the graphical portions of the web > interface running. > > > > > > > > > I have red hat 9 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdonalds at ci.grand-rapids.mi.us Thu Dec 11 18:06:59 2003 From: tdonalds at ci.grand-rapids.mi.us (Donaldson, Tom) Date: Thu, 11 Dec 2003 12:06:59 -0500 Subject: Plug-in Question Message-ID: <221C759285B78647AEE6181FD6AF36A70756A2CB@BAMBI> Is their a plug-in for Oracle 7.4 and above? -------------- next part -------------- An HTML attachment was scrubbed... URL: From bst0ver at comcast.net Thu Dec 11 18:43:49 2003 From: bst0ver at comcast.net (Sillz <-----) Date: Thu, 11 Dec 2003 09:43:49 -0800 Subject: missing: statusmap.cgi References: <7316155488F50F4A82CC2FBA07765215189211EB@exchdis02.disbank.com.tr> Message-ID: <003701c3c00e$5611ad20$9532010a@norcalmutual.com> I had the same problem. I followed the intructions in the FAQ by installing the correct libraries and then running: make devclean ./configure --with-gd-lib=LIBDIR --with-gd-inc=INCDIR After recompiling, I noticed that the statusmap.cgi, trends.cgi and histogram.cgi still were not in my cgi directory (/usr/local/nagios/sbin for me). I had to do a search for the files manually and then copy them into my cgi directory. The were placed in the cgi directory under my make directory. It worked fine after that. ----- Original Message ----- From: "Deniz Hepsen" To: "'Patrick Webster'" ; Cc: Sent: Wednesday, December 10, 2003 10:19 PM Subject: RE: [Nagios-users] missing: statusmap.cgi Do you have libpng, libjpeg and zlib libraries? Because in http://www.nagios.org/faqs/viewfaq.php?faq_id=55 Says that they can be required.. I have libpng and zlib but no libjpeg. I guess that's the reason.. -----Original Message----- From: Patrick Webster [mailto:pwebster at ausgeo.com.au] Sent: Thursday, December 11, 2003 1:15 AM To: Deniz Hep?en (BS SNYB); nagios-users-admin at lists.sourceforge.net Subject: RE: [Nagios-users] missing: statusmap.cgi I am missing statusmap.cgi, trends.cgi and also histogram.cgi. Sounds like it may be a bug of some sort..? Bu e-posta,isim,faks ve telefon numarasi yukarida belirtilmi? olan muhataba ait ?ZEL ve GIZLI HATTA YASAK BILGILERI ihtiva edebilir. Eger muhatab ve/veya muhatabin dagitimla g?revlendirdigi ki?i degil iseniz, l?tfen bu bilgileri kullanmayiniz ve hi? bir surette, hi? bir kimseye a?iklamayiniz ve bilgisayarinizdan siliniz. Bu e-posta hataen elinize ge?mi? olursa bizi l?tfen derhal arayiniz. Elektronik mesajlar bozulmaya, ele ge?irilmeye veya izinsiz olarak degi?tirilmeye a?ik ortamlar olduklari i?in mesaj ?zerinde yapilmi? herhangi bir degi?iklik veya sonu?lari ?zerinde sorumluluk kabul etmeyecegimizi bildiririz. Bu konu ile ilgili yaptiginiz masraflar size ?denecektir. Uyumlu davrani?iniza te?ekk?r ederiz. This email message may contain CONFIDENTIAL PRIVATE EVEN PROHIBITED information intended exclusively for the addressee. If you are not the addressee or a person responsible for delivering the message to the addressee, please do not make any use of it nor disclose any of its contents to anyone. Should have received this facsimile message by mistake please notify us immediately by telephone and delete it from your computer. Emails being susceptible to corruption, interception and unauthorised amendment, we do not accept liability for any such changes, or for their consequences and we maintain the right to take legal action where necessary. All your related expenses will be reimbursed. Thank you very much for your compliance in this matter. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx Thu Dec 11 18:43:55 2003 From: Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx (Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx) Date: Thu, 11 Dec 2003 11:43:55 -0600 Subject: (no subject) In-Reply-To: References: Message-ID: In my Network Map For All Hosts only i can see this image what can i do ? (Embedded image moved to file: pic11478.jpg) -------------- next part -------------- A non-text attachment was scrubbed... Name: pic11478.jpg Type: image/jpeg Size: 150553 bytes Desc: not available URL: From barbara.schelkle at undp.org Thu Dec 11 19:03:58 2003 From: barbara.schelkle at undp.org (Barbara Schelkle) Date: Thu, 11 Dec 2003 13:03:58 -0500 Subject: Return code of 137 (yes, I read the FAQ) Message-ID: Hi, my HTTP service checks give "Return code of 137 is out of bounds". I read in the FAQ at http://www.nagios.org/faqs/printfaq.php?faq_id=17 that I need to set LD_LIBRARY_PATH for the nagios account. So I added the following .profile to the homedirectory of the nagios user (/exports/nagios): LD_LIBRARY_PATH=/usr/lib:/usr/ccs/lib:/usr/ucblib:/usr/local/lib:/expo rts/nagios:${LD_LIBRARY_PATH} export LD_LIBRARY_PATH I restarted nagios, but still get the same error. Any help? The platform is Solaris 8. I followed Tedman Eng's advice and compiled with /usr/ccs/bin/strip instead of /usr/local/bin/strip Thanks in advance for any help, Barbara ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roberto.Balestra at getronics.com Thu Dec 11 19:10:20 2003 From: Roberto.Balestra at getronics.com (Balestra, Roberto) Date: Thu, 11 Dec 2003 19:10:20 +0100 Subject: Report - I'd like Message-ID: <7537146F3CB48243B01EEA16DA7110BE22725B@excitmi100.europe.unity> Hi all, I'd like to have a report that tell me, for all my host, the history status for the same service. Something like: Service: CPU Load | OK | WARNING | CRITICAL | UNDEFINED | ----------------------------------------------------------------------------------------------------------- Host A | 75% | 12% | 11% | 2% | Host B | 78% | 9% | 12% | 1% | Host C | 72% | 15% | 13% | 0% | Is it possible? Have I write this? Thk's Roby ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Dec 11 19:15:59 2003 From: marc at ena.com (Marc Powell) Date: Thu, 11 Dec 2003 12:15:59 -0600 Subject: "UNKNOWN" problem, with a return code of 0 in solaris 9. Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A056@mismail2.ena.com> ________________________________________ From: Patrick Walentiny [mailto:Patrick.Walentiny at stellent.com] Sent: Thursday, December 11, 2003 10:38 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] "UNKNOWN" problem, with a return code of 0 in solaris 9. I looked through a lot of the mail list archives and didn't see this problem listed by anyone else. It's a bit long winded but I figure being verbose is better than not being verbose enough. So here goes. We are using nagios to monitor multiple UNIX systems, including Solaris 2.6 8 & 9. Our method for doing so is public keys saved in the "authorized_keys" file of each nagios client's home directory etc... When our server runs the "check_by_ssh" against solaris 9 clients, the nagios server claims it is getting a status of "UNKNOWN". I dug in to the documentation to find out that this is figured out via return codes, IE 0,1,2,3 etc... So I ran check_by_ssh against the system in question to see for myself what the problem was. I am only able to get return codes of 0 "OK". I'll show the syntax I used below. I can get it to also give return codes of 1 and 2 if I intentionally invoke a warning or critical condition, but when it is run from the nagios process itself it shows up as "UNKNOWN", and occasionally flaps to okay for brief periods of time, even though the status output shows the disks are perfectly okay. Here is my output from my tests.... [...] $ /usr/lib/nagios/plugins/check_by_ssh -H 12.40.185.175 -C '/opt/nagios/libexec/check_disk -c 10% -w 20%' $ echo $? 0 $ It appears that the plugin isn't being executed on the remote host. Check_by_ssh should return the output of the check_disk command to the command line: bash-2.05a$ ./check_by_ssh -H -C '/usr/local/nagios/libexec/check_disk -c 10% -w 20%' DISK OK - [3434680 kB (47%) free on /dev/ida/c0d0p3] [107450 kB (89%) free on /dev/ida/c0d0p1] [257216 kB (100%) free on none] Is the plugin (check_disk) executable by the user that you are ssh'ing as and in the location specified? How about /bin/df (at least that's what it uses under linux)? It needs to be executable by the nagios user as well. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdantasjr at yahoo.com.br Thu Dec 11 19:35:57 2003 From: mdantasjr at yahoo.com.br (=?iso-8859-1?q?Marcelo?=) Date: Thu, 11 Dec 2003 15:35:57 -0300 (ART) Subject: can´t install In-Reply-To: <1071161538.2005.208.camel@unixgod.hq.nasa.gov> References: <1071161538.2005.208.camel@unixgod.hq.nasa.gov> Message-ID: <20031211183558.70361.qmail@web60708.mail.yahoo.com> error: sdata.c ../xdata/xsddefault.c -lgd -lz -lm -lpng -ljpeg -o histogram.cgi make[1]: Leaving directory `/opt/nagios/nagios-1.1/cgi' cd ./html && make make[1]: Entering directory `/opt/nagios/nagios-1.1/html' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/opt/nagios/nagios-1.1/html' *** Compile finished *** anybody help? ===== Ats, Marcelo Dantas J?nior. http://www.geocities.com/mdantasjr http://www.onikobr.kit.net ? O verdadeiro perigo de um plano est? nos detalhes. Um rumo e um destino fazem a diferen?a em qualquer situa??o.?. Amyr Klink. Yahoo! Mail - 6MB, anti-spam e antiv?rus gratuito. Crie sua conta agora: http://mail.yahoo.com.br ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdoyle at lewisgaleclinic.com Thu Dec 11 19:41:09 2003 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Thu, 11 Dec 2003 13:41:09 -0500 Subject: Report - I'd like Message-ID: Doesn't the trends report give you this? -----Original Message----- From: Balestra, Roberto [mailto:Roberto.Balestra at getronics.com] Sent: Thursday, December 11, 2003 1:10 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Report - I'd like Hi all, I'd like to have a report that tell me, for all my host, the history status for the same service. Something like: Service: CPU Load | OK | WARNING | CRITICAL | UNDEFINED | ------------------------------------------------------------------------ ----------------------------------- Host A | 75% | 12% | 11% | 2% | Host B | 78% | 9% | 12% | 1% | Host C | 72% | 15% | 13% | 0% | Is it possible? Have I write this? Thk's Roby ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From colin at trematon.com Thu Dec 11 19:43:37 2003 From: colin at trematon.com (Colin A. White) Date: Thu, 11 Dec 2003 18:43:37 +0000 Subject: Return code of 137 (yes, I read the FAQ) In-Reply-To: References: Message-ID: <3FD8BAD9.7090100@trematon.com> For Solaris 9 this global path works fine for me : /bin:/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/ucb:/usr/local/ssl/bin C.W. Barbara Schelkle wrote: >Hi, > >my HTTP service checks give "Return code of 137 is out of bounds". >I read in the FAQ at http://www.nagios.org/faqs/printfaq.php?faq_id=17 >that I need to set LD_LIBRARY_PATH for the nagios account. > >So I added the following .profile to the homedirectory of the nagios >user (/exports/nagios): > >LD_LIBRARY_PATH=/usr/lib:/usr/ccs/lib:/usr/ucblib:/usr/local/lib:/expo >rts/nagios:${LD_LIBRARY_PATH} >export LD_LIBRARY_PATH > >I restarted nagios, but still get the same error. Any help? > >The platform is Solaris 8. I followed Tedman Eng's advice and compiled >with /usr/ccs/bin/strip instead of /usr/local/bin/strip > >Thanks in advance for any help, > Barbara > > > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >Does SourceForge.net help you be more productive? Does it >help you create better code? SHARE THE LOVE, and help us help >YOU! Click Here: http://sourceforge.net/donate/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > -- Colin A. White SCSA, SCNA Executive Officer Trematon UK Ltd T +44 (0)7973 198931 IM 49636683 www.trematon.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephen.patterson at cjgarland.com Thu Dec 11 19:18:11 2003 From: stephen.patterson at cjgarland.com (Stephen Patterson) Date: Thu, 11 Dec 2003 19:18:11 +0100 Subject: CGI Authoristaion problem (and yes I have read the FAQ) In-Reply-To: <3FD738EB.4010404@cjgarland.com> References: <3FD738EB.4010404@cjgarland.com> Message-ID: <3FD8B4E3.6020003@cjgarland.com> I've got it working, turns out the nagios configs needed to be owned by the nagios user. ________________________________________________________________________ CJ GARLAND & CO LIMITED DISCLAIMER This e-mail and any files transmitted with it is confidential and intended solely for the use of the individuals or organisations to whom it is addressed. If you are not the intended recipient you must not open any attachment, copy, distribute or disseminate the information nor take any action on the basis of it; please notify the sender and delete the original e-mail from your system(s). Opinions and conclusions expressed in this e-mail are those of the author and are not necessarily those of CJ Garland & Co Limited unless otherwise indicated by an authorised representative independently of this message. Copyright in this e-mail and any attachments remains with CJ Garland & Co Limited. This message has been scanned for known viruses by MessageLabs? E-mail Security System on behalf of CJ Garland & Co Limited. Recipients are strongly advised to conduct their own virus checks on all parts of this communication upon receipt. All liability of the sender for any loss incurred as a result of virus infection or other destructive elements is excluded to the fullest extent permitted by law. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CrowderLG at ldschurch.org Thu Dec 11 20:36:49 2003 From: CrowderLG at ldschurch.org (Larry Crowder) Date: Thu, 11 Dec 2003 12:36:49 -0700 Subject: SNMP agents versus Nagios agents Message-ID: Hello all, I am in the process of drafting a comparison memo for my work and would like to ask if any out there either has done a similar evaluation, or can refer me to some specific comparative information about this. The comparison is between Nagios Agents and the SNMP agents of the Standard MIB - specifically RFC 2790. To me, comparisons would focus on usefullness of data, difficulties of configuration, change management and security. Within the Standard MIB, is RFC 2790 also known as the Host Resource MIB. Data for CPU utilization, disk space usage and RAM usage are defined within this MIB. Of course this data is also available thru several of Nagios agents (NSclient, NRPE and MRTGEXT.NLM). (Actually, it seems to be much better defined in the Nagios agents) I am fairly solid on using NSclient and MRTGEXT, but have not really used NRPE on remote servers. I very much favor using the Nagios agents, because they are specifically designed for each platform and were built for reporting to Nagios. Any info would be appreciated! Thanks Larry C ------------------------------------------------------------------------------ This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ============================================================================== ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Thu Dec 11 20:55:17 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Thu, 11 Dec 2003 19:55:17 +0000 Subject: SNMP agents versus Nagios agents In-Reply-To: References: Message-ID: <3FD8CBA5.1080001@exponential-e.com> Larry Crowder wrote: >Hello all, > >I am in the process of drafting a comparison memo for my work and would like to ask if any out there either has done a similar evaluation, or can refer me to some specific comparative information about this. The comparison is between Nagios Agents and the SNMP agents of the Standard MIB - specifically RFC 2790. To me, comparisons would focus on usefullness of data, difficulties of configuration, change management and security. > > The nagios agent will enable you to run any plugin and/or build your own, while using the MIB limits you to what is available from that MIB. For instance some of our mail servers run exim and I can check the queue on the remote server via nrpe using a plugin. This is not something that's available in the host MIB. Jim ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx Thu Dec 11 20:42:14 2003 From: Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx (Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx) Date: Thu, 11 Dec 2003 13:42:14 -0600 Subject: STATUSMAP In-Reply-To: References: Message-ID: Hi I hope you can help me I have nagios installed but I can not see my statusmap I have installed all my plugs I send you the image with my nagios page Thanks a lot (See attached file: nagios.JPG) -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.JPG Type: image/jpeg Size: 92497 bytes Desc: not available URL: From nagios at pensol.net Thu Dec 11 21:17:59 2003 From: nagios at pensol.net (MT Morales) Date: Thu, 11 Dec 2003 13:17:59 -0700 Subject: SNMP agents versus Nagios agents References: <3FD8CBA5.1080001@exponential-e.com> Message-ID: <008301c3c023$e6a160f0$5acc500a@siley> I totally agree with Jim on Nagios agents on servers, however you still need to the depend on snmp agents for monitoring network devices, as snmp seems to be the de facto protocol for management on most networking equipment (switches, routers, bridges, etc). Fortunately, the Nagios server can handle snmp traps/queries as well. But ya, you'll depend on snmp agents to monitor other devices that are not servers, and come with management support over IP. -Tomas ----- Original Message ----- From: "Jim Mozley" To: "Larry Crowder" Cc: Sent: Thursday, December 11, 2003 12:55 PM Subject: Re: [Nagios-users] SNMP agents versus Nagios agents > Larry Crowder wrote: > > >Hello all, > > > >I am in the process of drafting a comparison memo for my work and would like to ask if any out there either has done a similar evaluation, or can refer me to some specific comparative information about this. The comparison is between Nagios Agents and the SNMP agents of the Standard MIB - specifically RFC 2790. To me, comparisons would focus on usefullness of data, difficulties of configuration, change management and security. > > > > > > The nagios agent will enable you to run any plugin and/or build your > own, while using the MIB limits you to what is available from that MIB. > For instance some of our mail servers run exim and I can check the queue > on the remote server via nrpe using a plugin. This is not something > that's available in the host MIB. > > Jim > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Thu Dec 11 21:33:12 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Thu, 11 Dec 2003 20:33:12 +0000 Subject: SNMP agents versus Nagios agents In-Reply-To: <008301c3c023$e6a160f0$5acc500a@siley> References: <3FD8CBA5.1080001@exponential-e.com> <008301c3c023$e6a160f0$5acc500a@siley> Message-ID: <3FD8D488.7060800@exponential-e.com> MT Morales wrote: >I totally agree with Jim on Nagios agents on servers, however you >still need to the depend on snmp agents for monitoring network devices, >as snmp seems to be the de facto protocol for management on most networking >equipment (switches, routers, bridges, etc). Fortunately, the Nagios server >can handle snmp traps/queries as well. >But ya, you'll depend on snmp agents to monitor other devices that are not >servers, and come with management support over IP. > > One thing we've found to be more useful than SNMP polling in some cases is processing the syslog messages from the network devices and putting them into Nagios as passive checks, as this can provide info not found in the MIBs. We also perform some checks by telneting to the network devices, issuing commands and processing the output. Again this can provide information/checks that are not in the MIB. Jim ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From FabioAlKas at aol.com Thu Dec 11 21:36:55 2003 From: FabioAlKas at aol.com (FabioAlKas at aol.com) Date: Thu, 11 Dec 2003 15:36:55 EST Subject: Nagios x Postgresql Message-ID: <131.27d7d03b.2d0a2f67@aol.com> hi.. I got a error with postgresql and nagios, i?m runing the nagios in debug mode 5 and copy the insert that nagios try to do on postgres, i connect on pg via psql, and do the insert manualy: this is the error: invalid input sintax for type timestamp with time zone: "107115809" Have anyone already setup nagios woth pgsql, if yes, can you send me the postgres.conf or help me with this? Thanks in advance and Best Regards ================================================ Fabio Al kas Network Coordinator Infrastructure & IT America OnLine - Brazil -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.mozley at exponential-e.com Thu Dec 11 21:51:02 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Thu, 11 Dec 2003 20:51:02 +0000 Subject: STATUSMAP In-Reply-To: References: Message-ID: <3FD8D8B6.6000800@exponential-e.com> Israel_Guadalupe_Lopez_Mascorro../Administracion/Jalisco at jalisco.gob.mx wrote: >I hope you can help me I have nagios installed but I can not see my >statusmap I have installed all my plugs >I send you the image with my nagios page >Thanks a lot > >(See attached file: nagios.JPG) > I didn't see any errors on the attached. Have you checked apache's error log? Have you configured everything; hosts groups, service, commands, etc? Have you verified the configuration with nagios -v? If you execute a plugin manually e.g. check_ping does it work? Jim ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Dec 11 21:54:56 2003 From: marc at ena.com (Marc Powell) Date: Thu, 11 Dec 2003 14:54:56 -0600 Subject: Nagios x Postgresql Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A059@mismail2.ena.com> I'm successfully using Nagios 1.1 with Postgresql 7.3.4 (only minor and irrelevant changes to postgres.conf). What version of nagios are you using? From the CHANGELOG - 1.1 - 06/02/2003 * File descriptor leak in file-based performance routines * Timestamp fix for PostgreSQL 7.3 * Minor bug fixes to cmd and history CGIs * Minor documentation fixes -- Marc ________________________________________ From: FabioAlKas at aol.com [mailto:FabioAlKas at aol.com] Sent: Thursday, December 11, 2003 2:37 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios x Postgresql hi.. ? I got a error with postgresql and nagios, im runing the nagios in debug mode 5 and copy the insert that nagios try to do on postgres, i connect on pg via psql, and do the insert manualy: ? this is the error: ? invalid input sintax for type timestamp with time zone: "107115809" ? Have anyone already setup nagios woth pgsql, if yes, can you send me the postgres.conf or help me with this? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From FabioAlKas at aol.com Thu Dec 11 21:58:27 2003 From: FabioAlKas at aol.com (FabioAlKas at aol.com) Date: Thu, 11 Dec 2003 15:58:27 EST Subject: Nagios x Postgresql Message-ID: <143.1e09e12b.2d0a3473@aol.com> In a message dated 11/12/2003 17:55:19 E. South America Standard Tim, marc at ena.com writes: I'm successfully using Nagios 1.1 with Postgresql 7.3.4 (only minor and irrelevant changes to postgres.conf). What version of nagios are you using? From the CHANGELOG - 1.1 - 06/02/2003 * File descriptor leak in file-based performance routines * Timestamp fix for PostgreSQL 7.3 * Minor bug fixes to cmd and history CGIs * Minor documentation fixes I?m using the version 1.0, and now i?m downloading the version 1.1, with the timestamp fix, i think that should be the problem, because i?m using the version 7.4 of postgresql. Thanks for you help :-) Best Regards ================================================ Fabio Al kas Network Coordinator Infrastructure & IT Ph.:55 11 2191 5902 Mobile: 55 11 9229 7981 America OnLine - Brazil -------------- next part -------------- An HTML attachment was scrubbed... URL: From Patrick.Walentiny at stellent.com Thu Dec 11 23:06:27 2003 From: Patrick.Walentiny at stellent.com (Patrick Walentiny) Date: Thu, 11 Dec 2003 16:06:27 -0600 Subject: "UNKNOWN" problem, with a return code of 0 in solaris 9. Message-ID: <9822074212EA8E44903E10A7CD2DCB1825F0D8@MSPMAIL4.intranetsolutions.com> I'm sorry I didn't include the output, it is in fact executing. Let me paste the output for you. /***********************************/ $ /usr/lib/nagios/plugins/check_by_ssh -v -H 12.40.185.175 -C '/opt/nagios/libexec/check_disk -c 10% -w 20%' /usr/bin/ssh 12.40.185.175 '/opt/nagios/libexec/check_disk -c 10% -w 20%' DISK OK - free space: / 10944 MB (91%); /usr 6814 MB (84%); /var 7875 MB (98%); /var/run 7438 MB (100%); /tmp 7438 MB (99%); /u01 426987 MB (87%);| /=10943MB;9606;10807;0;12008 /usr=6814MB;6452;7258;0;8065 /var=7875MB;6452;7258;0;8065 /var/run=7437MB;5949;6693;0;7437 /tmp=7437MB;6028;6781;0;7535 /u01=426986MB;390857;439714;0;488572 /************************************/ It's funny, no matter what the circumstance the remote plugin always claims it is okay. The return code (either from the remote plugin, or the local check_by_ssh plugin is returning a 3, but ONLY if nagios itself runs it. -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Thursday, December 11, 2003 12:16 PM To: Patrick Walentiny; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] "UNKNOWN" problem, with a return code of 0 in solaris 9. ________________________________________ From: Patrick Walentiny [mailto:Patrick.Walentiny at stellent.com] Sent: Thursday, December 11, 2003 10:38 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] "UNKNOWN" problem, with a return code of 0 in solaris 9. I looked through a lot of the mail list archives and didn't see this problem listed by anyone else. It's a bit long winded but I figure being verbose is better than not being verbose enough. So here goes. We are using nagios to monitor multiple UNIX systems, including Solaris 2.6 8 & 9. Our method for doing so is public keys saved in the "authorized_keys" file of each nagios client's home directory etc... When our server runs the "check_by_ssh" against solaris 9 clients, the nagios server claims it is getting a status of "UNKNOWN". I dug in to the documentation to find out that this is figured out via return codes, IE 0,1,2,3 etc... So I ran check_by_ssh against the system in question to see for myself what the problem was. I am only able to get return codes of 0 "OK". I'll show the syntax I used below. I can get it to also give return codes of 1 and 2 if I intentionally invoke a warning or critical condition, but when it is run from the nagios process itself it shows up as "UNKNOWN", and occasionally flaps to okay for brief periods of time, even though the status output shows the disks are perfectly okay. Here is my output from my tests.... [...] $ /usr/lib/nagios/plugins/check_by_ssh -H 12.40.185.175 -C '/opt/nagios/libexec/check_disk -c 10% -w 20%' $ echo $? 0 $ It appears that the plugin isn't being executed on the remote host. Check_by_ssh should return the output of the check_disk command to the command line: bash-2.05a$ ./check_by_ssh -H -C '/usr/local/nagios/libexec/check_disk -c 10% -w 20%' DISK OK - [3434680 kB (47%) free on /dev/ida/c0d0p3] [107450 kB (89%) free on /dev/ida/c0d0p1] [257216 kB (100%) free on none] Is the plugin (check_disk) executable by the user that you are ssh'ing as and in the location specified? How about /bin/df (at least that's what it uses under linux)? It needs to be executable by the nagios user as well. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.pounsett at cira.ca Thu Dec 11 23:11:22 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 11 Dec 2003 17:11:22 -0500 (EST) Subject: "UNKNOWN" problem, with a return code of 0 in solaris 9. In-Reply-To: <9822074212EA8E44903E10A7CD2DCB1825F0D8@MSPMAIL4.intranetsolutions.com> References: <9822074212EA8E44903E10A7CD2DCB1825F0D8@MSPMAIL4.intranetsolutions.com> Message-ID: On Thu, 11 Dec 2003, Patrick Walentiny wrote: > I'm sorry I didn't include the output, it is in fact executing. Let me > paste the output for you. > > > /***********************************/ > $ /usr/lib/nagios/plugins/check_by_ssh -v -H 12.40.185.175 -C > '/opt/nagios/libexec/check_disk -c 10% -w 20%' > /usr/bin/ssh 12.40.185.175 '/opt/nagios/libexec/check_disk -c 10% -w > 20%' > DISK OK - free space: / 10944 MB (91%); /usr 6814 MB (84%); /var 7875 MB > (98%); /var/run 7438 MB (100%); /tmp 7438 MB (99%); /u01 426987 MB > (87%);| /=10943MB;9606;10807;0;12008 /usr=6814MB;6452;7258;0;8065 > /var=7875MB;6452;7258;0;8065 /var/run=7437MB;5949;6693;0;7437 > /tmp=7437MB;6028;6781;0;7535 /u01=426986MB;390857;439714;0;488572 > > /************************************/ > > It's funny, no matter what the circumstance the remote plugin always > claims it is okay. The return code (either from the remote plugin, or > the local check_by_ssh plugin is returning a 3, but ONLY if nagios > itself runs it. You say you've run this from the command line, but have you run it as the Nagios user? check_by_ssh requires that you have a passwordless ssh key to allow login to the remote host... configuration of that key is user-dependant. It's possible you're getting an UNKNOWN result from check_by_ssh because it is unable to login to the remote host. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Patrick.Walentiny at stellent.com Thu Dec 11 23:14:38 2003 From: Patrick.Walentiny at stellent.com (Patrick Walentiny) Date: Thu, 11 Dec 2003 16:14:38 -0600 Subject: "UNKNOWN" problem, with a return code of 0 in solaris 9. Message-ID: <9822074212EA8E44903E10A7CD2DCB1825F0D9@MSPMAIL4.intranetsolutions.com> That is all configured properly, and it is logging in just fine. I am running it as the nagios user, the key is setup as the nagios user. I even get proper output from the other side telling me my disks are OK, but the return code is 3 and not 0. -----Original Message----- From: mattp at office-mail.cira.ca [mailto:mattp at office-mail.cira.ca] On Behalf Of Matt Pounsett Sent: Thursday, December 11, 2003 4:11 PM To: Patrick Walentiny Cc: Marc Powell; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] "UNKNOWN" problem, with a return code of 0 in solaris 9. On Thu, 11 Dec 2003, Patrick Walentiny wrote: > I'm sorry I didn't include the output, it is in fact executing. Let me > paste the output for you. > > > /***********************************/ > $ /usr/lib/nagios/plugins/check_by_ssh -v -H 12.40.185.175 -C > '/opt/nagios/libexec/check_disk -c 10% -w 20%' > /usr/bin/ssh 12.40.185.175 '/opt/nagios/libexec/check_disk -c 10% -w > 20%' > DISK OK - free space: / 10944 MB (91%); /usr 6814 MB (84%); /var 7875 MB > (98%); /var/run 7438 MB (100%); /tmp 7438 MB (99%); /u01 426987 MB > (87%);| /=10943MB;9606;10807;0;12008 /usr=6814MB;6452;7258;0;8065 > /var=7875MB;6452;7258;0;8065 /var/run=7437MB;5949;6693;0;7437 > /tmp=7437MB;6028;6781;0;7535 /u01=426986MB;390857;439714;0;488572 > > /************************************/ > > It's funny, no matter what the circumstance the remote plugin always > claims it is okay. The return code (either from the remote plugin, or > the local check_by_ssh plugin is returning a 3, but ONLY if nagios > itself runs it. You say you've run this from the command line, but have you run it as the Nagios user? check_by_ssh requires that you have a passwordless ssh key to allow login to the remote host... configuration of that key is user-dependant. It's possible you're getting an UNKNOWN result from check_by_ssh because it is unable to login to the remote host. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ron at rongage.org Fri Dec 12 00:17:59 2003 From: ron at rongage.org (Ron Gage) Date: Thu, 11 Dec 2003 18:17:59 -0500 Subject: NSClient Control Panel available Message-ID: <1071184679.3fd8fb27de296@webmail.rongage.org> Ok, let's get this out of the way right now. I am NOT a VB programmer, but do play one on TV. I have wrote a VB app to allow you to control the Nagios NSClient software under Windows 2000 and 2003. Source code is available. For the vb6 project files and source code, download the following: ftp://ftp.rongage.org/pub/nagios/nagioscontrolpanel.zip For the compiled version, download the following: ftp://ftp.rongage.org/pub/nagios/nagios.zip The code is licensed under the LGPL. As usual, comments are welcomed! -- Ronald R. Gage MCP, LPIC1, A+, Net+ Pontiac, Michigan ---------------------------------------------------------------- This message was sent using webmail provided by www.rongage.org ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Dec 11 23:21:02 2003 From: marc at ena.com (Marc Powell) Date: Thu, 11 Dec 2003 16:21:02 -0600 Subject: "UNKNOWN" problem, with a return code of 0 in solaris 9. Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A05B@mismail2.ena.com> Unfortunately I'm not going to be much more help as I'm not too familiar with the internal functioning of the plugin but the output you're seeing looks odd to me, particularly the ";| /=10943MB;9606;10807;0;12008 /usr=6814MB;6452;7258;0;8065 /var=7875MB;6452;7258;0;8065 var/run=7437MB;5949;6693;0;7437 /tmp=7437MB;6028;6781;0;7535 /u01=426986MB;390857;439714;0;488572". I don't believe that's supposed to be in there and it may be a result of df providing output in a format that the plugin doesn't fully understand. It may also just be an artifact of running check_disk under solaris and perfectly normal. -- marc > -----Original Message----- > From: Patrick Walentiny [mailto:Patrick.Walentiny at stellent.com] > Sent: Thursday, December 11, 2003 4:06 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] "UNKNOWN" problem, with a return code of 0 in > solaris 9. > > I'm sorry I didn't include the output, it is in fact executing. Let me > paste the output for you. > > > /***********************************/ > $ /usr/lib/nagios/plugins/check_by_ssh -v -H 12.40.185.175 -C > '/opt/nagios/libexec/check_disk -c 10% -w 20%' > /usr/bin/ssh 12.40.185.175 '/opt/nagios/libexec/check_disk -c 10% -w > 20%' > DISK OK - free space: / 10944 MB (91%); /usr 6814 MB (84%); /var 7875 MB > (98%); /var/run 7438 MB (100%); /tmp 7438 MB (99%); /u01 426987 MB > (87%);| /=10943MB;9606;10807;0;12008 /usr=6814MB;6452;7258;0;8065 > /var=7875MB;6452;7258;0;8065 /var/run=7437MB;5949;6693;0;7437 > /tmp=7437MB;6028;6781;0;7535 /u01=426986MB;390857;439714;0;488572 > > /************************************/ > > It's funny, no matter what the circumstance the remote plugin always > claims it is okay. The return code (either from the remote plugin, or > the local check_by_ssh plugin is returning a 3, but ONLY if nagios > itself runs it. > > > -----Original Message----- > From: Marc Powell [mailto:marc at ena.com] > Sent: Thursday, December 11, 2003 12:16 PM > To: Patrick Walentiny; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] "UNKNOWN" problem, with a return code of 0 > in solaris 9. > > > > ________________________________________ > From: Patrick Walentiny [mailto:Patrick.Walentiny at stellent.com] > Sent: Thursday, December 11, 2003 10:38 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] "UNKNOWN" problem, with a return code of 0 in > solaris 9. > > I looked through a lot of the mail list archives and didn't see this > problem listed by anyone else. It's a bit long winded but I figure > being verbose is better than not being verbose enough. So here goes. > We are using nagios to monitor multiple UNIX systems, including > Solaris 2.6 8 & 9. Our method for doing so is public keys saved in the > "authorized_keys" file of each nagios client's home directory etc... > When our server runs the "check_by_ssh" against solaris 9 clients, the > nagios server claims it is getting a status of "UNKNOWN". I dug in to > the documentation to find out that this is figured out via return codes, > IE 0,1,2,3 etc... So I ran check_by_ssh against the system in question > to see for myself what the problem was. I am only able to get return > codes of 0 "OK". I'll show the syntax I used below. I can get it to > also give return codes of 1 and 2 if I intentionally invoke a warning or > critical condition, but when it is run from the nagios process itself it > shows up as "UNKNOWN", and occasionally flaps to okay for brief periods > of time, even though the status output shows the disks are perfectly > okay. > Here is my output from my tests.... > > > [...] > > $ /usr/lib/nagios/plugins/check_by_ssh -H 12.40.185.175 -C > '/opt/nagios/libexec/check_disk -c 10% -w 20%' > $ echo $? > 0 > $ > > > It appears that the plugin isn't being executed on the remote host. > Check_by_ssh should return the output of the check_disk command to the > command line: > > bash-2.05a$ ./check_by_ssh -H -C > '/usr/local/nagios/libexec/check_disk -c 10% -w 20%' > DISK OK - [3434680 kB (47%) free on /dev/ida/c0d0p3] [107450 kB (89%) > free on /dev/ida/c0d0p1] [257216 kB (100%) free on none] > > Is the plugin (check_disk) executable by the user that you are ssh'ing > as and in the location specified? How about /bin/df (at least that's > what it uses under linux)? It needs to be executable by the nagios user > as well. > > -- > Marc > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Patrick.Walentiny at stellent.com Thu Dec 11 23:30:01 2003 From: Patrick.Walentiny at stellent.com (Patrick Walentiny) Date: Thu, 11 Dec 2003 16:30:01 -0600 Subject: "UNKNOWN" problem, with a return code of 0 in solaris 9. Message-ID: <9822074212EA8E44903E10A7CD2DCB1825F0DA@MSPMAIL4.intranetsolutions.com> You're correct in saying that it is strange output. It is explainable though. It outputs that because we're running a volume manager. I haven't looked to verify it, but I believe the other numbers are output from the other plexes that make up the total volume that is each partition. It does still remain though, that when I give it data that is supposed to fail (on command line) it does fail, and when in a condition that it shouldn't, it doesn't. It is ONLY in the nagios process itself do these plugins return UNKNOWN, even the output shown on our website says the disks are ok. It just says the state is UNKNOWN. Pasted from our nagios website.... /***************************************************/ mspcvs1 DISK UNKNOWN 12-11-2003 15:29:32 0d 0h 14m 53s 3/3 DISK OK [4280145 kB (65%) free on /dev/md/dsk/d0] [0 kB (100%) free on mnttab] [0 kB (100%) free on fd] [909831 kB (95%) free on /dev/md/dsk/d3] [2627008 kB (99%) free on swap] [2627008 kB (99%) free on swap] [50726744 kB (98%) free on /dev/md/dsk/d9] /****************************************************************/ also note that this particular Solaris 9 host is not running veritas volume manager, but still suffers from the same problem. -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Thursday, December 11, 2003 4:21 PM To: Patrick Walentiny; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] "UNKNOWN" problem, with a return code of 0 in solaris 9. Unfortunately I'm not going to be much more help as I'm not too familiar with the internal functioning of the plugin but the output you're seeing looks odd to me, particularly the ";| /=10943MB;9606;10807;0;12008 /usr=6814MB;6452;7258;0;8065 /var=7875MB;6452;7258;0;8065 var/run=7437MB;5949;6693;0;7437 /tmp=7437MB;6028;6781;0;7535 /u01=426986MB;390857;439714;0;488572". I don't believe that's supposed to be in there and it may be a result of df providing output in a format that the plugin doesn't fully understand. It may also just be an artifact of running check_disk under solaris and perfectly normal. -- marc > -----Original Message----- > From: Patrick Walentiny [mailto:Patrick.Walentiny at stellent.com] > Sent: Thursday, December 11, 2003 4:06 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] "UNKNOWN" problem, with a return code of 0 in > solaris 9. > > I'm sorry I didn't include the output, it is in fact executing. Let me > paste the output for you. > > > /***********************************/ > $ /usr/lib/nagios/plugins/check_by_ssh -v -H 12.40.185.175 -C > '/opt/nagios/libexec/check_disk -c 10% -w 20%' > /usr/bin/ssh 12.40.185.175 '/opt/nagios/libexec/check_disk -c 10% -w > 20%' > DISK OK - free space: / 10944 MB (91%); /usr 6814 MB (84%); /var 7875 MB > (98%); /var/run 7438 MB (100%); /tmp 7438 MB (99%); /u01 426987 MB > (87%);| /=10943MB;9606;10807;0;12008 /usr=6814MB;6452;7258;0;8065 > /var=7875MB;6452;7258;0;8065 /var/run=7437MB;5949;6693;0;7437 > /tmp=7437MB;6028;6781;0;7535 /u01=426986MB;390857;439714;0;488572 > > /************************************/ > > It's funny, no matter what the circumstance the remote plugin always > claims it is okay. The return code (either from the remote plugin, or > the local check_by_ssh plugin is returning a 3, but ONLY if nagios > itself runs it. > > > -----Original Message----- > From: Marc Powell [mailto:marc at ena.com] > Sent: Thursday, December 11, 2003 12:16 PM > To: Patrick Walentiny; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] "UNKNOWN" problem, with a return code of 0 > in solaris 9. > > > > ________________________________________ > From: Patrick Walentiny [mailto:Patrick.Walentiny at stellent.com] > Sent: Thursday, December 11, 2003 10:38 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] "UNKNOWN" problem, with a return code of 0 in > solaris 9. > > I looked through a lot of the mail list archives and didn't see this > problem listed by anyone else. It's a bit long winded but I figure > being verbose is better than not being verbose enough. So here goes. > We are using nagios to monitor multiple UNIX systems, including > Solaris 2.6 8 & 9. Our method for doing so is public keys saved in the > "authorized_keys" file of each nagios client's home directory etc... > When our server runs the "check_by_ssh" against solaris 9 clients, the > nagios server claims it is getting a status of "UNKNOWN". I dug in to > the documentation to find out that this is figured out via return codes, > IE 0,1,2,3 etc... So I ran check_by_ssh against the system in question > to see for myself what the problem was. I am only able to get return > codes of 0 "OK". I'll show the syntax I used below. I can get it to > also give return codes of 1 and 2 if I intentionally invoke a warning or > critical condition, but when it is run from the nagios process itself it > shows up as "UNKNOWN", and occasionally flaps to okay for brief periods > of time, even though the status output shows the disks are perfectly > okay. > Here is my output from my tests.... > > > [...] > > $ /usr/lib/nagios/plugins/check_by_ssh -H 12.40.185.175 -C > '/opt/nagios/libexec/check_disk -c 10% -w 20%' > $ echo $? > 0 > $ > > > It appears that the plugin isn't being executed on the remote host. > Check_by_ssh should return the output of the check_disk command to the > command line: > > bash-2.05a$ ./check_by_ssh -H -C > '/usr/local/nagios/libexec/check_disk -c 10% -w 20%' > DISK OK - [3434680 kB (47%) free on /dev/ida/c0d0p3] [107450 kB (89%) > free on /dev/ida/c0d0p1] [257216 kB (100%) free on none] > > Is the plugin (check_disk) executable by the user that you are ssh'ing > as and in the location specified? How about /bin/df (at least that's > what it uses under linux)? It needs to be executable by the nagios user > as well. > > -- > Marc > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.pounsett at cira.ca Thu Dec 11 23:37:15 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 11 Dec 2003 17:37:15 -0500 (EST) Subject: "UNKNOWN" problem, with a return code of 0 in solaris 9. In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A05B@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A05B@mismail2.ena.com> Message-ID: On Thu, 11 Dec 2003, Marc Powell wrote: > Unfortunately I'm not going to be much more help as I'm not too familiar > with the internal functioning of the plugin but the output you're seeing > looks odd to me, particularly the ";| /=10943MB;9606;10807;0;12008 > /usr=6814MB;6452;7258;0;8065 /var=7875MB;6452;7258;0;8065 > var/run=7437MB;5949;6693;0;7437 /tmp=7437MB;6028;6781;0;7535 > /u01=426986MB;390857;439714;0;488572". I don't believe that's supposed > to be in there and it may be a result of df providing output in a format > that the plugin doesn't fully understand. It may also just be an > artifact of running check_disk under solaris and perfectly normal. Anything after a pipe character in the output is performance monitoring data. http://nagios.sourceforge.net/docs/1_0/perfdata.html -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Dec 11 23:38:02 2003 From: jhmartin at toger.us (Jason Martin) Date: Thu, 11 Dec 2003 14:38:02 -0800 (PST) Subject: Nrpe plugin problem ? CRC32 In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 NRPE should work just fine with other shells; many of the scripts I've written are in ksh. I've found that NRPE tends to report a CRC32 error whenever the plugins reports a non-standard return code. This indicates that something in your shell script ended the script unexpectedly. - -Jason Martin On Thu, 11 Dec 2003, Tal M wrote: > Hi, > > After playing around with the scripts I found that the nrpe support only sh > shell and not ksh or bash shell. Now it is working fine. > > Tal. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/2PHOl2ODWuqVSBMRAtB/AKCWh2xF2+VfpsD1A+9BIl7yLSRbkgCfSgGK hoiMXiCIIbjge6hhCOASNPc= =ZVj5 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Dec 11 23:38:39 2003 From: marc at ena.com (Marc Powell) Date: Thu, 11 Dec 2003 16:38:39 -0600 Subject: "UNKNOWN" problem, with a return code of 0 in solaris 9. Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A05C@mismail2.ena.com> Ah, gotcha. Something I haven't played with yet. -- Marc > -----Original Message----- > From: Matt Pounsett [mailto:matt.pounsett at cira.ca] > Sent: Thursday, December 11, 2003 4:37 PM > To: Marc Powell > Cc: Patrick Walentiny; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] "UNKNOWN" problem, with a return code of 0 in > solaris 9. > > On Thu, 11 Dec 2003, Marc Powell wrote: > > > Unfortunately I'm not going to be much more help as I'm not too familiar > > with the internal functioning of the plugin but the output you're seeing > > looks odd to me, particularly the ";| /=10943MB;9606;10807;0;12008 > > /usr=6814MB;6452;7258;0;8065 /var=7875MB;6452;7258;0;8065 > > var/run=7437MB;5949;6693;0;7437 /tmp=7437MB;6028;6781;0;7535 > > /u01=426986MB;390857;439714;0;488572". I don't believe that's supposed > > to be in there and it may be a result of df providing output in a format > > that the plugin doesn't fully understand. It may also just be an > > artifact of running check_disk under solaris and perfectly normal. > > Anything after a pipe character in the output is performance monitoring > data. > > http://nagios.sourceforge.net/docs/1_0/perfdata.html ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at sightspeed.com Thu Dec 11 23:41:44 2003 From: chris at sightspeed.com (Chris) Date: Thu, 11 Dec 2003 14:41:44 -0800 Subject: Notification Intervals Message-ID: I have a question on the notification interval for services. If I set the interval to 1, then have escalations for 4 and more notifications, will it only do 1 min intervals til it hits the 3rd notification, then the escalations override the interval to what their settings are?(IE 5 min, then 10min). Or will the contact for the services continue to get notifications at 1 min? Thanks, Chris S. RHCE,CCNA I.T.Engineer http://www.sightspeed.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at sightspeed.com Thu Dec 11 23:51:44 2003 From: chris at sightspeed.com (Chris) Date: Thu, 11 Dec 2003 14:51:44 -0800 Subject: Strange Times in Nagios Database Message-ID: Hello all, I noticed that the dates for the last notification sent are really off. Like old Unix dates. last_notification 1969-12-31 16:00:00 I know RRD uses those dates because it's a cyclical database, but MySQL isn't. So wasn't sure it's a bug or mistake, or something done on purpose for RRD. Thanks, Chris S. RHCE,CCNA I.T.Engineer http://www.sightspeed.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at sightspeed.com Fri Dec 12 01:36:27 2003 From: chris at sightspeed.com (Chris) Date: Thu, 11 Dec 2003 16:36:27 -0800 Subject: Escalation of Services check times Message-ID: I'm pretty sure this can't happen. But can nagios change the check times based on escalations? Problem is this, after nagios figures out a service is down, it will do two one minute checks, then it goes back to five minute checks. That takes too long. By the time my admins get alerted, over 25 minutes has passed. I want nagios to do 1 minute checks til it hits 4 notifications, then alert a certain group of admins and do five minute checks. Then again alert a certain group of admins and then do 10 minute checks. I don't want to do checks at 1 minute unless a service is not responding, but I can only get that behavior for the first 3 attempts. After that it fails to its normal check value for the service. If this isn't do-able it might be cool to have the check interval for none normal service operation, and a check interval for normal operations. Thanks, Chris S.m RHCE,CCNA I.T.Engineer http://www.sightspeed.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Fri Dec 12 02:07:45 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Thu, 11 Dec 2003 17:07:45 -0800 Subject: Timeout larger than 10 seconds Message-ID: <27379890.1071162465@cadabra-dsl.stanford.edu> How can I get nagios to not timeout after 10 seconds? It seems that no matter what I do inside my plugin, nagios still claims a timeout when that plugin takes longer than 10 seconds to execute. I have a particular plugin that can take up to a minute to finish. Is there any way to change the default behavior for just this particular plugin? Thanks, Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From surya at divre1.telkom.co.id Fri Dec 12 03:47:11 2003 From: surya at divre1.telkom.co.id (Surya Rahmadiansyah) Date: Fri, 12 Dec 2003 09:47:11 +0700 Subject: Help!! Nagios service not start --- status.log is missing Message-ID: <5.1.0.14.2.20031212093831.0223e2b8@10.16.3.240> Hi, everyone A few minutes later, my Nagios server is down because electrical problem. When power and server is up, nagios services cannot started. The message is : [root at nagios root]# /etc/rc.d/init.d/nagios start Starting network monitor: nagios NAGIOS CRITICAL - could not find status log: /var/log/nagios/status.log [root at nagios root]# why status.log is missing? I read in the FAQ and the answer (about status.log) is disk capacity. But my server have 40GB and used space only 6%. I used Redhat 9.0 (Shrike) and Nagios 1.1.5 (rpm) from dag wieers ... Please help me, Regards Surya Rahmadiansyah --- ne --- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AChandrashekar at MercuryInsurance.com Fri Dec 12 04:02:47 2003 From: AChandrashekar at MercuryInsurance.com (Akash Chandrashekar) Date: Thu, 11 Dec 2003 19:02:47 -0800 Subject: Help!! Nagios service not start --- status.log is missing : STILL A PERSISTENT PROBLEM Message-ID: Hi we had the same weird problem, after a power failure as well. When I traced backed, we added cgi functionality. If you look carefully, I believe the log file is saved as .sav . Even if your rename the file, it will then complain about a missing process in PROC directory. Anyhow, I got it to work by disabling cgi external check functionality in nagios.cfg and cgi.cfg . While this is an interim solution, Id like to follow up on the same request as you, and figure out why this happens when External CGI functionality is enabled. Can someone look into why this happens??? Regards, Akash Mercury Insurance Operations This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -----Original Message----- From: Surya Rahmadiansyah [mailto:surya at divre1.telkom.co.id] Sent: Thursday, December 11, 2003 6:47 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help!! Nagios service not start --- status.log is missing Hi, everyone A few minutes later, my Nagios server is down because electrical problem. When power and server is up, nagios services cannot started. The message is : [root at nagios root]# /etc/rc.d/init.d/nagios start Starting network monitor: nagios NAGIOS CRITICAL - could not find status log: /var/log/nagios/status.log [root at nagios root]# why status.log is missing? I read in the FAQ and the answer (about status.log) is disk capacity. But my server have 40GB and used space only 6%. I used Redhat 9.0 (Shrike) and Nagios 1.1.5 (rpm) from dag wieers ... Please help me, Regards Surya Rahmadiansyah --- ne --- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From surya at divre1.telkom.co.id Fri Dec 12 05:17:40 2003 From: surya at divre1.telkom.co.id (Surya Rahmadiansyah) Date: Fri, 12 Dec 2003 11:17:40 +0700 Subject: Help!! Nagios service not start --- status.log is missing : STILL A PERSISTENT PROBLEM In-Reply-To: References: Message-ID: <5.1.0.14.2.20031212111311.0223b5c8@10.16.3.240> At 07:02 PM 12/11/2003 -0800, Akash Chandrashekar wrote: >Hi we had the same weird problem, after a power failure as well. When I >traced backed, we added cgi functionality. If you look carefully, I >believe the log file is saved as .sav . Even if your rename the file, it >will then complain about a missing process in PROC directory. Anyhow, I >got it to work by disabling cgi external check functionality in >nagios.cfg and cgi.cfg . While this is an interim solution, Id like to >follow up on the same request as you, and figure out why this happens >when External CGI functionality is enabled. > >Can someone look into why this happens??? > >Regards, Akash ... deleted ... U right, Akash, when i tried to disabling cgi external functionality, nagios service can start but still have error. Message in website page Warning: Monitoring process may not be running! ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tech-mail at prupref.com Fri Dec 12 07:50:13 2003 From: tech-mail at prupref.com (McKeever Chris) Date: Fri, 12 Dec 2003 00:50:13 -0600 Subject: reoccuring host ping issue Message-ID: <200312120650.hBC6oC812716@smtp1.prupref.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From jpttdi at yahoo.fr Fri Dec 12 10:10:22 2003 From: jpttdi at yahoo.fr (=?iso-8859-1?q?jpttdi?=) Date: Fri, 12 Dec 2003 10:10:22 +0100 (CET) Subject: "UNKNOWN" problem, with a return code of 0 in solaris 9. In-Reply-To: <9822074212EA8E44903E10A7CD2DCB1825F0D8@MSPMAIL4.intranetsolutions.com> References: <9822074212EA8E44903E10A7CD2DCB1825F0D8@MSPMAIL4.intranetsolutions.com> Message-ID: <20031212091022.81495.qmail@web25202.mail.ukl.yahoo.com> Hi, I have exactly the same problem with a host running SCO SV 5.0.4. (Nagios server version 1.1) My checkcommand is: $USER1$/check_by_ssh -H $HOSTADDRESS$ -C "/u/nagios/check_log.sh $ARG1$ $ARG2$ $ARG3$" -t 20 -l nagios There is no ssh connection problem, and the check_log.sh plugin works fine (the plugin look for the pattern "WARNING" in /var/adm/messages). The check_log.sh is my shell version of the check_log plugin, there is no "exit" with return code of 3 in it. I have try to run this command from the command line on the nagios server, connected as user nagios, i never been able to return an unknown status. The execution always return the right answer "OK - Log check Ok - No pattern match found" (or Critical if the pattern is found) but nearly everytime with an unknown status (9/10). On the same host, another service have the same problem, but the UNKNOWN status comes only one or two times a day ... Is it possible that this return code comes from the check_by_ssh plugin ? (there's no additionnal information even with the verbose output, i have try to look in the source code but i'm far from a "C guru" ...). Thanks. Jpt. Patrick Walentiny wrote: /************************************/ It's funny, no matter what the circumstance the remote plugin always claims it is okay. The return code (either from the remote plugin, or the local check_by_ssh plugin is returning a 3, but ONLY if nagios itself runs it. -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Thursday, December 11, 2003 12:16 PM To: Patrick Walentiny; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] "UNKNOWN" problem, with a return code of 0 in solaris 9. ________________________________________ From: Patrick Walentiny [mailto:Patrick.Walentiny at stellent.com] Sent: Thursday, December 11, 2003 10:38 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] "UNKNOWN" problem, with a return code of 0 in solaris 9. I looked through a lot of the mail list archives and didn't see this problem listed by anyone else. It's a bit long winded but I figure being verbose is better than not being verbose enough. So here goes. We are using nagios to monitor multiple UNIX systems, including Solaris 2.6 8 & 9. Our method for doing so is public keys saved in the "authorized_keys" file of each nagios client's home directory etc... When our server runs the "check_by_ssh" against solaris 9 clients, the nagios server claims it is getting a status of "UNKNOWN". I dug in to the documentation to find out that this is figured out via return codes, IE 0,1,2,3 etc... So I ran check_by_ssh against the system in question to see for myself what the problem was. I am only able to get return codes of 0 "OK". I'll show the syntax I used below. I can get it to also give return codes of 1 and 2 if I intentionally invoke a warning or critical condition, but when it is run from the nagios process itself it shows up as "UNKNOWN", and occasionally flaps to okay for brief periods of time, even though the status output shows the disks are perfectly okay. Here is my output from my tests.... [...] $ /usr/lib/nagios/plugins/check_by_ssh -H 12.40.185.175 -C '/opt/nagios/libexec/check_disk -c 10% -w 20%' $ echo $? 0 $ It appears that the plugin isn't being executed on the remote host. Check_by_ssh should return the output of the check_disk command to the command line: bash-2.05a$ ./check_by_ssh -H -C '/usr/local/nagios/libexec/check_disk -c 10% -w 20%' DISK OK - [3434680 kB (47%) free on /dev/ida/c0d0p3] [107450 kB (89%) free on /dev/ida/c0d0p1] [257216 kB (100%) free on none] Is the plugin (check_disk) executable by the user that you are ssh'ing as and in the location specified? How about /bin/df (at least that's what it uses under linux)? It needs to be executable by the nagios user as well. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From jrhett at isite.net Fri Dec 12 10:27:06 2003 From: jrhett at isite.net (Joe Rhett) Date: Fri, 12 Dec 2003 01:27:06 -0800 Subject: Excluding hosts from hostgroups? In-Reply-To: <200312090240.hB92eY820381@smtp1.prupref.com> References: <20031209020440.GC5425@isite.net> <200312090240.hB92eY820381@smtp1.prupref.com> Message-ID: <20031212092705.GA1585@isite.net> Okay, so who wants to do the patch? In my mind, this should probably be done by simply pre-loading the disabled service checks. No new data structure is required. On Mon, Dec 08, 2003 at 08:40:34PM -0600, McKeever Chris wrote: > On Mon, 8 Dec 2003 18:04 , Joe Rhett sent: > > >Hm. My mind rebels against this notion because it doesn't really make > >sense. Either a hostgroup has a host or it doesn't. There is no half way. > > > >BUT, I could see being useful on a service: > > > >service ssh { > > hostgroup webservers > > exclude_hosts nossh-1,nossh-2 > > > > -or- > > > >service ping { > > host * > > exclude_hosts noping-1,noping-2 > > > > yes, that makes much more sense....I thoughtit a bit odd to exclude something that you just added it to... > > > >On Wed, Dec 03, 2003 at 10:31:43AM -0500, Alex Moundalexis wrote: > >> I could set up host checks, except that it isn't as practical with the > >> quantity of nodes. As well, there are other service checks that must be > >> run on the entire host group. These rogue (and blatantly irritating) > >> machines would be a handful of nodes among dozens that would be omitted > >> from a particular check. > >> > >> I see it as additional granularity. > >> > >> I'll make it work, regardless. Was just curious if the idea had been > >> proposed before. > >> > >> - A > >> > >> McKeever Chris wrote: > >> > >> >On Wed, 03 Dec 2003 10:12 , Alex Moundalexis alexm at dctd.saic.com> sent: > >> > > >> > > >> > > >> >>Is there any undocumented (or perhaps documented that I missed) feature > >> >>that allows the exclusion of several hosts from a hostgroup? Somethine > >> >>like this? > >> >> > >> >>hostgroup_name linux,sun > >> >>exclude_hosts nossh-1,nossh-2,etc > >> >> > >> >>Suppose I run a service check on SSH, for my linux and sun hostgroups, > >> >>since 99% of them run SSH. 3 servers don't run SSH, and so I get > >> >>constant failures. The obvious solution would be to redefine those three > >> >>hosts into their own group, but I was wondering if something like this > >> >>existed, or whether it would be considered in the future. > >> >> > >> >> > >> >> > >> > > >> >I am a bit confused..isnt hard though > >> >could you not set up host service checks rather than group checks? > >> >or like you said, just exclude those machines from the group > >> >adding a machine to a group that you then want to exclude it from is a bit > >> >confusing. > >> > > >> > > ------------------------------------------- > Chris McKeever > If you want to reply directly to me, please use cgmckeever--at--prupref---dot---com > http://www.prupref.com > > ---- Prudential Preferred Properties www.prupref.com -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.garrett at shell.com Fri Dec 12 11:11:38 2003 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITDIEEE) Date: Fri, 12 Dec 2003 10:11:38 -0000 Subject: Downtime and host not in configuration. Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D5A6B3C1@abe-s-039.europe.shell.com> Folks Sorry if this sounds real stupid. One of the admin guy's was trying to add downtime via the web pages. All was going fine , until he tried to enter downtime for a host that did not exist in the nagios config files. The error message was "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 " While technically correct , in that he was not authorized to do the command , because the host was not in the config. Is there any way to make nagios , give a better error message , like check if the host is in the config files and if not generate a suitable error. Just a idea. Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373 Email: Internet: http://www.shell.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Roberto.Balestra at getronics.com Fri Dec 12 12:21:29 2003 From: Roberto.Balestra at getronics.com (Balestra, Roberto) Date: Fri, 12 Dec 2003 12:21:29 +0100 Subject: Report - I'd like Message-ID: <7537146F3CB48243B01EEA16DA7110BE01BD608D@excitmi100.europe.unity> No, it dosn't. In Trends report I see every service as hostA.service so I can't select "thisservice" for all host. > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > > Jack Doyle > > Sent: gioved? 11 dicembre 2003 19.41 > > To: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Report - I'd like > > > > > > Doesn't the trends report give you this? > > > > -----Original Message----- > > From: Balestra, Roberto [mailto:Roberto.Balestra at getronics.com] > > Sent: Thursday, December 11, 2003 1:10 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Report - I'd like > > > > > > Hi all, > > I'd like to have a report that tell me, for all my host, the history > > status for the same service. Something like: > > Service: CPU Load > > > > | OK | WARNING | CRITICAL | > > UNDEFINED | > > -------------------------------------------------------------- > > ---------- > > ----------------------------------- > > Host A | 75% | 12% | 11% | > > 2% | > > Host B | 78% | 9% | 12% | > > 1% | > > Host C | 72% | 15% | 13% | > > 0% | > > > > Is it possible? Have I write this? > > Thk's > > Roby > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. Does > > SourceForge.net help you be more productive? Does it help > you create > > better code? SHARE THE LOVE, and help us help YOU! Click Here: > > http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CrowderLG at ldschurch.org Fri Dec 12 14:38:31 2003 From: CrowderLG at ldschurch.org (Larry Crowder) Date: Fri, 12 Dec 2003 06:38:31 -0700 Subject: SNMP agents versus Nagios agents Message-ID: Thanks to JIim Mozley and MT Morales for advice about using Nagios agents versus SNMP. Which is basically that SNMP has restrictions of what can be monitored versus using Nagios agents - at least on servers. (For routers etc, SNMP seems a good or only choice). From my research and experience, it also seems SNMP agents, the SNMP agents also have at least these two additional issues: 1) SNMP v1 and v2 have several known security issues (clear text community strings, buffer overflow, patches etc) 2) Object IDs can reindex when a server reboots, resulting in having to reconfigure Nagios (which also happens when new devices are added) Any feedback on these last two? Thanks Larry C ------------------------------------------------------------------------------ This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ============================================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From SrvFaucon at cslaval.qc.ca Fri Dec 12 14:41:33 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Fri, 12 Dec 2003 08:41:33 -0500 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20[Nagios-users]=20Timeout=20larger=20?= =?ISO-8859-1?Q?than=2010=20seconds?= Message-ID: check_http www.awebsite.com -t 50 This is for a timeout of 50 seconds insted of 10. or check_WATEVERCOMMAND -h For help :) --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada >>> Quanah Gibson-Mount 2003-12-11 20:07:45 >>> How can I get nagios to not timeout after 10 seconds? It seems that no matter what I do inside my plugin, nagios still claims a timeout when that plugin takes longer than 10 seconds to execute. I have a particular plugin that can take up to a minute to finish. Is there any way to change the default behavior for just this particular plugin? Thanks, Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thornton at yoyoweb.com Fri Dec 12 07:24:30 2003 From: thornton at yoyoweb.com (Thornton Prime) Date: Thu, 11 Dec 2003 22:24:30 -0800 Subject: SNMP agents versus Nagios agents In-Reply-To: References: Message-ID: <3FD95F1E.6090508@yoyoweb.com> > 1) SNMP v1 and v2 have several known security issues (clear text > community strings, buffer overflow, patches etc) I'd argue that the history of SNMP vulnerabilities is no worse than Sendmail, Bind, or even Apache. The risks of clear text community strings can be managed with ACLs or firewalls, and SNMP v3 has USM with stronger authentication and encryption methods. The real problem with SNMP has historically been under-configuration and under-administration. Devices have shipped with obvious default read and write community strings or with other security vulnerabilities, and administrators haven't bothered to patch and/or configure their SNMP securely. > 2) Object IDs can reindex when a server reboots, resulting in having to > reconfigure Nagios (which also happens when new devices are added) This will normally only happen within the context of a SNMP table, and the tables are designed to make it easy to find a piece of information even when a row has been added, removed or re-ordered because the system has been reconfigured. For example, hrStorageTable is no harder or easier to parse than the output of "df", and you run the same level of risk from re-ordering if you added or removed volumes, or changed your mount order. ifTable is much easier to parse than the output of ifconfig. thornton ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deny at monaco.net Fri Dec 12 15:27:14 2003 From: deny at monaco.net (deny) Date: Fri, 12 Dec 2003 15:27:14 +0100 Subject: so i always had Warning: Cannot open log file Message-ID: <3FD9D042.6040800@monaco.net> hello nagios is working so i always had Warning: Cannot open log file '/usr/local/nagios/var/nagios.log' for writing /usr/sbin/sendmail: No such file or directory i ve really no sendmail but i use qmail and vpopmail for my mail how can i tell nagios to use qmail or vopomail instead of sendmail ? thanks merci -- http://www.linux-pour-lesnuls.com ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Dec 12 16:32:10 2003 From: marc at ena.com (Marc Powell) Date: Fri, 12 Dec 2003 09:32:10 -0600 Subject: Downtime and host not in configuration. Message-ID: <370ACCFA5BB3B346A31222E5559BF91F014200@mismail2.ena.com> This shouldn't happen with 2.0. Ethan creates a cached copy of the config files that both nagios and the cgis use. -- Marc -----Original Message----- From: Garrett, Matt M SITI-ITDIEEE To: Nagios-Users (E-mail) Sent: Fri Dec 12 04:11:38 2003 Subject: [Nagios-users] Downtime and host not in configuration. Folks Sorry if this sounds real stupid. One of the admin guy's was trying to add downtime via the web pages. All was going fine , until he tried to enter downtime for a host that did not exist in the nagios config files. The error message was "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 " While technically correct , in that he was not authorized to do the command , because the host was not in the config. Is there any way to make nagios , give a better error message , like check if the host is in the config files and if not generate a suitable error. Just a idea. Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373 Email: Internet: http://www.shell.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From CrowderLG at ldschurch.org Fri Dec 12 16:45:06 2003 From: CrowderLG at ldschurch.org (Larry Crowder) Date: Fri, 12 Dec 2003 08:45:06 -0700 Subject: SNMP agents versus Nagios agents Message-ID: Thanks to Thornton Prime for insights into SNMP security and reindexing issues. One further clarification about reindexing though if you don't mind. It seems that you do agree that the SNMP table for a device can reindex with a reboot or change to certain system configuration (hard drives etc). This would force me to reconfigure the Services.cfg file of Nagios to conform to that right? This seems like a big task for a changing environment with lots of servers (400+) like mine. My real question is wouldn't most of this be avoided if I use the Nagios agents such as Nsclient, MRTGEXT.NLM and those for UNIX which use logical names for these same system objects (disks, RAM, CPU)? > My original quesion about SNMP tables reindexing > > 2) Object IDs can reindex when a server reboots, resulting in having to > reconfigure Nagios (which also happens when new devices are added) > Thornton's answer below > >This will normally only happen within the context of a SNMP table, and >the tables are designed to make it easy to find a piece of information >even when a row has been added, removed or re-ordered because the system >has been reconfigured. For example, hrStorageTable is no harder or >easier to parse than the output of "df", and you run the same level of >risk from re-ordering if you added or removed volumes, or changed your >mount order. ifTable is much easier to parse than the output of ifconfig. Thanks again! Larry C ------------------------------------------------------------------------------ This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ============================================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From quanah at stanford.edu Fri Dec 12 16:56:01 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Fri, 12 Dec 2003 07:56:01 -0800 Subject: =?ISO-8859-1?Q?Re:_R=E9p._:_[Nagios-users]_Timeout_larger_than_10_se?= =?ISO-8859-1?Q?conds?= In-Reply-To: References: Message-ID: <311087.1071215761@cadabra-dsl.stanford.edu> --On Friday, December 12, 2003 8:41 AM -0500 Serveur-Faucon Surveillance wrote: > check_http www.awebsite.com -t 50 > > This is for a timeout of 50 seconds instead of 10. > > or > > check_WATEVERCOMMAND -h Nice in theory, but that will still be subverted by Nagio's nagios.cfg timeout. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pouellet at microtecsecurite.com Fri Dec 12 16:58:52 2003 From: pouellet at microtecsecurite.com (Patrick Ouellet) Date: Fri, 12 Dec 2003 10:58:52 -0500 Subject: Problem with executing commands... Message-ID: <3FD9E5BC.4030109@microtecsecurite.com> I just finished setting up everything... I have configured two hosts to check and one service for each of them. 1st: DNS Server which I ping 2nd: Cisco router which I ping Now Nagios report that my Router is Down and that my DNS in unreachable. ( which is false since i can ping them manualy from my Nagios host ) Here is the logfile ... [2003-12-12 11:05:43] Warning: Return code of 127 for check of service 'Ping DNS' on host 'dns' was out of bounds. Make sure the plugin you're trying to run actually exists. Can someone help me understand this error message?? Here is the config for the DNS and all related files... define host{ use tmpl_hosts host_name dns alias hostmaster address hostmaster parents gate-sta check_command check-host-alive } # 'check-host-alive' command definition define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 } Can someone also tell me what $USER1$ is ? Thanx to everyone ! -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Patrick Ouellet - pouellet at microtecsecurite.com Administrateur des serveurs reseaux Informatique - Poste 130 Microtec Technologies inc. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= "First they ignore you. Then they laugh at you. Then they fight you. Then you win." -Mahatma Gandhi =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris.stankaitis at datawire.net Fri Dec 12 17:07:54 2003 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Fri, 12 Dec 2003 11:07:54 -0500 Subject: NSCA 2.4 / NSCA 2.1 incompatability Message-ID: <3FD9E7DA.9040803@datawire.net> Hey all, I am currently starting the process of upgrading my network to a new Linux build, and in doing so have been rebuilding all of the nagios related RPM's that I have build over the years for my Nagios install. Naturally I have been checking for the newer versions of the pre-exiting software that we are using, and ran across NSCA v2.4 and decided to give it a whirl. Since there were really only "minor bug fixes" which the changelog never elaborated on, and no glaring security hole, and with NSCA working I never needed to change from 2.1 I build my nsca 2.4 RPM and threw it on my new server, and added that server to Nagios, passive checks were not working, the Log said it was a version issue, or encryption issue, downgrading to 2.1 worked fine. My Questions: 1) Why, what changed in NSCA 2.4 that doesn't allow it to talk to a 2.1 server 2) if I install a 2.4 server on my Nagios box. will all the boxes using 2.1 client be cut off from talking to the server? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Dec 12 17:26:24 2003 From: marc at ena.com (Marc Powell) Date: Fri, 12 Dec 2003 10:26:24 -0600 Subject: Problem with executing commands... Message-ID: <370ACCFA5BB3B346A31222E5559BF91F014DA5@mismail2.ena.com> -----Original Message----- From: Patrick Ouellet [mailto:pouellet at microtecsecurite.com] Sent: Fri 12/12/2003 9:58 AM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Problem with executing commands... [snip] Here is the logfile ... [2003-12-12 11:05:43] Warning: Return code of 127 for check of service 'Ping DNS' on host 'dns' was out of bounds. Make sure the plugin you're trying to run actually exists. Can someone help me understand this error message?? -- This indicates that the plugin could not be found. [snip] # 'check-host-alive' command definition define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 } Can someone also tell me what $USER1$ is ? -- It is a macro that is found in resource.cfg. It should point to the location of your nagios plugins (libexec directory) -- # Sets $USER1$ to be the path to the plugins $USER1$=/usr/local/nagios/libexec -- Marc (sorry for the html email. OWA doesn't give me a choice). -------------- nex